mainstack-design-system 0.7.21 → 0.7.23
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.
|
@@ -6430,6 +6430,58 @@ const o2 = ({
|
|
|
6430
6430
|
}
|
|
6431
6431
|
) })
|
|
6432
6432
|
}
|
|
6433
|
+
), F9 = (e) => /* @__PURE__ */ t(
|
|
6434
|
+
O,
|
|
6435
|
+
{
|
|
6436
|
+
...e,
|
|
6437
|
+
viewBox: "0 0 24 24",
|
|
6438
|
+
fill: "none",
|
|
6439
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6440
|
+
style: { maskType: "alpha" },
|
|
6441
|
+
children: /* @__PURE__ */ t(
|
|
6442
|
+
"svg",
|
|
6443
|
+
{
|
|
6444
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6445
|
+
width: "24",
|
|
6446
|
+
height: "24",
|
|
6447
|
+
viewBox: "0 0 24 24",
|
|
6448
|
+
fill: "none",
|
|
6449
|
+
children: /* @__PURE__ */ t("g", { mask: "url(#mask0_1118_8818)", children: /* @__PURE__ */ t(
|
|
6450
|
+
"path",
|
|
6451
|
+
{
|
|
6452
|
+
d: "M9.05 16.95C8.93333 16.85 8.875 16.7333 8.875 16.6C8.875 16.4667 8.93333 16.35 9.05 16.25L13.3 12L9.05 7.75C8.93333 7.65 8.875 7.53333 8.875 7.4C8.875 7.26667 8.93333 7.15 9.05 7.05C9.15 6.93333 9.26667 6.875 9.4 6.875C9.53333 6.875 9.65 6.93333 9.75 7.05L14.15 11.425C14.2333 11.525 14.2917 11.6207 14.325 11.712C14.3583 11.804 14.375 11.9 14.375 12C14.375 12.1 14.3583 12.1957 14.325 12.287C14.2917 12.379 14.2333 12.475 14.15 12.575L9.75 16.95C9.65 17.0667 9.53333 17.125 9.4 17.125C9.26667 17.125 9.15 17.0667 9.05 16.95Z",
|
|
6453
|
+
fill: "currentColor"
|
|
6454
|
+
}
|
|
6455
|
+
) })
|
|
6456
|
+
}
|
|
6457
|
+
)
|
|
6458
|
+
}
|
|
6459
|
+
), N9 = (e) => /* @__PURE__ */ t(
|
|
6460
|
+
O,
|
|
6461
|
+
{
|
|
6462
|
+
...e,
|
|
6463
|
+
viewBox: "0 0 24 24",
|
|
6464
|
+
fill: "none",
|
|
6465
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6466
|
+
style: { maskType: "alpha" },
|
|
6467
|
+
children: /* @__PURE__ */ t(
|
|
6468
|
+
"svg",
|
|
6469
|
+
{
|
|
6470
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6471
|
+
width: "24",
|
|
6472
|
+
height: "24",
|
|
6473
|
+
viewBox: "0 0 24 24",
|
|
6474
|
+
fill: "none",
|
|
6475
|
+
children: /* @__PURE__ */ t("g", { mask: "url(#mask0_1118_8821)", children: /* @__PURE__ */ t(
|
|
6476
|
+
"path",
|
|
6477
|
+
{
|
|
6478
|
+
d: "M13.65 16.95L9.25002 12.575C9.16669 12.475 9.10836 12.379 9.07502 12.287C9.04169 12.1957 9.02502 12.1 9.02502 12C9.02502 11.9 9.04169 11.804 9.07502 11.712C9.10836 11.6207 9.16669 11.525 9.25002 11.425L13.65 7.05C13.75 6.93333 13.8667 6.875 14 6.875C14.1334 6.875 14.25 6.93333 14.35 7.05C14.4667 7.15 14.525 7.26667 14.525 7.4C14.525 7.53333 14.4667 7.65 14.35 7.75L10.1 12L14.35 16.25C14.4667 16.35 14.525 16.4667 14.525 16.6C14.525 16.7333 14.4667 16.85 14.35 16.95C14.25 17.0667 14.1334 17.125 14 17.125C13.8667 17.125 13.75 17.0667 13.65 16.95Z",
|
|
6479
|
+
fill: "currentColor"
|
|
6480
|
+
}
|
|
6481
|
+
) })
|
|
6482
|
+
}
|
|
6483
|
+
)
|
|
6484
|
+
}
|
|
6433
6485
|
);
|
|
6434
6486
|
const A2 = {
|
|
6435
6487
|
"3xl": {
|
|
@@ -6642,7 +6694,7 @@ const A2 = {
|
|
|
6642
6694
|
lineHeight: "16px",
|
|
6643
6695
|
letterSpacing: "-0.4px"
|
|
6644
6696
|
}
|
|
6645
|
-
},
|
|
6697
|
+
}, P9 = ({ size: e, name: o, ...i }) => {
|
|
6646
6698
|
const r = () => o ? `${o.split(" ")[0][0]}${o.split(" ")[1] ? o.split(" ")[1][0] : ""}` : "User";
|
|
6647
6699
|
return /* @__PURE__ */ t(ee, { bg: T.monochromeBlack, size: a5[e].size, ...i, children: /* @__PURE__ */ t(
|
|
6648
6700
|
B1,
|
|
@@ -6692,7 +6744,7 @@ const A2 = {
|
|
|
6692
6744
|
) : /* @__PURE__ */ t(X1, {})
|
|
6693
6745
|
}
|
|
6694
6746
|
) : e.type === "initials" ? /* @__PURE__ */ t(
|
|
6695
|
-
|
|
6747
|
+
P9,
|
|
6696
6748
|
{
|
|
6697
6749
|
...e,
|
|
6698
6750
|
size: e.size,
|
|
@@ -6970,59 +7022,7 @@ const A2 = {
|
|
|
6970
7022
|
}
|
|
6971
7023
|
),
|
|
6972
7024
|
/* @__PURE__ */ t(N7, { children: e.map((d, p) => /* @__PURE__ */ t(P7, { padding: "0", children: d.element }, p)) })
|
|
6973
|
-
] }),
|
|
6974
|
-
O,
|
|
6975
|
-
{
|
|
6976
|
-
...e,
|
|
6977
|
-
viewBox: "0 0 24 24",
|
|
6978
|
-
fill: "none",
|
|
6979
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6980
|
-
style: { maskType: "alpha" },
|
|
6981
|
-
children: /* @__PURE__ */ t(
|
|
6982
|
-
"svg",
|
|
6983
|
-
{
|
|
6984
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6985
|
-
width: "24",
|
|
6986
|
-
height: "24",
|
|
6987
|
-
viewBox: "0 0 24 24",
|
|
6988
|
-
fill: "none",
|
|
6989
|
-
children: /* @__PURE__ */ t("g", { mask: "url(#mask0_1118_8821)", children: /* @__PURE__ */ t(
|
|
6990
|
-
"path",
|
|
6991
|
-
{
|
|
6992
|
-
d: "M13.65 16.95L9.25002 12.575C9.16669 12.475 9.10836 12.379 9.07502 12.287C9.04169 12.1957 9.02502 12.1 9.02502 12C9.02502 11.9 9.04169 11.804 9.07502 11.712C9.10836 11.6207 9.16669 11.525 9.25002 11.425L13.65 7.05C13.75 6.93333 13.8667 6.875 14 6.875C14.1334 6.875 14.25 6.93333 14.35 7.05C14.4667 7.15 14.525 7.26667 14.525 7.4C14.525 7.53333 14.4667 7.65 14.35 7.75L10.1 12L14.35 16.25C14.4667 16.35 14.525 16.4667 14.525 16.6C14.525 16.7333 14.4667 16.85 14.35 16.95C14.25 17.0667 14.1334 17.125 14 17.125C13.8667 17.125 13.75 17.0667 13.65 16.95Z",
|
|
6993
|
-
fill: "currentColor"
|
|
6994
|
-
}
|
|
6995
|
-
) })
|
|
6996
|
-
}
|
|
6997
|
-
)
|
|
6998
|
-
}
|
|
6999
|
-
), P9 = (e) => /* @__PURE__ */ t(
|
|
7000
|
-
O,
|
|
7001
|
-
{
|
|
7002
|
-
...e,
|
|
7003
|
-
viewBox: "0 0 24 24",
|
|
7004
|
-
fill: "none",
|
|
7005
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7006
|
-
style: { maskType: "alpha" },
|
|
7007
|
-
children: /* @__PURE__ */ t(
|
|
7008
|
-
"svg",
|
|
7009
|
-
{
|
|
7010
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7011
|
-
width: "24",
|
|
7012
|
-
height: "24",
|
|
7013
|
-
viewBox: "0 0 24 24",
|
|
7014
|
-
fill: "none",
|
|
7015
|
-
children: /* @__PURE__ */ t("g", { mask: "url(#mask0_1118_8818)", children: /* @__PURE__ */ t(
|
|
7016
|
-
"path",
|
|
7017
|
-
{
|
|
7018
|
-
d: "M9.05 16.95C8.93333 16.85 8.875 16.7333 8.875 16.6C8.875 16.4667 8.93333 16.35 9.05 16.25L13.3 12L9.05 7.75C8.93333 7.65 8.875 7.53333 8.875 7.4C8.875 7.26667 8.93333 7.15 9.05 7.05C9.15 6.93333 9.26667 6.875 9.4 6.875C9.53333 6.875 9.65 6.93333 9.75 7.05L14.15 11.425C14.2333 11.525 14.2917 11.6207 14.325 11.712C14.3583 11.804 14.375 11.9 14.375 12C14.375 12.1 14.3583 12.1957 14.325 12.287C14.2917 12.379 14.2333 12.475 14.15 12.575L9.75 16.95C9.65 17.0667 9.53333 17.125 9.4 17.125C9.26667 17.125 9.15 17.0667 9.05 16.95Z",
|
|
7019
|
-
fill: "currentColor"
|
|
7020
|
-
}
|
|
7021
|
-
) })
|
|
7022
|
-
}
|
|
7023
|
-
)
|
|
7024
|
-
}
|
|
7025
|
-
), zf = ({
|
|
7025
|
+
] }), zf = ({
|
|
7026
7026
|
limit: e,
|
|
7027
7027
|
setLimit: o,
|
|
7028
7028
|
page: i,
|
|
@@ -7135,7 +7135,7 @@ const A2 = {
|
|
|
7135
7135
|
variant: "tertiary",
|
|
7136
7136
|
onClick: () => r(i + 1),
|
|
7137
7137
|
isDisabled: i === b,
|
|
7138
|
-
children: /* @__PURE__ */ t(
|
|
7138
|
+
children: /* @__PURE__ */ t(F9, { color: T.black300, fontSize: "24px" })
|
|
7139
7139
|
}
|
|
7140
7140
|
) })
|
|
7141
7141
|
]
|
|
@@ -7785,7 +7785,7 @@ function z9(e, o) {
|
|
|
7785
7785
|
var i = {};
|
|
7786
7786
|
for (var r in e)
|
|
7787
7787
|
if ({}.hasOwnProperty.call(e, r)) {
|
|
7788
|
-
if (o.
|
|
7788
|
+
if (o.indexOf(r) !== -1)
|
|
7789
7789
|
continue;
|
|
7790
7790
|
i[r] = e[r];
|
|
7791
7791
|
}
|
|
@@ -7798,7 +7798,7 @@ function c5(e, o) {
|
|
|
7798
7798
|
if (Object.getOwnPropertySymbols) {
|
|
7799
7799
|
var d = Object.getOwnPropertySymbols(e);
|
|
7800
7800
|
for (r = 0; r < d.length; r++)
|
|
7801
|
-
i = d[r], o.
|
|
7801
|
+
i = d[r], o.indexOf(i) === -1 && {}.propertyIsEnumerable.call(e, i) && (n[i] = e[i]);
|
|
7802
7802
|
}
|
|
7803
7803
|
return n;
|
|
7804
7804
|
}
|
|
@@ -24435,8 +24435,8 @@ const Ol = ({
|
|
|
24435
24435
|
bgColor: T.gray50,
|
|
24436
24436
|
textColor: T.gray400
|
|
24437
24437
|
}
|
|
24438
|
-
}, hh = ({ status: e, icon: o, label: i, allCaps: r }) => {
|
|
24439
|
-
var
|
|
24438
|
+
}, hh = ({ status: e, icon: o, label: i, allCaps: r, fontFamily: n }) => {
|
|
24439
|
+
var d, p, b;
|
|
24440
24440
|
return /* @__PURE__ */ r1(
|
|
24441
24441
|
y1,
|
|
24442
24442
|
{
|
|
@@ -24448,10 +24448,11 @@ const Ol = ({
|
|
|
24448
24448
|
px: "10px",
|
|
24449
24449
|
width: "fit-content",
|
|
24450
24450
|
rounded: "100px",
|
|
24451
|
-
bg: (
|
|
24452
|
-
color: (
|
|
24451
|
+
bg: (d = S3[e]) == null ? void 0 : d.bgColor,
|
|
24452
|
+
color: (p = S3[e]) == null ? void 0 : p.textColor,
|
|
24453
24453
|
textTransform: r ? "uppercase" : "none",
|
|
24454
24454
|
alignItems: "center",
|
|
24455
|
+
fontFamily: n ?? "Degular",
|
|
24455
24456
|
children: [
|
|
24456
24457
|
/* @__PURE__ */ t(x5.span, { children: i ?? e }),
|
|
24457
24458
|
o && /* @__PURE__ */ t(
|
|
@@ -24462,7 +24463,7 @@ const Ol = ({
|
|
|
24462
24463
|
display: "flex",
|
|
24463
24464
|
justifyContent: "center",
|
|
24464
24465
|
alignItems: "center",
|
|
24465
|
-
color: (
|
|
24466
|
+
color: (b = S3[e]) == null ? void 0 : b.textColor,
|
|
24466
24467
|
children: o
|
|
24467
24468
|
}
|
|
24468
24469
|
)
|
|
@@ -25025,6 +25026,8 @@ export {
|
|
|
25025
25026
|
s2 as CheckCircleFilledIcon,
|
|
25026
25027
|
gu as CheckCircleIcon,
|
|
25027
25028
|
ue as CheckIcon,
|
|
25029
|
+
N9 as ChevronLeftIcon,
|
|
25030
|
+
F9 as ChevronRightIcon,
|
|
25028
25031
|
jf as Chip,
|
|
25029
25032
|
ih as ClickTooltip,
|
|
25030
25033
|
O2 as CloseIcon,
|
|
@@ -5,6 +5,7 @@ export interface ITag {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
icon?: ReactNode;
|
|
7
7
|
allCaps?: boolean;
|
|
8
|
+
fontFamily?: string;
|
|
8
9
|
}
|
|
9
|
-
declare const Tag: ({ status, icon, label, allCaps }: ITag) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Tag: ({ status, icon, label, allCaps, fontFamily }: ITag) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default Tag;
|
|
@@ -330,3 +330,5 @@ export { default as ApartmentIcon } from '../ApartmentIcon';
|
|
|
330
330
|
export { default as HourGlassTopIcon } from '../HourGlassTopIcon';
|
|
331
331
|
export { default as PercentIcon } from '../PercentIcon';
|
|
332
332
|
export { default as CurrencyExchangeIcon } from '../CurrencyExchangeIcon';
|
|
333
|
+
export { default as ChevronRightIcon } from '../ChevronRightIcon';
|
|
334
|
+
export { default as ChevronLeftIcon } from '../ChevronLeftIcon';
|