geoiq-frontend-ui-kit 1.5.0 → 1.5.2
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.
- package/dist/index.es10.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es20.js +2 -2
- package/dist/index.es21.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es58.js +11 -11
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es64.js +1 -1
- package/dist/index.es79.js +43 -5
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +8 -35
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +11 -22
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +110 -73
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +73 -110
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es85.js +24 -21
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +10 -21
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +22 -45
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +39 -8
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es9.js +1 -1
- package/package.json +1 -1
package/dist/index.es10.js
CHANGED
|
@@ -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 i } from "./index.es71.js";
|
|
4
|
-
import { ProgressVariants as n } from "./index.
|
|
4
|
+
import { ProgressVariants as n } from "./index.es81.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(
|
package/dist/index.es15.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./index.es51.js";
|
|
|
6
6
|
import "./index.es72.js";
|
|
7
7
|
import "./index.es26.js";
|
|
8
8
|
import "./index.es32.js";
|
|
9
|
-
import { TextAreaVariants as m } from "./index.
|
|
9
|
+
import { TextAreaVariants as m } from "./index.es80.js";
|
|
10
10
|
const g = e.forwardRef(
|
|
11
11
|
({ className: o, inputLabel: i, showTextCount: l, maximumTextCount: a, id: d, ...t }, f) => {
|
|
12
12
|
const [r, s] = e.useState(!1), c = e.useRef(null);
|
package/dist/index.es18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import { cn as n } from "./index.es71.js";
|
|
3
3
|
import { TypographyVariants as y } from "./index.es64.js";
|
|
4
|
-
import { defaultTypographyVariant as i, variantElementMap as c } from "./index.
|
|
4
|
+
import { defaultTypographyVariant as i, variantElementMap as c } from "./index.es87.js";
|
|
5
5
|
const f = o.forwardRef(({ className: t, variant: r = i, id: e, ...a }, p) => {
|
|
6
6
|
const m = c[r];
|
|
7
7
|
return /* @__PURE__ */ o.createElement(
|
package/dist/index.es19.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cn as s } from "./index.es71.js";
|
|
3
|
-
import { AlertVariants as d, AlertContentVariants as g, AlertButtonVariants as p } from "./index.
|
|
3
|
+
import { AlertVariants as d, AlertContentVariants as g, AlertButtonVariants as p } from "./index.es88.js";
|
|
4
4
|
import { Button as u } from "./index.es7.js";
|
|
5
5
|
import { Typography as h } from "./index.es18.js";
|
|
6
6
|
const c = e.forwardRef(({ className: t, ...a }, r) => /* @__PURE__ */ e.createElement(
|
package/dist/index.es20.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Breadcrumb as b, BreadcrumbList as h, BreadcrumbSeparator as o, BreadcrumbItem as s, BreadcrumbEllipsis as y, BreadcrumbLink as i } from "./index.
|
|
2
|
-
import { DropdownMenu as d, DropdownMenuTrigger as f, DropdownMenuContent as B, DropdownMenuItem as w } from "./index.
|
|
1
|
+
import { Breadcrumb as b, BreadcrumbList as h, BreadcrumbSeparator as o, BreadcrumbItem as s, BreadcrumbEllipsis as y, BreadcrumbLink as i } from "./index.es83.js";
|
|
2
|
+
import { DropdownMenu as d, DropdownMenuTrigger as f, DropdownMenuContent as B, DropdownMenuItem as w } from "./index.es82.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { Typography as N } from "./index.es18.js";
|
|
5
5
|
import { cn as D } from "./index.es71.js";
|
package/dist/index.es21.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { DropdownMenu as g, DropdownMenuTrigger as p, DropdownMenuContent as h, DropdownMenuLabel as E, DropdownMenuSeparator as d, DropdownMenuGroup as w, DropdownMenuSub as x, DropdownMenuSubTrigger as N, DropdownMenuPortal as D, DropdownMenuSubContent as M, DropdownMenuItem as s } from "./index.
|
|
2
|
+
import { DropdownMenu as g, DropdownMenuTrigger as p, DropdownMenuContent as h, DropdownMenuLabel as E, DropdownMenuSeparator as d, DropdownMenuGroup as w, DropdownMenuSub as x, DropdownMenuSubTrigger as N, DropdownMenuPortal as D, DropdownMenuSubContent as M, DropdownMenuItem as s } from "./index.es82.js";
|
|
3
3
|
function C({
|
|
4
4
|
trigger: c,
|
|
5
5
|
optionGroups: r,
|
package/dist/index.es24.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn as s } from "./index.es71.js";
|
|
2
2
|
import { useRanger as w } from "@tanstack/react-ranger";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { SliderBgColorVariants as a } from "./index.
|
|
4
|
+
import { SliderBgColorVariants as a } from "./index.es86.js";
|
|
5
5
|
const x = ({ left: t = 0, width: o = 0, index: l = -1 }) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
package/dist/index.es25.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ChevronUp as N, ChevronDown as v, Check as y } from "lucide-react";
|
|
|
4
4
|
import { Command as w, CommandInput as k, CommandEmpty as S, CommandGroup as O, CommandList as P, CommandItem as R } from "./index.es51.js";
|
|
5
5
|
import { Popover as j, PopoverTrigger as B, PopoverContent as I } from "./index.es72.js";
|
|
6
6
|
import { Button as T } from "./index.es7.js";
|
|
7
|
-
import { ComboBoxStates as V } from "./index.
|
|
7
|
+
import { ComboBoxStates as V } from "./index.es85.js";
|
|
8
8
|
import { Typography as d } from "./index.es18.js";
|
|
9
9
|
import { cn as m } from "./index.es71.js";
|
|
10
10
|
function A({
|
package/dist/index.es58.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { StarScore as
|
|
3
|
-
import { Badge as
|
|
4
|
-
import { Typography as
|
|
2
|
+
import { StarScore as i } from "./index.es45.js";
|
|
3
|
+
import { Badge as m } from "./index.es6.js";
|
|
4
|
+
import { Typography as o } from "./index.es18.js";
|
|
5
5
|
import { Skeleton as r } from "./index.es13.js";
|
|
6
6
|
import { hoverDetailCardStyles as n } from "./index.es95.js";
|
|
7
|
-
function
|
|
7
|
+
function h({
|
|
8
8
|
cardData: t,
|
|
9
9
|
isLoading: l = !1
|
|
10
10
|
}) {
|
|
11
|
-
return /* @__PURE__ */ e.createElement("div", { className: "w-[396px] border border-neutral-1 rounded-xl overflow-hidden" }, /* @__PURE__ */ e.createElement("div", { className: "px-4 py-3 flex gap-3 items-center" }, /* @__PURE__ */ e.createElement("div", { className: "w-12 h-12 rounded-full bg-light-3 flex items-center justify-center overflow-hidden" }, l ? /* @__PURE__ */ e.createElement(r, { className: "h-12 w-12 bg-gray-100 rounded-full" }) : /* @__PURE__ */ e.createElement(
|
|
11
|
+
return /* @__PURE__ */ e.createElement("div", { className: "w-[396px] border border-neutral-1 rounded-xl overflow-hidden bg-light-1" }, /* @__PURE__ */ e.createElement("div", { className: "px-4 py-3 flex gap-3 items-center" }, /* @__PURE__ */ e.createElement("div", { className: "w-12 h-12 rounded-full bg-light-3 flex items-center justify-center overflow-hidden" }, l ? /* @__PURE__ */ e.createElement(r, { className: "h-12 w-12 bg-gray-100 rounded-full" }) : /* @__PURE__ */ e.createElement(
|
|
12
12
|
"img",
|
|
13
13
|
{
|
|
14
14
|
src: t.icon ? t.icon : "https://frontend-static-files.geoiq.io/strapi/map_pin_ed26828f00.svg",
|
|
@@ -17,14 +17,14 @@ function E({
|
|
|
17
17
|
hasIcon: !!t.icon
|
|
18
18
|
})
|
|
19
19
|
}
|
|
20
|
-
)), /* @__PURE__ */ e.createElement("div", { className: "truncate max-w-[300px]" }, l ? /* @__PURE__ */ e.createElement(r, { className: "h-5 mb-2 w-[280px] bg-gray-100 rounded-full" }) : /* @__PURE__ */ e.createElement(
|
|
20
|
+
)), /* @__PURE__ */ e.createElement("div", { className: "truncate max-w-[300px]" }, l ? /* @__PURE__ */ e.createElement(r, { className: "h-5 mb-2 w-[280px] bg-gray-100 rounded-full" }) : /* @__PURE__ */ e.createElement(o, { variant: "h3", className: "text-light-2 truncate" }, t?.title), /* @__PURE__ */ e.createElement("div", { className: "flex gap-2 flex-wrap" }, l ? /* @__PURE__ */ e.createElement(
|
|
21
21
|
r,
|
|
22
22
|
{
|
|
23
23
|
key: "header-badge",
|
|
24
24
|
className: "h-6 w-20 mb-1 bg-gray-100 rounded-full"
|
|
25
25
|
}
|
|
26
26
|
) : t.headerBadges.map((a, s) => /* @__PURE__ */ e.createElement(
|
|
27
|
-
|
|
27
|
+
m,
|
|
28
28
|
{
|
|
29
29
|
key: s,
|
|
30
30
|
variant: "default",
|
|
@@ -37,12 +37,12 @@ function E({
|
|
|
37
37
|
{
|
|
38
38
|
src: a.icon_url,
|
|
39
39
|
alt: "icon",
|
|
40
|
-
className: "rounded-full"
|
|
40
|
+
className: "rounded-full w-3"
|
|
41
41
|
}
|
|
42
42
|
),
|
|
43
43
|
a.name
|
|
44
44
|
))))), /* @__PURE__ */ e.createElement("div", { className: "px-4 pb-3 pt-0" }, l ? /* @__PURE__ */ e.createElement(r, { className: "h-10 w-full bg-gray-100 rounded-xl" }) : /* @__PURE__ */ e.createElement(
|
|
45
|
-
|
|
45
|
+
o,
|
|
46
46
|
{
|
|
47
47
|
variant: "body4",
|
|
48
48
|
className: "text-light-3 text-overflow: ellipsis"
|
|
@@ -55,10 +55,10 @@ function E({
|
|
|
55
55
|
isFull: !!(t?.footer?.rating && t?.footer?.badge)
|
|
56
56
|
})
|
|
57
57
|
},
|
|
58
|
-
l ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(r, { className: "h-5 w-10 bg-gray-100 rounded" }), /* @__PURE__ */ e.createElement(r, { className: "h-5 w-24 bg-gray-100 rounded" })) : /* @__PURE__ */ e.createElement(e.Fragment, null, t?.footer?.rating && /* @__PURE__ */ e.createElement(
|
|
58
|
+
l ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(r, { className: "h-5 w-10 bg-gray-100 rounded" }), /* @__PURE__ */ e.createElement(r, { className: "h-5 w-24 bg-gray-100 rounded" })) : /* @__PURE__ */ e.createElement(e.Fragment, null, t?.footer?.rating && /* @__PURE__ */ e.createElement(i, { score: t?.footer?.rating }), t?.footer?.badge && /* @__PURE__ */ e.createElement(m, { variant: "select", size: "sm", showBorder: !0 }, t?.footer?.badge))
|
|
59
59
|
));
|
|
60
60
|
}
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
h as default
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=index.es58.js.map
|
package/dist/index.es58.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es58.js","sources":["../src/components/ui/map-marker-hover-card/map-marker-hover-card.tsx"],"sourcesContent":["import React from 'react'\nimport { StarScore } from '../star-score'\nimport { Badge } from '@/components/atoms/badge'\nimport { Typography } from '@/components/atoms/typography'\nimport { Skeleton } from '@/components/atoms/skeleton'\nimport { hoverDetailCardStyles } from './map-marker-hover-card.styles'\nimport { MapMarkerHoverCardNS } from './map-marker-hover-card.types'\n\nexport default function HoverDetailCard({\n cardData,\n isLoading = false,\n}: MapMarkerHoverCardNS.HoverDetailCardProps) {\n return (\n <div className=\"w-[396px] border border-neutral-1 rounded-xl overflow-hidden\">\n {/* Header Section */}\n <div className=\"px-4 py-3 flex gap-3 items-center\">\n <div className=\"w-12 h-12 rounded-full bg-light-3 flex items-center justify-center overflow-hidden\">\n {isLoading ? (\n <Skeleton className=\"h-12 w-12 bg-gray-100 rounded-full\" />\n ) : (\n <img\n src={\n cardData.icon\n ? cardData.icon\n : 'https://frontend-static-files.geoiq.io/strapi/map_pin_ed26828f00.svg'\n }\n alt=\"title\"\n className={hoverDetailCardStyles.img({\n hasIcon: !!cardData.icon,\n })}\n />\n )}\n </div>\n\n {/* POI (Point of Interest) name */}\n <div className=\"truncate max-w-[300px]\">\n {isLoading ? (\n <Skeleton className=\"h-5 mb-2 w-[280px] bg-gray-100 rounded-full\" />\n ) : (\n <Typography variant=\"h3\" className=\"text-light-2 truncate\">\n {cardData?.title}\n </Typography>\n )}\n\n {/* Header badges container */}\n <div className=\"flex gap-2 flex-wrap\">\n {isLoading ? (\n <Skeleton\n key={'header-badge'}\n className=\"h-6 w-20 mb-1 bg-gray-100 rounded-full\"\n />\n ) : (\n cardData.headerBadges.map((badge, index) => (\n <Badge\n key={index}\n variant=\"default\"\n showBorder\n size=\"sm\"\n className=\"rounded-full pl-1.5 pr-3\"\n >\n <img\n src={badge.icon_url}\n alt=\"icon\"\n className=\"rounded-full\"\n />\n {badge.name}\n </Badge>\n ))\n )}\n </div>\n </div>\n </div>\n\n {/* Body */}\n <div className=\"px-4 pb-3 pt-0\">\n {isLoading ? (\n <Skeleton className=\"h-10 w-full bg-gray-100 rounded-xl\" />\n ) : (\n <Typography\n variant=\"body4\"\n className=\"text-light-3 text-overflow: ellipsis\"\n >\n {cardData?.description}\n </Typography>\n )}\n </div>\n\n {/* Footer */}\n {(cardData?.footer?.rating || cardData?.footer?.badge) && (\n <div\n className={hoverDetailCardStyles.footer({\n isFull: !!(cardData?.footer?.rating && cardData?.footer?.badge),\n })}\n >\n {isLoading ? (\n <>\n <Skeleton className=\"h-5 w-10 bg-gray-100 rounded\" />\n <Skeleton className=\"h-5 w-24 bg-gray-100 rounded\" />\n </>\n ) : (\n <>\n {cardData?.footer?.rating && (\n <StarScore score={cardData?.footer?.rating} />\n )}\n {cardData?.footer?.badge && (\n <Badge variant=\"select\" size=\"sm\" showBorder>\n
|
|
1
|
+
{"version":3,"file":"index.es58.js","sources":["../src/components/ui/map-marker-hover-card/map-marker-hover-card.tsx"],"sourcesContent":["import React from 'react'\nimport { StarScore } from '../star-score'\nimport { Badge } from '@/components/atoms/badge'\nimport { Typography } from '@/components/atoms/typography'\nimport { Skeleton } from '@/components/atoms/skeleton'\nimport { hoverDetailCardStyles } from './map-marker-hover-card.styles'\nimport { MapMarkerHoverCardNS } from './map-marker-hover-card.types'\n\nexport default function HoverDetailCard({\n cardData,\n isLoading = false,\n}: MapMarkerHoverCardNS.HoverDetailCardProps) {\n return (\n <div className=\"w-[396px] border border-neutral-1 rounded-xl overflow-hidden bg-light-1\">\n {/* Header Section */}\n <div className=\"px-4 py-3 flex gap-3 items-center\">\n <div className=\"w-12 h-12 rounded-full bg-light-3 flex items-center justify-center overflow-hidden\">\n {isLoading ? (\n <Skeleton className=\"h-12 w-12 bg-gray-100 rounded-full\" />\n ) : (\n <img\n src={\n cardData.icon\n ? cardData.icon\n : 'https://frontend-static-files.geoiq.io/strapi/map_pin_ed26828f00.svg'\n }\n alt=\"title\"\n className={hoverDetailCardStyles.img({\n hasIcon: !!cardData.icon,\n })}\n />\n )}\n </div>\n\n {/* POI (Point of Interest) name */}\n <div className=\"truncate max-w-[300px]\">\n {isLoading ? (\n <Skeleton className=\"h-5 mb-2 w-[280px] bg-gray-100 rounded-full\" />\n ) : (\n <Typography variant=\"h3\" className=\"text-light-2 truncate\">\n {cardData?.title}\n </Typography>\n )}\n\n {/* Header badges container */}\n <div className=\"flex gap-2 flex-wrap\">\n {isLoading ? (\n <Skeleton\n key={'header-badge'}\n className=\"h-6 w-20 mb-1 bg-gray-100 rounded-full\"\n />\n ) : (\n cardData.headerBadges.map((badge, index) => (\n <Badge\n key={index}\n variant=\"default\"\n showBorder\n size=\"sm\"\n className=\"rounded-full pl-1.5 pr-3\"\n >\n <img\n src={badge.icon_url}\n alt=\"icon\"\n className=\"rounded-full w-3\"\n />\n {badge.name}\n </Badge>\n ))\n )}\n </div>\n </div>\n </div>\n\n {/* Body */}\n <div className=\"px-4 pb-3 pt-0\">\n {isLoading ? (\n <Skeleton className=\"h-10 w-full bg-gray-100 rounded-xl\" />\n ) : (\n <Typography\n variant=\"body4\"\n className=\"text-light-3 text-overflow: ellipsis\"\n >\n {cardData?.description}\n </Typography>\n )}\n </div>\n\n {/* Footer */}\n {(cardData?.footer?.rating || cardData?.footer?.badge) && (\n <div\n className={hoverDetailCardStyles.footer({\n isFull: !!(cardData?.footer?.rating && cardData?.footer?.badge),\n })}\n >\n {isLoading ? (\n <>\n <Skeleton className=\"h-5 w-10 bg-gray-100 rounded\" />\n <Skeleton className=\"h-5 w-24 bg-gray-100 rounded\" />\n </>\n ) : (\n <>\n {cardData?.footer?.rating && (\n <StarScore score={cardData?.footer?.rating} />\n )}\n {cardData?.footer?.badge && (\n <Badge variant=\"select\" size=\"sm\" showBorder>\n {cardData?.footer?.badge}\n </Badge>\n )}\n </>\n )}\n </div>\n )}\n </div>\n )\n}\n"],"names":["HoverDetailCard","cardData","isLoading","React","Skeleton","hoverDetailCardStyles","Typography","badge","index","Badge","StarScore"],"mappings":";;;;;;AAQA,SAAwBA,EAAgB;AAAA,EACtC,UAAAC;AAAA,EACA,WAAAC,IAAY;AACd,GAA8C;AAC5C,yCACG,OAAI,EAAA,WAAU,0EAEb,GAAAC,gBAAAA,EAAA,cAAC,SAAI,WAAU,oCAAA,GACZA,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,qFACZ,GAAAD,oCACEE,GAAS,EAAA,WAAU,sCAAqC,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AAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWE,EAAsB,OAAO;AAAA,QACtC,QAAQ,CAAC,EAAEJ,GAAU,QAAQ,UAAUA,GAAU,QAAQ;AAAA,MAAA,CAC1D;AAAA,IAAA;AAAA,IAEAC,IAEGC,gBAAAA,EAAA,cAAAA,EAAA,UAAA,MAAAA,gBAAAA,EAAA,cAACC,GAAS,EAAA,WAAU,gCAA+B,GACnDD,gBAAAA,EAAA,cAACC,GAAS,EAAA,WAAU,gCAA+B,CACrD,sDAGGH,GAAU,QAAQ,UAChBE,gBAAAA,EAAA,cAAAO,GAAA,EAAU,OAAOT,GAAU,QAAQ,OAAQ,CAAA,GAE7CA,GAAU,QAAQ,SAChBE,gBAAAA,EAAA,cAAAM,GAAA,EAAM,SAAQ,UAAS,MAAK,MAAK,YAAU,MACzCR,GAAU,QAAQ,KACrB,CAEJ;AAAA,EAAA,CAIR;AAEJ;"}
|
package/dist/index.es64.js
CHANGED
package/dist/index.es79.js
CHANGED
|
@@ -1,14 +1,52 @@
|
|
|
1
1
|
import { cva as r } from "class-variance-authority";
|
|
2
|
-
const
|
|
3
|
-
|
|
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
|
-
|
|
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
|
+
}
|
|
7
21
|
},
|
|
8
|
-
defaultVariants: {
|
|
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
|
+
]
|
|
9
47
|
}
|
|
10
48
|
);
|
|
11
49
|
export {
|
|
12
|
-
|
|
50
|
+
s as InputVariants
|
|
13
51
|
};
|
|
14
52
|
//# sourceMappingURL=index.es79.js.map
|
package/dist/index.es79.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es79.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index.es79.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;"}
|
package/dist/index.es80.js
CHANGED
|
@@ -1,52 +1,25 @@
|
|
|
1
1
|
import { cva as r } from "class-variance-authority";
|
|
2
|
-
const
|
|
3
|
-
`
|
|
4
|
-
text-light-
|
|
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
5
|
file:border-0 file:bg-transparent
|
|
6
6
|
placeholder:font-normal placeholder:text-light-4`,
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
|
-
isError: {
|
|
10
|
-
true: "",
|
|
11
|
-
false: ""
|
|
12
|
-
},
|
|
13
9
|
isFocused: {
|
|
14
|
-
true: "",
|
|
15
|
-
false: ""
|
|
10
|
+
true: "border-primary-2 ring-4 ring-primary-1",
|
|
11
|
+
false: "border-light-2"
|
|
16
12
|
},
|
|
17
13
|
disabled: {
|
|
18
14
|
true: "bg-light-3 border-neutral-2 cursor-not-allowed",
|
|
19
15
|
false: ""
|
|
20
16
|
}
|
|
21
17
|
},
|
|
22
|
-
defaultVariants: {
|
|
23
|
-
|
|
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
|
-
]
|
|
18
|
+
defaultVariants: {},
|
|
19
|
+
compoundVariants: []
|
|
47
20
|
}
|
|
48
21
|
);
|
|
49
22
|
export {
|
|
50
|
-
|
|
23
|
+
t as TextAreaVariants
|
|
51
24
|
};
|
|
52
25
|
//# sourceMappingURL=index.es80.js.map
|
package/dist/index.es80.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es80.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index.es80.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;"}
|
package/dist/index.es81.js
CHANGED
|
@@ -1,25 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 i = r(
|
|
3
|
+
"relative h-2 w-full overflow-hidden rounded bg-primary-2 min-w-64 ",
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {}
|
|
7
|
+
},
|
|
8
|
+
defaultVariants: {}
|
|
9
|
+
}
|
|
10
|
+
);
|
|
21
11
|
export {
|
|
22
|
-
|
|
23
|
-
p as variantElementMap
|
|
12
|
+
i as ProgressVariants
|
|
24
13
|
};
|
|
25
14
|
//# sourceMappingURL=index.es81.js.map
|
package/dist/index.es81.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es81.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index.es81.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;"}
|
package/dist/index.es82.js
CHANGED
|
@@ -1,91 +1,128 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import
|
|
3
|
-
import { ChevronRight as l,
|
|
4
|
-
import { cn as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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.es71.js";
|
|
5
|
+
const h = e.forwardRef(({ id: o, ...a }) => (
|
|
6
|
+
// <div id={id}>
|
|
7
|
+
/* @__PURE__ */ e.createElement(t.Root, { ...a })
|
|
8
|
+
)), E = t.Trigger, R = t.Group, D = t.Portal, M = t.Sub, c = e.forwardRef(({ className: o, inset: a, children: n, ...r }, s) => /* @__PURE__ */ e.createElement(
|
|
9
|
+
t.SubTrigger,
|
|
9
10
|
{
|
|
10
|
-
ref:
|
|
11
|
-
className:
|
|
12
|
-
"flex
|
|
13
|
-
|
|
11
|
+
ref: s,
|
|
12
|
+
className: d(
|
|
13
|
+
"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",
|
|
14
|
+
a && "pl-8",
|
|
15
|
+
o
|
|
14
16
|
),
|
|
15
|
-
...
|
|
16
|
-
}
|
|
17
|
+
...r
|
|
18
|
+
},
|
|
19
|
+
n,
|
|
20
|
+
/* @__PURE__ */ e.createElement(l, { className: "w-4 h-4 ml-auto" })
|
|
17
21
|
));
|
|
18
|
-
|
|
19
|
-
const p = e.forwardRef(({ className:
|
|
20
|
-
|
|
22
|
+
c.displayName = t.SubTrigger.displayName;
|
|
23
|
+
const p = e.forwardRef(({ className: o, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
24
|
+
t.SubContent,
|
|
21
25
|
{
|
|
22
|
-
ref:
|
|
23
|
-
className:
|
|
26
|
+
ref: n,
|
|
27
|
+
className: d(
|
|
28
|
+
"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",
|
|
29
|
+
o
|
|
30
|
+
),
|
|
24
31
|
...a
|
|
25
32
|
}
|
|
26
33
|
));
|
|
27
|
-
p.displayName =
|
|
28
|
-
const u = e.forwardRef(({
|
|
29
|
-
|
|
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",
|
|
34
|
+
p.displayName = t.SubContent.displayName;
|
|
35
|
+
const u = e.forwardRef(({ className: o, sideOffset: a = 4, ...n }, r) => /* @__PURE__ */ e.createElement(t.Portal, { container: n?.container }, /* @__PURE__ */ e.createElement(
|
|
36
|
+
t.Content,
|
|
42
37
|
{
|
|
43
|
-
ref:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
38
|
+
ref: r,
|
|
39
|
+
sideOffset: a,
|
|
40
|
+
className: d(
|
|
41
|
+
"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",
|
|
42
|
+
o
|
|
43
|
+
),
|
|
44
|
+
...n
|
|
49
45
|
}
|
|
46
|
+
)));
|
|
47
|
+
u.displayName = t.Content.displayName;
|
|
48
|
+
const f = e.forwardRef(({ className: o, inset: a, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
49
|
+
t.Item,
|
|
50
|
+
{
|
|
51
|
+
ref: r,
|
|
52
|
+
className: d(
|
|
53
|
+
"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",
|
|
54
|
+
a && "pl-8",
|
|
55
|
+
o
|
|
56
|
+
),
|
|
57
|
+
...n
|
|
58
|
+
}
|
|
59
|
+
));
|
|
60
|
+
f.displayName = t.Item.displayName;
|
|
61
|
+
const b = e.forwardRef(({ className: o, children: a, checked: n, ...r }, s) => /* @__PURE__ */ e.createElement(
|
|
62
|
+
t.CheckboxItem,
|
|
63
|
+
{
|
|
64
|
+
ref: s,
|
|
65
|
+
className: d(
|
|
66
|
+
"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",
|
|
67
|
+
o
|
|
68
|
+
),
|
|
69
|
+
checked: n,
|
|
70
|
+
disabled: !0,
|
|
71
|
+
...r
|
|
72
|
+
},
|
|
73
|
+
/* @__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: "w-4 h-4" }))),
|
|
74
|
+
a
|
|
50
75
|
));
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
className: a,
|
|
55
|
-
...t
|
|
56
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
57
|
-
"li",
|
|
76
|
+
b.displayName = t.CheckboxItem.displayName;
|
|
77
|
+
const w = e.forwardRef(({ className: o, children: a, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
78
|
+
t.RadioItem,
|
|
58
79
|
{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
80
|
+
ref: r,
|
|
81
|
+
className: d(
|
|
82
|
+
"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",
|
|
83
|
+
o
|
|
84
|
+
),
|
|
85
|
+
...n
|
|
63
86
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
71
|
-
"span",
|
|
87
|
+
/* @__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: "w-2 h-2 fill-current" }))),
|
|
88
|
+
a
|
|
89
|
+
));
|
|
90
|
+
w.displayName = t.RadioItem.displayName;
|
|
91
|
+
const g = e.forwardRef(({ className: o, inset: a, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
92
|
+
t.Label,
|
|
72
93
|
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
ref: r,
|
|
95
|
+
className: d(
|
|
96
|
+
"px-2 py-1.5 text-sm font-semibold",
|
|
97
|
+
a && "pl-8",
|
|
98
|
+
o
|
|
99
|
+
),
|
|
100
|
+
...n
|
|
101
|
+
}
|
|
102
|
+
));
|
|
103
|
+
g.displayName = t.Label.displayName;
|
|
104
|
+
const N = e.forwardRef(({ className: o, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
105
|
+
t.Separator,
|
|
106
|
+
{
|
|
107
|
+
ref: n,
|
|
108
|
+
className: d("-mx-1 my-1 h-px bg-muted", o),
|
|
76
109
|
...a
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
);
|
|
81
|
-
N.displayName = "BreadcrumbElipssis";
|
|
110
|
+
}
|
|
111
|
+
));
|
|
112
|
+
N.displayName = t.Separator.displayName;
|
|
82
113
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
114
|
+
h as DropdownMenu,
|
|
115
|
+
b as DropdownMenuCheckboxItem,
|
|
116
|
+
u as DropdownMenuContent,
|
|
117
|
+
R as DropdownMenuGroup,
|
|
118
|
+
f as DropdownMenuItem,
|
|
119
|
+
g as DropdownMenuLabel,
|
|
120
|
+
D as DropdownMenuPortal,
|
|
121
|
+
w as DropdownMenuRadioItem,
|
|
122
|
+
N as DropdownMenuSeparator,
|
|
123
|
+
M as DropdownMenuSub,
|
|
124
|
+
p as DropdownMenuSubContent,
|
|
125
|
+
c as DropdownMenuSubTrigger,
|
|
126
|
+
E as DropdownMenuTrigger
|
|
90
127
|
};
|
|
91
128
|
//# sourceMappingURL=index.es82.js.map
|
package/dist/index.es82.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es82.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,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AA,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.es82.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 = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {\n id?: string\n }\n>(({ id, ...props }) => (\n // <div id={id}>\n <DropdownMenuPrimitive.Root {...props} />\n // {/* </div> */}\n))\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=\"w-4 h-4 ml-auto\" />\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 Pick<\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Portal>,\n 'container'\n >\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal container={props?.container}>\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=\"w-4 h-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=\"w-2 h-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","React","id","props","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuSubTrigger","className","inset","children","ref","cn","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator"],"mappings":";;;;AAQA,MAAMA,IAAeC,EAAM,WAKzB,CAAC,EAAE,IAAAC,GAAI,GAAGC,EAAM;AAAA;AAAA,EAEf,gBAAAF,EAAA,cAAAG,EAAsB,MAAtB,EAA4B,GAAGD,EAAO,CAAA;AAAA,CAExC,GAEKE,IAAsBD,EAAsB,SAE5CE,IAAoBF,EAAsB,OAE1CG,IAAqBH,EAAsB,QAE3CI,IAAkBJ,EAAsB,KAIxCK,IAAyBR,EAAM,WAKnC,CAAC,EAAE,WAAAS,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGT,EAAM,GAAGU,MAC3C,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AAAA,EAEHS;AAAA,EACD,gBAAAX,EAAA,cAACc,GAAa,EAAA,WAAU,kBAAkB,CAAA;AAC5C,CACD;AACDN,EAAuB,cACrBL,EAAsB,WAAW;AAE7B,MAAAY,IAAyBf,EAAM,WAGnC,CAAC,EAAE,WAAAS,GAAW,GAAGP,EAAM,GAAGU,MAC1B,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AACN,CACD;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import { cn as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
t.SubTrigger,
|
|
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.es71.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",
|
|
10
9
|
{
|
|
11
|
-
ref:
|
|
12
|
-
className:
|
|
13
|
-
"flex
|
|
14
|
-
|
|
15
|
-
o
|
|
16
|
-
),
|
|
17
|
-
...r
|
|
18
|
-
},
|
|
19
|
-
n,
|
|
20
|
-
/* @__PURE__ */ e.createElement(l, { className: "w-4 h-4 ml-auto" })
|
|
21
|
-
));
|
|
22
|
-
c.displayName = t.SubTrigger.displayName;
|
|
23
|
-
const p = e.forwardRef(({ className: o, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
24
|
-
t.SubContent,
|
|
25
|
-
{
|
|
26
|
-
ref: n,
|
|
27
|
-
className: d(
|
|
28
|
-
"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",
|
|
29
|
-
o
|
|
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
|
|
30
14
|
),
|
|
31
15
|
...a
|
|
32
16
|
}
|
|
33
17
|
));
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
|
|
18
|
+
d.displayName = "BreadcrumbList";
|
|
19
|
+
const p = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
|
|
20
|
+
"li",
|
|
37
21
|
{
|
|
38
|
-
ref:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"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",
|
|
42
|
-
o
|
|
43
|
-
),
|
|
44
|
-
...n
|
|
45
|
-
}
|
|
46
|
-
)));
|
|
47
|
-
u.displayName = t.Content.displayName;
|
|
48
|
-
const f = e.forwardRef(({ className: o, inset: a, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
49
|
-
t.Item,
|
|
50
|
-
{
|
|
51
|
-
ref: r,
|
|
52
|
-
className: d(
|
|
53
|
-
"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",
|
|
54
|
-
a && "pl-8",
|
|
55
|
-
o
|
|
56
|
-
),
|
|
57
|
-
...n
|
|
22
|
+
ref: t,
|
|
23
|
+
className: m("inline-flex items-center gap-1.5", r),
|
|
24
|
+
...a
|
|
58
25
|
}
|
|
59
26
|
));
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
|
|
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",
|
|
63
42
|
{
|
|
64
|
-
ref:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
...r
|
|
72
|
-
},
|
|
73
|
-
/* @__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: "w-4 h-4" }))),
|
|
74
|
-
a
|
|
43
|
+
ref: t,
|
|
44
|
+
role: "link",
|
|
45
|
+
"aria-disabled": "true",
|
|
46
|
+
"aria-current": "page",
|
|
47
|
+
className: m("font-normal text-foreground", r),
|
|
48
|
+
...a
|
|
49
|
+
}
|
|
75
50
|
));
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
51
|
+
f.displayName = "BreadcrumbPage";
|
|
52
|
+
const b = ({
|
|
53
|
+
children: r,
|
|
54
|
+
className: a,
|
|
55
|
+
...t
|
|
56
|
+
}) => /* @__PURE__ */ e.createElement(
|
|
57
|
+
"li",
|
|
79
58
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
),
|
|
85
|
-
...n
|
|
59
|
+
role: "presentation",
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
className: m("[&>svg]:size-3.5", a),
|
|
62
|
+
...t
|
|
86
63
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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",
|
|
93
72
|
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
a && "pl-8",
|
|
98
|
-
o
|
|
99
|
-
),
|
|
100
|
-
...n
|
|
101
|
-
}
|
|
102
|
-
));
|
|
103
|
-
g.displayName = t.Label.displayName;
|
|
104
|
-
const N = e.forwardRef(({ className: o, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
105
|
-
t.Separator,
|
|
106
|
-
{
|
|
107
|
-
ref: n,
|
|
108
|
-
className: d("-mx-1 my-1 h-px bg-muted", o),
|
|
73
|
+
role: "presentation",
|
|
74
|
+
"aria-hidden": "true",
|
|
75
|
+
className: m("flex h-9 w-9 items-center justify-center", r),
|
|
109
76
|
...a
|
|
110
|
-
}
|
|
111
|
-
)
|
|
112
|
-
|
|
77
|
+
},
|
|
78
|
+
/* @__PURE__ */ e.createElement(c, { className: "h-4 w-4" }),
|
|
79
|
+
/* @__PURE__ */ e.createElement("span", { className: "sr-only" }, "More")
|
|
80
|
+
);
|
|
81
|
+
N.displayName = "BreadcrumbElipssis";
|
|
113
82
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
w as DropdownMenuRadioItem,
|
|
122
|
-
N as DropdownMenuSeparator,
|
|
123
|
-
M as DropdownMenuSub,
|
|
124
|
-
p as DropdownMenuSubContent,
|
|
125
|
-
c as DropdownMenuSubTrigger,
|
|
126
|
-
E as DropdownMenuTrigger
|
|
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
|
|
127
90
|
};
|
|
128
91
|
//# sourceMappingURL=index.es83.js.map
|
package/dist/index.es83.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es83.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 = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> & {\n id?: string\n }\n>(({ id, ...props }) => (\n // <div id={id}>\n <DropdownMenuPrimitive.Root {...props} />\n // {/* </div> */}\n))\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=\"w-4 h-4 ml-auto\" />\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 Pick<\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Portal>,\n 'container'\n >\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal container={props?.container}>\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=\"w-4 h-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=\"w-2 h-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","React","id","props","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuSubTrigger","className","inset","children","ref","cn","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator"],"mappings":";;;;AAQA,MAAMA,IAAeC,EAAM,WAKzB,CAAC,EAAE,IAAAC,GAAI,GAAGC,EAAM;AAAA;AAAA,EAEf,gBAAAF,EAAA,cAAAG,EAAsB,MAAtB,EAA4B,GAAGD,EAAO,CAAA;AAAA,CAExC,GAEKE,IAAsBD,EAAsB,SAE5CE,IAAoBF,EAAsB,OAE1CG,IAAqBH,EAAsB,QAE3CI,IAAkBJ,EAAsB,KAIxCK,IAAyBR,EAAM,WAKnC,CAAC,EAAE,WAAAS,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGT,EAAM,GAAGU,MAC3C,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AAAA,EAEHS;AAAA,EACD,gBAAAX,EAAA,cAACc,GAAa,EAAA,WAAU,kBAAkB,CAAA;AAC5C,CACD;AACDN,EAAuB,cACrBL,EAAsB,WAAW;AAE7B,MAAAY,IAAyBf,EAAM,WAGnC,CAAC,EAAE,WAAAS,GAAW,GAAGP,EAAM,GAAGU,MAC1B,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AACN,CACD;AACDa,EAAuB,cACrBZ,EAAsB,WAAW;AAEnC,MAAMa,IAAs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wBtB,EAAM,WAGlC,CAAC,EAAE,WAAAS,GAAW,UAAAE,GAAU,GAAGT,EAAM,GAAGU,MACpC,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AAAA,EAEH,gBAAAF,EAAA,cAAA,QAAA,EAAK,WAAU,+DAAA,GACb,gBAAAA,EAAA,cAAAG,EAAsB,eAAtB,MACE,gBAAAH,EAAA,cAAAuB,GAAA,EAAO,WAAU,uBAAuB,CAAA,CAC3C,CACF;AAAA,EACCZ;AACH,CACD;AACDW,EAAsB,cAAcnB,EAAsB,UAAU;AAE9D,MAAAqB,IAAoBxB,EAAM,WAK9B,CAAC,EAAE,WAAAS,GAAW,OAAAC,GAAO,GAAGR,EAAM,GAAGU,MACjC,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH,KAAS;AAAA,MACTD;AAAA,IACF;AAAA,IACC,GAAGP;AAAA,EAAA;AACN,CACD;AACDsB,EAAkB,cAAcrB,EAAsB,MAAM;AAEtD,MAAAsB,IAAwBzB,EAAM,WAGlC,CAAC,EAAE,WAAAS,GAAW,GAAGP,EAAM,GAAGU,MAC1B,gBAAAZ,EAAA;AAAA,EAACG,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAS;AAAA,IACA,WAAWC,EAAG,4BAA4BJ,CAAS;AAAA,IAClD,GAAGP;AAAA,EAAA;AACN,CACD;AACDuB,EAAsB,cAActB,EAAsB,UAAU;"}
|
|
1
|
+
{"version":3,"file":"index.es83.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,WAK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U,MAAI;AAChC;AAEFe,EAAmB,cAAc;"}
|
package/dist/index.es85.js
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
}
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
const e = t("w-full", {
|
|
3
|
+
variants: {
|
|
4
|
+
isOpen: {
|
|
5
|
+
true: "ring-4 ring-primary-1 border-primary-2 text-light-1"
|
|
17
6
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
isValue: {
|
|
8
|
+
true: "text-light-1",
|
|
9
|
+
false: "text-light-4"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
compoundVariants: [
|
|
13
|
+
// {
|
|
14
|
+
// isOpen: true,
|
|
15
|
+
// isValue: true,
|
|
16
|
+
// className: 'border-primary-2',
|
|
17
|
+
// },
|
|
18
|
+
{
|
|
19
|
+
isOpen: !1,
|
|
20
|
+
isValue: !0,
|
|
21
|
+
className: "border-neutral-2"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
});
|
|
22
25
|
export {
|
|
23
|
-
|
|
26
|
+
e as ComboBoxStates
|
|
24
27
|
};
|
|
25
28
|
//# sourceMappingURL=index.es85.js.map
|
package/dist/index.es85.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es85.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es85.js","sources":["../src/components/molecules/single-combobox/single-combobox.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const ComboBoxStates = cva('w-full', {\n variants: {\n isOpen: {\n true: 'ring-4 ring-primary-1 border-primary-2 text-light-1',\n },\n isValue: {\n true: 'text-light-1',\n false: 'text-light-4',\n },\n },\n compoundVariants: [\n // {\n // isOpen: true,\n // isValue: true,\n // className: 'border-primary-2',\n // },\n {\n isOpen: false,\n isValue: true,\n className: 'border-neutral-2',\n },\n ],\n})\n"],"names":["ComboBoxStates","cva"],"mappings":";AAEa,MAAAA,IAAiBC,EAAI,UAAU;AAAA,EAC1C,UAAU;AAAA,IACR,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMhB;AAAA,MACE,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;"}
|
package/dist/index.es86.js
CHANGED
|
@@ -1,28 +1,17 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
const
|
|
1
|
+
import { cva as s } from "class-variance-authority";
|
|
2
|
+
const o = s("", {
|
|
3
3
|
variants: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
true: "text-light-1",
|
|
9
|
-
false: "text-light-4"
|
|
4
|
+
bgColor: {
|
|
5
|
+
success: "bg-success-2",
|
|
6
|
+
danger: "bg-danger-2",
|
|
7
|
+
stroke: "bg-light-4"
|
|
10
8
|
}
|
|
11
9
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// isValue: true,
|
|
16
|
-
// className: 'border-primary-2',
|
|
17
|
-
// },
|
|
18
|
-
{
|
|
19
|
-
isOpen: !1,
|
|
20
|
-
isValue: !0,
|
|
21
|
-
className: "border-neutral-2"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
bgColor: "success"
|
|
12
|
+
}
|
|
24
13
|
});
|
|
25
14
|
export {
|
|
26
|
-
|
|
15
|
+
o as SliderBgColorVariants
|
|
27
16
|
};
|
|
28
17
|
//# sourceMappingURL=index.es86.js.map
|
package/dist/index.es86.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es86.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es86.js","sources":["../src/components/molecules/range-slider/range-slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderBgColorVariants = cva('', {\n variants: {\n bgColor: {\n success: 'bg-success-2',\n danger: 'bg-danger-2',\n stroke: 'bg-light-4',\n },\n },\n defaultVariants: {\n bgColor: 'success',\n },\n})\n"],"names":["SliderBgColorVariants","cva"],"mappings":";AAEa,MAAAA,IAAwBC,EAAI,IAAI;AAAA,EAC3C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;"}
|
package/dist/index.es87.js
CHANGED
|
@@ -1,48 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
});
|
|
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";
|
|
43
21
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
r as AlertVariants
|
|
22
|
+
y as defaultTypographyVariant,
|
|
23
|
+
p as variantElementMap
|
|
47
24
|
};
|
|
48
25
|
//# sourceMappingURL=index.es87.js.map
|
package/dist/index.es87.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es87.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es87.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;"}
|
package/dist/index.es88.js
CHANGED
|
@@ -1,17 +1,48 @@
|
|
|
1
|
-
import { cva as
|
|
2
|
-
const
|
|
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] ", {
|
|
3
33
|
variants: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
stroke: "bg-light-4"
|
|
34
|
+
shortContent: {
|
|
35
|
+
true: "bg-rest-s1",
|
|
36
|
+
false: "bg-rest-s1"
|
|
8
37
|
}
|
|
9
38
|
},
|
|
10
39
|
defaultVariants: {
|
|
11
|
-
|
|
40
|
+
shortContent: !1
|
|
12
41
|
}
|
|
13
42
|
});
|
|
14
43
|
export {
|
|
15
|
-
|
|
44
|
+
n as AlertButtonVariants,
|
|
45
|
+
a as AlertContentVariants,
|
|
46
|
+
r as AlertVariants
|
|
16
47
|
};
|
|
17
48
|
//# sourceMappingURL=index.es88.js.map
|
package/dist/index.es88.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es88.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es88.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;"}
|
package/dist/index.es9.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cn as p } from "./index.es71.js";
|
|
3
|
-
import { InputVariants as g } from "./index.
|
|
3
|
+
import { InputVariants as g } from "./index.es79.js";
|
|
4
4
|
import { Typography as E } from "./index.es18.js";
|
|
5
5
|
import { XCircle as N } from "lucide-react";
|
|
6
6
|
const b = e.forwardRef(
|