geoiq-frontend-ui-kit 1.1.19 → 1.1.20
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.es20.js +3 -3
- package/dist/index.es21.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es25.js +20 -20
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es53.js +1 -1
- package/dist/index.es67.js +22 -49
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +9 -86
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +48 -121
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +121 -16
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +16 -5
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +13 -21
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es74.js +88 -22
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +15 -12
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es77.js +37 -39
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +6 -35
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +41 -10
- package/dist/index.es79.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 n } from "./index.es59.js";
|
|
4
|
-
import { ProgressVariants as i } from "./index.
|
|
4
|
+
import { ProgressVariants as i } from "./index.es68.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.es41.js";
|
|
|
6
6
|
import "./index.es60.js";
|
|
7
7
|
import "./index.es26.js";
|
|
8
8
|
import "./index.es32.js";
|
|
9
|
-
import { TextAreaVariants as u } from "./index.
|
|
9
|
+
import { TextAreaVariants as u } from "./index.es71.js";
|
|
10
10
|
const m = e.forwardRef(
|
|
11
11
|
({ className: o, inputLabel: a, showTextCount: l, maximumTextCount: i, ...t }, f) => {
|
|
12
12
|
const [r, s] = e.useState(!1), c = e.useRef(null);
|
package/dist/index.es18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import { cn as m } from "./index.es59.js";
|
|
3
3
|
import { TypographyVariants as n } from "./index.es53.js";
|
|
4
|
-
import { defaultTypographyVariant as y, variantElementMap as i } from "./index.
|
|
4
|
+
import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es67.js";
|
|
5
5
|
const c = o.forwardRef(({ className: t, variant: r = y, ...a }, e) => {
|
|
6
6
|
const p = i[r];
|
|
7
7
|
return /* @__PURE__ */ o.createElement(
|
package/dist/index.es20.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Breadcrumb as E, BreadcrumbList as i, BreadcrumbSeparator as c, BreadcrumbItem as o, BreadcrumbEllipsis as b, BreadcrumbLink as u } from "./index.
|
|
2
|
-
import { DropdownMenu as g, DropdownMenuTrigger as y, DropdownMenuContent as d, DropdownMenuItem as h } from "./index.
|
|
1
|
+
import { Breadcrumb as E, BreadcrumbList as i, BreadcrumbSeparator as c, BreadcrumbItem as o, BreadcrumbEllipsis as b, BreadcrumbLink as u } from "./index.es74.js";
|
|
2
|
+
import { DropdownMenu as g, DropdownMenuTrigger as y, DropdownMenuContent as d, DropdownMenuItem as h } from "./index.es70.js";
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { Typography as B } from "./index.es18.js";
|
|
5
5
|
import { cn as f } from "./index.es59.js";
|
|
6
|
-
import { CrumbVariants as w } from "./index.
|
|
6
|
+
import { CrumbVariants as w } from "./index.es75.js";
|
|
7
7
|
function l({ field: r, isSelected: t }) {
|
|
8
8
|
return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(
|
|
9
9
|
u,
|
package/dist/index.es21.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import { DropdownMenu as b, DropdownMenuTrigger as i, DropdownMenuContent as g, DropdownMenuLabel as p, DropdownMenuSeparator as d, DropdownMenuGroup as h, DropdownMenuSub as E, DropdownMenuSubTrigger as w, DropdownMenuPortal as x, DropdownMenuSubContent as N, DropdownMenuItem as s } from "./index.
|
|
2
|
+
import { DropdownMenu as b, DropdownMenuTrigger as i, DropdownMenuContent as g, DropdownMenuLabel as p, DropdownMenuSeparator as d, DropdownMenuGroup as h, DropdownMenuSub as E, DropdownMenuSubTrigger as w, DropdownMenuPortal as x, DropdownMenuSubContent as N, DropdownMenuItem as s } from "./index.es70.js";
|
|
3
3
|
function y({
|
|
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.es59.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.es72.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.es25.js
CHANGED
|
@@ -3,23 +3,23 @@ import { useRef as E } from "react";
|
|
|
3
3
|
import { ChevronUp as x, ChevronDown as b, Check as C } from "lucide-react";
|
|
4
4
|
import { cn as m } from "./index.es59.js";
|
|
5
5
|
import { Button as N } from "./index.es7.js";
|
|
6
|
-
import { Command as y, CommandInput as v, CommandEmpty as w, CommandGroup as k, CommandList as
|
|
6
|
+
import { Command as y, CommandInput as v, CommandEmpty as w, CommandGroup as k, CommandList as O, CommandItem as S } from "./index.es41.js";
|
|
7
7
|
import { Popover as P, PopoverTrigger as R, PopoverContent as j } from "./index.es60.js";
|
|
8
8
|
import { ComboBoxStates as B } from "./index.es76.js";
|
|
9
|
-
import { Typography as
|
|
10
|
-
function
|
|
9
|
+
import { Typography as i } from "./index.es18.js";
|
|
10
|
+
function W({
|
|
11
11
|
options: n,
|
|
12
12
|
value: a,
|
|
13
|
-
placeholder:
|
|
14
|
-
searchPlaceholder:
|
|
15
|
-
emptyMessage:
|
|
16
|
-
onChange:
|
|
17
|
-
onSearchChange:
|
|
13
|
+
placeholder: d = "Empty",
|
|
14
|
+
searchPlaceholder: h = "Search",
|
|
15
|
+
emptyMessage: g = "No results",
|
|
16
|
+
onChange: p,
|
|
17
|
+
onSearchChange: o
|
|
18
18
|
}) {
|
|
19
|
-
const [l,
|
|
20
|
-
|
|
19
|
+
const [l, s] = e.useState(!1), c = E(null), f = (t) => {
|
|
20
|
+
p(t), s(!1);
|
|
21
21
|
}, r = n.find((t) => t.id === a);
|
|
22
|
-
return /* @__PURE__ */ e.createElement(P, { open: l, onOpenChange:
|
|
22
|
+
return /* @__PURE__ */ e.createElement(P, { open: l, onOpenChange: s }, /* @__PURE__ */ e.createElement(R, { ref: c, asChild: !0 }, /* @__PURE__ */ e.createElement(
|
|
23
23
|
N,
|
|
24
24
|
{
|
|
25
25
|
variant: "secondary",
|
|
@@ -31,31 +31,31 @@ function q({
|
|
|
31
31
|
)
|
|
32
32
|
},
|
|
33
33
|
r ? /* @__PURE__ */ e.createElement("div", { className: "flex items-center gap-2" }, r.icon, /* @__PURE__ */ e.createElement(
|
|
34
|
-
|
|
34
|
+
i,
|
|
35
35
|
{
|
|
36
36
|
variant: "body2",
|
|
37
37
|
className: a ? "text-light-2" : "text-light-4"
|
|
38
38
|
},
|
|
39
39
|
r?.name
|
|
40
|
-
)) : /* @__PURE__ */ e.createElement(
|
|
40
|
+
)) : /* @__PURE__ */ e.createElement(i, { variant: "body2", className: "text-light-4" }, d),
|
|
41
41
|
l ? /* @__PURE__ */ e.createElement(x, { className: "w-4 h-4 ml-2 stroke-light-2" }) : /* @__PURE__ */ e.createElement(b, { className: "w-4 h-4 ml-2 stroke-light-2" })
|
|
42
42
|
)), /* @__PURE__ */ e.createElement(
|
|
43
43
|
j,
|
|
44
44
|
{
|
|
45
45
|
style: {
|
|
46
|
-
width:
|
|
46
|
+
width: c.current?.clientWidth
|
|
47
47
|
},
|
|
48
48
|
className: "p-0 bg-light-1 mt-1 rounded-lg"
|
|
49
49
|
},
|
|
50
|
-
/* @__PURE__ */ e.createElement(y,
|
|
50
|
+
/* @__PURE__ */ e.createElement(y, { shouldFilter: !o }, /* @__PURE__ */ e.createElement(
|
|
51
51
|
v,
|
|
52
52
|
{
|
|
53
|
-
placeholder:
|
|
53
|
+
placeholder: h,
|
|
54
54
|
className: "",
|
|
55
|
-
onValueChange:
|
|
55
|
+
onValueChange: o
|
|
56
56
|
}
|
|
57
|
-
), /* @__PURE__ */ e.createElement(w, { className: "text-light-4" },
|
|
58
|
-
|
|
57
|
+
), /* @__PURE__ */ e.createElement(w, { className: "text-light-4" }, g), /* @__PURE__ */ e.createElement(k, null, /* @__PURE__ */ e.createElement(O, null, n.map((t) => /* @__PURE__ */ e.createElement(
|
|
58
|
+
S,
|
|
59
59
|
{
|
|
60
60
|
key: t.id,
|
|
61
61
|
value: t.id,
|
|
@@ -75,6 +75,6 @@ function q({
|
|
|
75
75
|
));
|
|
76
76
|
}
|
|
77
77
|
export {
|
|
78
|
-
|
|
78
|
+
W as SingleCombobox
|
|
79
79
|
};
|
|
80
80
|
//# sourceMappingURL=index.es25.js.map
|
package/dist/index.es25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es25.js","sources":["../src/components/molecules/single-combobox/single-combobox.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\nimport { Button } from '../../atoms/button'\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '../../unstyled/command'\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from '../../unstyled/popover/popover-components'\nimport { SingleComboboxPropsType } from './single-combobox.types'\nimport { ComboBoxStates } from './single-combobox.styles'\nimport { Typography } from '../../atoms/typography'\nimport { useRef } from 'react'\n\n// const frameworks =\n\nexport function SingleCombobox({\n options,\n value,\n placeholder = 'Empty',\n searchPlaceholder = 'Search',\n emptyMessage = 'No results',\n onChange,\n onSearchChange,\n}: SingleComboboxPropsType) {\n const [open, setOpen] = React.useState(false)\n const popoverRef = useRef<HTMLButtonElement>(null)\n\n const handleChange = (newValue: string) => {\n onChange(newValue)\n setOpen(false)\n }\n const selectedOption = options.find((option) => option.id === value)\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger ref={popoverRef} asChild>\n <Button\n variant=\"secondary\"\n role=\"combobox\"\n aria-expanded={open}\n // className=\"w-[200px] justify-between\"\n className={cn(\n ComboBoxStates({ isOpen: open, isValue: !!value }),\n 'w-full justify-between px-3 py-2'\n )}\n >\n {selectedOption ? (\n <div className=\"flex items-center gap-2\">\n {selectedOption.icon}\n <Typography\n variant={'body2'}\n className={value ? 'text-light-2' : 'text-light-4'}\n >\n {selectedOption?.name}\n </Typography>\n </div>\n ) : (\n <Typography variant={'body2'} className=\"text-light-4\">\n {placeholder}\n </Typography>\n )}\n {open ? (\n <ChevronUp className=\"w-4 h-4 ml-2 stroke-light-2\" />\n ) : (\n <ChevronDown className=\"w-4 h-4 ml-2 stroke-light-2\" />\n )}\n </Button>\n </PopoverTrigger>\n <PopoverContent\n style={{\n width: popoverRef.current?.clientWidth,\n }}\n className=\"p-0 bg-light-1 mt-1 rounded-lg\"\n >\n <Command>\n <CommandInput\n placeholder={searchPlaceholder}\n className=\"\"\n onValueChange={onSearchChange}\n />\n <CommandEmpty className=\"text-light-4\">{emptyMessage}</CommandEmpty>\n <CommandGroup>\n <CommandList>\n {options.map((option) => {\n return (\n <CommandItem\n key={option.id}\n value={option.id}\n disabled={option.disabled}\n className={cn(\n 'justify-between gap-2 text-light-2 hover:bg-light-2 hover:text-light-1 focus:bg-light-2 focus:text-accent-foreground',\n option.disabled ? 'text-light-4' : 'text-light-2',\n value === option.id ? 'bg-light-2' : ''\n )}\n onSelect={(currentValue) => {\n handleChange(currentValue)\n }}\n >\n <div className=\"flex flex-row gap-2 \">\n {option.icon}\n {option.name}\n </div>\n {value === option.id ? (\n <Check className={cn('h-4 w-4 stroke-brand')} />\n ) : (\n <div />\n )}\n </CommandItem>\n )\n })}\n </CommandList>\n </CommandGroup>\n </Command>\n </PopoverContent>\n </Popover>\n )\n}\n"],"names":["SingleCombobox","options","value","placeholder","searchPlaceholder","emptyMessage","onChange","onSearchChange","open","setOpen","React","popoverRef","useRef","handleChange","newValue","selectedOption","option","Popover","PopoverTrigger","Button","cn","ComboBoxStates","Typography","ChevronUp","ChevronDown","PopoverContent","Command","CommandInput","CommandEmpty","CommandGroup","CommandList","CommandItem","currentValue","Check"],"mappings":";;;;;;;;;AA2BO,SAASA,EAAe;AAAA,EAC7B,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,mBAAAC,IAAoB;AAAA,EACpB,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,gBAAAC;AACF,GAA4B;AAC1B,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,EAAK,GACtCC,IAAaC,EAA0B,IAAI,GAE3CC,IAAe,CAACC,MAAqB;AACzC,IAAAR,EAASQ,CAAQ,GACjBL,EAAQ,EAAK;AAAA,EAAA,GAETM,IAAiBd,EAAQ,KAAK,CAACe,MAAWA,EAAO,OAAOd,CAAK;AAGjE,SAAA,gBAAAQ,EAAA,cAACO,GAAQ,EAAA,MAAAT,GAAY,cAAcC,qCAChCS,GAAe,EAAA,KAAKP,GAAY,SAAO,GACtC,GAAA,gBAAAD,EAAA;AAAA,IAACS;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,iBAAeX;AAAA,MAEf,WAAWY;AAAA,QACTC,EAAe,EAAE,QAAQb,GAAM,SAAS,CAAC,CAACN,GAAO;AAAA,QACjD;AAAA,MACF;AAAA,IAAA;AAAA,IAECa,IACE,gBAAAL,EAAA,cAAA,OAAA,EAAI,WAAU,0BAAA,GACZK,EAAe,MAChB,gBAAAL,EAAA;AAAA,MAACY;AAAA,MAAA;AAAA,QACC,SAAS;AAAA,QACT,WAAWpB,IAAQ,iBAAiB;AAAA,MAAA;AAAA,MAEnCa,GAAgB;AAAA,IAAA,CAErB,IAEC,gBAAAL,EAAA,cAAAY,GAAA,EAAW,SAAS,SAAS,WAAU,kBACrCnB,CACH;AAAA,IAEDK,oCACEe,GAAU,EAAA,WAAU,+BAA8B,IAEnD,gBAAAb,EAAA,cAACc,GAAY,EAAA,WAAU,8BAA8B,CAAA;AAAA,EAAA,CAG3D,GACA,gBAAAd,EAAA;AAAA,IAACe;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,QACL,OAAOd,EAAW,SAAS;AAAA,MAC7B;AAAA,MACA,WAAU;AAAA,IAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"index.es25.js","sources":["../src/components/molecules/single-combobox/single-combobox.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\nimport { Button } from '../../atoms/button'\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '../../unstyled/command'\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from '../../unstyled/popover/popover-components'\nimport { SingleComboboxPropsType } from './single-combobox.types'\nimport { ComboBoxStates } from './single-combobox.styles'\nimport { Typography } from '../../atoms/typography'\nimport { useRef } from 'react'\n\n// const frameworks =\n\nexport function SingleCombobox({\n options,\n value,\n placeholder = 'Empty',\n searchPlaceholder = 'Search',\n emptyMessage = 'No results',\n onChange,\n onSearchChange,\n}: SingleComboboxPropsType) {\n const [open, setOpen] = React.useState(false)\n const popoverRef = useRef<HTMLButtonElement>(null)\n\n const handleChange = (newValue: string) => {\n onChange(newValue)\n setOpen(false)\n }\n const selectedOption = options.find((option) => option.id === value)\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger ref={popoverRef} asChild>\n <Button\n variant=\"secondary\"\n role=\"combobox\"\n aria-expanded={open}\n // className=\"w-[200px] justify-between\"\n className={cn(\n ComboBoxStates({ isOpen: open, isValue: !!value }),\n 'w-full justify-between px-3 py-2'\n )}\n >\n {selectedOption ? (\n <div className=\"flex items-center gap-2\">\n {selectedOption.icon}\n <Typography\n variant={'body2'}\n className={value ? 'text-light-2' : 'text-light-4'}\n >\n {selectedOption?.name}\n </Typography>\n </div>\n ) : (\n <Typography variant={'body2'} className=\"text-light-4\">\n {placeholder}\n </Typography>\n )}\n {open ? (\n <ChevronUp className=\"w-4 h-4 ml-2 stroke-light-2\" />\n ) : (\n <ChevronDown className=\"w-4 h-4 ml-2 stroke-light-2\" />\n )}\n </Button>\n </PopoverTrigger>\n <PopoverContent\n style={{\n width: popoverRef.current?.clientWidth,\n }}\n className=\"p-0 bg-light-1 mt-1 rounded-lg\"\n >\n <Command shouldFilter={onSearchChange ? false : true}>\n <CommandInput\n placeholder={searchPlaceholder}\n className=\"\"\n onValueChange={onSearchChange}\n />\n <CommandEmpty className=\"text-light-4\">{emptyMessage}</CommandEmpty>\n <CommandGroup>\n <CommandList>\n {options.map((option) => {\n return (\n <CommandItem\n key={option.id}\n value={option.id}\n disabled={option.disabled}\n className={cn(\n 'justify-between gap-2 text-light-2 hover:bg-light-2 hover:text-light-1 focus:bg-light-2 focus:text-accent-foreground',\n option.disabled ? 'text-light-4' : 'text-light-2',\n value === option.id ? 'bg-light-2' : ''\n )}\n onSelect={(currentValue) => {\n handleChange(currentValue)\n }}\n >\n <div className=\"flex flex-row gap-2 \">\n {option.icon}\n {option.name}\n </div>\n {value === option.id ? (\n <Check className={cn('h-4 w-4 stroke-brand')} />\n ) : (\n <div />\n )}\n </CommandItem>\n )\n })}\n </CommandList>\n </CommandGroup>\n </Command>\n </PopoverContent>\n </Popover>\n )\n}\n"],"names":["SingleCombobox","options","value","placeholder","searchPlaceholder","emptyMessage","onChange","onSearchChange","open","setOpen","React","popoverRef","useRef","handleChange","newValue","selectedOption","option","Popover","PopoverTrigger","Button","cn","ComboBoxStates","Typography","ChevronUp","ChevronDown","PopoverContent","Command","CommandInput","CommandEmpty","CommandGroup","CommandList","CommandItem","currentValue","Check"],"mappings":";;;;;;;;;AA2BO,SAASA,EAAe;AAAA,EAC7B,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,mBAAAC,IAAoB;AAAA,EACpB,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,gBAAAC;AACF,GAA4B;AAC1B,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,EAAK,GACtCC,IAAaC,EAA0B,IAAI,GAE3CC,IAAe,CAACC,MAAqB;AACzC,IAAAR,EAASQ,CAAQ,GACjBL,EAAQ,EAAK;AAAA,EAAA,GAETM,IAAiBd,EAAQ,KAAK,CAACe,MAAWA,EAAO,OAAOd,CAAK;AAGjE,SAAA,gBAAAQ,EAAA,cAACO,GAAQ,EAAA,MAAAT,GAAY,cAAcC,qCAChCS,GAAe,EAAA,KAAKP,GAAY,SAAO,GACtC,GAAA,gBAAAD,EAAA;AAAA,IAACS;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,iBAAeX;AAAA,MAEf,WAAWY;AAAA,QACTC,EAAe,EAAE,QAAQb,GAAM,SAAS,CAAC,CAACN,GAAO;AAAA,QACjD;AAAA,MACF;AAAA,IAAA;AAAA,IAECa,IACE,gBAAAL,EAAA,cAAA,OAAA,EAAI,WAAU,0BAAA,GACZK,EAAe,MAChB,gBAAAL,EAAA;AAAA,MAACY;AAAA,MAAA;AAAA,QACC,SAAS;AAAA,QACT,WAAWpB,IAAQ,iBAAiB;AAAA,MAAA;AAAA,MAEnCa,GAAgB;AAAA,IAAA,CAErB,IAEC,gBAAAL,EAAA,cAAAY,GAAA,EAAW,SAAS,SAAS,WAAU,kBACrCnB,CACH;AAAA,IAEDK,oCACEe,GAAU,EAAA,WAAU,+BAA8B,IAEnD,gBAAAb,EAAA,cAACc,GAAY,EAAA,WAAU,8BAA8B,CAAA;AAAA,EAAA,CAG3D,GACA,gBAAAd,EAAA;AAAA,IAACe;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,QACL,OAAOd,EAAW,SAAS;AAAA,MAC7B;AAAA,MACA,WAAU;AAAA,IAAA;AAAA,IAET,gBAAAD,EAAA,cAAAgB,GAAA,EAAQ,cAAc,CAAAnB,KACrB,gBAAAG,EAAA;AAAA,MAACiB;AAAA,MAAA;AAAA,QACC,aAAavB;AAAA,QACb,WAAU;AAAA,QACV,eAAeG;AAAA,MAAA;AAAA,IAAA,GAEjB,gBAAAG,EAAA,cAACkB,GAAa,EAAA,WAAU,kBAAgBvB,CAAa,GACpD,gBAAAK,EAAA,cAAAmB,GAAA,MACE,gBAAAnB,EAAA,cAAAoB,GAAA,MACE7B,EAAQ,IAAI,CAACe,MAEV,gBAAAN,EAAA;AAAA,MAACqB;AAAA,MAAA;AAAA,QACC,KAAKf,EAAO;AAAA,QACZ,OAAOA,EAAO;AAAA,QACd,UAAUA,EAAO;AAAA,QACjB,WAAWI;AAAA,UACT;AAAA,UACAJ,EAAO,WAAW,iBAAiB;AAAA,UACnCd,MAAUc,EAAO,KAAK,eAAe;AAAA,QACvC;AAAA,QACA,UAAU,CAACgB,MAAiB;AAC1B,UAAAnB,EAAamB,CAAY;AAAA,QAC3B;AAAA,MAAA;AAAA,sCAEC,OAAI,EAAA,WAAU,0BACZhB,EAAO,MACPA,EAAO,IACV;AAAA,MACCd,MAAUc,EAAO,KACf,gBAAAN,EAAA,cAAAuB,GAAA,EAAM,WAAWb,EAAG,sBAAsB,EAAA,CAAG,IAE9C,gBAAAV,EAAA,cAAC,OAAI,IAAA;AAAA,IAAA,CAIZ,CACH,CACF,CACF;AAAA,EAAA,CAEJ;AAEJ;"}
|
package/dist/index.es27.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as o from "@radix-ui/react-slider";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
import { cn as i } from "./index.es59.js";
|
|
4
|
-
import { SliderVariants as t } from "./index.
|
|
4
|
+
import { SliderVariants as t } from "./index.es78.js";
|
|
5
5
|
const s = e.forwardRef(({ className: r, ...l }, a) => (
|
|
6
6
|
// <div className='bg-light-3 h-[100px] w-full flex'>
|
|
7
7
|
/* @__PURE__ */ e.createElement(
|
package/dist/index.es29.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StepperProvider as r, StepGroup as p } from "./index.
|
|
1
|
+
import { StepperProvider as r, StepGroup as p } from "./index.es79.js";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
const m = ({ value: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(r, { steps: t }, /* @__PURE__ */ e.createElement(p, null)));
|
|
4
4
|
m.displayName = "Stepper";
|
package/dist/index.es30.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.es59.js";
|
|
4
|
-
import { TabsVariants as d, TabTriggerVariants as T } from "./index.
|
|
4
|
+
import { TabsVariants as d, TabTriggerVariants as T } from "./index.es77.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.es53.js
CHANGED
package/dist/index.es67.js
CHANGED
|
@@ -1,52 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
defaultVariants: {
|
|
23
|
-
isError: !1
|
|
24
|
-
},
|
|
25
|
-
compoundVariants: [
|
|
26
|
-
{
|
|
27
|
-
isError: !0,
|
|
28
|
-
isFocused: !0,
|
|
29
|
-
className: "border-danger-2 ring-4 ring-danger-1"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
isError: !1,
|
|
33
|
-
isFocused: !0,
|
|
34
|
-
className: "border-primary-2 ring-4 ring-primary-1"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
isError: !0,
|
|
38
|
-
isFocused: !1,
|
|
39
|
-
className: "border-danger-2"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
isError: !1,
|
|
43
|
-
isFocused: !1,
|
|
44
|
-
className: "border-light-2"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
);
|
|
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";
|
|
49
21
|
export {
|
|
50
|
-
|
|
22
|
+
y as defaultTypographyVariant,
|
|
23
|
+
p as variantElementMap
|
|
51
24
|
};
|
|
52
25
|
//# sourceMappingURL=index.es67.js.map
|
package/dist/index.es67.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es67.js","sources":["../src/components/atoms/
|
|
1
|
+
{"version":3,"file":"index.es67.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.es68.js
CHANGED
|
@@ -1,91 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
ref: t,
|
|
11
|
-
className: m(
|
|
12
|
-
"flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
|
|
13
|
-
r
|
|
14
|
-
),
|
|
15
|
-
...a
|
|
16
|
-
}
|
|
17
|
-
));
|
|
18
|
-
d.displayName = "BreadcrumbList";
|
|
19
|
-
const p = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
|
|
20
|
-
"li",
|
|
21
|
-
{
|
|
22
|
-
ref: t,
|
|
23
|
-
className: m("inline-flex items-center gap-1.5", r),
|
|
24
|
-
...a
|
|
25
|
-
}
|
|
26
|
-
));
|
|
27
|
-
p.displayName = "BreadcrumbItem";
|
|
28
|
-
const u = e.forwardRef(({ asChild: r, className: a, ...t }, s) => {
|
|
29
|
-
const n = r ? o : "a";
|
|
30
|
-
return /* @__PURE__ */ e.createElement(
|
|
31
|
-
n,
|
|
32
|
-
{
|
|
33
|
-
ref: s,
|
|
34
|
-
className: m("transition-colors hover:text-foreground", a),
|
|
35
|
-
...t
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
});
|
|
39
|
-
u.displayName = "BreadcrumbLink";
|
|
40
|
-
const f = e.forwardRef(({ className: r, ...a }, t) => /* @__PURE__ */ e.createElement(
|
|
41
|
-
"span",
|
|
42
|
-
{
|
|
43
|
-
ref: t,
|
|
44
|
-
role: "link",
|
|
45
|
-
"aria-disabled": "true",
|
|
46
|
-
"aria-current": "page",
|
|
47
|
-
className: m("font-normal text-foreground", r),
|
|
48
|
-
...a
|
|
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: {}
|
|
49
9
|
}
|
|
50
|
-
));
|
|
51
|
-
f.displayName = "BreadcrumbPage";
|
|
52
|
-
const b = ({
|
|
53
|
-
children: r,
|
|
54
|
-
className: a,
|
|
55
|
-
...t
|
|
56
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
57
|
-
"li",
|
|
58
|
-
{
|
|
59
|
-
role: "presentation",
|
|
60
|
-
"aria-hidden": "true",
|
|
61
|
-
className: m("[&>svg]:size-3.5", a),
|
|
62
|
-
...t
|
|
63
|
-
},
|
|
64
|
-
r ?? /* @__PURE__ */ e.createElement(l, null)
|
|
65
|
-
);
|
|
66
|
-
b.displayName = "BreadcrumbSeparator";
|
|
67
|
-
const N = ({
|
|
68
|
-
className: r,
|
|
69
|
-
...a
|
|
70
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
71
|
-
"span",
|
|
72
|
-
{
|
|
73
|
-
role: "presentation",
|
|
74
|
-
"aria-hidden": "true",
|
|
75
|
-
className: m("flex h-9 w-9 items-center justify-center", r),
|
|
76
|
-
...a
|
|
77
|
-
},
|
|
78
|
-
/* @__PURE__ */ e.createElement(c, { className: "h-4 w-4" }),
|
|
79
|
-
/* @__PURE__ */ e.createElement("span", { className: "sr-only" }, "More")
|
|
80
10
|
);
|
|
81
|
-
N.displayName = "BreadcrumbElipssis";
|
|
82
11
|
export {
|
|
83
|
-
i as
|
|
84
|
-
N as BreadcrumbEllipsis,
|
|
85
|
-
p as BreadcrumbItem,
|
|
86
|
-
u as BreadcrumbLink,
|
|
87
|
-
d as BreadcrumbList,
|
|
88
|
-
f as BreadcrumbPage,
|
|
89
|
-
b as BreadcrumbSeparator
|
|
12
|
+
i as ProgressVariants
|
|
90
13
|
};
|
|
91
14
|
//# sourceMappingURL=index.es68.js.map
|
package/dist/index.es68.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es68.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es68.js","sources":["../src/components/atoms/progress/progress.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const ProgressVariants = cva(\n 'relative h-2 w-full overflow-hidden rounded bg-primary-2 min-w-64 ',\n {\n variants: {\n variant: {},\n },\n defaultVariants: {},\n }\n)\n"],"names":["ProgressVariants","cva"],"mappings":";AAEO,MAAMA,IAAmBC;AAAA,EAC9B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,iBAAiB,CAAC;AAAA,EACpB;AACF;"}
|
package/dist/index.es69.js
CHANGED
|
@@ -1,125 +1,52 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
ref: r,
|
|
49
|
-
className: d(
|
|
50
|
-
"relative flex select-none items-center rounded-md outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 cursor-pointer data-[disabled]:cursor-not-allowed",
|
|
51
|
-
o && "pl-8",
|
|
52
|
-
a
|
|
53
|
-
),
|
|
54
|
-
...n
|
|
55
|
-
}
|
|
56
|
-
));
|
|
57
|
-
f.displayName = t.Item.displayName;
|
|
58
|
-
const b = e.forwardRef(({ className: a, children: o, checked: n, ...r }, s) => /* @__PURE__ */ e.createElement(
|
|
59
|
-
t.CheckboxItem,
|
|
60
|
-
{
|
|
61
|
-
ref: s,
|
|
62
|
-
className: d(
|
|
63
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
64
|
-
a
|
|
65
|
-
),
|
|
66
|
-
checked: n,
|
|
67
|
-
disabled: !0,
|
|
68
|
-
...r
|
|
69
|
-
},
|
|
70
|
-
/* @__PURE__ */ e.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ e.createElement(t.ItemIndicator, null, /* @__PURE__ */ e.createElement(i, { className: "h-4 w-4" }))),
|
|
71
|
-
o
|
|
72
|
-
));
|
|
73
|
-
b.displayName = t.CheckboxItem.displayName;
|
|
74
|
-
const w = e.forwardRef(({ className: a, children: o, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
75
|
-
t.RadioItem,
|
|
76
|
-
{
|
|
77
|
-
ref: r,
|
|
78
|
-
className: d(
|
|
79
|
-
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
80
|
-
a
|
|
81
|
-
),
|
|
82
|
-
...n
|
|
83
|
-
},
|
|
84
|
-
/* @__PURE__ */ e.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ e.createElement(t.ItemIndicator, null, /* @__PURE__ */ e.createElement(m, { className: "h-2 w-2 fill-current" }))),
|
|
85
|
-
o
|
|
86
|
-
));
|
|
87
|
-
w.displayName = t.RadioItem.displayName;
|
|
88
|
-
const g = e.forwardRef(({ className: a, inset: o, ...n }, r) => /* @__PURE__ */ e.createElement(
|
|
89
|
-
t.Label,
|
|
90
|
-
{
|
|
91
|
-
ref: r,
|
|
92
|
-
className: d(
|
|
93
|
-
"px-2 py-1.5 text-sm font-semibold",
|
|
94
|
-
o && "pl-8",
|
|
95
|
-
a
|
|
96
|
-
),
|
|
97
|
-
...n
|
|
98
|
-
}
|
|
99
|
-
));
|
|
100
|
-
g.displayName = t.Label.displayName;
|
|
101
|
-
const N = e.forwardRef(({ className: a, ...o }, n) => /* @__PURE__ */ e.createElement(
|
|
102
|
-
t.Separator,
|
|
103
|
-
{
|
|
104
|
-
ref: n,
|
|
105
|
-
className: d("-mx-1 my-1 h-px bg-muted", a),
|
|
106
|
-
...o
|
|
1
|
+
import { cva as r } from "class-variance-authority";
|
|
2
|
+
const s = r(
|
|
3
|
+
` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
|
|
4
|
+
text-light-2 px-3 py-2
|
|
5
|
+
file:border-0 file:bg-transparent
|
|
6
|
+
placeholder:font-normal placeholder:text-light-4`,
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
isError: {
|
|
10
|
+
true: "",
|
|
11
|
+
false: ""
|
|
12
|
+
},
|
|
13
|
+
isFocused: {
|
|
14
|
+
true: "",
|
|
15
|
+
false: ""
|
|
16
|
+
},
|
|
17
|
+
disabled: {
|
|
18
|
+
true: "bg-light-3 border-neutral-2 cursor-not-allowed",
|
|
19
|
+
false: ""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
isError: !1
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: [
|
|
26
|
+
{
|
|
27
|
+
isError: !0,
|
|
28
|
+
isFocused: !0,
|
|
29
|
+
className: "border-danger-2 ring-4 ring-danger-1"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
isError: !1,
|
|
33
|
+
isFocused: !0,
|
|
34
|
+
className: "border-primary-2 ring-4 ring-primary-1"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
isError: !0,
|
|
38
|
+
isFocused: !1,
|
|
39
|
+
className: "border-danger-2"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
isError: !1,
|
|
43
|
+
isFocused: !1,
|
|
44
|
+
className: "border-light-2"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
107
47
|
}
|
|
108
|
-
)
|
|
109
|
-
N.displayName = t.Separator.displayName;
|
|
48
|
+
);
|
|
110
49
|
export {
|
|
111
|
-
|
|
112
|
-
b as DropdownMenuCheckboxItem,
|
|
113
|
-
u as DropdownMenuContent,
|
|
114
|
-
D as DropdownMenuGroup,
|
|
115
|
-
f as DropdownMenuItem,
|
|
116
|
-
g as DropdownMenuLabel,
|
|
117
|
-
M as DropdownMenuPortal,
|
|
118
|
-
w as DropdownMenuRadioItem,
|
|
119
|
-
N as DropdownMenuSeparator,
|
|
120
|
-
R as DropdownMenuSub,
|
|
121
|
-
p as DropdownMenuSubContent,
|
|
122
|
-
c as DropdownMenuSubTrigger,
|
|
123
|
-
E as DropdownMenuTrigger
|
|
50
|
+
s as InputVariants
|
|
124
51
|
};
|
|
125
52
|
//# sourceMappingURL=index.es69.js.map
|