@gardenfi/garden-book 0.2.2-beta.3 → 0.2.2-beta.4
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/atoms/Button/Button.d.ts +7 -0
- package/dist/components/atoms/Button/Button.stories.d.ts +2 -0
- package/dist/components/atoms/Logo/index.d.ts +0 -2
- package/dist/ui.cjs.js +7 -7
- package/dist/ui.es.js +21 -79
- package/dist/ui.umd.js +7 -7
- package/package.json +1 -1
- package/dist/components/atoms/Logo/GardenIconOutline.d.ts +0 -5
- package/dist/components/atoms/Logo/NFTIcon.d.ts +0 -5
package/dist/ui.es.js
CHANGED
|
@@ -10819,14 +10819,27 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10819
10819
|
}
|
|
10820
10820
|
}
|
|
10821
10821
|
), Button = forwardRef(
|
|
10822
|
-
({
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10822
|
+
({
|
|
10823
|
+
variant: e,
|
|
10824
|
+
size: t,
|
|
10825
|
+
breakpoints: i,
|
|
10826
|
+
loading: n,
|
|
10827
|
+
className: s,
|
|
10828
|
+
children: a,
|
|
10829
|
+
colors: o,
|
|
10830
|
+
...l
|
|
10831
|
+
}, c) => {
|
|
10832
|
+
const f = i ? Object.entries(i).map(([d, b]) => `${d}:${b}`).map(
|
|
10833
|
+
(d) => buttonStyles({ breakpointSize: d })
|
|
10834
|
+
).join(" ") : "", p = (() => {
|
|
10835
|
+
if (!o || !e) return {};
|
|
10836
|
+
const d = o[e];
|
|
10837
|
+
return d ? e === "primary" ? { backgroundColor: d } : e === "secondary" ? { backgroundColor: d } : e === "ternary" ? { backgroundColor: d } : e === "disabled" ? { backgroundColor: d } : {} : {};
|
|
10838
|
+
})();
|
|
10826
10839
|
return /* @__PURE__ */ jsx(
|
|
10827
10840
|
"button",
|
|
10828
10841
|
{
|
|
10829
|
-
ref:
|
|
10842
|
+
ref: c,
|
|
10830
10843
|
className: cn(
|
|
10831
10844
|
"gf-transition-colors gf-duration-300",
|
|
10832
10845
|
s,
|
|
@@ -10834,11 +10847,12 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10834
10847
|
variant: e,
|
|
10835
10848
|
size: t
|
|
10836
10849
|
}),
|
|
10837
|
-
|
|
10850
|
+
f,
|
|
10838
10851
|
n
|
|
10839
10852
|
),
|
|
10853
|
+
style: p,
|
|
10840
10854
|
disabled: n || e === "disabled",
|
|
10841
|
-
...
|
|
10855
|
+
...l,
|
|
10842
10856
|
children: /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-center gf-items-center gf-gap-3", children: [
|
|
10843
10857
|
a,
|
|
10844
10858
|
n && /* @__PURE__ */ jsx(
|
|
@@ -16481,76 +16495,6 @@ const Drawer = {
|
|
|
16481
16495
|
}
|
|
16482
16496
|
)
|
|
16483
16497
|
}
|
|
16484
|
-
), GardenIconOutline = (e) => /* @__PURE__ */ jsxs(
|
|
16485
|
-
"svg",
|
|
16486
|
-
{
|
|
16487
|
-
width: "20",
|
|
16488
|
-
height: "20",
|
|
16489
|
-
viewBox: "0 0 20 20",
|
|
16490
|
-
fill: "none",
|
|
16491
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
16492
|
-
...e,
|
|
16493
|
-
children: [
|
|
16494
|
-
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_20443_43161)", children: [
|
|
16495
|
-
/* @__PURE__ */ jsx("mask", { id: "path-1-inside-1_20443_43161", fill: "white", children: /* @__PURE__ */ jsx(
|
|
16496
|
-
"path",
|
|
16497
|
-
{
|
|
16498
|
-
fillRule: "evenodd",
|
|
16499
|
-
clipRule: "evenodd",
|
|
16500
|
-
d: "M9.98345 0C12.6777 0 14.9524 1.79919 15.6755 4.26352C18.1709 4.96525 20.0007 7.26101 20.0007 9.98485C20.0007 12.699 18.1839 14.9881 15.7021 15.6986C14.9913 18.1824 12.7071 20 9.99907 20C7.29077 20 5.00638 18.182 4.29585 15.6978C1.81541 14.9864 -1.18398e-07 12.698 0 9.98485C1.18278e-07 7.27444 1.81174 4.9879 4.28834 4.27401C5.00801 1.8043 7.28537 0 9.98345 0Z"
|
|
16501
|
-
}
|
|
16502
|
-
) }),
|
|
16503
|
-
/* @__PURE__ */ jsx(
|
|
16504
|
-
"path",
|
|
16505
|
-
{
|
|
16506
|
-
d: "M15.6755 4.26352L14.2362 4.68583L14.47 5.48271L15.2694 5.70752L15.6755 4.26352ZM15.7021 15.6986L15.2892 14.2566L14.489 14.4857L14.26 15.2859L15.7021 15.6986ZM4.29585 15.6978L5.73802 15.2853L5.5092 14.4854L4.7094 14.256L4.29585 15.6978ZM0 9.98485H-1.5H0ZM4.28834 4.27401L4.7038 5.71533L5.49739 5.48658L5.72845 4.69366L4.28834 4.27401ZM15.6755 4.26352L17.1148 3.84121C16.2098 0.756843 13.3629 -1.5 9.98345 -1.5V0V1.5C11.9925 1.5 13.695 2.84153 14.2362 4.68583L15.6755 4.26352ZM20.0007 9.98485H21.5007C21.5007 6.57295 19.2084 3.69881 16.0815 2.81953L15.6755 4.26352L15.2694 5.70752C17.1335 6.2317 18.5007 7.94908 18.5007 9.98485H20.0007ZM15.7021 15.6986L16.1149 17.1407C19.2246 16.2505 21.5007 13.3847 21.5007 9.98485H20.0007H18.5007C18.5007 12.0133 17.1432 13.7258 15.2892 14.2566L15.7021 15.6986ZM9.99907 20V21.5C13.3957 21.5 16.2545 19.2201 17.1442 16.1113L15.7021 15.6986L14.26 15.2859C13.728 17.1446 12.0184 18.5 9.99907 18.5V20ZM4.29585 15.6978L2.85369 16.1103C3.74302 19.2196 6.60205 21.5 9.99907 21.5V20V18.5C7.97949 18.5 6.26974 17.1443 5.73802 15.2853L4.29585 15.6978ZM4.29585 15.6978L4.7094 14.256C2.85642 13.7245 1.5 12.0126 1.5 9.98485H0H-1.5C-1.5 13.3834 0.77439 16.2483 3.88231 17.1397L4.29585 15.6978ZM0 9.98485H1.5C1.5 7.95916 2.85367 6.24863 4.7038 5.71533L4.28834 4.27401L3.87288 2.8327C0.769816 3.72716 -1.5 6.58972 -1.5 9.98485H0ZM9.98345 0V-1.5C6.59923 -1.5 3.74899 0.76323 2.84824 3.85437L4.28834 4.27401L5.72845 4.69366C6.26704 2.84536 7.97151 1.5 9.98345 1.5V0Z",
|
|
16507
|
-
fill: "currentColor",
|
|
16508
|
-
mask: "url(#path-1-inside-1_20443_43161)"
|
|
16509
|
-
}
|
|
16510
|
-
),
|
|
16511
|
-
/* @__PURE__ */ jsx(
|
|
16512
|
-
"path",
|
|
16513
|
-
{
|
|
16514
|
-
d: "M11.5749 8.50235C11.5621 9.57535 9.91402 9.42991 9.38923 9.42335L9.41196 7.52459C9.93675 7.53115 11.5881 7.38196 11.5749 8.50235ZM11.9714 11.4605C11.9581 12.6407 9.98322 12.4814 9.35201 12.4738L9.38395 10.3823C10.0131 10.3911 11.9928 10.2298 11.9778 11.4623L11.9714 11.4605ZM13.3199 8.10089C13.2284 6.97293 12.2821 6.58529 11.0828 6.46077L11.1016 4.89867L10.1705 4.88634L10.1519 6.40806C9.90849 6.40469 9.65851 6.40657 9.41013 6.40888L9.42034 4.8796L8.49173 4.86443L8.47335 6.4249C8.27132 6.4276 8.07337 6.4279 7.8811 6.42624L6.59855 6.40909L6.58668 7.42605C6.58668 7.42605 7.27615 7.42144 7.26061 7.43478C7.52087 7.40429 7.75703 7.59263 7.79146 7.85812L7.77561 9.63212C7.80835 9.63249 7.84103 9.63498 7.87346 9.63958L7.7755 9.63913L7.74021 12.1307C7.72493 12.3168 7.56567 12.4554 7.38356 12.4411C7.39801 12.4451 6.70803 12.432 6.70803 12.432L6.50921 13.5648L7.72002 13.5799L8.38592 13.5864L8.36806 15.1646L9.29753 15.1765L9.31098 13.6217C9.55795 13.6313 9.80622 13.636 10.0533 13.6386L10.0342 15.1954L10.9636 15.2073L10.9847 13.63C12.5521 13.558 13.6487 13.1689 13.8023 11.6701C13.9245 10.4618 13.3792 9.91658 12.4964 9.68706C13.0395 9.41368 13.3846 8.92423 13.3135 8.09914L13.3199 8.10089Z",
|
|
16515
|
-
fill: "currentColor"
|
|
16516
|
-
}
|
|
16517
|
-
)
|
|
16518
|
-
] }),
|
|
16519
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_20443_43161", children: /* @__PURE__ */ jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
16520
|
-
]
|
|
16521
|
-
}
|
|
16522
|
-
), NFTIcon = (e) => /* @__PURE__ */ jsxs(
|
|
16523
|
-
"svg",
|
|
16524
|
-
{
|
|
16525
|
-
width: "16",
|
|
16526
|
-
height: "16",
|
|
16527
|
-
viewBox: "0 0 16 16",
|
|
16528
|
-
fill: "none",
|
|
16529
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
16530
|
-
...e,
|
|
16531
|
-
children: [
|
|
16532
|
-
/* @__PURE__ */ jsx(
|
|
16533
|
-
"mask",
|
|
16534
|
-
{
|
|
16535
|
-
id: "mask0_20443_43040",
|
|
16536
|
-
style: { maskType: "alpha" },
|
|
16537
|
-
maskUnits: "userSpaceOnUse",
|
|
16538
|
-
x: "0",
|
|
16539
|
-
y: "0",
|
|
16540
|
-
width: "16",
|
|
16541
|
-
height: "17",
|
|
16542
|
-
children: /* @__PURE__ */ jsx("rect", { y: "0.000976562", width: "16", height: "16", fill: "currentColor" })
|
|
16543
|
-
}
|
|
16544
|
-
),
|
|
16545
|
-
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_20443_43040)", children: /* @__PURE__ */ jsx(
|
|
16546
|
-
"path",
|
|
16547
|
-
{
|
|
16548
|
-
d: "M6.3783 10.3343L8.0013 9.10098L9.59097 10.3215L8.9808 8.34964L10.6295 7.06248H8.6448L8.0013 5.07798L7.3578 7.06248H5.37314L6.98847 8.34964L6.3783 10.3343ZM2.87314 13.001C2.54069 13.001 2.25669 12.8833 2.02114 12.6478C1.78569 12.4123 1.66797 12.1283 1.66797 11.7958V9.96898C1.66797 9.85953 1.69941 9.76253 1.7623 9.67798C1.82508 9.59331 1.90902 9.53559 2.01414 9.50481C2.30647 9.36892 2.54408 9.1672 2.72697 8.89964C2.90986 8.6322 3.0013 8.33264 3.0013 8.00098C3.0013 7.66931 2.90986 7.36975 2.72697 7.10231C2.54408 6.83475 2.30647 6.63303 2.01414 6.49714C1.90902 6.46637 1.82508 6.40864 1.7623 6.32398C1.69941 6.23942 1.66797 6.14242 1.66797 6.03298V4.20614C1.66797 3.8737 1.78569 3.5897 2.02114 3.35414C2.25669 3.1187 2.54069 3.00098 2.87314 3.00098H13.1295C13.4619 3.00098 13.7459 3.1187 13.9815 3.35414C14.2169 3.5897 14.3346 3.8737 14.3346 4.20614V6.03298C14.3346 6.14242 14.3032 6.23942 14.2403 6.32398C14.1775 6.40864 14.0936 6.46637 13.9885 6.49714C13.6961 6.63303 13.4585 6.83475 13.2756 7.10231C13.0927 7.36975 13.0013 7.66931 13.0013 8.00098C13.0013 8.33264 13.0927 8.6322 13.2756 8.89964C13.4585 9.1672 13.6961 9.36892 13.9885 9.50481C14.0936 9.53559 14.1775 9.59331 14.2403 9.67798C14.3032 9.76253 14.3346 9.85953 14.3346 9.96898V11.7958C14.3346 12.1283 14.2169 12.4123 13.9815 12.6478C13.7459 12.8833 13.4619 13.001 13.1295 13.001H2.87314ZM2.87314 12.001H13.1295C13.1894 12.001 13.2385 11.9818 13.277 11.9433C13.3154 11.9049 13.3346 11.8557 13.3346 11.7958V10.301C12.9235 10.0565 12.5985 9.73153 12.3596 9.32598C12.1207 8.92042 12.0013 8.47875 12.0013 8.00098C12.0013 7.5232 12.1207 7.08153 12.3596 6.67598C12.5985 6.27042 12.9235 5.94542 13.3346 5.70098V4.20614C13.3346 4.14625 13.3154 4.09709 13.277 4.05864C13.2385 4.0202 13.1894 4.00098 13.1295 4.00098H2.87314C2.81325 4.00098 2.76408 4.0202 2.72564 4.05864C2.68719 4.09709 2.66797 4.14625 2.66797 4.20614V5.70098C3.07908 5.94542 3.40408 6.27042 3.64297 6.67598C3.88186 7.08153 4.0013 7.5232 4.0013 8.00098C4.0013 8.47875 3.88186 8.92042 3.64297 9.32598C3.40408 9.73153 3.07908 10.0565 2.66797 10.301V11.7958C2.66797 11.8557 2.68719 11.9049 2.72564 11.9433C2.76408 11.9818 2.81325 12.001 2.87314 12.001Z",
|
|
16549
|
-
fill: "currentColor"
|
|
16550
|
-
}
|
|
16551
|
-
) })
|
|
16552
|
-
]
|
|
16553
|
-
}
|
|
16554
16498
|
), CheckBox$1 = ({ checked: e, ...t }) => /* @__PURE__ */ jsx("div", { ...t, children: e ? /* @__PURE__ */ jsx(Checked, { className: "gf-cursor-pointer" }) : /* @__PURE__ */ jsx(Unchecked, { className: "gf-cursor-pointer" }) }), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
16555
16499
|
"div",
|
|
16556
16500
|
{
|
|
@@ -22382,7 +22326,6 @@ export {
|
|
|
22382
22326
|
GardenExplorer,
|
|
22383
22327
|
GardenFullLogo,
|
|
22384
22328
|
GardenIcon,
|
|
22385
|
-
GardenIconOutline,
|
|
22386
22329
|
GardenLogo,
|
|
22387
22330
|
GardenLogoText,
|
|
22388
22331
|
GardenStrokeIcon,
|
|
@@ -22403,7 +22346,6 @@ export {
|
|
|
22403
22346
|
MenuIcon,
|
|
22404
22347
|
MinusIcon,
|
|
22405
22348
|
Modal,
|
|
22406
|
-
NFTIcon,
|
|
22407
22349
|
Opacity,
|
|
22408
22350
|
OpenInFullIcon,
|
|
22409
22351
|
OpenInNewIcon,
|