geoiq-frontend-ui-kit 1.1.1 → 1.1.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/components/organisms/dialog/dialog.d.ts +1 -1
- package/dist/components/organisms/dialog/dialog.d.ts.map +1 -1
- package/dist/components/organisms/dialog/dialog.types.d.ts +2 -1
- package/dist/components/organisms/dialog/dialog.types.d.ts.map +1 -1
- package/dist/components/unstyled/table/table-components.d.ts.map +1 -1
- package/dist/components/unstyled/table/table.d.ts.map +1 -1
- package/dist/components/unstyled/table/table.types.d.ts +8 -1
- package/dist/components/unstyled/table/table.types.d.ts.map +1 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es14.js +1 -1
- package/dist/index.es17.js +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es20.js +22 -10
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +27 -5
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +13 -7
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es34.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es49.js +11 -22
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es50.js +22 -22
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +130 -37
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +13 -10
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +84 -24
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +8 -82
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +157 -12
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +24 -10
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +37 -155
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +20 -132
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +40 -2
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es60.js +2 -42
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +39 -25
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +25 -37
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/styles.css +10 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DialogProps } from './dialog.types';
|
|
2
2
|
|
|
3
|
-
export declare function _Dialog({ trigger,
|
|
3
|
+
export declare function _Dialog({ trigger, body, title, description, footer, footerClassName, contentClassName, }: DialogProps): import("react/jsx-dev-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/dialog/dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAI5C,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/dialog/dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAI5C,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,gBAAgB,GACjB,EAAE,WAAW,+CAuCb"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export type DialogProps = {
|
|
2
2
|
trigger: React.ReactNode;
|
|
3
|
-
|
|
3
|
+
body: React.ReactNode;
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
footer?: React.ReactNode;
|
|
7
7
|
footerClassName?: string;
|
|
8
|
+
contentClassName?: string;
|
|
8
9
|
};
|
|
9
10
|
//# sourceMappingURL=dialog.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.types.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/dialog/dialog.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,
|
|
1
|
+
{"version":3,"file":"dialog.types.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/dialog/dialog.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-components.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table-components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"table-components.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table-components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,KAAK,iHAaT,CAAA;AAGF,QAAA,MAAM,WAAW,+HAKf,CAAA;AAGF,QAAA,MAAM,SAAS,+HASb,CAAA;AAGF,QAAA,MAAM,WAAW,+HAYf,CAAA;AAGF,QAAA,MAAM,QAAQ,uHAYZ,CAAA;AAGF,QAAA,MAAM,SAAS,2HAYb,CAAA;AAGF,QAAA,MAAM,SAAS,2HAYb,CAAA;AAGF,QAAA,MAAM,YAAY,+HAShB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAEzC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,GACV,EAAE;IACD,SAAS,EAAE,SAAS,CAAA;CACrB,+CAwCA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
1
3
|
export type TableInputProps = {
|
|
2
4
|
tableData: TableData;
|
|
3
5
|
};
|
|
@@ -8,9 +10,14 @@ export type TableData = {
|
|
|
8
10
|
}[];
|
|
9
11
|
rows: {
|
|
10
12
|
cells: {
|
|
11
|
-
content: string;
|
|
13
|
+
content: string | ReactNode;
|
|
12
14
|
className?: string;
|
|
13
15
|
}[];
|
|
14
16
|
}[];
|
|
17
|
+
tableContainerClassName?: string;
|
|
18
|
+
tableHeaderClassName?: string;
|
|
19
|
+
tableBodyClassName?: string;
|
|
20
|
+
tableRowClassName?: string;
|
|
21
|
+
tableCellClassName?: string;
|
|
15
22
|
};
|
|
16
23
|
//# sourceMappingURL=table.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.types.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC/C,IAAI,EAAE;QACJ,KAAK,EAAE;YAAE,OAAO,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"table.types.d.ts","sourceRoot":"","sources":["../../../../src/components/unstyled/table/table.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC/C,IAAI,EAAE;QACJ,KAAK,EAAE;YAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAC7D,EAAE,CAAA;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CAAA"}
|
package/dist/index.es10.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn as s } from "./index.es45.js";
|
|
2
2
|
import { useRanger as b } from "@tanstack/react-ranger";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { SliderBgColorVariants as a } from "./index.
|
|
4
|
+
import { SliderBgColorVariants as a } from "./index.es52.js";
|
|
5
5
|
const w = ({ left: t = 0, width: o = 0, index: l = -1 }) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
package/dist/index.es14.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cn as r } from "./index.es45.js";
|
|
3
|
-
import { AlertVariants as f, AlertContentVariants as d, AlertButtonVariants as g } from "./index.
|
|
3
|
+
import { AlertVariants as f, AlertContentVariants as d, AlertButtonVariants as g } from "./index.es57.js";
|
|
4
4
|
import { Button as p } from "./index.es2.js";
|
|
5
5
|
const c = e.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
"h5",
|
package/dist/index.es17.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { DropdownMenu as m, DropdownMenuTrigger as u, DropdownMenuContent as b, DropdownMenuLabel as i, DropdownMenuSeparator as n, DropdownMenuGroup as p, DropdownMenuSub as g, DropdownMenuSubTrigger as h, DropdownMenuPortal as E, DropdownMenuSubContent as w, DropdownMenuItem as d, DropdownMenuShortcut as x } from "./index.
|
|
2
|
+
import { DropdownMenu as m, DropdownMenuTrigger as u, DropdownMenuContent as b, DropdownMenuLabel as i, DropdownMenuSeparator as n, DropdownMenuGroup as p, DropdownMenuSub as g, DropdownMenuSubTrigger as h, DropdownMenuPortal as E, DropdownMenuSubContent as w, DropdownMenuItem as d, DropdownMenuShortcut as x } from "./index.es51.js";
|
|
3
3
|
function N({
|
|
4
4
|
trigger: o,
|
|
5
5
|
optionGroups: r,
|
package/dist/index.es18.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import t from "react";
|
|
2
|
-
import { Carousel as l, CarouselContent as s, CarouselItem as m, CarouselPrevious as r, CarouselNext as n } from "./index.
|
|
2
|
+
import { Carousel as l, CarouselContent as s, CarouselItem as m, CarouselPrevious as r, CarouselNext as n } from "./index.es55.js";
|
|
3
3
|
const o = (e) => /* @__PURE__ */ t.createElement(
|
|
4
4
|
l,
|
|
5
5
|
{
|
package/dist/index.es20.js
CHANGED
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { Dialog as
|
|
2
|
+
import { Dialog as g, DialogTrigger as s, DialogContent as p, DialogHeader as u, DialogTitle as E, DialogDescription as D, DialogFooter as d } from "./index.es53.js";
|
|
3
3
|
import { Typography as r } from "./index.es6.js";
|
|
4
|
-
import { cn as
|
|
4
|
+
import { cn as m } from "./index.es45.js";
|
|
5
5
|
function N({
|
|
6
|
-
trigger:
|
|
7
|
-
|
|
6
|
+
trigger: o,
|
|
7
|
+
body: n,
|
|
8
8
|
title: a,
|
|
9
9
|
description: t,
|
|
10
10
|
footer: l,
|
|
11
|
-
footerClassName:
|
|
11
|
+
footerClassName: i,
|
|
12
|
+
contentClassName: c
|
|
12
13
|
}) {
|
|
13
|
-
return /* @__PURE__ */ e.createElement(
|
|
14
|
-
|
|
14
|
+
return /* @__PURE__ */ e.createElement(g, null, /* @__PURE__ */ e.createElement(s, { asChild: !0 }, o), /* @__PURE__ */ e.createElement(
|
|
15
|
+
p,
|
|
15
16
|
{
|
|
16
|
-
className:
|
|
17
|
+
className: m(
|
|
18
|
+
"bg-white border border-neutral-1 max-w-full",
|
|
19
|
+
c
|
|
20
|
+
)
|
|
17
21
|
},
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
(a || t) && /* @__PURE__ */ e.createElement(u, { className: "px-4 py-3" }, a && /* @__PURE__ */ e.createElement(E, null, /* @__PURE__ */ e.createElement(r, { variant: "h3", className: "text-light-2" }, a)), t && /* @__PURE__ */ e.createElement(D, null, /* @__PURE__ */ e.createElement(r, { variant: "body4", className: "text-light-4" }, t))),
|
|
23
|
+
/* @__PURE__ */ e.createElement("div", { className: "" }, n),
|
|
24
|
+
l && /* @__PURE__ */ e.createElement(
|
|
25
|
+
d,
|
|
26
|
+
{
|
|
27
|
+
className: m("bg-light-3 px-4 py-3 rounded-b-xl", i)
|
|
28
|
+
},
|
|
29
|
+
l
|
|
30
|
+
)
|
|
31
|
+
));
|
|
20
32
|
}
|
|
21
33
|
export {
|
|
22
34
|
N as _Dialog
|
package/dist/index.es20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es20.js","sources":["../src/components/organisms/dialog/dialog.tsx"],"sourcesContent":["import React from 'react'\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from './dialog-components'\nimport { DialogProps } from './dialog.types'\nimport { Typography } from '../../atoms/typography'\nimport { cn } from '@/lib/utils'\n\nexport function _Dialog({\n trigger,\n
|
|
1
|
+
{"version":3,"file":"index.es20.js","sources":["../src/components/organisms/dialog/dialog.tsx"],"sourcesContent":["import React from 'react'\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from './dialog-components'\nimport { DialogProps } from './dialog.types'\nimport { Typography } from '../../atoms/typography'\nimport { cn } from '@/lib/utils'\n\nexport function _Dialog({\n trigger,\n body,\n title,\n description,\n footer,\n footerClassName,\n contentClassName,\n}: DialogProps) {\n return (\n <Dialog>\n <DialogTrigger asChild>{trigger}</DialogTrigger>\n <DialogContent\n className={cn(\n 'bg-white border border-neutral-1 max-w-full',\n contentClassName\n )}\n >\n {(title || description) && (\n <DialogHeader className=\"px-4 py-3\">\n {title && (\n <DialogTitle>\n <Typography variant={'h3'} className=\"text-light-2\">\n {title}\n </Typography>\n </DialogTitle>\n )}\n {description && (\n <DialogDescription>\n <Typography variant={'body4'} className=\"text-light-4\">\n {description}\n </Typography>\n </DialogDescription>\n )}\n </DialogHeader>\n )}\n <div className=\"\">{body}</div>\n {footer && (\n <DialogFooter\n className={cn('bg-light-3 px-4 py-3 rounded-b-xl', footerClassName)}\n >\n {footer}\n </DialogFooter>\n )}\n </DialogContent>\n </Dialog>\n )\n}\n"],"names":["_Dialog","trigger","body","title","description","footer","footerClassName","contentClassName","Dialog","React","DialogTrigger","DialogContent","cn","DialogHeader","DialogTitle","Typography","DialogDescription","DialogFooter"],"mappings":";;;;AAcO,SAASA,EAAQ;AAAA,EACtB,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,QAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,kBAAAC;AACF,GAAgB;AACd,yCACGC,GACC,MAAAC,gBAAAA,EAAA,cAACC,KAAc,SAAO,GAAA,GAAET,CAAQ,GAChCQ,gBAAAA,EAAA;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,IAAA;AAAA,KAEEJ,KAASC,MACRK,gBAAAA,EAAA,cAAAI,GAAA,EAAa,WAAU,eACrBV,KACCM,gBAAAA,EAAA,cAACK,GACC,MAAAL,gBAAAA,EAAA,cAACM,GAAW,EAAA,SAAS,MAAM,WAAU,eAClC,GAAAZ,CACH,CACF,GAEDC,KACCK,gBAAAA,EAAA,cAACO,GACC,MAAAP,gBAAAA,EAAA,cAACM,GAAW,EAAA,SAAS,SAAS,WAAU,eACrC,GAAAX,CACH,CACF,CAEJ;AAAA,IAEDK,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,GAAA,GAAIP,CAAK;AAAA,IACvBG,KACCI,gBAAAA,EAAA;AAAA,MAACQ;AAAA,MAAA;AAAA,QACC,WAAWL,EAAG,qCAAqCN,CAAe;AAAA,MAAA;AAAA,MAEjED;AAAA,IACH;AAAA,EAAA,CAGN;AAEJ;"}
|
package/dist/index.es21.js
CHANGED
|
@@ -4,7 +4,7 @@ import { cn as r } from "./index.es45.js";
|
|
|
4
4
|
import { Button as x } from "./index.es2.js";
|
|
5
5
|
import { Command as E, CommandInput as b, CommandEmpty as u, CommandGroup as C, CommandList as N, CommandItem as y } from "./index.es46.js";
|
|
6
6
|
import { Popover as w, PopoverTrigger as v, PopoverContent as k } from "./index.es47.js";
|
|
7
|
-
import { ComboBoxStates as S } from "./index.
|
|
7
|
+
import { ComboBoxStates as S } from "./index.es56.js";
|
|
8
8
|
import { Typography as O } from "./index.es6.js";
|
|
9
9
|
function L({
|
|
10
10
|
options: l,
|
package/dist/index.es22.js
CHANGED
|
@@ -6,7 +6,7 @@ import "lucide-react";
|
|
|
6
6
|
import "./index.es46.js";
|
|
7
7
|
import "./index.es47.js";
|
|
8
8
|
import "./index.es33.js";
|
|
9
|
-
import { TextAreaVariants as u } from "./index.
|
|
9
|
+
import { TextAreaVariants as u } from "./index.es58.js";
|
|
10
10
|
const m = e.forwardRef(
|
|
11
11
|
({
|
|
12
12
|
className: o,
|
package/dist/index.es27.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as t from "@radix-ui/react-tabs";
|
|
3
3
|
import { cn as n } from "./index.es45.js";
|
|
4
|
-
import { TabsVariants as p, TabTriggerVariants as d } from "./index.
|
|
4
|
+
import { TabsVariants as p, TabTriggerVariants as d } from "./index.es59.js";
|
|
5
5
|
const c = e.forwardRef(({ className: a, variant: r, size: s, ...o }, i) => /* @__PURE__ */ e.createElement(
|
|
6
6
|
t.List,
|
|
7
7
|
{
|
package/dist/index.es28.js
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
|
-
import { Table as
|
|
1
|
+
import { Table as o, TableHeader as N, TableRow as s, TableCell as t, TableBody as C } from "./index.es29.js";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { Typography as r } from "./index.es6.js";
|
|
4
|
+
function i({
|
|
5
|
+
tableData: a
|
|
5
6
|
}) {
|
|
6
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(o, { className: a?.tableContainerClassName ?? "" }, /* @__PURE__ */ e.createElement(N, { className: a?.tableHeaderClassName ?? "" }, /* @__PURE__ */ e.createElement(s, null, a.headers.map((l, m) => /* @__PURE__ */ e.createElement(
|
|
8
|
+
t,
|
|
9
|
+
{
|
|
10
|
+
key: m,
|
|
11
|
+
className: l.className + (a?.tableCellClassName ?? "")
|
|
12
|
+
},
|
|
13
|
+
/* @__PURE__ */ e.createElement(r, { className: "text-light-2", variant: "body4" }, l.name)
|
|
14
|
+
)))), /* @__PURE__ */ e.createElement(C, { className: a?.tableBodyClassName ?? "" }, a.rows.map((l, m) => /* @__PURE__ */ e.createElement(
|
|
15
|
+
s,
|
|
16
|
+
{
|
|
17
|
+
className: a?.tableRowClassName ?? "",
|
|
18
|
+
key: m
|
|
19
|
+
},
|
|
20
|
+
l.cells.map((n, c) => /* @__PURE__ */ e.createElement(
|
|
21
|
+
t,
|
|
22
|
+
{
|
|
23
|
+
className: a?.tableCellClassName ?? "",
|
|
24
|
+
key: c
|
|
25
|
+
},
|
|
26
|
+
/* @__PURE__ */ e.createElement(r, { className: "text-light-2", variant: "body4" }, n.content)
|
|
27
|
+
))
|
|
28
|
+
)))));
|
|
7
29
|
}
|
|
8
30
|
export {
|
|
9
|
-
|
|
31
|
+
i as default
|
|
10
32
|
};
|
|
11
33
|
//# sourceMappingURL=index.es28.js.map
|
package/dist/index.es28.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es28.js","sources":["../src/components/unstyled/table/table.tsx"],"sourcesContent":["import {\n Table,\n TableRow,\n TableBody,\n TableHeader,\n TableCell,\n} from './table-components'\nimport * as React from 'react'\nimport { TableData } from './table.types'\nexport default function TableComponent({\n tableData,\n}: {\n tableData: TableData\n}) {\n return (\n <>\n <Table>\n <TableHeader>\n <TableRow>\n {tableData.headers.map((header, index) => (\n <TableCell
|
|
1
|
+
{"version":3,"file":"index.es28.js","sources":["../src/components/unstyled/table/table.tsx"],"sourcesContent":["import {\n Table,\n TableRow,\n TableBody,\n TableHeader,\n TableCell,\n} from './table-components'\nimport * as React from 'react'\nimport { TableData } from './table.types'\nimport { Typography } from '@/components/atoms/typography'\nexport default function TableComponent({\n tableData,\n}: {\n tableData: TableData\n}) {\n return (\n <>\n <Table className={tableData?.tableContainerClassName ?? ''}>\n <TableHeader className={tableData?.tableHeaderClassName ?? ''}>\n <TableRow>\n {tableData.headers.map((header, index) => (\n <TableCell\n key={index}\n className={\n header.className + (tableData?.tableCellClassName ?? '')\n }\n >\n <Typography className=\"text-light-2\" variant={'body4'}>\n {header.name}\n </Typography>\n </TableCell>\n ))}\n </TableRow>\n </TableHeader>\n <TableBody className={tableData?.tableBodyClassName ?? ''}>\n {tableData.rows.map((row, rowIndex) => (\n <TableRow\n className={tableData?.tableRowClassName ?? ''}\n key={rowIndex}\n >\n {row.cells.map((cell, cellIndex) => (\n <TableCell\n className={tableData?.tableCellClassName ?? ''}\n key={cellIndex}\n >\n <Typography className=\"text-light-2\" variant={'body4'}>{cell.content}</Typography>\n </TableCell>\n ))}\n </TableRow>\n ))}\n </TableBody>\n </Table>\n </>\n )\n}\n"],"names":["TableComponent","tableData","React","Table","TableHeader","TableRow","header","index","TableCell","Typography","TableBody","row","rowIndex","cell","cellIndex"],"mappings":";;;AAUA,SAAwBA,EAAe;AAAA,EACrC,WAAAC;AACF,GAEG;AAEC,SAAA,gBAAAC,EAAA,cAAAA,EAAA,UAAA,sCACGC,GAAM,EAAA,WAAWF,GAAW,2BAA2B,GAAA,mCACrDG,GAAY,EAAA,WAAWH,GAAW,wBAAwB,GAAA,mCACxDI,GACE,MAAAJ,EAAU,QAAQ,IAAI,CAACK,GAAQC,MAC9B,gBAAAL,EAAA;AAAA,IAACM;AAAA,IAAA;AAAA,MACC,KAAKD;AAAA,MACL,WACED,EAAO,aAAaL,GAAW,sBAAsB;AAAA,IAAA;AAAA,oCAGtDQ,GAAW,EAAA,WAAU,gBAAe,SAAS,QAAA,GAC3CH,EAAO,IACV;AAAA,EAAA,CAEH,CACH,CACF,mCACCI,GAAU,EAAA,WAAWT,GAAW,sBAAsB,MACpDA,EAAU,KAAK,IAAI,CAACU,GAAKC,MACxB,gBAAAV,EAAA;AAAA,IAACG;AAAA,IAAA;AAAA,MACC,WAAWJ,GAAW,qBAAqB;AAAA,MAC3C,KAAKW;AAAA,IAAA;AAAA,IAEJD,EAAI,MAAM,IAAI,CAACE,GAAMC,MACpB,gBAAAZ,EAAA;AAAA,MAACM;AAAA,MAAA;AAAA,QACC,WAAWP,GAAW,sBAAsB;AAAA,QAC5C,KAAKa;AAAA,MAAA;AAAA,sCAEJL,GAAY,EAAA,WAAU,gBAAe,SAAS,QAAA,GAAUI,EAAK,OAAQ;AAAA,IAAA,CAEzE;AAAA,EAAA,CAEJ,CACH,CACF,CACF;AAEJ;"}
|
package/dist/index.es29.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { cn as r } from "./index.es45.js";
|
|
3
|
-
const o = e.forwardRef(({ className: a, ...t }, l) => /* @__PURE__ */ e.createElement(
|
|
4
|
-
"
|
|
3
|
+
const o = e.forwardRef(({ className: a, ...t }, l) => /* @__PURE__ */ e.createElement(
|
|
4
|
+
"div",
|
|
5
5
|
{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
className: `relative w-full overflow-auto ${a}`
|
|
7
|
+
},
|
|
8
|
+
/* @__PURE__ */ e.createElement(
|
|
9
|
+
"table",
|
|
10
|
+
{
|
|
11
|
+
ref: l,
|
|
12
|
+
className: r("w-full caption-bottom text-sm"),
|
|
13
|
+
...t
|
|
14
|
+
}
|
|
15
|
+
)
|
|
16
|
+
));
|
|
11
17
|
o.displayName = "Table";
|
|
12
18
|
const d = e.forwardRef(({ className: a, ...t }, l) => /* @__PURE__ */ e.createElement("thead", { ref: l, className: r("[&_tr]:border-b", a), ...t }));
|
|
13
19
|
d.displayName = "TableHeader";
|
package/dist/index.es29.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es29.js","sources":["../src/components/unstyled/table/table-components.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div
|
|
1
|
+
{"version":3,"file":"index.es29.js","sources":["../src/components/unstyled/table/table-components.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div\n className={`relative w-full overflow-auto ${className}`}\n >\n <table\n ref={ref}\n className={cn('w-full caption-bottom text-sm')}\n {...props}\n />\n </div>\n))\nTable.displayName = 'Table'\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />\n))\nTableHeader.displayName = 'TableHeader'\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n))\nTableBody.displayName = 'TableBody'\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n 'border-t bg-muted/50 font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = 'TableFooter'\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement>\n>(({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n 'border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted',\n className\n )}\n {...props}\n />\n))\nTableRow.displayName = 'TableRow'\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n 'h-10 px-2 text-left align-middle font-medium text-muted-foreground [ & has([role=checkbox])]:pr-0 [ & [role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n))\nTableHead.displayName = 'TableHead'\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n 'p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n className\n )}\n {...props}\n />\n))\nTableCell.displayName = 'TableCell'\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nTableCaption.displayName = 'TableCaption'\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n}\n"],"names":["Table","React","className","props","ref","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":";;AAIM,MAAAA,IAAQC,EAAM,WAGlB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,WAAW,kCAAkCC,CAAS;AAAA,EAAA;AAAA,EAEtD,gBAAAD,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAG;AAAA,MACA,WAAWC,EAAG,+BAA+B;AAAA,MAC5C,GAAGF;AAAA,IAAA;AAAA,EACN;AACF,CACD;AACDH,EAAM,cAAc;AAEd,MAAAM,IAAcL,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,KAASC,sCACzB,SAAM,EAAA,KAAAA,GAAU,WAAWC,EAAG,mBAAmBH,CAAS,GAAI,GAAGC,GAAO,CAC1E;AACDG,EAAY,cAAc;AAEpB,MAAAC,IAAYN,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC,EAAG,8BAA8BH,CAAS;AAAA,IACpD,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAU,cAAc;AAElB,MAAAC,IAAcP,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAY,cAAc;AAEpB,MAAAC,IAAWR,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDM,EAAS,cAAc;AAEjB,MAAAC,IAAYT,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDO,EAAU,cAAc;AAElB,MAAAC,IAAYV,EAAM,WAGtB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC;AAAA,MACT;AAAA,MACAH;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDQ,EAAU,cAAc;AAElB,MAAAC,IAAeX,EAAM,WAGzB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1B,gBAAAH,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAG;AAAA,IACA,WAAWC,EAAG,sCAAsCH,CAAS;AAAA,IAC5D,GAAGC;AAAA,EAAA;AACN,CACD;AACDS,EAAa,cAAc;"}
|
package/dist/index.es34.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StepperProvider as o, StepGroup as s } from "./index.
|
|
1
|
+
import { StepperProvider as o, StepGroup as s } from "./index.es61.js";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { useStepper as c } from "./index.
|
|
3
|
+
import { useStepper as c } from "./index.es62.js";
|
|
4
4
|
import { Button as r } from "./index.es2.js";
|
|
5
5
|
const n = ({ value: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(o, { steps: t }, /* @__PURE__ */ e.createElement(s, null))), E = ({ value: t }) => {
|
|
6
6
|
const { steps: a, nextStep: l, previousStep: m, resetSteps: p } = c(t);
|
package/dist/index.es38.js
CHANGED
package/dist/index.es49.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 e } from "class-variance-authority";
|
|
2
|
+
const a = e(
|
|
3
|
+
"relative flex w-60 touch-none select-none items-center",
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {}
|
|
7
|
+
},
|
|
8
|
+
defaultVariants: {}
|
|
9
|
+
}
|
|
10
|
+
);
|
|
21
11
|
export {
|
|
22
|
-
|
|
23
|
-
p as variantElementMap
|
|
12
|
+
a as SliderVariants
|
|
24
13
|
};
|
|
25
14
|
//# sourceMappingURL=index.es49.js.map
|
package/dist/index.es49.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es49.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es49.js","sources":["../src/components/molecules/slider/slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderVariants = cva(\n 'relative flex w-60 touch-none select-none items-center',\n {\n variants: {\n variant: {},\n },\n defaultVariants: {},\n }\n)\n"],"names":["SliderVariants","cva"],"mappings":";AAEO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,iBAAiB,CAAC;AAAA,EACpB;AACF;"}
|
package/dist/index.es50.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
22
|
+
y as defaultTypographyVariant,
|
|
23
|
+
p as variantElementMap
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=index.es50.js.map
|
package/dist/index.es50.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es50.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index.es50.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;"}
|