@iit/precision-ui 0.7.0 → 0.7.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/ui/textarea/TextareaWithLabel.d.ts.map +1 -1
- package/dist/index.d.ts +19 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +89 -82
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es12.js +1 -1
- package/dist/index.es13.js +79 -24
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es14.js +83 -26
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es15.js +19 -19
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es16.js +28 -25
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es17.js +24 -69
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es18.js +22 -32
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es19.js +72 -31
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +24 -19
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +31 -18
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js +28 -44
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es23.js +18 -36
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +40 -48
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es25.js +37 -14
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js +53 -5
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +13 -52
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +5 -26
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +50 -94
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +24 -53
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +77 -72
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +38 -80
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +90 -11
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +87 -34
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +13 -24
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +42 -25
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +18 -204
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +37 -50
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +25 -55
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +1 -1
- package/dist/index.es40.js +205 -56
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +50 -18
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +57 -18
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +59 -89
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +18 -88
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +19 -33
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +88 -74
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +76 -29
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js +31 -9
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +77 -6
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es5.js +1 -1
- package/dist/index.es50.js +42 -21
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +10 -19
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +6 -20
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +21 -84
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +20 -39
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +19 -26
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +44 -13
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +26 -46
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +16 -4
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es60.js +7 -0
- package/dist/index.es60.js.map +1 -0
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/package.json +1 -1
package/dist/index.es20.js
CHANGED
|
@@ -1,33 +1,38 @@
|
|
|
1
|
-
import t from "react";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as t from "@radix-ui/react-checkbox";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { Check16X16 as c } from "@iit/precision-ui-icons";
|
|
4
|
+
import { cva as d } from "class-variance-authority";
|
|
5
|
+
import { cn as a } from "./index.es52.js";
|
|
6
|
+
const n = d(
|
|
7
|
+
"peer h-[18px] w-[18px] shrink-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 duration-200 aria-invalid:border-red-500",
|
|
6
8
|
{
|
|
7
9
|
variants: {
|
|
8
10
|
variant: {
|
|
9
|
-
default: "bg-navy-opacity-
|
|
10
|
-
|
|
11
|
-
white: "bg-white text-navy",
|
|
12
|
-
lightWhite: "bg-whitish-opacity-8 text-white"
|
|
11
|
+
default: "border-navy hover:bg-navy-opacity-8 hover:data-[state=checked]:bg-navy-opacity-80 data-[state=checked]:bg-navy data-[state=checked]:text-whitish",
|
|
12
|
+
white: "border-whitish hover:bg-whitish-opacity-16 text-whitish hover:data-[state=checked]:bg-whitish-opacity-80 data-[state=checked]:bg-whitish data-[state=checked]:text-navy"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
defaultVariants: {
|
|
16
16
|
variant: "default"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
),
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
), h = e.forwardRef(({ className: i, variant: r, ...o }, s) => /* @__PURE__ */ e.createElement(
|
|
20
|
+
t.Root,
|
|
21
|
+
{
|
|
22
|
+
ref: s,
|
|
23
|
+
className: a(n({ variant: r }), i),
|
|
24
|
+
...o
|
|
25
|
+
},
|
|
26
|
+
/* @__PURE__ */ e.createElement(
|
|
27
|
+
t.Indicator,
|
|
22
28
|
{
|
|
23
|
-
className:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
29
|
+
className: a("flex items-center justify-center text-current")
|
|
30
|
+
},
|
|
31
|
+
/* @__PURE__ */ e.createElement(c, { className: "h-[18px] w-[18px] relative bottom-[1px]" })
|
|
27
32
|
)
|
|
28
|
-
);
|
|
29
|
-
|
|
33
|
+
));
|
|
34
|
+
h.displayName = t.Root.displayName;
|
|
30
35
|
export {
|
|
31
|
-
|
|
36
|
+
h as Checkbox
|
|
32
37
|
};
|
|
33
38
|
//# sourceMappingURL=index.es20.js.map
|
package/dist/index.es20.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es20.js","sources":["../src/components/ui/
|
|
1
|
+
{"version":3,"file":"index.es20.js","sources":["../src/components/ui/checkbox/checkbox.tsx"],"sourcesContent":["import * as CheckboxPrimitive from '@radix-ui/react-checkbox'\r\nimport * as React from 'react'\r\n\r\nimport { Check16X16 } from '@iit/precision-ui-icons'\r\n\r\nimport { cva, type VariantProps } from 'class-variance-authority'\r\nimport { cn } from '@/lib/utils/cn'\r\n\r\nconst checkboxVariants = cva(\r\n 'peer h-[18px] w-[18px] shrink-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 duration-200 aria-invalid:border-red-500',\r\n {\r\n variants: {\r\n variant: {\r\n default:\r\n 'border-navy hover:bg-navy-opacity-8 hover:data-[state=checked]:bg-navy-opacity-80 data-[state=checked]:bg-navy data-[state=checked]:text-whitish',\r\n white:\r\n 'border-whitish hover:bg-whitish-opacity-16 text-whitish hover:data-[state=checked]:bg-whitish-opacity-80 data-[state=checked]:bg-whitish data-[state=checked]:text-navy',\r\n },\r\n },\r\n defaultVariants: {\r\n variant: 'default',\r\n },\r\n }\r\n)\r\n\r\ninterface CheckboxProps\r\n extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>,\r\n VariantProps<typeof checkboxVariants> {\r\n className?: string\r\n}\r\n\r\nconst Checkbox = React.forwardRef<\r\n React.ElementRef<typeof CheckboxPrimitive.Root>,\r\n CheckboxProps\r\n>(({ className, variant, ...props }, ref) => (\r\n <CheckboxPrimitive.Root\r\n ref={ref}\r\n className={cn(checkboxVariants({ variant }), className)}\r\n {...props}\r\n >\r\n <CheckboxPrimitive.Indicator\r\n className={cn('flex items-center justify-center text-current')}\r\n >\r\n <Check16X16 className=\"h-[18px] w-[18px] relative bottom-[1px]\" />\r\n </CheckboxPrimitive.Indicator>\r\n </CheckboxPrimitive.Root>\r\n))\r\nCheckbox.displayName = CheckboxPrimitive.Root.displayName\r\n\r\nexport { Checkbox }\r\n"],"names":["checkboxVariants","cva","Checkbox","React","className","variant","props","ref","CheckboxPrimitive","cn","Check16X16"],"mappings":";;;;;AAQA,MAAMA,IAAmBC;AAAA,EACvB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,OACE;AAAA,MACJ;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AACF,GAQMC,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,EAAM,GAAGC,MACnC,gBAAAJ,EAAA;AAAA,EAACK,EAAkB;AAAA,EAAlB;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAGT,EAAiB,EAAE,SAAAK,EAAS,CAAA,GAAGD,CAAS;AAAA,IACrD,GAAGE;AAAA,EAAA;AAAA,EAEJ,gBAAAH,EAAA;AAAA,IAACK,EAAkB;AAAA,IAAlB;AAAA,MACC,WAAWC,EAAG,+CAA+C;AAAA,IAAA;AAAA,IAE7D,gBAAAN,EAAA,cAACO,GAAW,EAAA,WAAU,0CAA0C,CAAA;AAAA,EAClE;AACF,CACD;AACDR,EAAS,cAAcM,EAAkB,KAAK;"}
|
package/dist/index.es21.js
CHANGED
|
@@ -1,22 +1,35 @@
|
|
|
1
|
-
import l from "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
src: r,
|
|
12
|
-
alt: `Изображение для ${t}`,
|
|
13
|
-
width: 32,
|
|
14
|
-
height: 32,
|
|
15
|
-
className: "object-contain"
|
|
1
|
+
import e, { useId as l } from "react";
|
|
2
|
+
import { cva as c } from "class-variance-authority";
|
|
3
|
+
import { cn as s } from "./index.es52.js";
|
|
4
|
+
import { Checkbox as m } from "./index.es20.js";
|
|
5
|
+
const d = c("items-top flex space-x-2", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
default: "text-navy-opacity-60",
|
|
9
|
+
white: "text-whitish-opacity-60"
|
|
16
10
|
}
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
variant: "default"
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
function b({
|
|
17
|
+
id: i,
|
|
18
|
+
children: t,
|
|
19
|
+
desc: a,
|
|
20
|
+
variant: o
|
|
21
|
+
}) {
|
|
22
|
+
const n = l(), r = i || n;
|
|
23
|
+
return /* @__PURE__ */ e.createElement("div", { className: s(d({ variant: o })) }, /* @__PURE__ */ e.createElement(m, { id: r, variant: o }), t && /* @__PURE__ */ e.createElement("div", { className: "grid gap-1 leading-none" }, /* @__PURE__ */ e.createElement(
|
|
24
|
+
"label",
|
|
25
|
+
{
|
|
26
|
+
htmlFor: r,
|
|
27
|
+
className: "typo_variant_small-body leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer"
|
|
28
|
+
},
|
|
29
|
+
t
|
|
30
|
+
), a && /* @__PURE__ */ e.createElement("p", { className: "text-sm text-muted-foreground" }, a)));
|
|
31
|
+
}
|
|
19
32
|
export {
|
|
20
|
-
|
|
33
|
+
b as CheckboxWithLabel
|
|
21
34
|
};
|
|
22
35
|
//# sourceMappingURL=index.es21.js.map
|
package/dist/index.es21.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es21.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es21.js","sources":["../src/components/ui/checkbox/CheckboxWithLabel.tsx"],"sourcesContent":["import { useId } from 'react'\r\n\r\nimport { cva, type VariantProps } from 'class-variance-authority'\r\nimport { cn } from '@/lib/utils/cn'\r\nimport { Checkbox } from './checkbox'\r\nimport React from 'react'\r\n\r\nconst CheckboxWithLabelVariants = cva('items-top flex space-x-2', {\r\n variants: {\r\n variant: {\r\n default: 'text-navy-opacity-60',\r\n white: 'text-whitish-opacity-60',\r\n },\r\n },\r\n defaultVariants: {\r\n variant: 'default',\r\n },\r\n})\r\n\r\ninterface CheckboxWithLabelProps\r\n extends VariantProps<typeof CheckboxWithLabelVariants> {\r\n id?: string\r\n children?: React.ReactNode\r\n desc?: string\r\n}\r\n\r\nexport function CheckboxWithLabel({\r\n id,\r\n children,\r\n desc,\r\n variant,\r\n}: CheckboxWithLabelProps) {\r\n const generatedId = useId()\r\n const inputId = id || generatedId\r\n\r\n return (\r\n <div className={cn(CheckboxWithLabelVariants({ variant }))}>\r\n <Checkbox id={inputId} variant={variant} />\r\n {children && (\r\n <div className=\"grid gap-1 leading-none\">\r\n <label\r\n htmlFor={inputId}\r\n className=\"typo_variant_small-body leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer\"\r\n >\r\n {children}\r\n </label>\r\n {desc && <p className=\"text-sm text-muted-foreground\">{desc}</p>}\r\n </div>\r\n )}\r\n </div>\r\n )\r\n}\r\n"],"names":["CheckboxWithLabelVariants","cva","CheckboxWithLabel","id","children","desc","variant","generatedId","useId","inputId","React","cn","Checkbox"],"mappings":";;;;AAOA,MAAMA,IAA4BC,EAAI,4BAA4B;AAAA,EAChE,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,OAAO;AAAA,IACT;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,SAAS;AAAA,EACX;AACF,CAAC;AASM,SAASC,EAAkB;AAAA,EAChC,IAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AACF,GAA2B;AACzB,QAAMC,IAAcC,KACdC,IAAUN,KAAMI;AAGpB,SAAAG,gBAAAA,EAAA,cAAC,SAAI,WAAWC,EAAGX,EAA0B,EAAE,SAAAM,EAAA,CAAS,CAAC,qCACtDM,GAAS,EAAA,IAAIH,GAAS,SAAAH,GAAkB,GACxCF,KACEM,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,0BACb,GAAAA,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,SAASD;AAAA,MACT,WAAU;AAAA,IAAA;AAAA,IAETL;AAAA,EAAA,GAEFC,KAASK,gBAAAA,EAAA,cAAA,KAAA,EAAE,WAAU,gCAAiC,GAAAL,CAAK,CAC9D,CAEJ;AAEJ;"}
|
package/dist/index.es22.js
CHANGED
|
@@ -1,49 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const l = `${i === 2 ? "sm:col-span-2" : "sm:col-span-1"} p-6 bg-whitish rounded-lg h-full`, p = o("LinkWrapper"), f = o("ImageWrapper"), n = /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "flex space-x-2" }, c.map((s, d) => /* @__PURE__ */ e.createElement(u, { key: d, variant: s.color }, s.title))), r && /* @__PURE__ */ e.createElement("div", { className: "flex justify-center mt-12" }, /* @__PURE__ */ e.createElement(
|
|
18
|
-
f,
|
|
19
|
-
{
|
|
20
|
-
src: r,
|
|
21
|
-
alt: `Изображение для ${t}`,
|
|
22
|
-
width: 64,
|
|
23
|
-
height: 64
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { cva as n } from "class-variance-authority";
|
|
3
|
+
import { cn as o } from "./index.es52.js";
|
|
4
|
+
const p = n(
|
|
5
|
+
"inline-flex items-center rounded-sm pt-[9px] pb-[4px] px-[13px] typo_variant_caption",
|
|
6
|
+
{
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
default: "bg-navy-opacity-4 text-navy",
|
|
10
|
+
turquoise: "bg-turquoise-opacity-16 text-turquoise",
|
|
11
|
+
white: "bg-white text-navy",
|
|
12
|
+
lightWhite: "bg-whitish-opacity-8 text-white"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
variant: "default"
|
|
24
17
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
}
|
|
19
|
+
), s = t.forwardRef(
|
|
20
|
+
({ className: a, variant: e, ...i }, r) => /* @__PURE__ */ t.createElement(
|
|
21
|
+
"span",
|
|
28
22
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/* @__PURE__ */ e.createElement(
|
|
37
|
-
E,
|
|
38
|
-
{
|
|
39
|
-
icon: "arrowRight",
|
|
40
|
-
className: "mt-6"
|
|
41
|
-
},
|
|
42
|
-
"Подробнее"
|
|
43
|
-
)
|
|
44
|
-
) : /* @__PURE__ */ e.createElement("div", { className: l }, n);
|
|
45
|
-
}, z = y;
|
|
23
|
+
className: o(p({ variant: e, className: a })),
|
|
24
|
+
ref: r,
|
|
25
|
+
...i
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
);
|
|
29
|
+
s.displayName = "Tag";
|
|
46
30
|
export {
|
|
47
|
-
|
|
31
|
+
s as Tag
|
|
48
32
|
};
|
|
49
33
|
//# sourceMappingURL=index.es22.js.map
|
package/dist/index.es22.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es22.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es22.js","sources":["../src/components/ui/Tag.tsx"],"sourcesContent":["import React from 'react'\r\nimport { cva, type VariantProps } from 'class-variance-authority'\r\nimport { cn } from '@/lib/utils/cn'\r\n\r\nconst tagVariants = cva(\r\n 'inline-flex items-center rounded-sm pt-[9px] pb-[4px] px-[13px] typo_variant_caption',\r\n {\r\n variants: {\r\n variant: {\r\n default: 'bg-navy-opacity-4 text-navy',\r\n turquoise: 'bg-turquoise-opacity-16 text-turquoise',\r\n white: 'bg-white text-navy',\r\n lightWhite: 'bg-whitish-opacity-8 text-white',\r\n },\r\n },\r\n defaultVariants: {\r\n variant: 'default',\r\n },\r\n }\r\n)\r\n\r\nexport interface TagProps\r\n extends React.HTMLAttributes<HTMLSpanElement>,\r\n VariantProps<typeof tagVariants> {\r\n className?: string\r\n}\r\n\r\nexport interface TagItemProps {\r\n title: string\r\n color?: TagProps['variant']\r\n}\r\n\r\nconst Tag = React.forwardRef<HTMLSpanElement, TagProps>(\r\n ({ className, variant, ...props }, ref) => {\r\n return (\r\n <span\r\n className={cn(tagVariants({ variant, className }))}\r\n ref={ref}\r\n {...props}\r\n />\r\n )\r\n }\r\n)\r\nTag.displayName = 'Tag'\r\n\r\nexport { Tag }\r\n"],"names":["tagVariants","cva","Tag","React","className","variant","props","ref","cn"],"mappings":";;;AAIA,MAAMA,IAAcC;AAAA,EAClB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,WAAW;AAAA,QACX,OAAO;AAAA,QACP,YAAY;AAAA,MACd;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,IACX;AAAA,EACF;AACF,GAaMC,IAAMC,EAAM;AAAA,EAChB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,EAAA,GAASC,MAE/BJ,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWK,EAAGR,EAAY,EAAE,SAAAK,GAAS,WAAAD,EAAW,CAAA,CAAC;AAAA,MACjD,KAAAG;AAAA,MACC,GAAGD;AAAA,IAAA;AAAA,EAAA;AAIZ;AACAJ,EAAI,cAAc;"}
|
package/dist/index.es23.js
CHANGED
|
@@ -1,40 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import e
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
icon: r,
|
|
11
|
-
heightMode: n,
|
|
12
|
-
className: o
|
|
13
|
-
}) => {
|
|
14
|
-
const c = g(), l = n === "full" ? "h-full" : "h-fit", i = v("ImageWrapper");
|
|
15
|
-
return /* @__PURE__ */ e.createElement(
|
|
16
|
-
"div",
|
|
1
|
+
import l from "./index.es44.js";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import n from "./index.es19.js";
|
|
4
|
+
import o from "./index.es45.js";
|
|
5
|
+
import { getAdapter as c } from "./index.es9.js";
|
|
6
|
+
const i = ({ title: t, desc: a, icon: r }) => {
|
|
7
|
+
const m = c("ImageWrapper");
|
|
8
|
+
return /* @__PURE__ */ e.createElement("div", { className: "p-6 bg-whitish rounded-lg h-full" }, /* @__PURE__ */ e.createElement("div", { className: "p-4 bg-turquoise-opacity-20 rounded-lg mb-12 inline-flex" }, /* @__PURE__ */ e.createElement(
|
|
9
|
+
m,
|
|
17
10
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
src: r,
|
|
28
|
-
alt: `Изображение для ${t}`,
|
|
29
|
-
width: 32,
|
|
30
|
-
height: 32,
|
|
31
|
-
className: "object-contain"
|
|
32
|
-
}
|
|
33
|
-
)),
|
|
34
|
-
/* @__PURE__ */ e.createElement("div", { className: "space-y-6" }, /* @__PURE__ */ e.createElement(f, { level: 5 }, t), a && /* @__PURE__ */ e.createElement(m, { type: "single", collapsible: !0 }, /* @__PURE__ */ e.createElement(s, { value: c, className: "p-0" }, /* @__PURE__ */ e.createElement(p, { className: "p-0 pb-6 text-navy-opacity-60 typo_variant_small-body" }, /* @__PURE__ */ e.createElement(u, { html: a })), /* @__PURE__ */ e.createElement(d, { className: "border-none flex-initial [&[data-state=open]]:bg-transparent p-0 [&>.icon-wrapper>svg]:hover:bg-navy-opacity-8" }))))
|
|
35
|
-
);
|
|
36
|
-
}, W = b;
|
|
11
|
+
src: r,
|
|
12
|
+
alt: `Изображение для ${t}`,
|
|
13
|
+
width: 32,
|
|
14
|
+
height: 32,
|
|
15
|
+
className: "object-contain"
|
|
16
|
+
}
|
|
17
|
+
)), /* @__PURE__ */ e.createElement(l, { level: 5, className: "mb-2" }, t), a && /* @__PURE__ */ e.createElement(o, { variant: "small-body", className: "text-navy-opacity-60", as: "div" }, /* @__PURE__ */ e.createElement(n, { html: a })));
|
|
18
|
+
}, u = i;
|
|
37
19
|
export {
|
|
38
|
-
|
|
20
|
+
u as default
|
|
39
21
|
};
|
|
40
22
|
//# sourceMappingURL=index.es23.js.map
|
package/dist/index.es23.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es23.js","sources":["../src/components/cards/
|
|
1
|
+
{"version":3,"file":"index.es23.js","sources":["../src/components/cards/Advantage.tsx"],"sourcesContent":["import Heading from '@/components/core/typography/Heading'\r\nimport React from 'react'\r\nimport SafeHtmlRenderer from '../SafeHtml'\r\nimport Text from '@/components/core/typography/Text'\r\nimport { getAdapter } from '@/Adapters'\r\n\r\nexport interface AdvantageProps {\r\n title: string\r\n desc?: string\r\n icon: string\r\n}\r\n\r\nconst Advantage: React.FC<AdvantageProps> = ({ title, desc, icon }) => {\r\n const ImageWrapper = getAdapter('ImageWrapper')\r\n\r\n return (\r\n <div className=\"p-6 bg-whitish rounded-lg h-full\">\r\n <div className=\"p-4 bg-turquoise-opacity-20 rounded-lg mb-12 inline-flex\">\r\n <ImageWrapper\r\n src={icon}\r\n alt={`Изображение для ${title}`}\r\n width={32}\r\n height={32}\r\n className=\"object-contain\"\r\n />\r\n </div>\r\n <Heading level={5} className=\"mb-2\">\r\n {title}\r\n </Heading>\r\n {desc && (\r\n <Text variant=\"small-body\" className=\"text-navy-opacity-60\" as={'div'}>\r\n <SafeHtmlRenderer html={desc} />\r\n </Text>\r\n )}\r\n </div>\r\n )\r\n}\r\n\r\nexport default Advantage\r\n"],"names":["Advantage","title","desc","icon","ImageWrapper","getAdapter","React","Heading","Text","SafeHtmlRenderer","Advantage$1"],"mappings":";;;;;AAYA,MAAMA,IAAsC,CAAC,EAAE,OAAAC,GAAO,MAAAC,GAAM,MAAAC,QAAW;AAC/D,QAAAC,IAAeC,EAAW,cAAc;AAE9C,yCACG,OAAI,EAAA,WAAU,sCACZC,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,2DACb,GAAAA,gBAAAA,EAAA;AAAA,IAACF;AAAA,IAAA;AAAA,MACC,KAAKD;AAAA,MACL,KAAK,mBAAmBF,CAAK;AAAA,MAC7B,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,WAAU;AAAA,IAAA;AAAA,EAEd,CAAA,GACAK,gBAAAA,EAAA,cAACC,GAAQ,EAAA,OAAO,GAAG,WAAU,OAAA,GAC1BN,CACH,GACCC,KACCI,gBAAAA,EAAA,cAACE,KAAK,SAAQ,cAAa,WAAU,wBAAuB,IAAI,MAAA,mCAC7DC,GAAiB,EAAA,MAAMP,EAAM,CAAA,CAChC,CAEJ;AAEJ,GAEAQ,IAAeV;"}
|
package/dist/index.es24.js
CHANGED
|
@@ -1,57 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import e, { Fragment as v } from "react";
|
|
2
|
+
import { Tag as u } from "./index.es22.js";
|
|
3
|
+
import E from "./index.es6.js";
|
|
4
|
+
import g from "./index.es44.js";
|
|
5
|
+
import h from "./index.es19.js";
|
|
6
|
+
import x from "./index.es45.js";
|
|
7
|
+
import { cn as N } from "./index.es52.js";
|
|
8
|
+
import { getAdapter as o } from "./index.es9.js";
|
|
9
|
+
const y = ({
|
|
10
|
+
title: t,
|
|
11
|
+
desc: a,
|
|
12
|
+
icon: r,
|
|
13
|
+
tags: c,
|
|
14
|
+
link: m,
|
|
15
|
+
size: i
|
|
15
16
|
}) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
case 1:
|
|
19
|
-
l = "col-span-1";
|
|
20
|
-
break;
|
|
21
|
-
case 2:
|
|
22
|
-
l = "col-span-2";
|
|
23
|
-
}
|
|
24
|
-
const f = y("ImageWrapper");
|
|
25
|
-
return /* @__PURE__ */ e.createElement(
|
|
26
|
-
"div",
|
|
17
|
+
const l = `${i === 2 ? "sm:col-span-2" : "sm:col-span-1"} p-6 bg-whitish rounded-lg h-full`, p = o("LinkWrapper"), f = o("ImageWrapper"), n = /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "flex space-x-2" }, c.map((s, d) => /* @__PURE__ */ e.createElement(u, { key: d, variant: s.color }, s.title))), r && /* @__PURE__ */ e.createElement("div", { className: "flex justify-center mt-12" }, /* @__PURE__ */ e.createElement(
|
|
18
|
+
f,
|
|
27
19
|
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
src: r,
|
|
21
|
+
alt: `Изображение для ${t}`,
|
|
22
|
+
width: 64,
|
|
23
|
+
height: 64
|
|
24
|
+
}
|
|
25
|
+
)), /* @__PURE__ */ e.createElement("div", { className: "space-y-2 mt-[88px]" }, /* @__PURE__ */ e.createElement(g, { level: 4, as: "div" }, t), a && /* @__PURE__ */ e.createElement(x, { variant: "small-body", className: "text-navy-opacity-60", as: "div" }, /* @__PURE__ */ e.createElement(h, { html: a, className: "inline" }))));
|
|
26
|
+
return m ? /* @__PURE__ */ e.createElement(
|
|
27
|
+
p,
|
|
28
|
+
{
|
|
29
|
+
href: m,
|
|
30
|
+
className: N(
|
|
31
|
+
l,
|
|
32
|
+
"flex flex-col h-full justify-between items-start transition-all bottom-0 hover:bottom-1 transform duration-300 relative"
|
|
32
33
|
)
|
|
33
34
|
},
|
|
34
|
-
/* @__PURE__ */ e.createElement("div",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
m,
|
|
35
|
+
/* @__PURE__ */ e.createElement("div", null, n),
|
|
36
|
+
/* @__PURE__ */ e.createElement(
|
|
37
|
+
E,
|
|
38
38
|
{
|
|
39
|
-
|
|
39
|
+
icon: "arrowRight",
|
|
40
|
+
className: "mt-6"
|
|
40
41
|
},
|
|
41
|
-
|
|
42
|
-
)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
src: "/icons/comet.svg",
|
|
47
|
-
alt: "logo",
|
|
48
|
-
width: 25,
|
|
49
|
-
height: 20
|
|
50
|
-
}
|
|
51
|
-
))
|
|
52
|
-
);
|
|
53
|
-
}, w = g;
|
|
42
|
+
"Подробнее"
|
|
43
|
+
)
|
|
44
|
+
) : /* @__PURE__ */ e.createElement("div", { className: l }, n);
|
|
45
|
+
}, z = y;
|
|
54
46
|
export {
|
|
55
|
-
|
|
47
|
+
z as default
|
|
56
48
|
};
|
|
57
49
|
//# sourceMappingURL=index.es24.js.map
|
package/dist/index.es24.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es24.js","sources":["../src/components/cards/
|
|
1
|
+
{"version":3,"file":"index.es24.js","sources":["../src/components/cards/Advantage2.tsx"],"sourcesContent":["import React, { Fragment } from 'react'\r\nimport { Tag, TagItemProps } from '../ui/Tag'\r\n\r\nimport { ButtonText } from '../ui/button'\r\nimport Heading from '../core/typography/Heading'\r\nimport SafeHtmlRenderer from '../SafeHtml'\r\nimport Text from '../core/typography/Text'\r\nimport { cn } from '@/lib/utils/cn'\r\nimport { getAdapter } from '@/Adapters'\r\n\r\nexport interface Advantage2Props {\r\n title: string\r\n desc?: string\r\n icon?: string\r\n tags: TagItemProps[]\r\n link?: string\r\n size?: 1 | 2\r\n}\r\n\r\nconst Advantage2: React.FC<Advantage2Props> = ({\r\n title,\r\n desc,\r\n icon,\r\n tags,\r\n link,\r\n size,\r\n}) => {\r\n const sizeCls = size === 2 ? 'sm:col-span-2' : 'sm:col-span-1'\r\n const classes = `${sizeCls} p-6 bg-whitish rounded-lg h-full`\r\n\r\n const LinkWrapper = getAdapter('LinkWrapper')\r\n const ImageWrapper = getAdapter('ImageWrapper')\r\n\r\n const component = (\r\n <Fragment>\r\n <div className=\"flex space-x-2\">\r\n {tags.map((tag, index) => (\r\n <Tag key={index} variant={tag.color}>\r\n {tag.title}\r\n </Tag>\r\n ))}\r\n </div>\r\n\r\n {icon && (\r\n <div className=\"flex justify-center mt-12\">\r\n <ImageWrapper\r\n src={icon}\r\n alt={`Изображение для ${title}`}\r\n width={64}\r\n height={64}\r\n // className=\"object-contain\"\r\n />\r\n </div>\r\n )}\r\n\r\n <div className=\"space-y-2 mt-[88px]\">\r\n <Heading level={4} as=\"div\">\r\n {title}\r\n </Heading>\r\n {desc && (\r\n <Text variant=\"small-body\" className=\"text-navy-opacity-60\" as=\"div\">\r\n <SafeHtmlRenderer html={desc} className=\"inline\" />\r\n </Text>\r\n )}\r\n </div>\r\n </Fragment>\r\n )\r\n\r\n if (link) {\r\n return (\r\n <LinkWrapper\r\n href={link}\r\n className={cn(\r\n classes,\r\n 'flex flex-col h-full justify-between items-start transition-all bottom-0 hover:bottom-1 transform duration-300 relative'\r\n )}\r\n >\r\n <div>{component}</div>\r\n {/* TODO: here is the button, should be a link */}\r\n <ButtonText\r\n icon=\"arrowRight\"\r\n className=\"mt-6\"\r\n // variant={variant === \"navy\" ? \"white\" : \"default\"}\r\n >\r\n Подробнее\r\n </ButtonText>\r\n </LinkWrapper>\r\n )\r\n }\r\n\r\n return <div className={classes}>{component}</div>\r\n}\r\n\r\nexport default Advantage2\r\n"],"names":["Advantage2","title","desc","icon","tags","link","size","classes","LinkWrapper","getAdapter","ImageWrapper","component","React","Fragment","tag","index","Tag","Heading","Text","SafeHtmlRenderer","cn","ButtonText","Advantage2$1"],"mappings":";;;;;;;;AAmBA,MAAMA,IAAwC,CAAC;AAAA,EAC7C,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AACF,MAAM;AAEE,QAAAC,IAAU,GADAD,MAAS,IAAI,kBAAkB,eACrB,qCAEpBE,IAAcC,EAAW,aAAa,GACtCC,IAAeD,EAAW,cAAc,GAExCE,IACJC,gBAAAA,EAAA,cAACC,GACC,MAAAD,gBAAAA,EAAA,cAAC,OAAI,EAAA,WAAU,iBACZ,GAAAR,EAAK,IAAI,CAACU,GAAKC,MACbH,gBAAAA,EAAA,cAAAI,GAAA,EAAI,KAAKD,GAAO,SAASD,EAAI,MAC3B,GAAAA,EAAI,KACP,CACD,CACH,GAECX,KACCS,gBAAAA,EAAA,cAAC,OAAI,EAAA,WAAU,4BACb,GAAAA,gBAAAA,EAAA;AAAA,IAACF;AAAA,IAAA;AAAA,MACC,KAAKP;AAAA,MACL,KAAK,mBAAmBF,CAAK;AAAA,MAC7B,OAAO;AAAA,MACP,QAAQ;AAAA,IAAA;AAAA,EAAA,CAGZ,GAGDW,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAU,sBAAA,GACZA,gBAAAA,EAAA,cAAAK,GAAA,EAAQ,OAAO,GAAG,IAAG,MAAA,GACnBhB,CACH,GACCC,KACEU,gBAAAA,EAAA,cAAAM,GAAA,EAAK,SAAQ,cAAa,WAAU,wBAAuB,IAAG,SAC7DN,gBAAAA,EAAA,cAACO,GAAiB,EAAA,MAAMjB,GAAM,WAAU,SAAS,CAAA,CACnD,CAEJ,CACF;AAGF,SAAIG,IAEAO,gBAAAA,EAAA;AAAA,IAACJ;AAAA,IAAA;AAAA,MACC,MAAMH;AAAA,MACN,WAAWe;AAAA,QACTb;AAAA,QACA;AAAA,MACF;AAAA,IAAA;AAAA,IAEAK,gBAAAA,EAAA,cAAC,aAAKD,CAAU;AAAA,IAEhBC,gBAAAA,EAAA;AAAA,MAACS;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAU;AAAA,MAAA;AAAA,MAEX;AAAA,IAED;AAAA,EAAA,IAKET,gBAAAA,EAAA,cAAA,OAAA,EAAI,WAAWL,EAAA,GAAUI,CAAU;AAC7C,GAEAW,IAAetB;"}
|
package/dist/index.es25.js
CHANGED
|
@@ -1,17 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import e from "react";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
)
|
|
1
|
+
import { Accordion as m, AccordionItem as s, AccordionContent as p, AccordionTrigger as d } from "./index.es49.js";
|
|
2
|
+
import e, { useId as g } from "react";
|
|
3
|
+
import f from "./index.es44.js";
|
|
4
|
+
import u from "./index.es19.js";
|
|
5
|
+
import { cn as h } from "./index.es52.js";
|
|
6
|
+
import { getAdapter as v } from "./index.es9.js";
|
|
7
|
+
const b = ({
|
|
8
|
+
title: t,
|
|
9
|
+
desc: a,
|
|
10
|
+
icon: r,
|
|
11
|
+
heightMode: n,
|
|
12
|
+
className: o
|
|
13
|
+
}) => {
|
|
14
|
+
const c = g(), l = n === "full" ? "h-full" : "h-fit", i = v("ImageWrapper");
|
|
15
|
+
return /* @__PURE__ */ e.createElement(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
className: h(
|
|
19
|
+
"p-6 bg-whitish text-navy rounded-lg",
|
|
20
|
+
l,
|
|
21
|
+
o
|
|
22
|
+
)
|
|
23
|
+
},
|
|
24
|
+
/* @__PURE__ */ e.createElement("div", { className: "p-4 bg-turquoise-opacity-20 rounded-lg mb-6 inline-flex" }, /* @__PURE__ */ e.createElement(
|
|
25
|
+
i,
|
|
26
|
+
{
|
|
27
|
+
src: r,
|
|
28
|
+
alt: `Изображение для ${t}`,
|
|
29
|
+
width: 32,
|
|
30
|
+
height: 32,
|
|
31
|
+
className: "object-contain"
|
|
32
|
+
}
|
|
33
|
+
)),
|
|
34
|
+
/* @__PURE__ */ e.createElement("div", { className: "space-y-6" }, /* @__PURE__ */ e.createElement(f, { level: 5 }, t), a && /* @__PURE__ */ e.createElement(m, { type: "single", collapsible: !0 }, /* @__PURE__ */ e.createElement(s, { value: c, className: "p-0" }, /* @__PURE__ */ e.createElement(p, { className: "p-0 pb-6 text-navy-opacity-60 typo_variant_small-body" }, /* @__PURE__ */ e.createElement(u, { html: a })), /* @__PURE__ */ e.createElement(d, { className: "border-none flex-initial [&[data-state=open]]:bg-transparent p-0 [&>.icon-wrapper>svg]:hover:bg-navy-opacity-8" }))))
|
|
35
|
+
);
|
|
36
|
+
}, W = b;
|
|
14
37
|
export {
|
|
15
|
-
|
|
38
|
+
W as default
|
|
16
39
|
};
|
|
17
40
|
//# sourceMappingURL=index.es25.js.map
|
package/dist/index.es25.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es25.js","sources":["../src/components/cards/
|
|
1
|
+
{"version":3,"file":"index.es25.js","sources":["../src/components/cards/AdvantageWithAccordion.tsx"],"sourcesContent":["import {\r\n Accordion,\r\n AccordionContent,\r\n AccordionItem,\r\n AccordionTrigger,\r\n} from '../ui/accordion'\r\nimport React, { useId } from 'react'\r\n\r\nimport Heading from '../core/typography/Heading'\r\nimport SafeHtmlRenderer from '../SafeHtml'\r\nimport { cn } from '@/lib/utils/cn'\r\nimport { getAdapter } from '@/Adapters'\r\n\r\nexport interface AdvantageWithAccordionProps {\r\n title: string\r\n desc?: string\r\n icon: string\r\n heightMode?: 'fit' | 'full'\r\n className?: string\r\n}\r\n\r\nconst AdvantageWithAccordion: React.FC<AdvantageWithAccordionProps> = ({\r\n title,\r\n desc,\r\n icon,\r\n heightMode,\r\n className,\r\n}) => {\r\n const uniqueId = useId()\r\n\r\n const heightModeClass = heightMode === 'full' ? 'h-full' : 'h-fit'\r\n\r\n const ImageWrapper = getAdapter('ImageWrapper')\r\n\r\n return (\r\n <div\r\n className={cn(\r\n `p-6 bg-whitish text-navy rounded-lg`,\r\n heightModeClass,\r\n className\r\n )}\r\n >\r\n <div className=\"p-4 bg-turquoise-opacity-20 rounded-lg mb-6 inline-flex\">\r\n <ImageWrapper\r\n src={icon}\r\n alt={`Изображение для ${title}`}\r\n width={32}\r\n height={32}\r\n className=\"object-contain\"\r\n />\r\n </div>\r\n <div className=\"space-y-6\">\r\n <Heading level={5}>{title}</Heading>\r\n\r\n {desc && (\r\n <Accordion type=\"single\" collapsible>\r\n <AccordionItem value={uniqueId} className=\"p-0\">\r\n <AccordionContent className=\"p-0 pb-6 text-navy-opacity-60 typo_variant_small-body\">\r\n <SafeHtmlRenderer html={desc} />\r\n </AccordionContent>\r\n <AccordionTrigger className=\"border-none flex-initial [&[data-state=open]]:bg-transparent p-0 [&>.icon-wrapper>svg]:hover:bg-navy-opacity-8\"></AccordionTrigger>\r\n </AccordionItem>\r\n </Accordion>\r\n )}\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default AdvantageWithAccordion\r\n"],"names":["AdvantageWithAccordion","title","desc","icon","heightMode","className","uniqueId","useId","heightModeClass","ImageWrapper","getAdapter","React","cn","Heading","Accordion","AccordionItem","AccordionContent","SafeHtmlRenderer","AccordionTrigger","AdvantageWithAccordion$1"],"mappings":";;;;;;AAqBA,MAAMA,IAAgE,CAAC;AAAA,EACrE,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AACF,MAAM;AACJ,QAAMC,IAAWC,KAEXC,IAAkBJ,MAAe,SAAS,WAAW,SAErDK,IAAeC,EAAW,cAAc;AAG5C,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,QACAH;AAAA,MACF;AAAA,IAAA;AAAA,IAEAM,gBAAAA,EAAA,cAAC,OAAI,EAAA,WAAU,0DACb,GAAAA,gBAAAA,EAAA;AAAA,MAACF;AAAA,MAAA;AAAA,QACC,KAAKN;AAAA,QACL,KAAK,mBAAmBF,CAAK;AAAA,QAC7B,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,WAAU;AAAA,MAAA;AAAA,IAAA,CAEd;AAAA,oCACC,OAAI,EAAA,WAAU,YACb,GAAAU,gBAAAA,EAAA,cAACE,KAAQ,OAAO,EAAA,GAAIZ,CAAM,GAEzBC,KACES,gBAAAA,EAAA,cAAAG,GAAA,EAAU,MAAK,UAAS,aAAW,MACjCH,gBAAAA,EAAA,cAAAI,GAAA,EAAc,OAAOT,GAAU,WAAU,MACxC,GAAAK,gBAAAA,EAAA,cAACK,KAAiB,WAAU,wDAAA,mCACzBC,GAAiB,EAAA,MAAMf,EAAM,CAAA,CAChC,GACCS,gBAAAA,EAAA,cAAAO,GAAA,EAAiB,WAAU,iHAAiH,CAAA,CAC/I,CACF,CAEJ;AAAA,EAAA;AAGN,GAEAC,IAAenB;"}
|