@redis-ui/styles 13.2.0 → 13.3.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/fonts.css
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
font-family: 'Nunito Sans', sans-serif;
|
|
5
|
-
}
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600&display=swap');
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..700&display=swap');
|
package/dist/index.js
CHANGED
|
@@ -1505,7 +1505,7 @@ function mt(a) {
|
|
|
1505
1505
|
return $r[n] ? "#" + $r[n] : a;
|
|
1506
1506
|
}
|
|
1507
1507
|
var bt = /^#[a-fA-F0-9]{6}$/, gt = /^#[a-fA-F0-9]{8}$/, ut = /^#[a-fA-F0-9]{3}$/, pt = /^#[a-fA-F0-9]{4}$/, Do = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, xt = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, Ct = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, ft = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
1508
|
-
function
|
|
1508
|
+
function oo(a) {
|
|
1509
1509
|
if (typeof a != "string")
|
|
1510
1510
|
throw new X(3);
|
|
1511
1511
|
var n = mt(a);
|
|
@@ -1616,17 +1616,17 @@ function ht(a) {
|
|
|
1616
1616
|
};
|
|
1617
1617
|
}
|
|
1618
1618
|
function U(a) {
|
|
1619
|
-
return ht(
|
|
1619
|
+
return ht(oo(a));
|
|
1620
1620
|
}
|
|
1621
1621
|
var yt = function(n) {
|
|
1622
1622
|
return n.length === 7 && n[1] === n[2] && n[3] === n[4] && n[5] === n[6] ? "#" + n[1] + n[3] + n[5] : n;
|
|
1623
1623
|
}, Yo = yt;
|
|
1624
|
-
function
|
|
1624
|
+
function Q(a) {
|
|
1625
1625
|
var n = a.toString(16);
|
|
1626
1626
|
return n.length === 1 ? "0" + n : n;
|
|
1627
1627
|
}
|
|
1628
1628
|
function Ao(a) {
|
|
1629
|
-
return
|
|
1629
|
+
return Q(Math.round(a * 255));
|
|
1630
1630
|
}
|
|
1631
1631
|
function kt(a, n, i) {
|
|
1632
1632
|
return Yo("#" + Ao(a) + Ao(n) + Ao(i));
|
|
@@ -1650,14 +1650,14 @@ function wt(a, n, i, d) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
function Uo(a, n, i) {
|
|
1652
1652
|
if (typeof a == "number" && typeof n == "number" && typeof i == "number")
|
|
1653
|
-
return Yo("#" +
|
|
1653
|
+
return Yo("#" + Q(a) + Q(n) + Q(i));
|
|
1654
1654
|
if (typeof a == "object" && n === void 0 && i === void 0)
|
|
1655
|
-
return Yo("#" +
|
|
1655
|
+
return Yo("#" + Q(a.red) + Q(a.green) + Q(a.blue));
|
|
1656
1656
|
throw new X(6);
|
|
1657
1657
|
}
|
|
1658
1658
|
function Po(a, n, i, d) {
|
|
1659
1659
|
if (typeof a == "string" && typeof n == "number") {
|
|
1660
|
-
var l =
|
|
1660
|
+
var l = oo(a);
|
|
1661
1661
|
return "rgba(" + l.red + "," + l.green + "," + l.blue + "," + n + ")";
|
|
1662
1662
|
} else {
|
|
1663
1663
|
if (typeof a == "number" && typeof n == "number" && typeof i == "number" && typeof d == "number")
|
|
@@ -1701,14 +1701,14 @@ function Wt(a, n) {
|
|
|
1701
1701
|
}));
|
|
1702
1702
|
}
|
|
1703
1703
|
E(Wt);
|
|
1704
|
-
function
|
|
1704
|
+
function ao(a, n, i) {
|
|
1705
1705
|
return Math.max(a, Math.min(n, i));
|
|
1706
1706
|
}
|
|
1707
1707
|
function Pt(a, n) {
|
|
1708
1708
|
if (n === "transparent") return n;
|
|
1709
1709
|
var i = U(n);
|
|
1710
1710
|
return V(M({}, i, {
|
|
1711
|
-
lightness:
|
|
1711
|
+
lightness: ao(0, 1, i.lightness - parseFloat(a))
|
|
1712
1712
|
}));
|
|
1713
1713
|
}
|
|
1714
1714
|
var Bt = E(Pt), Ft = Bt;
|
|
@@ -1716,13 +1716,13 @@ function It(a, n) {
|
|
|
1716
1716
|
if (n === "transparent") return n;
|
|
1717
1717
|
var i = U(n);
|
|
1718
1718
|
return V(M({}, i, {
|
|
1719
|
-
saturation:
|
|
1719
|
+
saturation: ao(0, 1, i.saturation - parseFloat(a))
|
|
1720
1720
|
}));
|
|
1721
1721
|
}
|
|
1722
1722
|
E(It);
|
|
1723
1723
|
function Tt(a) {
|
|
1724
1724
|
if (a === "transparent") return 0;
|
|
1725
|
-
var n =
|
|
1725
|
+
var n = oo(a), i = Object.keys(n).map(function(u) {
|
|
1726
1726
|
var C = n[u] / 255;
|
|
1727
1727
|
return C <= 0.03928 ? C / 12.92 : Math.pow((C + 0.055) / 1.055, 2.4);
|
|
1728
1728
|
}), d = i[0], l = i[1], m = i[2];
|
|
@@ -1732,7 +1732,7 @@ function Mt(a, n) {
|
|
|
1732
1732
|
if (n === "transparent") return n;
|
|
1733
1733
|
var i = U(n);
|
|
1734
1734
|
return V(M({}, i, {
|
|
1735
|
-
lightness:
|
|
1735
|
+
lightness: ao(0, 1, i.lightness + parseFloat(a))
|
|
1736
1736
|
}));
|
|
1737
1737
|
}
|
|
1738
1738
|
var Et = E(Mt), Ht = Et;
|
|
@@ -1740,9 +1740,9 @@ function Ot(a, n, i) {
|
|
|
1740
1740
|
if (n === "transparent") return i;
|
|
1741
1741
|
if (i === "transparent") return n;
|
|
1742
1742
|
if (a === 0) return i;
|
|
1743
|
-
var d =
|
|
1743
|
+
var d = oo(n), l = M({}, d, {
|
|
1744
1744
|
alpha: typeof d.alpha == "number" ? d.alpha : 1
|
|
1745
|
-
}), m =
|
|
1745
|
+
}), m = oo(i), u = M({}, m, {
|
|
1746
1746
|
alpha: typeof m.alpha == "number" ? m.alpha : 1
|
|
1747
1747
|
}), C = l.alpha - u.alpha, x = parseFloat(a) * 2 - 1, f = x * C === -1 ? x : x + C, h = 1 + x * C, v = (f / h + 1) / 2, g = 1 - v, $ = {
|
|
1748
1748
|
red: Math.floor(l.red * v + u.red * g),
|
|
@@ -1755,8 +1755,8 @@ function Ot(a, n, i) {
|
|
|
1755
1755
|
var _t = E(Ot), Jr = _t;
|
|
1756
1756
|
function Lt(a, n) {
|
|
1757
1757
|
if (n === "transparent") return n;
|
|
1758
|
-
var i =
|
|
1759
|
-
alpha:
|
|
1758
|
+
var i = oo(n), d = typeof i.alpha == "number" ? i.alpha : 1, l = M({}, i, {
|
|
1759
|
+
alpha: ao(0, 1, (d * 100 + parseFloat(a) * 100) / 100)
|
|
1760
1760
|
});
|
|
1761
1761
|
return Po(l);
|
|
1762
1762
|
}
|
|
@@ -1765,7 +1765,7 @@ function jt(a, n) {
|
|
|
1765
1765
|
if (n === "transparent") return n;
|
|
1766
1766
|
var i = U(n);
|
|
1767
1767
|
return V(M({}, i, {
|
|
1768
|
-
saturation:
|
|
1768
|
+
saturation: ao(0, 1, i.saturation + parseFloat(a))
|
|
1769
1769
|
}));
|
|
1770
1770
|
}
|
|
1771
1771
|
E(jt);
|
|
@@ -1797,13 +1797,13 @@ function Gt(a, n) {
|
|
|
1797
1797
|
E(Gt);
|
|
1798
1798
|
function qt(a, n) {
|
|
1799
1799
|
if (n === "transparent") return n;
|
|
1800
|
-
var i =
|
|
1801
|
-
alpha:
|
|
1800
|
+
var i = oo(n), d = typeof i.alpha == "number" ? i.alpha : 1, l = M({}, i, {
|
|
1801
|
+
alpha: ao(0, 1, +(d * 100 - parseFloat(a) * 100).toFixed(2) / 100)
|
|
1802
1802
|
});
|
|
1803
1803
|
return Po(l);
|
|
1804
1804
|
}
|
|
1805
1805
|
E(qt);
|
|
1806
|
-
const
|
|
1806
|
+
const K = (a, n) => tt(a, n);
|
|
1807
1807
|
function L0(a) {
|
|
1808
1808
|
const n = Tt(a), i = Math.max(Math.abs(n - 0.5) * 1.2, 0.3);
|
|
1809
1809
|
return n < 0.5 ? Ht(i, a) : Ft(i, a);
|
|
@@ -1831,7 +1831,7 @@ const Yt = {
|
|
|
1831
1831
|
border: `1px solid ${t.semantic.color.border.neutral400}`,
|
|
1832
1832
|
buttonsGap: "1.6rem"
|
|
1833
1833
|
},
|
|
1834
|
-
overlay: { bgColor:
|
|
1834
|
+
overlay: { bgColor: K(t.semantic.color.background.neutral100, 0.8) }
|
|
1835
1835
|
}, Ut = {
|
|
1836
1836
|
chipList: {
|
|
1837
1837
|
padding: "0.8rem 1.6rem",
|
|
@@ -2003,7 +2003,8 @@ const Yt = {
|
|
|
2003
2003
|
valueLabel: { textColor: t.semantic.color.text.neutral700 }
|
|
2004
2004
|
},
|
|
2005
2005
|
password: {
|
|
2006
|
-
padding: "0 0.5rem 0 1rem"
|
|
2006
|
+
padding: "0 0.5rem 0 1rem",
|
|
2007
|
+
fontSize: "inherit"
|
|
2007
2008
|
},
|
|
2008
2009
|
additionalText: {
|
|
2009
2010
|
margin: "0.4rem 0 0 0",
|
|
@@ -4394,7 +4395,7 @@ const Yt = {
|
|
|
4394
4395
|
border: `1px solid ${e.semantic.color.border.neutral950}`,
|
|
4395
4396
|
buttonsGap: "1.6rem"
|
|
4396
4397
|
},
|
|
4397
|
-
overlay: { bgColor:
|
|
4398
|
+
overlay: { bgColor: K(e.semantic.color.background.neutral200, 0.8) }
|
|
4398
4399
|
}, Ua = {
|
|
4399
4400
|
chipList: {
|
|
4400
4401
|
padding: "0.8rem 1.6rem",
|
|
@@ -4566,7 +4567,8 @@ const Yt = {
|
|
|
4566
4567
|
valueLabel: { textColor: e.semantic.color.text.neutral700 }
|
|
4567
4568
|
},
|
|
4568
4569
|
password: {
|
|
4569
|
-
padding: "0 0.5rem 0 1rem"
|
|
4570
|
+
padding: "0 0.5rem 0 1rem",
|
|
4571
|
+
fontSize: "inherit"
|
|
4570
4572
|
},
|
|
4571
4573
|
additionalText: {
|
|
4572
4574
|
margin: "0.4rem 0 0 0",
|
|
@@ -6287,8 +6289,8 @@ const Yt = {
|
|
|
6287
6289
|
},
|
|
6288
6290
|
fontWeight: {
|
|
6289
6291
|
normal: "400",
|
|
6290
|
-
semiBold: "
|
|
6291
|
-
bold: "
|
|
6292
|
+
semiBold: "500",
|
|
6293
|
+
bold: "600"
|
|
6292
6294
|
}
|
|
6293
6295
|
},
|
|
6294
6296
|
focus: {
|
|
@@ -6944,7 +6946,7 @@ const Yt = {
|
|
|
6944
6946
|
}
|
|
6945
6947
|
}, Yn = {
|
|
6946
6948
|
shadow: o.core.shadow.shadow500,
|
|
6947
|
-
bgColor: o.semantic.color.background.
|
|
6949
|
+
bgColor: o.semantic.color.background.neutral0,
|
|
6948
6950
|
sidePadding: "3.2rem",
|
|
6949
6951
|
width: "60rem",
|
|
6950
6952
|
borderRadius: "0.8rem",
|
|
@@ -6966,7 +6968,7 @@ const Yt = {
|
|
|
6966
6968
|
buttonsGap: "1.6rem"
|
|
6967
6969
|
},
|
|
6968
6970
|
overlay: {
|
|
6969
|
-
bgColor:
|
|
6971
|
+
bgColor: K(o.semantic.color.background.secondary0, 0.8)
|
|
6970
6972
|
}
|
|
6971
6973
|
}, Un = {
|
|
6972
6974
|
chipList: {
|
|
@@ -7143,7 +7145,8 @@ const Yt = {
|
|
|
7143
7145
|
}
|
|
7144
7146
|
},
|
|
7145
7147
|
password: {
|
|
7146
|
-
padding: "0 0.5rem 0 1rem"
|
|
7148
|
+
padding: "0 0.5rem 0 1rem",
|
|
7149
|
+
fontSize: "200%"
|
|
7147
7150
|
},
|
|
7148
7151
|
additionalText: {
|
|
7149
7152
|
margin: "0.4rem 0 0 0",
|
|
@@ -7249,18 +7252,18 @@ const Yt = {
|
|
|
7249
7252
|
gap: "0.5rem",
|
|
7250
7253
|
variants: {
|
|
7251
7254
|
regular: {
|
|
7252
|
-
bgColor: o.semantic.color.icon.
|
|
7253
|
-
color: o.semantic.color.icon.
|
|
7255
|
+
bgColor: o.semantic.color.icon.primary50,
|
|
7256
|
+
color: o.semantic.color.icon.primary400,
|
|
7254
7257
|
textColor: o.semantic.color.icon.secondary950
|
|
7255
7258
|
},
|
|
7256
7259
|
pending: {
|
|
7257
|
-
bgColor: o.semantic.color.icon.
|
|
7258
|
-
color: o.semantic.color.icon.
|
|
7260
|
+
bgColor: o.semantic.color.icon.attention100,
|
|
7261
|
+
color: o.semantic.color.icon.attention500,
|
|
7259
7262
|
textColor: o.semantic.color.icon.secondary950
|
|
7260
7263
|
},
|
|
7261
7264
|
inverse: {
|
|
7262
|
-
bgColor: o.semantic.color.icon.secondary0,
|
|
7263
|
-
color: o.semantic.color.icon.
|
|
7265
|
+
bgColor: K(o.semantic.color.icon.secondary0, 0.2),
|
|
7266
|
+
color: o.semantic.color.icon.secondary0,
|
|
7264
7267
|
textColor: o.semantic.color.icon.secondary0
|
|
7265
7268
|
}
|
|
7266
7269
|
}
|
|
@@ -7368,7 +7371,7 @@ const Yt = {
|
|
|
7368
7371
|
buttonsGap: "0.8rem"
|
|
7369
7372
|
},
|
|
7370
7373
|
overlay: {
|
|
7371
|
-
bgColor:
|
|
7374
|
+
bgColor: K(o.semantic.color.background.secondary0, 0.8)
|
|
7372
7375
|
}
|
|
7373
7376
|
}, tc = {
|
|
7374
7377
|
iconColor: o.semantic.color.icon.secondary600
|
|
@@ -8943,8 +8946,8 @@ const Yt = {
|
|
|
8943
8946
|
},
|
|
8944
8947
|
fontWeight: {
|
|
8945
8948
|
normal: "400",
|
|
8946
|
-
semiBold: "
|
|
8947
|
-
bold: "
|
|
8949
|
+
semiBold: "500",
|
|
8950
|
+
bold: "600"
|
|
8948
8951
|
}
|
|
8949
8952
|
},
|
|
8950
8953
|
focus: {
|
|
@@ -9622,7 +9625,7 @@ const Yt = {
|
|
|
9622
9625
|
buttonsGap: "1.6rem"
|
|
9623
9626
|
},
|
|
9624
9627
|
overlay: {
|
|
9625
|
-
bgColor:
|
|
9628
|
+
bgColor: K(r.semantic.color.background.secondary990, 0.8)
|
|
9626
9629
|
}
|
|
9627
9630
|
}, Yc = {
|
|
9628
9631
|
chipList: {
|
|
@@ -9799,7 +9802,8 @@ const Yt = {
|
|
|
9799
9802
|
}
|
|
9800
9803
|
},
|
|
9801
9804
|
password: {
|
|
9802
|
-
padding: "0 0.5rem 0 1rem"
|
|
9805
|
+
padding: "0 0.5rem 0 1rem",
|
|
9806
|
+
fontSize: "200%"
|
|
9803
9807
|
},
|
|
9804
9808
|
additionalText: {
|
|
9805
9809
|
margin: "0.4rem 0 0 0",
|
|
@@ -9905,19 +9909,19 @@ const Yt = {
|
|
|
9905
9909
|
gap: "0.5rem",
|
|
9906
9910
|
variants: {
|
|
9907
9911
|
regular: {
|
|
9908
|
-
bgColor: r.semantic.color.icon.
|
|
9909
|
-
color: r.semantic.color.icon.
|
|
9912
|
+
bgColor: r.semantic.color.icon.primary900,
|
|
9913
|
+
color: r.semantic.color.icon.primary300,
|
|
9910
9914
|
textColor: r.semantic.color.icon.secondary200
|
|
9911
9915
|
},
|
|
9912
9916
|
pending: {
|
|
9913
|
-
bgColor: r.semantic.color.icon.
|
|
9914
|
-
color: r.semantic.color.icon.
|
|
9917
|
+
bgColor: r.semantic.color.icon.attention900,
|
|
9918
|
+
color: r.semantic.color.icon.attention500,
|
|
9915
9919
|
textColor: r.semantic.color.icon.secondary200
|
|
9916
9920
|
},
|
|
9917
9921
|
inverse: {
|
|
9918
|
-
bgColor: r.semantic.color.icon.
|
|
9919
|
-
color: r.semantic.color.icon.
|
|
9920
|
-
textColor: r.semantic.color.icon.
|
|
9922
|
+
bgColor: K(r.semantic.color.icon.secondary0, 0.2),
|
|
9923
|
+
color: r.semantic.color.icon.secondary950,
|
|
9924
|
+
textColor: r.semantic.color.icon.secondary950
|
|
9921
9925
|
}
|
|
9922
9926
|
}
|
|
9923
9927
|
}, o0 = {
|
|
@@ -10024,7 +10028,7 @@ const Yt = {
|
|
|
10024
10028
|
buttonsGap: "0.8rem"
|
|
10025
10029
|
},
|
|
10026
10030
|
overlay: {
|
|
10027
|
-
bgColor:
|
|
10031
|
+
bgColor: K(r.semantic.color.background.secondary990, 0.8)
|
|
10028
10032
|
}
|
|
10029
10033
|
}, e0 = {
|
|
10030
10034
|
iconColor: r.semantic.color.icon.secondary500
|
|
@@ -10956,7 +10960,7 @@ const Yt = {
|
|
|
10956
10960
|
borderColor: "transparent"
|
|
10957
10961
|
},
|
|
10958
10962
|
hover: {
|
|
10959
|
-
borderColor: r.semantic.color.border.
|
|
10963
|
+
borderColor: r.semantic.color.border.secondary700
|
|
10960
10964
|
}
|
|
10961
10965
|
}
|
|
10962
10966
|
},
|
|
@@ -11427,14 +11431,14 @@ const Yt = {
|
|
|
11427
11431
|
body: W0,
|
|
11428
11432
|
scrollbar: P0
|
|
11429
11433
|
}
|
|
11430
|
-
},
|
|
11434
|
+
}, to = () => Me() || Fa, N0 = (a) => Wo`
|
|
11431
11435
|
&:focus-visible {
|
|
11432
|
-
outline: ${() =>
|
|
11433
|
-
outline-offset: ${() => a ||
|
|
11436
|
+
outline: ${() => to().core.focus.size} solid ${() => to().core.focus.color};
|
|
11437
|
+
outline-offset: ${() => a || to().core.focus.margin};
|
|
11434
11438
|
}
|
|
11435
11439
|
`, X0 = (a) => Wo`
|
|
11436
|
-
outline: ${() =>
|
|
11437
|
-
outline-offset: ${() => a ||
|
|
11440
|
+
outline: ${() => to().core.focus.size} solid ${() => to().core.focus.color};
|
|
11441
|
+
outline-offset: ${() => a || to().core.focus.margin};
|
|
11438
11442
|
`, No = () => window.matchMedia("(prefers-color-scheme: dark)"), B0 = (a) => {
|
|
11439
11443
|
const n = Ur(a);
|
|
11440
11444
|
n.current = a;
|
|
@@ -11612,7 +11616,7 @@ function T0() {
|
|
|
11612
11616
|
}
|
|
11613
11617
|
return null;
|
|
11614
11618
|
}
|
|
11615
|
-
var
|
|
11619
|
+
var J = Object.assign, no = 0, Qo, or, rr, er, tr, ar, nr;
|
|
11616
11620
|
function cr() {
|
|
11617
11621
|
}
|
|
11618
11622
|
cr.__reactDisabledLog = !0;
|
|
@@ -11648,25 +11652,25 @@ function T0() {
|
|
|
11648
11652
|
writable: !0
|
|
11649
11653
|
};
|
|
11650
11654
|
Object.defineProperties(console, {
|
|
11651
|
-
log:
|
|
11655
|
+
log: J({}, c, {
|
|
11652
11656
|
value: Qo
|
|
11653
11657
|
}),
|
|
11654
|
-
info:
|
|
11658
|
+
info: J({}, c, {
|
|
11655
11659
|
value: or
|
|
11656
11660
|
}),
|
|
11657
|
-
warn:
|
|
11661
|
+
warn: J({}, c, {
|
|
11658
11662
|
value: rr
|
|
11659
11663
|
}),
|
|
11660
|
-
error:
|
|
11664
|
+
error: J({}, c, {
|
|
11661
11665
|
value: er
|
|
11662
11666
|
}),
|
|
11663
|
-
group:
|
|
11667
|
+
group: J({}, c, {
|
|
11664
11668
|
value: tr
|
|
11665
11669
|
}),
|
|
11666
|
-
groupCollapsed:
|
|
11670
|
+
groupCollapsed: J({}, c, {
|
|
11667
11671
|
value: ar
|
|
11668
11672
|
}),
|
|
11669
|
-
groupEnd:
|
|
11673
|
+
groupEnd: J({}, c, {
|
|
11670
11674
|
value: nr
|
|
11671
11675
|
})
|
|
11672
11676
|
});
|
|
@@ -11761,8 +11765,8 @@ function T0() {
|
|
|
11761
11765
|
} finally {
|
|
11762
11766
|
To = !1, Fo.current = S, le(), Error.prepareStackTrace = w;
|
|
11763
11767
|
}
|
|
11764
|
-
var
|
|
11765
|
-
return typeof c == "function" && ho.set(c,
|
|
11768
|
+
var eo = c ? c.displayName || c.name : "", Z = eo ? fo(eo) : "";
|
|
11769
|
+
return typeof c == "function" && ho.set(c, Z), Z;
|
|
11766
11770
|
}
|
|
11767
11771
|
function de(c, s, b) {
|
|
11768
11772
|
return ir(c, !1);
|
|
@@ -11950,7 +11954,7 @@ function T0() {
|
|
|
11950
11954
|
}
|
|
11951
11955
|
}
|
|
11952
11956
|
var Ho = _.ReactCurrentOwner, ur = _.ReactDebugCurrentFrame;
|
|
11953
|
-
function
|
|
11957
|
+
function ro(c) {
|
|
11954
11958
|
if (c) {
|
|
11955
11959
|
var s = c._owner, b = yo(c.type, c._source, s ? s.type : null);
|
|
11956
11960
|
ur.setExtraStackFrame(b);
|
|
@@ -12000,7 +12004,7 @@ Check the top-level render call using <` + b + ">.");
|
|
|
12000
12004
|
return;
|
|
12001
12005
|
xr[b] = !0;
|
|
12002
12006
|
var p = "";
|
|
12003
|
-
c && c._owner && c._owner !== Ho.current && (p = " It was passed a child from " + L(c._owner.type) + "."),
|
|
12007
|
+
c && c._owner && c._owner !== Ho.current && (p = " It was passed a child from " + L(c._owner.type) + "."), ro(c), W('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, p), ro(null);
|
|
12004
12008
|
}
|
|
12005
12009
|
}
|
|
12006
12010
|
function fr(c, s) {
|
|
@@ -12052,11 +12056,11 @@ Check the top-level render call using <` + b + ">.");
|
|
|
12052
12056
|
for (var s = Object.keys(c.props), b = 0; b < s.length; b++) {
|
|
12053
12057
|
var p = s[b];
|
|
12054
12058
|
if (p !== "children" && p !== "key") {
|
|
12055
|
-
|
|
12059
|
+
ro(c), W("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ro(null);
|
|
12056
12060
|
break;
|
|
12057
12061
|
}
|
|
12058
12062
|
}
|
|
12059
|
-
c.ref !== null && (
|
|
12063
|
+
c.ref !== null && (ro(c), W("Invalid attribute `ref` supplied to `React.Fragment`."), ro(null));
|
|
12060
12064
|
}
|
|
12061
12065
|
}
|
|
12062
12066
|
var hr = {};
|
|
@@ -12079,8 +12083,8 @@ Check the top-level render call using <` + b + ">.");
|
|
|
12079
12083
|
if (H !== void 0)
|
|
12080
12084
|
if (p)
|
|
12081
12085
|
if (Mo(H)) {
|
|
12082
|
-
for (var
|
|
12083
|
-
fr(H[
|
|
12086
|
+
for (var eo = 0; eo < H.length; eo++)
|
|
12087
|
+
fr(H[eo], c);
|
|
12084
12088
|
Object.freeze && Object.freeze(H);
|
|
12085
12089
|
} else
|
|
12086
12090
|
W("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -12088,17 +12092,17 @@ Check the top-level render call using <` + b + ">.");
|
|
|
12088
12092
|
fr(H, c);
|
|
12089
12093
|
}
|
|
12090
12094
|
if (co.call(s, "key")) {
|
|
12091
|
-
var
|
|
12095
|
+
var Z = L(c), I = Object.keys(s).filter(function(Te) {
|
|
12092
12096
|
return Te !== "key";
|
|
12093
12097
|
}), Lo = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
12094
|
-
if (!hr[
|
|
12098
|
+
if (!hr[Z + Lo]) {
|
|
12095
12099
|
var Ie = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
|
|
12096
12100
|
W(`A props object containing a "key" prop is being spread into JSX:
|
|
12097
12101
|
let props = %s;
|
|
12098
12102
|
<%s {...props} />
|
|
12099
12103
|
React keys must be passed directly to JSX without using spread:
|
|
12100
12104
|
let props = %s;
|
|
12101
|
-
<%s key={someKey} {...props} />`, Lo,
|
|
12105
|
+
<%s key={someKey} {...props} />`, Lo, Z, Ie, Z), hr[Z + Lo] = !0;
|
|
12102
12106
|
}
|
|
12103
12107
|
}
|
|
12104
12108
|
return c === d ? ze(z) : Re(z), z;
|
|
@@ -12193,9 +12197,9 @@ export {
|
|
|
12193
12197
|
Fa as themeLight,
|
|
12194
12198
|
D0 as themeLight2,
|
|
12195
12199
|
F0 as useStorage,
|
|
12196
|
-
|
|
12200
|
+
to as useTheme,
|
|
12197
12201
|
B0 as useThemeSelector,
|
|
12198
12202
|
G0 as useThemeSwitchContext,
|
|
12199
12203
|
L0 as withContrast,
|
|
12200
|
-
|
|
12204
|
+
K as withOpacity
|
|
12201
12205
|
};
|