@gardenfi/garden-book 0.1.54 → 0.1.56
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/Icons/MinusIcon.d.ts +8 -0
- package/dist/components/atoms/Icons/PlusIcon.d.ts +8 -0
- package/dist/components/atoms/Icons/Unchecked.d.ts +5 -0
- package/dist/components/atoms/Icons/index.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +2 -2
- package/dist/ui.es.js +79 -26
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -4296,8 +4296,8 @@ var lottie$1 = { exports: {} };
|
|
|
4296
4296
|
var Y = this.props;
|
|
4297
4297
|
if (S === 1 && M === 0 && R === 0 && I === 0 && G === 0 && U === 1 && K === 0 && J === 0 && re === 0 && le === 0 && ce === 1 && pe === 0)
|
|
4298
4298
|
return Y[12] = Y[12] * S + Y[15] * ue, Y[13] = Y[13] * U + Y[15] * se, Y[14] = Y[14] * ce + Y[15] * oe, Y[15] *= te, this._identityCalculated = !1, this;
|
|
4299
|
-
var Te = Y[0], Ee = Y[1],
|
|
4300
|
-
return Y[0] = Te * S + Ee * G +
|
|
4299
|
+
var Te = Y[0], Ee = Y[1], Se = Y[2], ye = Y[3], be = Y[4], Pe = Y[5], me = Y[6], Ce = Y[7], Le = Y[8], xe = Y[9], Me = Y[10], we = Y[11], Ae = Y[12], _e = Y[13], Ve = Y[14], ke = Y[15];
|
|
4300
|
+
return Y[0] = Te * S + Ee * G + Se * re + ye * ue, Y[1] = Te * M + Ee * U + Se * le + ye * se, Y[2] = Te * R + Ee * K + Se * ce + ye * oe, Y[3] = Te * I + Ee * J + Se * pe + ye * te, Y[4] = be * S + Pe * G + me * re + Ce * ue, Y[5] = be * M + Pe * U + me * le + Ce * se, Y[6] = be * R + Pe * K + me * ce + Ce * oe, Y[7] = be * I + Pe * J + me * pe + Ce * te, Y[8] = Le * S + xe * G + Me * re + we * ue, Y[9] = Le * M + xe * U + Me * le + we * se, Y[10] = Le * R + xe * K + Me * ce + we * oe, Y[11] = Le * I + xe * J + Me * pe + we * te, Y[12] = Ae * S + _e * G + Ve * re + ke * ue, Y[13] = Ae * M + _e * U + Ve * le + ke * se, Y[14] = Ae * R + _e * K + Ve * ce + ke * oe, Y[15] = Ae * I + _e * J + Ve * pe + ke * te, this._identityCalculated = !1, this;
|
|
4301
4301
|
}
|
|
4302
4302
|
function T(S) {
|
|
4303
4303
|
var M = S.props;
|
|
@@ -6791,7 +6791,7 @@ var lottie$1 = { exports: {} };
|
|
|
6791
6791
|
m = p.length, l = 0, c = 0;
|
|
6792
6792
|
var q = e.finalSize * 1.2 * 0.714, N = !0, L, k, S, M, R;
|
|
6793
6793
|
M = s.length;
|
|
6794
|
-
var I, G = -1, U, K, J, re = x, le = d, ce = C, pe = -1, ue, se, oe, te, Y, Te, Ee,
|
|
6794
|
+
var I, G = -1, U, K, J, re = x, le = d, ce = C, pe = -1, ue, se, oe, te, Y, Te, Ee, Se, ye = "", be = this.defaultPropsArray, Pe;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
6796
|
var me = 0, Ce = 0, Le = e.j === 2 ? -0.5 : -1, xe = 0, Me = !0;
|
|
6797
6797
|
for (u = 0; u < m; u += 1)
|
|
@@ -6809,7 +6809,7 @@ var lottie$1 = { exports: {} };
|
|
|
6809
6809
|
}
|
|
6810
6810
|
for (u = 0; u < m; u += 1) {
|
|
6811
6811
|
if (a.reset(), ue = 1, p[u].n)
|
|
6812
|
-
l = 0, c += e.yOffset, c += N ? 1 : 0, x = re, N = !1, this._hasMaskedPath && (d = le, C = ce, A = E[d].points, P = A[C - 1], y = A[C], _ = y.partialLength, T = 0), ye = "",
|
|
6812
|
+
l = 0, c += e.yOffset, c += N ? 1 : 0, x = re, N = !1, this._hasMaskedPath && (d = le, C = ce, A = E[d].points, P = A[C - 1], y = A[C], _ = y.partialLength, T = 0), ye = "", Se = "", Te = "", Pe = "", be = this.defaultPropsArray;
|
|
6813
6813
|
else {
|
|
6814
6814
|
if (this._hasMaskedPath) {
|
|
6815
6815
|
if (pe !== p[u].line) {
|
|
@@ -6824,11 +6824,11 @@ var lottie$1 = { exports: {} };
|
|
|
6824
6824
|
pe = p[u].line;
|
|
6825
6825
|
}
|
|
6826
6826
|
G !== p[u].ind && (p[G] && (x += p[G].extra), x += p[u].an / 2, G = p[u].ind), x += i[0] * p[u].an * 5e-3;
|
|
6827
|
-
var
|
|
6827
|
+
var we = 0;
|
|
6828
6828
|
for (S = 0; S < M; S += 1)
|
|
6829
|
-
L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ?
|
|
6829
|
+
L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? we += L.p.v[0] * I[0] : we += L.p.v[0] * I), L.a.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), I.length ? we += L.a.v[0] * I[0] : we += L.a.v[0] * I);
|
|
6830
6830
|
for (g = !0, this._pathData.a.v && (x = p[0].an * 0.5 + (V - this._pathData.f.v - p[0].an * 0.5 - p[p.length - 1].an * 0.5) * G / (m - 1), x += this._pathData.f.v); g; )
|
|
6831
|
-
T + _ >= x +
|
|
6831
|
+
T + _ >= x + we || !A ? (B = (x + we - T) / y.partialLength, K = P.point[0] + (y.point[0] - P.point[0]) * B, J = P.point[1] + (y.point[1] - P.point[1]) * B, a.translate(-i[0] * p[u].an * 5e-3, -(i[1] * q) * 0.01), g = !1) : A && (T += y.partialLength, C += 1, C >= A.length && (C = 0, d += 1, E[d] ? A = E[d].points : Z.v.c ? (C = 0, d = 0, A = E[d].points) : (T -= y.partialLength, A = null)), A && (P = y, y = A[C], _ = y.partialLength));
|
|
6832
6832
|
U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0);
|
|
6833
6833
|
} else
|
|
6834
6834
|
U = p[u].an / 2 - p[u].add, a.translate(-U, 0, 0), a.translate(-i[0] * p[u].an * 5e-3, -i[1] * q * 0.01, 0);
|
|
@@ -6851,7 +6851,7 @@ var lottie$1 = { exports: {} };
|
|
|
6851
6851
|
}
|
|
6852
6852
|
for (S = 0; S < M; S += 1)
|
|
6853
6853
|
L = s[S].a, L.p.propType && (k = s[S].s, I = k.getMult(p[u].anIndexes[S], n.a[S].s.totalChars), this._hasMaskedPath ? I.length ? a.translate(0, L.p.v[1] * I[0], -L.p.v[2] * I[1]) : a.translate(0, L.p.v[1] * I, -L.p.v[2] * I) : I.length ? a.translate(L.p.v[0] * I[0], L.p.v[1] * I[1], -L.p.v[2] * I[2]) : a.translate(L.p.v[0] * I, L.p.v[1] * I, -L.p.v[2] * I));
|
|
6854
|
-
if (e.strokeWidthAnim && (Te = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ee = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (
|
|
6854
|
+
if (e.strokeWidthAnim && (Te = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ee = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (Se = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
|
|
6855
6855
|
if (a.translate(0, -e.ls), a.translate(0, i[1] * q * 0.01 + c, 0), this._pathData.p.v) {
|
|
6856
6856
|
$ = (y.point[1] - P.point[1]) / (y.point[0] - P.point[0]);
|
|
6857
6857
|
var Ae = Math.atan($) * 180 / Math.PI;
|
|
@@ -6871,7 +6871,7 @@ var lottie$1 = { exports: {} };
|
|
|
6871
6871
|
}
|
|
6872
6872
|
o === "html" ? ye = a.toCSS() : o === "svg" ? ye = a.to2dCSS() : be = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], Pe = ue;
|
|
6873
6873
|
}
|
|
6874
|
-
f <= u ? (R = new LetterProps(Pe, Te, Ee,
|
|
6874
|
+
f <= u ? (R = new LetterProps(Pe, Te, Ee, Se, ye, be), this.renderedLetters.push(R), f += 1, this.lettersChangedFlag = !0) : (R = this.renderedLetters[u], this.lettersChangedFlag = R.update(Pe, Te, Ee, Se, ye, be) || this.lettersChangedFlag);
|
|
6875
6875
|
}
|
|
6876
6876
|
}
|
|
6877
6877
|
}, TextAnimatorProperty.prototype.getValue = function() {
|
|
@@ -11694,7 +11694,35 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
|
11694
11694
|
}
|
|
11695
11695
|
)
|
|
11696
11696
|
}
|
|
11697
|
-
),
|
|
11697
|
+
), MinusIcon = ({
|
|
11698
|
+
rectFill: e = "#F7CFDB",
|
|
11699
|
+
pathFill: t = "#E36492",
|
|
11700
|
+
...i
|
|
11701
|
+
}) => /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: [
|
|
11702
|
+
/* @__PURE__ */ jsx("rect", { width: "20", height: "20", rx: "10", fill: e }),
|
|
11703
|
+
/* @__PURE__ */ jsx("mask", { id: "mask0_16264_15926", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "2", y: "2", width: "16", height: "16", children: /* @__PURE__ */ jsx("rect", { x: "2", y: "2", width: "16", height: "16", fill: "#D9D9D9" }) }),
|
|
11704
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_16264_15926)", children: /* @__PURE__ */ jsx(
|
|
11705
|
+
"path",
|
|
11706
|
+
{
|
|
11707
|
+
d: "M5.9987 10.6668C5.80981 10.6668 5.65148 10.6029 5.5237 10.4752C5.39592 10.3474 5.33203 10.1891 5.33203 10.0002C5.33203 9.81127 5.39592 9.65294 5.5237 9.52516C5.65148 9.39738 5.80981 9.3335 5.9987 9.3335H13.9987C14.1876 9.3335 14.3459 9.39738 14.4737 9.52516C14.6015 9.65294 14.6654 9.81127 14.6654 10.0002C14.6654 10.1891 14.6015 10.3474 14.4737 10.4752C14.3459 10.6029 14.1876 10.6668 13.9987 10.6668H5.9987Z",
|
|
11708
|
+
fill: t
|
|
11709
|
+
}
|
|
11710
|
+
) })
|
|
11711
|
+
] }), PlusIcon = ({
|
|
11712
|
+
rectFill: e = "#99DFC7",
|
|
11713
|
+
pathFill: t = "#2CAC7F",
|
|
11714
|
+
...i
|
|
11715
|
+
}) => /* @__PURE__ */ jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: [
|
|
11716
|
+
/* @__PURE__ */ jsx("rect", { width: "20", height: "20", rx: "10", fill: e }),
|
|
11717
|
+
/* @__PURE__ */ jsx("mask", { id: "mask0_16264_15930", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "2", y: "2", width: "16", height: "16", children: /* @__PURE__ */ jsx("rect", { x: "2", y: "2", width: "16", height: "16", fill: "#D9D9D9" }) }),
|
|
11718
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_16264_15930)", children: /* @__PURE__ */ jsx(
|
|
11719
|
+
"path",
|
|
11720
|
+
{
|
|
11721
|
+
d: "M9.33203 10.6685H5.9987C5.80981 10.6685 5.65148 10.6046 5.5237 10.4769C5.39592 10.3491 5.33203 10.1908 5.33203 10.0019C5.33203 9.81298 5.39592 9.65465 5.5237 9.52687C5.65148 9.39909 5.80981 9.3352 5.9987 9.3352H9.33203V6.00187C9.33203 5.81298 9.39592 5.65465 9.5237 5.52687C9.65148 5.39909 9.80981 5.33521 9.9987 5.33521C10.1876 5.33521 10.3459 5.39909 10.4737 5.52687C10.6015 5.65465 10.6654 5.81298 10.6654 6.00187V9.3352H13.9987C14.1876 9.3352 14.3459 9.39909 14.4737 9.52687C14.6015 9.65465 14.6654 9.81298 14.6654 10.0019C14.6654 10.1908 14.6015 10.3491 14.4737 10.4769C14.3459 10.6046 14.1876 10.6685 13.9987 10.6685H10.6654V14.0019C10.6654 14.1908 10.6015 14.3491 10.4737 14.4769C10.3459 14.6046 10.1876 14.6685 9.9987 14.6685C9.80981 14.6685 9.65148 14.6046 9.5237 14.4769C9.39592 14.3491 9.33203 14.1908 9.33203 14.0019V10.6685Z",
|
|
11722
|
+
fill: t
|
|
11723
|
+
}
|
|
11724
|
+
) })
|
|
11725
|
+
] }), Checked = (e) => /* @__PURE__ */ jsxs(
|
|
11698
11726
|
"svg",
|
|
11699
11727
|
{
|
|
11700
11728
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -11726,6 +11754,38 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
|
11726
11754
|
) })
|
|
11727
11755
|
]
|
|
11728
11756
|
}
|
|
11757
|
+
), Unchecked = (e) => /* @__PURE__ */ jsxs(
|
|
11758
|
+
"svg",
|
|
11759
|
+
{
|
|
11760
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11761
|
+
width: "24",
|
|
11762
|
+
height: "24",
|
|
11763
|
+
viewBox: "0 0 24 24",
|
|
11764
|
+
fill: "none",
|
|
11765
|
+
...e,
|
|
11766
|
+
children: [
|
|
11767
|
+
/* @__PURE__ */ jsx(
|
|
11768
|
+
"mask",
|
|
11769
|
+
{
|
|
11770
|
+
id: "mask0_14594_15093",
|
|
11771
|
+
style: { maskType: "alpha" },
|
|
11772
|
+
maskUnits: "userSpaceOnUse",
|
|
11773
|
+
x: "0",
|
|
11774
|
+
y: "0",
|
|
11775
|
+
width: "24",
|
|
11776
|
+
height: "24",
|
|
11777
|
+
children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "#D9D9D9" })
|
|
11778
|
+
}
|
|
11779
|
+
),
|
|
11780
|
+
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_14594_15093)", children: /* @__PURE__ */ jsx(
|
|
11781
|
+
"path",
|
|
11782
|
+
{
|
|
11783
|
+
d: "M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",
|
|
11784
|
+
fill: "#554B6A"
|
|
11785
|
+
}
|
|
11786
|
+
) })
|
|
11787
|
+
]
|
|
11788
|
+
}
|
|
11729
11789
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11730
11790
|
"svg",
|
|
11731
11791
|
{
|
|
@@ -13278,17 +13338,7 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
|
13278
13338
|
)
|
|
13279
13339
|
]
|
|
13280
13340
|
}
|
|
13281
|
-
), CheckBox$1 = ({
|
|
13282
|
-
checked: e,
|
|
13283
|
-
className: t,
|
|
13284
|
-
...i
|
|
13285
|
-
}) => e ? /* @__PURE__ */ jsx(Checked, {}) : /* @__PURE__ */ jsx(
|
|
13286
|
-
"div",
|
|
13287
|
-
{
|
|
13288
|
-
className: `gf-w-4 gf-h-4 gf-border-2 gf-border-dark-grey gf-rounded-sm ${t}`,
|
|
13289
|
-
...i
|
|
13290
|
-
}
|
|
13291
|
-
), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
13341
|
+
), CheckBox$1 = ({ checked: e, ...t }) => /* @__PURE__ */ jsx("div", { ...t, children: e ? /* @__PURE__ */ jsx(Checked, {}) : /* @__PURE__ */ jsx(Unchecked, {}) }), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
13292
13342
|
"div",
|
|
13293
13343
|
{
|
|
13294
13344
|
className: cn(
|
|
@@ -14045,15 +14095,15 @@ var build = { exports: {} };
|
|
|
14045
14095
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14046
14096
|
return z;
|
|
14047
14097
|
}(W);
|
|
14048
|
-
}(H,
|
|
14098
|
+
}(H, Se() ? Reflect.construct(F, O || [], ye(H).constructor) : F.apply(H, O));
|
|
14049
14099
|
}
|
|
14050
|
-
function
|
|
14100
|
+
function Se() {
|
|
14051
14101
|
try {
|
|
14052
14102
|
var H = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
14053
14103
|
}));
|
|
14054
14104
|
} catch {
|
|
14055
14105
|
}
|
|
14056
|
-
return (
|
|
14106
|
+
return (Se = function() {
|
|
14057
14107
|
return !!H;
|
|
14058
14108
|
})();
|
|
14059
14109
|
}
|
|
@@ -14118,14 +14168,14 @@ var build = { exports: {} };
|
|
|
14118
14168
|
for (var F = 1; F < arguments.length; F++) {
|
|
14119
14169
|
var O = arguments[F] != null ? arguments[F] : {};
|
|
14120
14170
|
F % 2 ? xe(Object(O), !0).forEach(function(W) {
|
|
14121
|
-
|
|
14171
|
+
we(H, W, O[W]);
|
|
14122
14172
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(H, Object.getOwnPropertyDescriptors(O)) : xe(Object(O)).forEach(function(W) {
|
|
14123
14173
|
Object.defineProperty(H, W, Object.getOwnPropertyDescriptor(O, W));
|
|
14124
14174
|
});
|
|
14125
14175
|
}
|
|
14126
14176
|
return H;
|
|
14127
14177
|
}
|
|
14128
|
-
function
|
|
14178
|
+
function we(H, F, O) {
|
|
14129
14179
|
return (F = Ve(F)) in H ? Object.defineProperty(H, F, { value: O, enumerable: !0, configurable: !0, writable: !0 }) : H[F] = O, H;
|
|
14130
14180
|
}
|
|
14131
14181
|
function Ae() {
|
|
@@ -19067,6 +19117,7 @@ export {
|
|
|
19067
19117
|
LockIcon,
|
|
19068
19118
|
LogoutIcon,
|
|
19069
19119
|
MenuIcon,
|
|
19120
|
+
MinusIcon,
|
|
19070
19121
|
Modal,
|
|
19071
19122
|
Opacity,
|
|
19072
19123
|
OpenInFullIcon,
|
|
@@ -19074,6 +19125,7 @@ export {
|
|
|
19074
19125
|
PageInfoIcon,
|
|
19075
19126
|
PancakeSwap,
|
|
19076
19127
|
PhantomIcon,
|
|
19128
|
+
PlusIcon,
|
|
19077
19129
|
PolygonLogo,
|
|
19078
19130
|
QuestCard,
|
|
19079
19131
|
Radiant,
|
|
@@ -19095,6 +19147,7 @@ export {
|
|
|
19095
19147
|
TrailOfBits,
|
|
19096
19148
|
TrustWallet,
|
|
19097
19149
|
Typography,
|
|
19150
|
+
Unchecked,
|
|
19098
19151
|
Vertex,
|
|
19099
19152
|
WalletConnect,
|
|
19100
19153
|
WalletIcon
|