@livechat/design-system-react-components 1.12.0 → 1.13.0
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/PromoBannerV2/PromoBannerV2.d.ts +12 -0
- package/dist/components/PromoBannerV2/PromoBannerV2.stories.d.ts +31 -3
- package/dist/dsrc.cjs.js +1 -1
- package/dist/dsrc.es.js +213 -184
- package/dist/foundations/transition-token.d.ts +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/preview-stats.json +650 -650
- package/dist/stories/components/Transition/TransitionTable.d.ts +10 -0
- package/dist/stories/components/Transition/transitionDelay.d.ts +6 -0
- package/dist/stories/components/Transition/transitionDuration.d.ts +5 -0
- package/dist/stories/components/Transition/transitionTiming.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/dsrc.es.js
CHANGED
|
@@ -356,7 +356,11 @@ const Rc = {
|
|
|
356
356
|
}, zc = {
|
|
357
357
|
EaseIn: "--transition-timing-ease-in",
|
|
358
358
|
EaseOut: "--transition-timing-ease-out"
|
|
359
|
-
}, Gc =
|
|
359
|
+
}, Gc = {
|
|
360
|
+
Instant: "--delay-instant",
|
|
361
|
+
Moderate: "--delay-moderate",
|
|
362
|
+
Slow: "--delay-slow"
|
|
363
|
+
}, Uc = (t, a) => `color-mix(in srgb, var(${t}) ${a}, transparent)`, G = {
|
|
360
364
|
esc: "Escape",
|
|
361
365
|
enter: "Enter",
|
|
362
366
|
backspace: "Backspace",
|
|
@@ -445,7 +449,7 @@ const Rc = {
|
|
|
445
449
|
_ && wa[`${Ca}--${o ? "disabled--" : ""}${_}`]
|
|
446
450
|
);
|
|
447
451
|
return /* @__PURE__ */ e.createElement("span", D(y({}, n), { className: i }), s);
|
|
448
|
-
},
|
|
452
|
+
}, Ge = {
|
|
449
453
|
"action-menu": "lc-ActionMenu-module__action-menu___K2UwW",
|
|
450
454
|
"action-menu__trigger-button": "lc-ActionMenu-module__action-menu__trigger-button___tBrz5",
|
|
451
455
|
"action-menu__list": "lc-ActionMenu-module__action-menu__list___9pNUX",
|
|
@@ -455,7 +459,7 @@ const Rc = {
|
|
|
455
459
|
"action-menu__list__item--disabled": "lc-ActionMenu-module__action-menu__list__item--disabled___MgaX8",
|
|
456
460
|
"action-menu__list__item--selected": "lc-ActionMenu-module__action-menu__list__item--selected___eevlJ",
|
|
457
461
|
"action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo"
|
|
458
|
-
},
|
|
462
|
+
}, Ue = "action-menu", Yr = (f) => {
|
|
459
463
|
var g = f, {
|
|
460
464
|
className: t,
|
|
461
465
|
triggerClassName: a,
|
|
@@ -496,11 +500,11 @@ const Rc = {
|
|
|
496
500
|
whileElementsMounted: da
|
|
497
501
|
}), re = ua(W), Ae = ma(W, {
|
|
498
502
|
enabled: T
|
|
499
|
-
}), Ie = pa(W), { getReferenceProps: xe, getFloatingProps:
|
|
503
|
+
}), Ie = pa(W), { getReferenceProps: xe, getFloatingProps: ze } = ga([
|
|
500
504
|
re,
|
|
501
505
|
Ae,
|
|
502
506
|
Ie
|
|
503
|
-
]), { styles:
|
|
507
|
+
]), { styles: Ye } = qa(W, {
|
|
504
508
|
initial: ({ side: A }) => y({
|
|
505
509
|
opacity: 0
|
|
506
510
|
}, A === "bottom" && {
|
|
@@ -512,20 +516,20 @@ const Rc = {
|
|
|
512
516
|
} || A === "right" && {
|
|
513
517
|
marginLeft: -10
|
|
514
518
|
})
|
|
515
|
-
}),
|
|
516
|
-
var _e,
|
|
519
|
+
}), qe = (A) => {
|
|
520
|
+
var _e, Ke;
|
|
517
521
|
const J = $.current;
|
|
518
522
|
let X = J + A;
|
|
519
|
-
for (; (_e = r[X]) != null && _e.disabled || (
|
|
523
|
+
for (; (_e = r[X]) != null && _e.disabled || (Ke = r[X]) != null && Ke.groupHeader; )
|
|
520
524
|
if (X += A, X === -1) {
|
|
521
525
|
X = J;
|
|
522
526
|
break;
|
|
523
527
|
}
|
|
524
528
|
return X;
|
|
525
529
|
}, R = (A) => {
|
|
526
|
-
var _e,
|
|
527
|
-
$.current =
|
|
528
|
-
const J = (_e = w.current) == null ? void 0 : _e.children, X = J && ((
|
|
530
|
+
var _e, Ke;
|
|
531
|
+
$.current = qe(A);
|
|
532
|
+
const J = (_e = w.current) == null ? void 0 : _e.children, X = J && ((Ke = J[$.current]) == null ? void 0 : Ke.children[0]);
|
|
529
533
|
return X == null ? void 0 : X.focus();
|
|
530
534
|
}, z = (A) => {
|
|
531
535
|
A.key === G.arrowUp && $.current > 0 && (A.preventDefault(), R(-1)), A.key === G.arrowDown && $.current + 1 < r.length && (A.preventDefault(), R(1));
|
|
@@ -542,7 +546,7 @@ const Rc = {
|
|
|
542
546
|
{
|
|
543
547
|
key: A.key,
|
|
544
548
|
role: "none",
|
|
545
|
-
className:
|
|
549
|
+
className: Ge[`${Ue}__list__group-header`]
|
|
546
550
|
},
|
|
547
551
|
A.element
|
|
548
552
|
) : /* @__PURE__ */ e.createElement("li", { key: A.key, role: "none" }, /* @__PURE__ */ e.createElement(
|
|
@@ -554,14 +558,14 @@ const Rc = {
|
|
|
554
558
|
disabled: A.disabled,
|
|
555
559
|
onClick: () => K(J, A.onClick),
|
|
556
560
|
role: "menuitem",
|
|
557
|
-
className: m(
|
|
558
|
-
[
|
|
559
|
-
[
|
|
560
|
-
[
|
|
561
|
+
className: m(Ge[`${Ue}__list__item`], {
|
|
562
|
+
[Ge[`${Ue}__list__item--disabled`]]: A.disabled,
|
|
563
|
+
[Ge[`${Ue}__list__item--with-divider`]]: A.withDivider,
|
|
564
|
+
[Ge[`${Ue}__list__item--selected`]]: u == null ? void 0 : u.includes(A.key)
|
|
561
565
|
})
|
|
562
566
|
},
|
|
563
567
|
A.element,
|
|
564
|
-
(u == null ? void 0 : u.includes(A.key)) && /* @__PURE__ */ e.createElement("div", { className:
|
|
568
|
+
(u == null ? void 0 : u.includes(A.key)) && /* @__PURE__ */ e.createElement("div", { className: Ge[`${Ue}__list__item__icon`] }, /* @__PURE__ */ e.createElement(x, { source: Gt, kind: "action-primary" }))
|
|
565
569
|
));
|
|
566
570
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
567
571
|
"div",
|
|
@@ -576,17 +580,17 @@ const Rc = {
|
|
|
576
580
|
"div",
|
|
577
581
|
y({
|
|
578
582
|
ref: F.setFloating,
|
|
579
|
-
className:
|
|
583
|
+
className: Ge[Ue],
|
|
580
584
|
style: y({
|
|
581
585
|
position: ue,
|
|
582
586
|
top: N != null ? N : "",
|
|
583
587
|
left: B != null ? B : ""
|
|
584
|
-
},
|
|
585
|
-
},
|
|
588
|
+
}, Ye)
|
|
589
|
+
}, ze()),
|
|
586
590
|
/* @__PURE__ */ e.createElement(
|
|
587
591
|
"ul",
|
|
588
592
|
D(y({}, h), {
|
|
589
|
-
className: m(
|
|
593
|
+
className: m(Ge[`${Ue}__list`], t),
|
|
590
594
|
role: "menu",
|
|
591
595
|
ref: w
|
|
592
596
|
}),
|
|
@@ -670,7 +674,7 @@ const Rc = {
|
|
|
670
674
|
}, s),
|
|
671
675
|
l
|
|
672
676
|
);
|
|
673
|
-
},
|
|
677
|
+
}, Wc = (c) => {
|
|
674
678
|
var l = c, {
|
|
675
679
|
as: t = "div",
|
|
676
680
|
size: a = "md",
|
|
@@ -923,27 +927,27 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
|
|
|
923
927
|
closeOnTriggerBlur: W = !1,
|
|
924
928
|
floatingStrategy: re
|
|
925
929
|
}) => {
|
|
926
|
-
const Ae = n !== void 0, [Ie, xe] = e.useState(!1),
|
|
930
|
+
const Ae = n !== void 0, [Ie, xe] = e.useState(!1), ze = e.useRef(null), Ye = Ae ? n : Ie, qe = c || o, R = m(
|
|
927
931
|
C[xt],
|
|
928
932
|
a,
|
|
929
|
-
|
|
933
|
+
qe && C[`${xt}--${qe}`],
|
|
930
934
|
s && C[`${xt}--full-space`]
|
|
931
935
|
), z = typeof _ == "function", K = (ve) => {
|
|
932
|
-
ve !==
|
|
936
|
+
ve !== Ye && (ve ? d == null || d() : i == null || i(), !Ae && xe(ve));
|
|
933
937
|
}, me = (ve) => p ? ve != null ? ve : u : 0, A = (ve) => ve != null ? ve : g, {
|
|
934
938
|
floatingStyles: J,
|
|
935
939
|
refs: X,
|
|
936
940
|
context: _e,
|
|
937
|
-
middlewareData: { arrow: { x:
|
|
941
|
+
middlewareData: { arrow: { x: Ke, y: sr } = {} }
|
|
938
942
|
} = na({
|
|
939
943
|
middleware: [
|
|
940
944
|
sa({ mainAxis: $ }),
|
|
941
945
|
Ka(),
|
|
942
946
|
ia(),
|
|
943
|
-
Pr({ element:
|
|
947
|
+
Pr({ element: ze })
|
|
944
948
|
],
|
|
945
949
|
placement: l,
|
|
946
|
-
open:
|
|
950
|
+
open: Ye,
|
|
947
951
|
strategy: re,
|
|
948
952
|
onOpenChange: K,
|
|
949
953
|
whileElementsMounted: da
|
|
@@ -992,13 +996,13 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
|
|
|
992
996
|
Or,
|
|
993
997
|
{
|
|
994
998
|
className: C[`${xt}__arrow`],
|
|
995
|
-
ref:
|
|
999
|
+
ref: ze,
|
|
996
1000
|
context: _e,
|
|
997
|
-
style: __(ue, F, sr,
|
|
1001
|
+
style: __(ue, F, sr, Ke)
|
|
998
1002
|
}
|
|
999
1003
|
)
|
|
1000
1004
|
));
|
|
1001
|
-
},
|
|
1005
|
+
}, Vc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), mt = "tooltip", Yc = ({ className: t, header: a, text: r, closeWithX: _, theme: o, handleCloseAction: c }) => /* @__PURE__ */ e.createElement("div", { className: t }, _ && /* @__PURE__ */ e.createElement(
|
|
1002
1006
|
"button",
|
|
1003
1007
|
{
|
|
1004
1008
|
className: C[`${mt}-close`],
|
|
@@ -1023,7 +1027,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
|
|
|
1023
1027
|
)
|
|
1024
1028
|
},
|
|
1025
1029
|
r
|
|
1026
|
-
)), Se = "tooltip",
|
|
1030
|
+
)), Se = "tooltip", qc = ({
|
|
1027
1031
|
header: t,
|
|
1028
1032
|
text: a,
|
|
1029
1033
|
image: r,
|
|
@@ -1192,7 +1196,7 @@ class s_ {
|
|
|
1192
1196
|
return this.getBoundingClientRect().height;
|
|
1193
1197
|
}
|
|
1194
1198
|
}
|
|
1195
|
-
const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a),
|
|
1199
|
+
const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Kc = (t) => {
|
|
1196
1200
|
const {
|
|
1197
1201
|
className: a,
|
|
1198
1202
|
parentElementName: r,
|
|
@@ -1249,7 +1253,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), qc = (t) => {
|
|
|
1249
1253
|
}),
|
|
1250
1254
|
t.children
|
|
1251
1255
|
)) : null;
|
|
1252
|
-
}, pt = "reports-tooltip",
|
|
1256
|
+
}, pt = "reports-tooltip", Jc = ({
|
|
1253
1257
|
title: t,
|
|
1254
1258
|
description: a,
|
|
1255
1259
|
children: r
|
|
@@ -1326,7 +1330,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), qc = (t) => {
|
|
|
1326
1330
|
icon: t.element
|
|
1327
1331
|
}
|
|
1328
1332
|
);
|
|
1329
|
-
}, Xe = "action-bar",
|
|
1333
|
+
}, Xe = "action-bar", jc = ({
|
|
1330
1334
|
className: t,
|
|
1331
1335
|
id: a = "action-bar-area",
|
|
1332
1336
|
type: r = "menu",
|
|
@@ -1458,7 +1462,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), qc = (t) => {
|
|
|
1458
1462
|
source: Ya,
|
|
1459
1463
|
kind: "error"
|
|
1460
1464
|
}
|
|
1461
|
-
}, ke = "alert",
|
|
1465
|
+
}, ke = "alert", Qc = (n) => {
|
|
1462
1466
|
var s = n, {
|
|
1463
1467
|
children: t,
|
|
1464
1468
|
className: a,
|
|
@@ -1704,7 +1708,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1704
1708
|
"btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
|
|
1705
1709
|
"btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
|
|
1706
1710
|
"btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
|
|
1707
|
-
}, I_ = "segmented-control",
|
|
1711
|
+
}, I_ = "segmented-control", Zc = ({
|
|
1708
1712
|
size: t = "medium",
|
|
1709
1713
|
buttons: a,
|
|
1710
1714
|
className: r,
|
|
@@ -1754,7 +1758,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1754
1758
|
card__actions__line: G_,
|
|
1755
1759
|
card__actions__buttons: U_,
|
|
1756
1760
|
"card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
|
|
1757
|
-
}, Et = "card", zt = `${Et}__header`, qt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`,
|
|
1761
|
+
}, Et = "card", zt = `${Et}__header`, qt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`, Xc = (i) => {
|
|
1758
1762
|
var d = i, {
|
|
1759
1763
|
alt: t,
|
|
1760
1764
|
buttonsOptions: a = [],
|
|
@@ -1815,7 +1819,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1815
1819
|
]);
|
|
1816
1820
|
const c = m(V_[Y_], a);
|
|
1817
1821
|
return /* @__PURE__ */ e.createElement(M, D(y({ as: "span", size: "sm" }, r), { className: c }), t);
|
|
1818
|
-
}, q_ = "lc-Checkbox-module__checkbox___G7nTf", K_ = "lc-Checkbox-module__checkbox__label___-o01x", J_ = "lc-Checkbox-module__checkbox__text___P2SIq", j_ = "lc-Checkbox-module__checkbox__input___YLbVF", Q_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", Z_ = "lc-Checkbox-module__checkbox__square___MHUyd", X_ = "lc-Checkbox-module__checkbox__helper___YSJ-n",
|
|
1822
|
+
}, q_ = "lc-Checkbox-module__checkbox___G7nTf", K_ = "lc-Checkbox-module__checkbox__label___-o01x", J_ = "lc-Checkbox-module__checkbox__text___P2SIq", j_ = "lc-Checkbox-module__checkbox__input___YLbVF", Q_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", Z_ = "lc-Checkbox-module__checkbox__square___MHUyd", X_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Je = {
|
|
1819
1823
|
checkbox: q_,
|
|
1820
1824
|
checkbox__label: K_,
|
|
1821
1825
|
checkbox__text: J_,
|
|
@@ -1825,28 +1829,28 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1825
1829
|
checkbox__square: Z_,
|
|
1826
1830
|
"checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
|
|
1827
1831
|
checkbox__helper: X_
|
|
1828
|
-
},
|
|
1832
|
+
}, je = "checkbox", el = e.forwardRef(
|
|
1829
1833
|
(n, l) => {
|
|
1830
1834
|
var s = n, { checked: t, disabled: a, children: r, description: _, className: o } = s, c = I(s, ["checked", "disabled", "children", "description", "className"]);
|
|
1831
1835
|
return /* @__PURE__ */ e.createElement(
|
|
1832
1836
|
"div",
|
|
1833
1837
|
{
|
|
1834
|
-
className: m(
|
|
1835
|
-
[
|
|
1836
|
-
[
|
|
1838
|
+
className: m(Je[je], o, {
|
|
1839
|
+
[Je[`${je}--selected`]]: t,
|
|
1840
|
+
[Je[`${je}--disabled`]]: a
|
|
1837
1841
|
})
|
|
1838
1842
|
},
|
|
1839
|
-
/* @__PURE__ */ e.createElement("label", { className:
|
|
1843
|
+
/* @__PURE__ */ e.createElement("label", { className: Je[`${je}__label`] }, /* @__PURE__ */ e.createElement(
|
|
1840
1844
|
"input",
|
|
1841
1845
|
D(y({}, c), {
|
|
1842
1846
|
ref: l,
|
|
1843
1847
|
checked: t,
|
|
1844
1848
|
disabled: a,
|
|
1845
|
-
className:
|
|
1849
|
+
className: Je[`${je}__input`],
|
|
1846
1850
|
type: "checkbox"
|
|
1847
1851
|
})
|
|
1848
|
-
), r && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className:
|
|
1849
|
-
_ && /* @__PURE__ */ e.createElement(Wt, { className:
|
|
1852
|
+
), r && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: Je[`${je}__text`] }, r)),
|
|
1853
|
+
_ && /* @__PURE__ */ e.createElement(Wt, { className: Je[`${je}__helper`] }, _)
|
|
1850
1854
|
);
|
|
1851
1855
|
}
|
|
1852
1856
|
), S = {
|
|
@@ -2325,7 +2329,7 @@ no.defaultProps = {
|
|
|
2325
2329
|
}
|
|
2326
2330
|
]
|
|
2327
2331
|
};
|
|
2328
|
-
const
|
|
2332
|
+
const tl = (t) => {
|
|
2329
2333
|
const c = t, { className: a, children: r } = c, _ = I(c, ["className", "children"]), o = m(
|
|
2330
2334
|
a,
|
|
2331
2335
|
S["date-picker--range__calendars-wrapper"]
|
|
@@ -2354,7 +2358,7 @@ const el = (t) => {
|
|
|
2354
2358
|
"details-card__content": "lc-DetailsCard-module__details-card__content___RNVd2",
|
|
2355
2359
|
"details-card__content--spacing": "lc-DetailsCard-module__details-card__content--spacing___QecUa",
|
|
2356
2360
|
"details-card__content--full-space": "lc-DetailsCard-module__details-card__content--full-space___2ms8I"
|
|
2357
|
-
}, O = "details-card",
|
|
2361
|
+
}, O = "details-card", al = ({
|
|
2358
2362
|
children: t,
|
|
2359
2363
|
className: a,
|
|
2360
2364
|
leftNode: r,
|
|
@@ -2467,7 +2471,7 @@ const el = (t) => {
|
|
|
2467
2471
|
"details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
|
|
2468
2472
|
"details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
|
|
2469
2473
|
"details-card-info__content": "lc-DetailsCardInfo-module__details-card-info__content___TFEXS"
|
|
2470
|
-
}, Jt = "details-card-info",
|
|
2474
|
+
}, Jt = "details-card-info", rl = ({
|
|
2471
2475
|
children: t,
|
|
2472
2476
|
label: a
|
|
2473
2477
|
}) => /* @__PURE__ */ e.createElement("div", { className: Kt[Jt] }, /* @__PURE__ */ e.createElement("div", { className: Kt[`${Jt}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: Kt[`${Jt}__content`] }, t)), Pa = {
|
|
@@ -2494,7 +2498,7 @@ const el = (t) => {
|
|
|
2494
2498
|
"field-group": "lc-FieldGroup-module__field-group___gy8lp",
|
|
2495
2499
|
"field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
|
|
2496
2500
|
"field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
|
|
2497
|
-
}, Qt = "field-group",
|
|
2501
|
+
}, Qt = "field-group", _l = (n) => {
|
|
2498
2502
|
var s = n, {
|
|
2499
2503
|
className: t = "",
|
|
2500
2504
|
children: a,
|
|
@@ -2521,7 +2525,7 @@ const el = (t) => {
|
|
|
2521
2525
|
form__footer: uo,
|
|
2522
2526
|
form__label: mo,
|
|
2523
2527
|
form__helper: po
|
|
2524
|
-
}, bt = "form",
|
|
2528
|
+
}, bt = "form", ol = (l) => {
|
|
2525
2529
|
var n = l, {
|
|
2526
2530
|
className: t,
|
|
2527
2531
|
children: a,
|
|
@@ -2553,7 +2557,7 @@ const el = (t) => {
|
|
|
2553
2557
|
"form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
|
|
2554
2558
|
"form-field__content": "lc-FormField-module__form-field__content___XaOx3",
|
|
2555
2559
|
"form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
|
|
2556
|
-
}, q = "form-field",
|
|
2560
|
+
}, q = "form-field", cl = ({
|
|
2557
2561
|
inline: t,
|
|
2558
2562
|
error: a,
|
|
2559
2563
|
description: r,
|
|
@@ -2645,7 +2649,7 @@ const el = (t) => {
|
|
|
2645
2649
|
"form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
|
|
2646
2650
|
"form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
|
|
2647
2651
|
"form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
|
|
2648
|
-
}, Pt = "form-group",
|
|
2652
|
+
}, Pt = "form-group", ll = (c) => {
|
|
2649
2653
|
var l = c, {
|
|
2650
2654
|
className: t = "",
|
|
2651
2655
|
children: a,
|
|
@@ -2691,7 +2695,7 @@ const el = (t) => {
|
|
|
2691
2695
|
[Te[`${Be}__icon--disabled`]]: a
|
|
2692
2696
|
}
|
|
2693
2697
|
)
|
|
2694
|
-
}),
|
|
2698
|
+
}), nl = e.forwardRef(
|
|
2695
2699
|
(s, n) => {
|
|
2696
2700
|
var i = s, {
|
|
2697
2701
|
inputSize: t = "medium",
|
|
@@ -2747,7 +2751,7 @@ const el = (t) => {
|
|
|
2747
2751
|
), bo = "lc-Link-module__link___kqx52", Ma = {
|
|
2748
2752
|
link: bo,
|
|
2749
2753
|
"link--bold": "lc-Link-module__link--bold___1rGdO"
|
|
2750
|
-
}, La = "link",
|
|
2754
|
+
}, La = "link", sl = (_) => {
|
|
2751
2755
|
var o = _, {
|
|
2752
2756
|
bold: t = !1,
|
|
2753
2757
|
className: a = ""
|
|
@@ -2846,7 +2850,7 @@ const el = (t) => {
|
|
|
2846
2850
|
onClick: r,
|
|
2847
2851
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ne, size: "medium", customColor: a })
|
|
2848
2852
|
}
|
|
2849
|
-
),
|
|
2853
|
+
), Qe = "modal", il = (i) => {
|
|
2850
2854
|
var d = i, {
|
|
2851
2855
|
children: t,
|
|
2852
2856
|
className: a = "",
|
|
@@ -2866,7 +2870,7 @@ const el = (t) => {
|
|
|
2866
2870
|
"onClose",
|
|
2867
2871
|
"contentClassName"
|
|
2868
2872
|
]);
|
|
2869
|
-
const p = m(de[
|
|
2873
|
+
const p = m(de[Qe], a), u = typeof t == "string", h = (f) => {
|
|
2870
2874
|
f.preventDefault(), f.stopPropagation(), l();
|
|
2871
2875
|
};
|
|
2872
2876
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2876,12 +2880,12 @@ const el = (t) => {
|
|
|
2876
2880
|
fullSpaceContent: o,
|
|
2877
2881
|
onClose: l
|
|
2878
2882
|
}, s),
|
|
2879
|
-
_ && /* @__PURE__ */ e.createElement("div", { className: de[`${
|
|
2883
|
+
_ && /* @__PURE__ */ e.createElement("div", { className: de[`${Qe}__label-header`] }, /* @__PURE__ */ e.createElement(
|
|
2880
2884
|
Ze,
|
|
2881
2885
|
{
|
|
2882
2886
|
size: "md",
|
|
2883
2887
|
as: "div",
|
|
2884
|
-
className: de[`${
|
|
2888
|
+
className: de[`${Qe}__label-heading`]
|
|
2885
2889
|
},
|
|
2886
2890
|
_
|
|
2887
2891
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -2892,12 +2896,12 @@ const el = (t) => {
|
|
|
2892
2896
|
onClick: h
|
|
2893
2897
|
}
|
|
2894
2898
|
)),
|
|
2895
|
-
!_ && r && /* @__PURE__ */ e.createElement("div", { className: de[`${
|
|
2899
|
+
!_ && r && /* @__PURE__ */ e.createElement("div", { className: de[`${Qe}__header`] }, /* @__PURE__ */ e.createElement(
|
|
2896
2900
|
Ze,
|
|
2897
2901
|
{
|
|
2898
2902
|
size: "md",
|
|
2899
2903
|
as: "div",
|
|
2900
|
-
className: de[`${
|
|
2904
|
+
className: de[`${Qe}__heading`]
|
|
2901
2905
|
},
|
|
2902
2906
|
r
|
|
2903
2907
|
), /* @__PURE__ */ e.createElement(Oa, { onClick: h })),
|
|
@@ -2905,13 +2909,13 @@ const el = (t) => {
|
|
|
2905
2909
|
"div",
|
|
2906
2910
|
{
|
|
2907
2911
|
"data-testid": "modal-body",
|
|
2908
|
-
className: m(de[`${
|
|
2912
|
+
className: m(de[`${Qe}__body`], n)
|
|
2909
2913
|
},
|
|
2910
2914
|
u ? /* @__PURE__ */ e.createElement(M, { as: "div" }, t) : t
|
|
2911
2915
|
),
|
|
2912
|
-
c && /* @__PURE__ */ e.createElement("div", { className: de[`${
|
|
2916
|
+
c && /* @__PURE__ */ e.createElement("div", { className: de[`${Qe}__footer`] }, c)
|
|
2913
2917
|
);
|
|
2914
|
-
},
|
|
2918
|
+
}, dl = ({
|
|
2915
2919
|
children: t,
|
|
2916
2920
|
className: a = "",
|
|
2917
2921
|
parentElementName: r = "body",
|
|
@@ -2931,7 +2935,7 @@ const el = (t) => {
|
|
|
2931
2935
|
"modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
|
|
2932
2936
|
"modal-header__heading-title": "lc-ModalHeader-module__modal-header__heading-title___2R9pm",
|
|
2933
2937
|
"modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
|
|
2934
|
-
}, tt = "modal-header",
|
|
2938
|
+
}, tt = "modal-header", ul = ({
|
|
2935
2939
|
title: t,
|
|
2936
2940
|
iconProps: a,
|
|
2937
2941
|
avatarProps: r,
|
|
@@ -2972,7 +2976,7 @@ const el = (t) => {
|
|
|
2972
2976
|
"numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
|
|
2973
2977
|
"numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
|
|
2974
2978
|
"numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
|
|
2975
|
-
}, rt = "numeric-input",
|
|
2979
|
+
}, rt = "numeric-input", ml = (d) => {
|
|
2976
2980
|
var p = d, {
|
|
2977
2981
|
className: t,
|
|
2978
2982
|
error: a,
|
|
@@ -3558,7 +3562,7 @@ const j = {
|
|
|
3558
3562
|
}, Io = "lc-Picker-module__picker___GRj9W", Po = "lc-Picker-module__picker__container___s0PUc", za = {
|
|
3559
3563
|
picker: Io,
|
|
3560
3564
|
picker__container: Po
|
|
3561
|
-
}, Ga = "picker",
|
|
3565
|
+
}, Ga = "picker", pl = (k) => {
|
|
3562
3566
|
var v = k, {
|
|
3563
3567
|
className: t,
|
|
3564
3568
|
disabled: a,
|
|
@@ -3617,7 +3621,7 @@ const j = {
|
|
|
3617
3621
|
}, W = (R) => {
|
|
3618
3622
|
if (d === "single")
|
|
3619
3623
|
return w(!1), g([R]);
|
|
3620
|
-
const z = R.key, K =
|
|
3624
|
+
const z = R.key, K = qe;
|
|
3621
3625
|
if (!K)
|
|
3622
3626
|
return g([R]);
|
|
3623
3627
|
const me = K.includes(
|
|
@@ -3631,21 +3635,21 @@ const j = {
|
|
|
3631
3635
|
g(A);
|
|
3632
3636
|
}, re = (R) => !R.disabled && !R.groupHeader && R.key !== ct, Ae = () => {
|
|
3633
3637
|
w(!1);
|
|
3634
|
-
const R =
|
|
3638
|
+
const R = Ye.filter(re);
|
|
3635
3639
|
g(R);
|
|
3636
3640
|
}, Ie = () => {
|
|
3637
3641
|
w(!1), g(null);
|
|
3638
|
-
}, xe = (R) => E(R),
|
|
3642
|
+
}, xe = (R) => E(R), ze = (R) => {
|
|
3639
3643
|
const z = o ? o.filter((K) => K !== R) : null;
|
|
3640
3644
|
if ((z == null ? void 0 : z.length) === 0)
|
|
3641
3645
|
return g(null);
|
|
3642
3646
|
g(z);
|
|
3643
|
-
},
|
|
3647
|
+
}, Ye = e.useMemo(() => T ? _.filter((R) => {
|
|
3644
3648
|
if (R.groupHeader)
|
|
3645
3649
|
return !1;
|
|
3646
3650
|
const z = T.toLowerCase();
|
|
3647
3651
|
return R.name.toLowerCase().includes(z);
|
|
3648
|
-
}) : _, [T, _]),
|
|
3652
|
+
}) : _, [T, _]), qe = e.useMemo(() => o ? o.map((R) => R.key) : null, [o]);
|
|
3649
3653
|
return /* @__PURE__ */ e.createElement("div", { ref: B, className: N, id: b.id }, /* @__PURE__ */ e.createElement("div", { className: za[`${Ga}__container`] }, /* @__PURE__ */ e.createElement(
|
|
3650
3654
|
Co,
|
|
3651
3655
|
{
|
|
@@ -3673,15 +3677,15 @@ const j = {
|
|
|
3673
3677
|
type: d,
|
|
3674
3678
|
size: c,
|
|
3675
3679
|
clearSearchAfterSelection: f,
|
|
3676
|
-
onItemRemove:
|
|
3680
|
+
onItemRemove: ze,
|
|
3677
3681
|
onFilter: xe
|
|
3678
3682
|
}
|
|
3679
3683
|
)
|
|
3680
3684
|
), /* @__PURE__ */ e.createElement(
|
|
3681
3685
|
wo,
|
|
3682
3686
|
{
|
|
3683
|
-
selectedItemsKeys:
|
|
3684
|
-
items:
|
|
3687
|
+
selectedItemsKeys: qe,
|
|
3688
|
+
items: Ye,
|
|
3685
3689
|
isOpen: $,
|
|
3686
3690
|
isMultiSelect: d === "multi",
|
|
3687
3691
|
emptyStateText: s,
|
|
@@ -3693,7 +3697,7 @@ const j = {
|
|
|
3693
3697
|
)));
|
|
3694
3698
|
}, Fo = "lc-Popover-module__popover___8X1b2", Ro = {
|
|
3695
3699
|
popover: Fo
|
|
3696
|
-
},
|
|
3700
|
+
}, gl = ({
|
|
3697
3701
|
triggerRenderer: t,
|
|
3698
3702
|
onClose: a,
|
|
3699
3703
|
onOpen: r,
|
|
@@ -3888,7 +3892,7 @@ const ft = {
|
|
|
3888
3892
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
3889
3893
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
3890
3894
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
3891
|
-
}, Uo = 400, Wo = 800, Vo = 500, $e = "promo-banner",
|
|
3895
|
+
}, Uo = 400, Wo = 800, Vo = 500, $e = "promo-banner", bl = ({
|
|
3892
3896
|
className: t,
|
|
3893
3897
|
buttonText: a,
|
|
3894
3898
|
children: r,
|
|
@@ -3937,7 +3941,7 @@ const ft = {
|
|
|
3937
3941
|
},
|
|
3938
3942
|
/* @__PURE__ */ e.createElement(x, { source: Ne, size: "large", kind: "primary" })
|
|
3939
3943
|
));
|
|
3940
|
-
},
|
|
3944
|
+
}, Re = {
|
|
3941
3945
|
"main-wrapper": "lc-PromoBannerV2-module__main-wrapper___U-dPS",
|
|
3942
3946
|
"promo-banner-v2": "lc-PromoBannerV2-module__promo-banner-v2___HkNxR",
|
|
3943
3947
|
"promo-banner-v2__content": "lc-PromoBannerV2-module__promo-banner-v2__content___65vEP",
|
|
@@ -3945,42 +3949,66 @@ const ft = {
|
|
|
3945
3949
|
"promo-banner-v2__content__cta__secondary": "lc-PromoBannerV2-module__promo-banner-v2__content__cta__secondary___17BKS",
|
|
3946
3950
|
"promo-banner-v2__additional-content": "lc-PromoBannerV2-module__promo-banner-v2__additional-content___LpU9B",
|
|
3947
3951
|
"promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
|
|
3948
|
-
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC"
|
|
3949
|
-
|
|
3952
|
+
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC",
|
|
3953
|
+
"promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___p0mSU"
|
|
3954
|
+
}, We = "promo-banner-v2", fl = ({
|
|
3950
3955
|
children: t,
|
|
3951
3956
|
className: a,
|
|
3952
3957
|
additionalContent: r,
|
|
3953
3958
|
primaryButton: _,
|
|
3954
3959
|
secondaryButton: o,
|
|
3955
|
-
|
|
3960
|
+
vertical: c,
|
|
3961
|
+
contentClassName: l,
|
|
3962
|
+
additionalContentClassName: n,
|
|
3963
|
+
onClose: s
|
|
3956
3964
|
}) => {
|
|
3957
|
-
const
|
|
3958
|
-
return /* @__PURE__ */ e.createElement("div", { role: "banner", className:
|
|
3959
|
-
|
|
3960
|
-
{
|
|
3961
|
-
kind: (_ == null ? void 0 : _.kind) || "high-contrast",
|
|
3962
|
-
onClick: _.handleClick
|
|
3963
|
-
},
|
|
3964
|
-
_.label
|
|
3965
|
-
), o && /* @__PURE__ */ e.createElement(
|
|
3966
|
-
U,
|
|
3965
|
+
const i = m(Re["main-wrapper"], a);
|
|
3966
|
+
return /* @__PURE__ */ e.createElement("div", { role: "banner", className: i }, /* @__PURE__ */ e.createElement(
|
|
3967
|
+
"div",
|
|
3967
3968
|
{
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3969
|
+
className: m(
|
|
3970
|
+
Re[We],
|
|
3971
|
+
c && Re[`${We}--vertical`]
|
|
3972
|
+
)
|
|
3971
3973
|
},
|
|
3972
|
-
o.
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3974
|
+
/* @__PURE__ */ e.createElement("div", { className: m(Re[`${We}__content`], l) }, t, (_ || o) && /* @__PURE__ */ e.createElement("div", { className: Re[`${We}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
|
|
3975
|
+
U,
|
|
3976
|
+
{
|
|
3977
|
+
kind: (_ == null ? void 0 : _.kind) || "high-contrast",
|
|
3978
|
+
onClick: _.handleClick
|
|
3979
|
+
},
|
|
3980
|
+
_.label
|
|
3981
|
+
), o && /* @__PURE__ */ e.createElement(
|
|
3982
|
+
U,
|
|
3983
|
+
{
|
|
3984
|
+
kind: (o == null ? void 0 : o.kind) || "text",
|
|
3985
|
+
onClick: o.handleClick,
|
|
3986
|
+
className: Re[`${We}__content__cta__secondary`]
|
|
3987
|
+
},
|
|
3988
|
+
o.label
|
|
3989
|
+
))),
|
|
3990
|
+
r && /* @__PURE__ */ e.createElement(
|
|
3991
|
+
"div",
|
|
3992
|
+
{
|
|
3993
|
+
className: m(
|
|
3994
|
+
Re[`${We}__additional-content`],
|
|
3995
|
+
n
|
|
3996
|
+
)
|
|
3997
|
+
},
|
|
3998
|
+
r
|
|
3999
|
+
),
|
|
4000
|
+
s && /* @__PURE__ */ e.createElement("div", { className: Re[`${We}__close`] }, /* @__PURE__ */ e.createElement(
|
|
4001
|
+
U,
|
|
4002
|
+
{
|
|
4003
|
+
className: Re[`${We}__close__btn`],
|
|
4004
|
+
onClick: s,
|
|
4005
|
+
icon: /* @__PURE__ */ e.createElement(x, { source: Ne, kind: "primary" }),
|
|
4006
|
+
kind: "plain",
|
|
4007
|
+
size: "compact"
|
|
4008
|
+
}
|
|
4009
|
+
))
|
|
4010
|
+
));
|
|
4011
|
+
}, Me = {
|
|
3984
4012
|
"radio-button": "lc-RadioButton-module__radio-button___WaToM",
|
|
3985
4013
|
"radio-button__circle": "lc-RadioButton-module__radio-button__circle___wimWA",
|
|
3986
4014
|
"radio-button__label": "lc-RadioButton-module__radio-button__label___i7ygg",
|
|
@@ -3990,23 +4018,23 @@ const ft = {
|
|
|
3990
4018
|
"radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
|
|
3991
4019
|
"radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
|
|
3992
4020
|
"radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
|
|
3993
|
-
},
|
|
4021
|
+
}, Le = "radio-button", vl = e.forwardRef(
|
|
3994
4022
|
(n, l) => {
|
|
3995
4023
|
var s = n, { children: t, className: a = "", description: r, checked: _, disabled: o } = s, c = I(s, ["children", "className", "description", "checked", "disabled"]);
|
|
3996
|
-
const i = m(
|
|
3997
|
-
[
|
|
3998
|
-
[
|
|
4024
|
+
const i = m(Me[Le], a, {
|
|
4025
|
+
[Me[`${Le}--selected`]]: _,
|
|
4026
|
+
[Me[`${Le}--disabled`]]: o
|
|
3999
4027
|
});
|
|
4000
|
-
return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className:
|
|
4028
|
+
return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className: Me[`${Le}__label`] }, /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: Me[`${Le}__inner-circle`] }), /* @__PURE__ */ e.createElement(
|
|
4001
4029
|
"input",
|
|
4002
4030
|
D(y({}, c), {
|
|
4003
|
-
className:
|
|
4031
|
+
className: Me[`${Le}__input`],
|
|
4004
4032
|
ref: l,
|
|
4005
4033
|
type: "radio",
|
|
4006
4034
|
checked: _,
|
|
4007
4035
|
disabled: o
|
|
4008
4036
|
})
|
|
4009
|
-
)), t && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className:
|
|
4037
|
+
)), t && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: Me[`${Le}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Wt, { className: Me[`${Le}__helper`] }, r));
|
|
4010
4038
|
}
|
|
4011
4039
|
), De = {
|
|
4012
4040
|
"search-input": "lc-Search-module__search-input___FsbCk",
|
|
@@ -4021,7 +4049,7 @@ const ft = {
|
|
|
4021
4049
|
"search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
|
|
4022
4050
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
4023
4051
|
"search-input__input": "lc-Search-module__search-input__input___OhyTr"
|
|
4024
|
-
}, Ce = "search-input", Yo = `${Ce}__input`,
|
|
4052
|
+
}, Ce = "search-input", Yo = `${Ce}__input`, hl = ({
|
|
4025
4053
|
isCollapsable: t,
|
|
4026
4054
|
isDisabled: a,
|
|
4027
4055
|
isLoading: r,
|
|
@@ -4140,7 +4168,7 @@ const ft = {
|
|
|
4140
4168
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
|
|
4141
4169
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
|
|
4142
4170
|
switch__icon: Zo
|
|
4143
|
-
}, ae = "switch",
|
|
4171
|
+
}, ae = "switch", kl = (p) => {
|
|
4144
4172
|
var u = p, {
|
|
4145
4173
|
className: t = "",
|
|
4146
4174
|
defaultOn: a = !1,
|
|
@@ -4235,7 +4263,7 @@ const ft = {
|
|
|
4235
4263
|
tab__badge: tc,
|
|
4236
4264
|
"tab--selected": "lc-Tab-module__tab--selected___c0EkL",
|
|
4237
4265
|
"tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
|
|
4238
|
-
}, ot = "tab",
|
|
4266
|
+
}, ot = "tab", yl = (n) => {
|
|
4239
4267
|
var s = n, {
|
|
4240
4268
|
children: t,
|
|
4241
4269
|
className: a,
|
|
@@ -4281,10 +4309,10 @@ const ft = {
|
|
|
4281
4309
|
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO", lr = {
|
|
4282
4310
|
tabs: ac,
|
|
4283
4311
|
tabs__list: rc
|
|
4284
|
-
}, nr = "tabs",
|
|
4312
|
+
}, nr = "tabs", El = ({
|
|
4285
4313
|
className: t,
|
|
4286
4314
|
children: a
|
|
4287
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: m(lr[nr], t) }, a),
|
|
4315
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: m(lr[nr], t) }, a), $l = ({
|
|
4288
4316
|
className: t,
|
|
4289
4317
|
children: a
|
|
4290
4318
|
}) => /* @__PURE__ */ e.createElement("div", { className: m(lr[`${nr}__list`], t) }, a), _c = ({
|
|
@@ -4432,7 +4460,7 @@ const ft = {
|
|
|
4432
4460
|
}, N = (F, W) => {
|
|
4433
4461
|
const re = [...a || []];
|
|
4434
4462
|
re.reduce(
|
|
4435
|
-
(Ie, xe,
|
|
4463
|
+
(Ie, xe, ze) => Ie + (xe === W && ze !== F ? 1 : 0),
|
|
4436
4464
|
0
|
|
4437
4465
|
) > 0 ? re.splice(F, 1) : re[F] = W, r(re);
|
|
4438
4466
|
}, ue = (F) => {
|
|
@@ -4466,7 +4494,7 @@ const ft = {
|
|
|
4466
4494
|
onBlur: B
|
|
4467
4495
|
})
|
|
4468
4496
|
)), o && /* @__PURE__ */ e.createElement(va, null, o));
|
|
4469
|
-
}, ic = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, dc = "name@company.com", uc = (t) => ic.test(t),
|
|
4497
|
+
}, ic = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, dc = "name@company.com", uc = (t) => ic.test(t), wl = (n) => {
|
|
4470
4498
|
var s = n, {
|
|
4471
4499
|
id: t,
|
|
4472
4500
|
tags: a,
|
|
@@ -4537,7 +4565,7 @@ const ft = {
|
|
|
4537
4565
|
info: {
|
|
4538
4566
|
source: la
|
|
4539
4567
|
}
|
|
4540
|
-
},
|
|
4568
|
+
}, Ve = "toast", vc = (n) => {
|
|
4541
4569
|
var s = n, {
|
|
4542
4570
|
action: t,
|
|
4543
4571
|
className: a,
|
|
@@ -4554,14 +4582,14 @@ const ft = {
|
|
|
4554
4582
|
"onClose"
|
|
4555
4583
|
]);
|
|
4556
4584
|
const i = m(
|
|
4557
|
-
Q[
|
|
4558
|
-
Q[`${
|
|
4585
|
+
Q[Ve],
|
|
4586
|
+
Q[`${Ve}--${o}`],
|
|
4559
4587
|
a
|
|
4560
4588
|
), d = typeof r == "string", p = (u) => u && u.closesOnClick && c ? (u.onClick(), c()) : u.onClick();
|
|
4561
|
-
return /* @__PURE__ */ e.createElement("div", y({ className: i }, l), /* @__PURE__ */ e.createElement("div", { className: Q[`${
|
|
4589
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: i }, l), /* @__PURE__ */ e.createElement("div", { className: Q[`${Ve}__icon`] }, /* @__PURE__ */ e.createElement(x, D(y({}, fc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: Q[`${Ve}__content`] }, d ? /* @__PURE__ */ e.createElement(M, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: Q[`${Ve}__actions`] }, t && /* @__PURE__ */ e.createElement(
|
|
4562
4590
|
U,
|
|
4563
4591
|
{
|
|
4564
|
-
className: Q[`${
|
|
4592
|
+
className: Q[`${Ve}__actions--custom`],
|
|
4565
4593
|
kind: "text",
|
|
4566
4594
|
size: "compact",
|
|
4567
4595
|
onClick: () => p(t)
|
|
@@ -4571,15 +4599,15 @@ const ft = {
|
|
|
4571
4599
|
"button",
|
|
4572
4600
|
{
|
|
4573
4601
|
className: m(
|
|
4574
|
-
Q[`${
|
|
4575
|
-
Q[`${
|
|
4602
|
+
Q[`${Ve}__actions__button`],
|
|
4603
|
+
Q[`${Ve}__actions__button--${o}`]
|
|
4576
4604
|
),
|
|
4577
4605
|
"aria-label": "Close toast",
|
|
4578
4606
|
onClick: c
|
|
4579
4607
|
},
|
|
4580
4608
|
/* @__PURE__ */ e.createElement(x, { source: Ne, size: "medium" })
|
|
4581
4609
|
)));
|
|
4582
|
-
}, hc = 200, ht = "toast-wrapper",
|
|
4610
|
+
}, hc = 200, ht = "toast-wrapper", Cl = ({
|
|
4583
4611
|
className: t,
|
|
4584
4612
|
toasts: a = [],
|
|
4585
4613
|
fixed: r = !0,
|
|
@@ -4626,7 +4654,7 @@ const ft = {
|
|
|
4626
4654
|
"textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
|
|
4627
4655
|
"textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
|
|
4628
4656
|
"textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
|
|
4629
|
-
}, Ht = "textarea",
|
|
4657
|
+
}, Ht = "textarea", Nl = e.forwardRef(
|
|
4630
4658
|
(o, _) => {
|
|
4631
4659
|
var c = o, { className: t, error: a } = c, r = I(c, ["className", "error"]);
|
|
4632
4660
|
const { disabled: l, onBlur: n, onFocus: s } = r, [i, d] = e.useState(!1), p = m(t, Ot[Ht], {
|
|
@@ -4680,7 +4708,7 @@ const ft = {
|
|
|
4680
4708
|
"file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
|
|
4681
4709
|
"file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
|
|
4682
4710
|
"file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
|
|
4683
|
-
},
|
|
4711
|
+
}, Oe = "file-upload-progress", ea = `${Oe}__wrapper__header__title`, yc = e.forwardRef(
|
|
4684
4712
|
({
|
|
4685
4713
|
actionsVisibility: t = "hidden",
|
|
4686
4714
|
className: a,
|
|
@@ -4691,23 +4719,23 @@ const ft = {
|
|
|
4691
4719
|
status: l = "normal",
|
|
4692
4720
|
onCloseButtonClick: n,
|
|
4693
4721
|
onRetryButtonClick: s
|
|
4694
|
-
}, i) => /* @__PURE__ */ e.createElement("div", { className: we[
|
|
4722
|
+
}, i) => /* @__PURE__ */ e.createElement("div", { className: we[Oe], ref: i }, r && l !== "success" && /* @__PURE__ */ e.createElement("div", { className: we[`${Oe}__icon`] }, r), l === "success" && /* @__PURE__ */ e.createElement(
|
|
4695
4723
|
"div",
|
|
4696
4724
|
{
|
|
4697
4725
|
className: m(
|
|
4698
|
-
we[`${
|
|
4699
|
-
we[`${
|
|
4726
|
+
we[`${Oe}__icon`],
|
|
4727
|
+
we[`${Oe}__icon--success`]
|
|
4700
4728
|
)
|
|
4701
4729
|
},
|
|
4702
4730
|
/* @__PURE__ */ e.createElement(x, { source: Gt })
|
|
4703
4731
|
), /* @__PURE__ */ e.createElement(
|
|
4704
4732
|
"div",
|
|
4705
4733
|
{
|
|
4706
|
-
className: m(we[`${
|
|
4707
|
-
[we[`${
|
|
4734
|
+
className: m(we[`${Oe}__wrapper`], {
|
|
4735
|
+
[we[`${Oe}__wrapper--with-icon`]]: r
|
|
4708
4736
|
})
|
|
4709
4737
|
},
|
|
4710
|
-
/* @__PURE__ */ e.createElement("div", { className: we[`${
|
|
4738
|
+
/* @__PURE__ */ e.createElement("div", { className: we[`${Oe}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
|
|
4711
4739
|
"div",
|
|
4712
4740
|
{
|
|
4713
4741
|
className: m(we[ea], {
|
|
@@ -4722,7 +4750,7 @@ const ft = {
|
|
|
4722
4750
|
"div",
|
|
4723
4751
|
{
|
|
4724
4752
|
className: m({
|
|
4725
|
-
[we[`${
|
|
4753
|
+
[we[`${Oe}__wrapper__header__actions`]]: t === "hover"
|
|
4726
4754
|
})
|
|
4727
4755
|
},
|
|
4728
4756
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4765,14 +4793,14 @@ const ft = {
|
|
|
4765
4793
|
"upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
|
|
4766
4794
|
"upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
|
|
4767
4795
|
"upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
|
|
4768
|
-
}, le = "upload-bar",
|
|
4796
|
+
}, le = "upload-bar", He = `${le}__wrapper__header`, Ec = 300, $c = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: H[`${He}__success-icon`] }, /* @__PURE__ */ e.createElement(x, { source: Gt })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: H[`${He}__error-icon`] }, /* @__PURE__ */ e.createElement(x, { source: Ir })) : /* @__PURE__ */ e.createElement(
|
|
4769
4797
|
zo,
|
|
4770
4798
|
{
|
|
4771
|
-
className: H[`${
|
|
4799
|
+
className: H[`${He}__loader`],
|
|
4772
4800
|
status: t,
|
|
4773
4801
|
progressValue: a
|
|
4774
4802
|
}
|
|
4775
|
-
),
|
|
4803
|
+
), xl = ({
|
|
4776
4804
|
children: t,
|
|
4777
4805
|
className: a,
|
|
4778
4806
|
progressValue: r,
|
|
@@ -4790,7 +4818,7 @@ const ft = {
|
|
|
4790
4818
|
[H[`${le}--error`]]: f,
|
|
4791
4819
|
[H[`${le}--success`]]: g
|
|
4792
4820
|
}), k = !(f && (p || d)), v = () => h(!u);
|
|
4793
|
-
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: H[`${le}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: H[`${
|
|
4821
|
+
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: H[`${le}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: H[`${He}`] }, /* @__PURE__ */ e.createElement(
|
|
4794
4822
|
yc,
|
|
4795
4823
|
{
|
|
4796
4824
|
title: f && c || _,
|
|
@@ -4812,15 +4840,15 @@ const ft = {
|
|
|
4812
4840
|
className: H[`${le}__wrapper`],
|
|
4813
4841
|
onClick: v
|
|
4814
4842
|
},
|
|
4815
|
-
/* @__PURE__ */ e.createElement("div", { className: H[`${
|
|
4843
|
+
/* @__PURE__ */ e.createElement("div", { className: H[`${He}`] }, /* @__PURE__ */ e.createElement("div", { className: H[`${He}__icon`] }, $c(l, r)), /* @__PURE__ */ e.createElement("div", { className: H[`${He}__title`] }, /* @__PURE__ */ e.createElement(M, { size: "sm", as: "div" }, f ? c : _)), k && /* @__PURE__ */ e.createElement(
|
|
4816
4844
|
"button",
|
|
4817
4845
|
{
|
|
4818
|
-
className: H[`${
|
|
4846
|
+
className: H[`${He}__collapse-button`],
|
|
4819
4847
|
type: "button",
|
|
4820
4848
|
onClick: v
|
|
4821
4849
|
},
|
|
4822
4850
|
u ? /* @__PURE__ */ e.createElement(x, { source: Ut }) : /* @__PURE__ */ e.createElement(x, { source: $t })
|
|
4823
|
-
), l === "error" && /* @__PURE__ */ e.createElement("div", { className: H[`${
|
|
4851
|
+
), l === "error" && /* @__PURE__ */ e.createElement("div", { className: H[`${He}__actions-container`] }, /* @__PURE__ */ e.createElement(
|
|
4824
4852
|
ca,
|
|
4825
4853
|
{
|
|
4826
4854
|
status: l,
|
|
@@ -4845,74 +4873,75 @@ const ft = {
|
|
|
4845
4873
|
};
|
|
4846
4874
|
export {
|
|
4847
4875
|
hc as ANIMATION_TIME,
|
|
4848
|
-
|
|
4876
|
+
jc as ActionBar,
|
|
4849
4877
|
Yr as ActionMenu,
|
|
4850
4878
|
Jr as ActionMenuItem,
|
|
4851
|
-
|
|
4879
|
+
Qc as Alert,
|
|
4852
4880
|
N_ as Avatar,
|
|
4853
4881
|
T_ as Badge,
|
|
4854
4882
|
U as Button,
|
|
4855
|
-
|
|
4856
|
-
|
|
4883
|
+
Xc as Card,
|
|
4884
|
+
el as Checkbox,
|
|
4857
4885
|
co as DatePicker,
|
|
4858
|
-
|
|
4886
|
+
tl as DatePickerRangeCalendarsWrapper,
|
|
4859
4887
|
Rc as DesignToken,
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4888
|
+
al as DetailsCard,
|
|
4889
|
+
rl as DetailsCardInfo,
|
|
4890
|
+
Wc as Display,
|
|
4891
|
+
wl as EmailTagInput,
|
|
4864
4892
|
Wt as FieldDescription,
|
|
4865
4893
|
va as FieldError,
|
|
4866
|
-
|
|
4894
|
+
_l as FieldGroup,
|
|
4867
4895
|
yc as FileUploadProgress,
|
|
4868
4896
|
ca as FileUploadProgressActions,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4897
|
+
ol as Form,
|
|
4898
|
+
cl as FormField,
|
|
4899
|
+
ll as FormGroup,
|
|
4872
4900
|
Ze as Heading,
|
|
4873
4901
|
x as Icon,
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4902
|
+
Yc as Info,
|
|
4903
|
+
nl as Input,
|
|
4904
|
+
qc as Interactive,
|
|
4905
|
+
sl as Link,
|
|
4878
4906
|
fa as Loader,
|
|
4879
|
-
|
|
4907
|
+
il as Modal,
|
|
4880
4908
|
yo as ModalBase,
|
|
4881
4909
|
Oa as ModalCloseButton,
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4910
|
+
ul as ModalHeader,
|
|
4911
|
+
dl as ModalPortal,
|
|
4912
|
+
ml as NumericInput,
|
|
4913
|
+
pl as Picker,
|
|
4886
4914
|
wo as PickerList,
|
|
4887
|
-
|
|
4915
|
+
gl as Popover,
|
|
4888
4916
|
Go as ProgressBar,
|
|
4889
4917
|
zo as ProgressCircle,
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4918
|
+
bl as PromoBanner,
|
|
4919
|
+
fl as PromoBannerV2,
|
|
4920
|
+
vl as RadioButton,
|
|
4893
4921
|
Oc as RadiusToken,
|
|
4894
4922
|
no as RangeDatePicker,
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4923
|
+
Jc as Reports,
|
|
4924
|
+
hl as SearchInput,
|
|
4925
|
+
Zc as SegmentedControl,
|
|
4898
4926
|
Lc as ShadowToken,
|
|
4899
|
-
|
|
4927
|
+
Vc as Simple,
|
|
4900
4928
|
Mc as SpacingToken,
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4929
|
+
kl as Switch,
|
|
4930
|
+
yl as Tab,
|
|
4931
|
+
$l as TabsList,
|
|
4932
|
+
El as TabsWrapper,
|
|
4905
4933
|
_r as Tag,
|
|
4906
4934
|
sc as TagInput,
|
|
4907
4935
|
M as Text,
|
|
4908
|
-
|
|
4936
|
+
Nl as Textarea,
|
|
4909
4937
|
vc as Toast,
|
|
4910
|
-
|
|
4938
|
+
Cl as ToastWrapper,
|
|
4911
4939
|
tr as Tooltip,
|
|
4940
|
+
Gc as TransitionDelayToken,
|
|
4912
4941
|
Hc as TransitionDurationToken,
|
|
4913
4942
|
zc as TransitionTimingToken,
|
|
4914
|
-
|
|
4915
|
-
|
|
4943
|
+
xl as UploadBar,
|
|
4944
|
+
Kc as UserGuide,
|
|
4916
4945
|
h_ as generateAvatarColor,
|
|
4917
|
-
|
|
4946
|
+
Uc as getDesignTokenWithOpacity
|
|
4918
4947
|
};
|