@livechat/design-system-react-components 1.8.0 → 1.9.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/dsrc.cjs.js +1 -1
- package/dist/dsrc.es.js +86 -76
- package/dist/foundations/transition-token.d.ts +9 -0
- package/dist/index.d.ts +1 -0
- package/dist/preview-stats.json +498 -489
- package/dist/style.css +1 -1
- package/dist/themes/design-token.d.ts +1 -0
- package/package.json +2 -2
package/dist/dsrc.es.js
CHANGED
|
@@ -307,7 +307,8 @@ const Rc = {
|
|
|
307
307
|
SurfaceAvatar7: "--surface-avatar-7",
|
|
308
308
|
SurfaceAvatar8: "--surface-avatar-8",
|
|
309
309
|
SurfaceAvatar9: "--surface-avatar-9",
|
|
310
|
-
SurfaceAvatar10: "--surface-avatar-10"
|
|
310
|
+
SurfaceAvatar10: "--surface-avatar-10",
|
|
311
|
+
NavbarBackground: "--navbar-background"
|
|
311
312
|
}, Mc = {
|
|
312
313
|
Spacing0: "--spacing-0",
|
|
313
314
|
Spacing05: "--spacing-05",
|
|
@@ -345,7 +346,14 @@ const Rc = {
|
|
|
345
346
|
1: "--radius-1",
|
|
346
347
|
2: "--radius-2",
|
|
347
348
|
3: "--radius-3"
|
|
348
|
-
}, Hc =
|
|
349
|
+
}, Hc = {
|
|
350
|
+
Fast1: "--transition-duration-fast-1",
|
|
351
|
+
Fast2: "--transition-duration-fast-2",
|
|
352
|
+
Moderate1: "--transition-duration-moderate-1"
|
|
353
|
+
}, zc = {
|
|
354
|
+
EaseIn: "--transition-timing-ease-in",
|
|
355
|
+
EaseOut: "--transition-timing-ease-out"
|
|
356
|
+
}, Gc = (t, a) => `color-mix(in srgb, var(${t}) ${a}, transparent)`, z = {
|
|
349
357
|
esc: "Escape",
|
|
350
358
|
enter: "Enter",
|
|
351
359
|
backspace: "Backspace",
|
|
@@ -575,7 +583,7 @@ const Rc = {
|
|
|
575
583
|
}, s),
|
|
576
584
|
l
|
|
577
585
|
);
|
|
578
|
-
},
|
|
586
|
+
}, Uc = (c) => {
|
|
579
587
|
var l = c, {
|
|
580
588
|
as: t = "div",
|
|
581
589
|
size: a = "md",
|
|
@@ -980,7 +988,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
|
|
|
980
988
|
}
|
|
981
989
|
)
|
|
982
990
|
));
|
|
983
|
-
},
|
|
991
|
+
}, Wc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), mt = "tooltip", Vc = ({ className: t, header: a, text: r, closeWithX: _, theme: o, handleCloseAction: c }) => /* @__PURE__ */ e.createElement("div", { className: t }, _ && /* @__PURE__ */ e.createElement(
|
|
984
992
|
"button",
|
|
985
993
|
{
|
|
986
994
|
className: C[`${mt}-close`],
|
|
@@ -1005,7 +1013,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
|
|
|
1005
1013
|
)
|
|
1006
1014
|
},
|
|
1007
1015
|
r
|
|
1008
|
-
)), xe = "tooltip",
|
|
1016
|
+
)), xe = "tooltip", Yc = ({
|
|
1009
1017
|
header: t,
|
|
1010
1018
|
text: a,
|
|
1011
1019
|
image: r,
|
|
@@ -1174,7 +1182,7 @@ class s_ {
|
|
|
1174
1182
|
return this.getBoundingClientRect().height;
|
|
1175
1183
|
}
|
|
1176
1184
|
}
|
|
1177
|
-
const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a),
|
|
1185
|
+
const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), qc = (t) => {
|
|
1178
1186
|
const {
|
|
1179
1187
|
className: a,
|
|
1180
1188
|
parentElementName: r,
|
|
@@ -1231,7 +1239,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
|
|
|
1231
1239
|
}),
|
|
1232
1240
|
t.children
|
|
1233
1241
|
)) : null;
|
|
1234
|
-
}, pt = "reports-tooltip",
|
|
1242
|
+
}, pt = "reports-tooltip", Kc = ({
|
|
1235
1243
|
title: t,
|
|
1236
1244
|
description: a,
|
|
1237
1245
|
children: r
|
|
@@ -1308,7 +1316,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
|
|
|
1308
1316
|
icon: t.element
|
|
1309
1317
|
}
|
|
1310
1318
|
);
|
|
1311
|
-
}, Xe = "action-bar",
|
|
1319
|
+
}, Xe = "action-bar", Jc = ({
|
|
1312
1320
|
className: t,
|
|
1313
1321
|
id: a = "action-bar-area",
|
|
1314
1322
|
type: r = "menu",
|
|
@@ -1440,7 +1448,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
|
|
|
1440
1448
|
source: Ya,
|
|
1441
1449
|
kind: "error"
|
|
1442
1450
|
}
|
|
1443
|
-
}, ke = "alert",
|
|
1451
|
+
}, ke = "alert", jc = (n) => {
|
|
1444
1452
|
var s = n, {
|
|
1445
1453
|
children: t,
|
|
1446
1454
|
className: a,
|
|
@@ -1686,7 +1694,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1686
1694
|
"btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
|
|
1687
1695
|
"btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
|
|
1688
1696
|
"btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
|
|
1689
|
-
}, I_ = "segmented-control",
|
|
1697
|
+
}, I_ = "segmented-control", Qc = ({
|
|
1690
1698
|
size: t = "medium",
|
|
1691
1699
|
buttons: a,
|
|
1692
1700
|
className: r,
|
|
@@ -1736,7 +1744,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1736
1744
|
card__actions__line: G_,
|
|
1737
1745
|
card__actions__buttons: U_,
|
|
1738
1746
|
"card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
|
|
1739
|
-
}, Et = "card", zt = `${Et}__header`, Yt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`,
|
|
1747
|
+
}, Et = "card", zt = `${Et}__header`, Yt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`, Zc = (i) => {
|
|
1740
1748
|
var d = i, {
|
|
1741
1749
|
alt: t,
|
|
1742
1750
|
buttonsOptions: a = [],
|
|
@@ -1807,7 +1815,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
|
|
|
1807
1815
|
checkbox__square: Z_,
|
|
1808
1816
|
"checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
|
|
1809
1817
|
checkbox__helper: X_
|
|
1810
|
-
}, Ye = "checkbox",
|
|
1818
|
+
}, Ye = "checkbox", Xc = e.forwardRef(
|
|
1811
1819
|
(n, l) => {
|
|
1812
1820
|
var s = n, { checked: t, disabled: a, children: r, description: _, className: o } = s, c = P(s, ["checked", "disabled", "children", "description", "className"]);
|
|
1813
1821
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2330,7 +2338,7 @@ const L = {
|
|
|
2330
2338
|
"details-card__content": "lc-DetailsCard-module__details-card__content___RNVd2",
|
|
2331
2339
|
"details-card__content--spacing": "lc-DetailsCard-module__details-card__content--spacing___QecUa",
|
|
2332
2340
|
"details-card__content--full-space": "lc-DetailsCard-module__details-card__content--full-space___2ms8I"
|
|
2333
|
-
}, O = "details-card",
|
|
2341
|
+
}, O = "details-card", el = ({
|
|
2334
2342
|
children: t,
|
|
2335
2343
|
className: a,
|
|
2336
2344
|
leftNode: r,
|
|
@@ -2443,7 +2451,7 @@ const L = {
|
|
|
2443
2451
|
"details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
|
|
2444
2452
|
"details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
|
|
2445
2453
|
"details-card-info__content": "lc-DetailsCardInfo-module__details-card-info__content___TFEXS"
|
|
2446
|
-
}, Kt = "details-card-info",
|
|
2454
|
+
}, Kt = "details-card-info", tl = ({
|
|
2447
2455
|
children: t,
|
|
2448
2456
|
label: a
|
|
2449
2457
|
}) => /* @__PURE__ */ e.createElement("div", { className: qt[Kt] }, /* @__PURE__ */ e.createElement("div", { className: qt[`${Kt}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: qt[`${Kt}__content`] }, t)), Pa = {
|
|
@@ -2470,7 +2478,7 @@ const L = {
|
|
|
2470
2478
|
"field-group": "lc-FieldGroup-module__field-group___gy8lp",
|
|
2471
2479
|
"field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
|
|
2472
2480
|
"field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
|
|
2473
|
-
}, jt = "field-group",
|
|
2481
|
+
}, jt = "field-group", al = (n) => {
|
|
2474
2482
|
var s = n, {
|
|
2475
2483
|
className: t = "",
|
|
2476
2484
|
children: a,
|
|
@@ -2497,7 +2505,7 @@ const L = {
|
|
|
2497
2505
|
form__footer: uo,
|
|
2498
2506
|
form__label: mo,
|
|
2499
2507
|
form__helper: po
|
|
2500
|
-
}, bt = "form",
|
|
2508
|
+
}, bt = "form", rl = (l) => {
|
|
2501
2509
|
var n = l, {
|
|
2502
2510
|
className: t,
|
|
2503
2511
|
children: a,
|
|
@@ -2529,7 +2537,7 @@ const L = {
|
|
|
2529
2537
|
"form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
|
|
2530
2538
|
"form-field__content": "lc-FormField-module__form-field__content___XaOx3",
|
|
2531
2539
|
"form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
|
|
2532
|
-
}, K = "form-field",
|
|
2540
|
+
}, K = "form-field", _l = ({
|
|
2533
2541
|
inline: t,
|
|
2534
2542
|
error: a,
|
|
2535
2543
|
description: r,
|
|
@@ -2621,7 +2629,7 @@ const L = {
|
|
|
2621
2629
|
"form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
|
|
2622
2630
|
"form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
|
|
2623
2631
|
"form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
|
|
2624
|
-
}, Pt = "form-group",
|
|
2632
|
+
}, Pt = "form-group", ol = (c) => {
|
|
2625
2633
|
var l = c, {
|
|
2626
2634
|
className: t = "",
|
|
2627
2635
|
children: a,
|
|
@@ -2667,7 +2675,7 @@ const L = {
|
|
|
2667
2675
|
[De[`${Te}__icon--disabled`]]: a
|
|
2668
2676
|
}
|
|
2669
2677
|
)
|
|
2670
|
-
}),
|
|
2678
|
+
}), cl = e.forwardRef(
|
|
2671
2679
|
(s, n) => {
|
|
2672
2680
|
var i = s, {
|
|
2673
2681
|
inputSize: t = "medium",
|
|
@@ -2723,7 +2731,7 @@ const L = {
|
|
|
2723
2731
|
), bo = "lc-Link-module__link___kqx52", Ma = {
|
|
2724
2732
|
link: bo,
|
|
2725
2733
|
"link--bold": "lc-Link-module__link--bold___1rGdO"
|
|
2726
|
-
}, La = "link",
|
|
2734
|
+
}, La = "link", ll = (_) => {
|
|
2727
2735
|
var o = _, {
|
|
2728
2736
|
bold: t = !1,
|
|
2729
2737
|
className: a = ""
|
|
@@ -2822,7 +2830,7 @@ const L = {
|
|
|
2822
2830
|
onClick: r,
|
|
2823
2831
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ne, size: "medium", customColor: a })
|
|
2824
2832
|
}
|
|
2825
|
-
), qe = "modal",
|
|
2833
|
+
), qe = "modal", nl = (i) => {
|
|
2826
2834
|
var d = i, {
|
|
2827
2835
|
children: t,
|
|
2828
2836
|
className: a = "",
|
|
@@ -2887,7 +2895,7 @@ const L = {
|
|
|
2887
2895
|
),
|
|
2888
2896
|
c && /* @__PURE__ */ e.createElement("div", { className: ue[`${qe}__footer`] }, c)
|
|
2889
2897
|
);
|
|
2890
|
-
},
|
|
2898
|
+
}, sl = ({
|
|
2891
2899
|
children: t,
|
|
2892
2900
|
className: a = "",
|
|
2893
2901
|
parentElementName: r = "body",
|
|
@@ -2907,7 +2915,7 @@ const L = {
|
|
|
2907
2915
|
"modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
|
|
2908
2916
|
"modal-header__heading-title": "lc-ModalHeader-module__modal-header__heading-title___2R9pm",
|
|
2909
2917
|
"modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
|
|
2910
|
-
}, tt = "modal-header",
|
|
2918
|
+
}, tt = "modal-header", il = ({
|
|
2911
2919
|
title: t,
|
|
2912
2920
|
iconProps: a,
|
|
2913
2921
|
avatarProps: r,
|
|
@@ -2948,7 +2956,7 @@ const L = {
|
|
|
2948
2956
|
"numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
|
|
2949
2957
|
"numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
|
|
2950
2958
|
"numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
|
|
2951
|
-
}, rt = "numeric-input",
|
|
2959
|
+
}, rt = "numeric-input", dl = (d) => {
|
|
2952
2960
|
var m = d, {
|
|
2953
2961
|
className: t,
|
|
2954
2962
|
error: a,
|
|
@@ -3534,7 +3542,7 @@ const j = {
|
|
|
3534
3542
|
}, Io = "lc-Picker-module__picker___GRj9W", Po = "lc-Picker-module__picker__container___s0PUc", za = {
|
|
3535
3543
|
picker: Io,
|
|
3536
3544
|
picker__container: Po
|
|
3537
|
-
}, Ga = "picker",
|
|
3545
|
+
}, Ga = "picker", ul = (k) => {
|
|
3538
3546
|
var f = k, {
|
|
3539
3547
|
className: t,
|
|
3540
3548
|
disabled: a,
|
|
@@ -3669,7 +3677,7 @@ const j = {
|
|
|
3669
3677
|
)));
|
|
3670
3678
|
}, Fo = "lc-Popover-module__popover___8X1b2", Ro = {
|
|
3671
3679
|
popover: Fo
|
|
3672
|
-
},
|
|
3680
|
+
}, ml = ({
|
|
3673
3681
|
triggerRenderer: t,
|
|
3674
3682
|
onClose: a,
|
|
3675
3683
|
onOpen: r,
|
|
@@ -3864,7 +3872,7 @@ const ft = {
|
|
|
3864
3872
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
3865
3873
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
3866
3874
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
3867
|
-
}, Uo = 400, Wo = 800, Vo = 500, $e = "promo-banner",
|
|
3875
|
+
}, Uo = 400, Wo = 800, Vo = 500, $e = "promo-banner", pl = ({
|
|
3868
3876
|
className: t,
|
|
3869
3877
|
buttonText: a,
|
|
3870
3878
|
children: r,
|
|
@@ -3922,7 +3930,7 @@ const ft = {
|
|
|
3922
3930
|
"promo-banner-v2__additional-content": "lc-PromoBannerV2-module__promo-banner-v2__additional-content___LpU9B",
|
|
3923
3931
|
"promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
|
|
3924
3932
|
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC"
|
|
3925
|
-
}, Ke = "promo-banner-v2",
|
|
3933
|
+
}, Ke = "promo-banner-v2", gl = ({
|
|
3926
3934
|
children: t,
|
|
3927
3935
|
className: a,
|
|
3928
3936
|
additionalContent: r,
|
|
@@ -3966,7 +3974,7 @@ const ft = {
|
|
|
3966
3974
|
"radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
|
|
3967
3975
|
"radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
|
|
3968
3976
|
"radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
|
|
3969
|
-
}, Fe = "radio-button",
|
|
3977
|
+
}, Fe = "radio-button", bl = e.forwardRef(
|
|
3970
3978
|
(n, l) => {
|
|
3971
3979
|
var s = n, { children: t, className: a = "", description: r, checked: _, disabled: o } = s, c = P(s, ["children", "className", "description", "checked", "disabled"]);
|
|
3972
3980
|
const i = g(Pe[Fe], a, {
|
|
@@ -3997,7 +4005,7 @@ const ft = {
|
|
|
3997
4005
|
"search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
|
|
3998
4006
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
3999
4007
|
"search-input__input": "lc-Search-module__search-input__input___OhyTr"
|
|
4000
|
-
}, Ce = "search-input", Yo = `${Ce}__input`,
|
|
4008
|
+
}, Ce = "search-input", Yo = `${Ce}__input`, fl = ({
|
|
4001
4009
|
isCollapsable: t,
|
|
4002
4010
|
isDisabled: a,
|
|
4003
4011
|
isLoading: r,
|
|
@@ -4116,7 +4124,7 @@ const ft = {
|
|
|
4116
4124
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
|
|
4117
4125
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
|
|
4118
4126
|
switch__icon: Zo
|
|
4119
|
-
}, re = "switch",
|
|
4127
|
+
}, re = "switch", vl = (m) => {
|
|
4120
4128
|
var u = m, {
|
|
4121
4129
|
className: t = "",
|
|
4122
4130
|
defaultOn: a = !1,
|
|
@@ -4211,7 +4219,7 @@ const ft = {
|
|
|
4211
4219
|
tab__badge: tc,
|
|
4212
4220
|
"tab--selected": "lc-Tab-module__tab--selected___c0EkL",
|
|
4213
4221
|
"tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
|
|
4214
|
-
}, ot = "tab",
|
|
4222
|
+
}, ot = "tab", hl = (n) => {
|
|
4215
4223
|
var s = n, {
|
|
4216
4224
|
children: t,
|
|
4217
4225
|
className: a,
|
|
@@ -4257,10 +4265,10 @@ const ft = {
|
|
|
4257
4265
|
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO", lr = {
|
|
4258
4266
|
tabs: ac,
|
|
4259
4267
|
tabs__list: rc
|
|
4260
|
-
}, nr = "tabs",
|
|
4268
|
+
}, nr = "tabs", kl = ({
|
|
4261
4269
|
className: t,
|
|
4262
4270
|
children: a
|
|
4263
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: g(lr[nr], t) }, a),
|
|
4271
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: g(lr[nr], t) }, a), yl = ({
|
|
4264
4272
|
className: t,
|
|
4265
4273
|
children: a
|
|
4266
4274
|
}) => /* @__PURE__ */ e.createElement("div", { className: g(lr[`${nr}__list`], t) }, a), _c = ({
|
|
@@ -4442,7 +4450,7 @@ const ft = {
|
|
|
4442
4450
|
onBlur: T
|
|
4443
4451
|
})
|
|
4444
4452
|
)), o && /* @__PURE__ */ e.createElement(va, null, o));
|
|
4445
|
-
}, 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),
|
|
4453
|
+
}, 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), El = (n) => {
|
|
4446
4454
|
var s = n, {
|
|
4447
4455
|
id: t,
|
|
4448
4456
|
tags: a,
|
|
@@ -4555,7 +4563,7 @@ const ft = {
|
|
|
4555
4563
|
},
|
|
4556
4564
|
/* @__PURE__ */ e.createElement(x, { source: Ne, size: "medium" })
|
|
4557
4565
|
)));
|
|
4558
|
-
}, hc = 200, ht = "toast-wrapper",
|
|
4566
|
+
}, hc = 200, ht = "toast-wrapper", $l = ({
|
|
4559
4567
|
className: t,
|
|
4560
4568
|
toasts: a = [],
|
|
4561
4569
|
fixed: r = !0,
|
|
@@ -4602,7 +4610,7 @@ const ft = {
|
|
|
4602
4610
|
"textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
|
|
4603
4611
|
"textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
|
|
4604
4612
|
"textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
|
|
4605
|
-
}, Ht = "textarea",
|
|
4613
|
+
}, Ht = "textarea", wl = e.forwardRef(
|
|
4606
4614
|
(o, _) => {
|
|
4607
4615
|
var c = o, { className: t, error: a } = c, r = P(c, ["className", "error"]);
|
|
4608
4616
|
const { disabled: l, onBlur: n, onFocus: s } = r, [i, d] = e.useState(!1), m = g(t, Ot[Ht], {
|
|
@@ -4748,7 +4756,7 @@ const ft = {
|
|
|
4748
4756
|
status: t,
|
|
4749
4757
|
progressValue: a
|
|
4750
4758
|
}
|
|
4751
|
-
),
|
|
4759
|
+
), Cl = ({
|
|
4752
4760
|
children: t,
|
|
4753
4761
|
className: a,
|
|
4754
4762
|
progressValue: r,
|
|
@@ -4821,71 +4829,73 @@ const ft = {
|
|
|
4821
4829
|
};
|
|
4822
4830
|
export {
|
|
4823
4831
|
hc as ANIMATION_TIME,
|
|
4824
|
-
|
|
4832
|
+
Jc as ActionBar,
|
|
4825
4833
|
Wr as ActionMenu,
|
|
4826
4834
|
qr as ActionMenuItem,
|
|
4827
|
-
|
|
4835
|
+
jc as Alert,
|
|
4828
4836
|
N_ as Avatar,
|
|
4829
4837
|
T_ as Badge,
|
|
4830
4838
|
G as Button,
|
|
4831
|
-
|
|
4832
|
-
|
|
4839
|
+
Zc as Card,
|
|
4840
|
+
Xc as Checkbox,
|
|
4833
4841
|
co as DatePicker,
|
|
4834
4842
|
Rc as DesignToken,
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4843
|
+
el as DetailsCard,
|
|
4844
|
+
tl as DetailsCardInfo,
|
|
4845
|
+
Uc as Display,
|
|
4846
|
+
El as EmailTagInput,
|
|
4839
4847
|
Ut as FieldDescription,
|
|
4840
4848
|
va as FieldError,
|
|
4841
|
-
|
|
4849
|
+
al as FieldGroup,
|
|
4842
4850
|
yc as FileUploadProgress,
|
|
4843
4851
|
oa as FileUploadProgressActions,
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4852
|
+
rl as Form,
|
|
4853
|
+
_l as FormField,
|
|
4854
|
+
ol as FormGroup,
|
|
4847
4855
|
je as Heading,
|
|
4848
4856
|
x as Icon,
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4857
|
+
Vc as Info,
|
|
4858
|
+
cl as Input,
|
|
4859
|
+
Yc as Interactive,
|
|
4860
|
+
ll as Link,
|
|
4853
4861
|
fa as Loader,
|
|
4854
|
-
|
|
4862
|
+
nl as Modal,
|
|
4855
4863
|
yo as ModalBase,
|
|
4856
4864
|
Oa as ModalCloseButton,
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4865
|
+
il as ModalHeader,
|
|
4866
|
+
sl as ModalPortal,
|
|
4867
|
+
dl as NumericInput,
|
|
4868
|
+
ul as Picker,
|
|
4861
4869
|
wo as PickerList,
|
|
4862
|
-
|
|
4870
|
+
ml as Popover,
|
|
4863
4871
|
Go as ProgressBar,
|
|
4864
4872
|
zo as ProgressCircle,
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4873
|
+
pl as PromoBanner,
|
|
4874
|
+
gl as PromoBannerV2,
|
|
4875
|
+
bl as RadioButton,
|
|
4868
4876
|
Oc as RadiusToken,
|
|
4869
4877
|
no as RangeDatePicker,
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4878
|
+
Kc as Reports,
|
|
4879
|
+
fl as SearchInput,
|
|
4880
|
+
Qc as SegmentedControl,
|
|
4873
4881
|
Lc as ShadowToken,
|
|
4874
|
-
|
|
4882
|
+
Wc as Simple,
|
|
4875
4883
|
Mc as SpacingToken,
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4884
|
+
vl as Switch,
|
|
4885
|
+
hl as Tab,
|
|
4886
|
+
yl as TabsList,
|
|
4887
|
+
kl as TabsWrapper,
|
|
4880
4888
|
_r as Tag,
|
|
4881
4889
|
sc as TagInput,
|
|
4882
4890
|
M as Text,
|
|
4883
|
-
|
|
4891
|
+
wl as Textarea,
|
|
4884
4892
|
vc as Toast,
|
|
4885
|
-
|
|
4893
|
+
$l as ToastWrapper,
|
|
4886
4894
|
tr as Tooltip,
|
|
4887
|
-
|
|
4888
|
-
|
|
4895
|
+
Hc as TransitionDurationToken,
|
|
4896
|
+
zc as TransitionTimingToken,
|
|
4897
|
+
Cl as UploadBar,
|
|
4898
|
+
qc as UserGuide,
|
|
4889
4899
|
h_ as generateAvatarColor,
|
|
4890
|
-
|
|
4900
|
+
Gc as getDesignTokenWithOpacity
|
|
4891
4901
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { DesignToken } from './themes/design-token';
|
|
|
2
2
|
export { SpacingToken } from './foundations/spacing-token';
|
|
3
3
|
export { ShadowToken } from './foundations/shadow-token';
|
|
4
4
|
export { RadiusToken } from './foundations/radius-token';
|
|
5
|
+
export { TransitionDurationToken, TransitionTimingToken, } from './foundations/transition-token';
|
|
5
6
|
export type { Size } from './utils';
|
|
6
7
|
export { getDesignTokenWithOpacity } from './utils';
|
|
7
8
|
export * from './components/ActionBar';
|