@fluidattacks/design 3.8.1-pr-01 → 3.8.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/components/@core/index.js +1 -1
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/code-snippet/location-code/index.js +1 -1
- package/dist/components/colors/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/content-card/category-tag/index.js +1 -1
- package/dist/components/content-card/event-date/index.js +1 -1
- package/dist/components/content-card/index.js +1 -1
- package/dist/components/content-card-carousel/index.js +1 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card/index.js +1 -1
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +1 -1
- package/dist/components/interactive-card/icon/index.js +1 -1
- package/dist/components/interactive-card/index.js +1 -1
- package/dist/components/language-selector/index.js +1 -1
- package/dist/components/language-selector/item-list/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo-carousel/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/options-selector/index.js +1 -1
- package/dist/components/modal/filters-modal/single-column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/two-columns-filters/index.js +1 -1
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/plan-card/index.js +1 -1
- package/dist/components/plan-card/recommended-tag/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/item-searching/index.js +1 -1
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/tabs/fixed-tabs/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle-buttons/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/components/web-form/index.js +1 -1
- package/dist/{components--TigyzB3.js → components-WksSf5el.js} +3 -3
- package/dist/{components-Bt1uKIQc.mjs → components-tGGvW_da.mjs} +64 -66
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g, Fragment as mt } from "react/jsx-runtime";
|
|
2
2
|
import wt, { forwardRef as V, useState as F, useCallback as k, useRef as A, StrictMode as on, useEffect as U, useMemo as J, Children as kt, isValidElement as vt, cloneElement as ln, Fragment as Ct, createElement as Ze } from "react";
|
|
3
|
-
import { o as sn, d as h, n as N, M as cn, f as dn, a as pn, l as L, b as pe, _ as R, $ as gn, c as un, e as fn, g as hn, h as bn, i as $n, j as yn, k as xn, m as St, C as zt, p as mn, q as wn, r as kn, s as Je, t as me, u as vn, v as Cn, w as It, x as we, y as Tt, z as Sn, A as zn, B as In, D as Tn, E as Nn, F as Re, G as jn, H as Nt, I as Dn, J as jt, K as Fn, L as Pn, N as Wn, O as Ln, P as En, Q as Dt, R as On, S as Qe, T as et, U as An, V as tt, W as Mn, X as Rn, Y as Bn, Z as Ft, a0 as Hn, a1 as Vn, a2 as _n, a3 as Pt, a4 as Gn, a5 as Un, a8 as
|
|
3
|
+
import { o as sn, d as h, n as N, M as cn, f as dn, a as pn, l as L, b as pe, _ as R, $ as gn, c as un, e as fn, g as hn, h as bn, i as $n, j as yn, k as xn, m as St, C as zt, p as mn, q as wn, r as kn, s as Je, t as me, u as vn, v as Cn, w as It, x as we, y as Tt, z as Sn, A as zn, B as In, D as Tn, E as Nn, F as Re, G as jn, H as Nt, I as Dn, J as jt, K as Fn, L as Pn, N as Wn, O as Ln, P as En, Q as Dt, R as On, S as Qe, T as et, U as An, V as tt, W as Mn, X as Rn, Y as Bn, Z as Ft, a0 as Hn, a1 as Vn, a2 as _n, a3 as Pt, a4 as Gn, a5 as Un, a8 as Kn, a9 as Wt, aa as Yn, ab as qn, ac as Xn, ad as Zn, ae as Jn, af as Qn, ag as ei, ah as ti, ai as nt, aj as ni, ak as it, al as ii } from "./vendor-CcjQphTP.mjs";
|
|
4
4
|
import { createPortal as Q } from "react-dom";
|
|
5
5
|
import { Link as ai, useLocation as ri, NavLink as oi } from "react-router-dom";
|
|
6
6
|
const ne = (e) => ({
|
|
@@ -1202,7 +1202,7 @@ const z = V(function({
|
|
|
1202
1202
|
]
|
|
1203
1203
|
}
|
|
1204
1204
|
);
|
|
1205
|
-
}),
|
|
1205
|
+
}), K = V(function({
|
|
1206
1206
|
borderRadius: t,
|
|
1207
1207
|
disabled: i,
|
|
1208
1208
|
icon: a,
|
|
@@ -1296,7 +1296,7 @@ const z = V(function({
|
|
|
1296
1296
|
),
|
|
1297
1297
|
/* @__PURE__ */ n(Fi, { children: i }),
|
|
1298
1298
|
a ? /* @__PURE__ */ n(
|
|
1299
|
-
|
|
1299
|
+
K,
|
|
1300
1300
|
{
|
|
1301
1301
|
height: "fit-content",
|
|
1302
1302
|
icon: "close",
|
|
@@ -1559,7 +1559,7 @@ const z = V(function({
|
|
|
1559
1559
|
/* @__PURE__ */ n("strong", { children: o })
|
|
1560
1560
|
] }),
|
|
1561
1561
|
d ? /* @__PURE__ */ n(
|
|
1562
|
-
|
|
1562
|
+
K,
|
|
1563
1563
|
{
|
|
1564
1564
|
disabled: e,
|
|
1565
1565
|
icon: "xmark",
|
|
@@ -1745,7 +1745,7 @@ const z = V(function({
|
|
|
1745
1745
|
}) => t === "video" || _i(["webm"], r) ? /* @__PURE__ */ n(at, { $opacity: a, children: /* @__PURE__ */ g("video", { controls: !0, height: o, muted: !0, width: i, children: [
|
|
1746
1746
|
/* @__PURE__ */ n("source", { src: r, type: "video/webm" }),
|
|
1747
1747
|
/* @__PURE__ */ n(oe, { href: r, iconPosition: "hidden", children: r })
|
|
1748
|
-
] }) }) : /* @__PURE__ */ n(at, { $opacity: a, children: /* @__PURE__ */ n("img", { alt: e,
|
|
1748
|
+
] }) }) : /* @__PURE__ */ n(at, { $opacity: a, children: /* @__PURE__ */ n("img", { alt: e, src: r, style: { height: o, width: i } }) }), hl = ({
|
|
1749
1749
|
alt: e,
|
|
1750
1750
|
authorEmail: t,
|
|
1751
1751
|
date: i,
|
|
@@ -1801,7 +1801,7 @@ const z = V(function({
|
|
|
1801
1801
|
}
|
|
1802
1802
|
),
|
|
1803
1803
|
f ? /* @__PURE__ */ n($, { bottom: "10px", position: "absolute", right: "10px", children: /* @__PURE__ */ n(
|
|
1804
|
-
|
|
1804
|
+
K,
|
|
1805
1805
|
{
|
|
1806
1806
|
color: "white",
|
|
1807
1807
|
icon: "arrows-maximize",
|
|
@@ -1880,7 +1880,7 @@ const z = V(function({
|
|
|
1880
1880
|
}
|
|
1881
1881
|
) : null
|
|
1882
1882
|
] });
|
|
1883
|
-
},
|
|
1883
|
+
}, Ki = h.div`
|
|
1884
1884
|
${({ theme: e }) => `
|
|
1885
1885
|
align-items: flex-start;
|
|
1886
1886
|
display: inline-flex;
|
|
@@ -2034,7 +2034,7 @@ const z = V(function({
|
|
|
2034
2034
|
weight: f
|
|
2035
2035
|
}) => {
|
|
2036
2036
|
const u = N(), b = p ? p.length : 0;
|
|
2037
|
-
return /* @__PURE__ */ g(
|
|
2037
|
+
return /* @__PURE__ */ g(Ki, { children: [
|
|
2038
2038
|
l === void 0 ? void 0 : /* @__PURE__ */ n(
|
|
2039
2039
|
Rt,
|
|
2040
2040
|
{
|
|
@@ -2150,7 +2150,7 @@ const z = V(function({
|
|
|
2150
2150
|
children: t
|
|
2151
2151
|
}
|
|
2152
2152
|
) });
|
|
2153
|
-
},
|
|
2153
|
+
}, Yi = h.ul`
|
|
2154
2154
|
${({ theme: e }) => `
|
|
2155
2155
|
align-self: center;
|
|
2156
2156
|
background: ${e.palette.white};
|
|
@@ -2237,16 +2237,16 @@ const z = V(function({
|
|
|
2237
2237
|
var Xe;
|
|
2238
2238
|
const w = N(), v = t ? void 0 : i, j = (e == null ? void 0 : e.value) ?? x, [I, T] = F(
|
|
2239
2239
|
((Xe = d.find((O) => O.value === j)) == null ? void 0 : Xe.name) ?? ""
|
|
2240
|
-
), [W, H] = F(j), [B, _] = F(d), [E, P] = F(!1), { contains:
|
|
2241
|
-
(O) =>
|
|
2242
|
-
), [
|
|
2240
|
+
), [W, H] = F(j), [B, _] = F(d), [E, P] = F(!1), { contains: Y } = hn({ sensitivity: "base" }), Z = A(null), se = A(null), Fe = A(null), Ke = A(null), Ye = A(null), Xt = J(() => d.map(
|
|
2241
|
+
(O) => Y(O.name, I) || E ? /* @__PURE__ */ n(bn, { children: O.name }, O.value) : null
|
|
2242
|
+
), [Y, I, d, E]), Zt = k(
|
|
2243
2243
|
(O) => {
|
|
2244
2244
|
T(O), O === "" ? P(!0) : (P(!1), H((X) => {
|
|
2245
2245
|
const he = O === "" ? "" : X;
|
|
2246
2246
|
return e && e.onChange(he), f && f(O), he;
|
|
2247
|
-
}), _(d.filter((X) =>
|
|
2247
|
+
}), _(d.filter((X) => Y(X.name, O))));
|
|
2248
2248
|
},
|
|
2249
|
-
[
|
|
2249
|
+
[Y, d, e, f]
|
|
2250
2250
|
), Jt = k(
|
|
2251
2251
|
(O) => {
|
|
2252
2252
|
var X;
|
|
@@ -2294,7 +2294,7 @@ const z = V(function({
|
|
|
2294
2294
|
listBoxRef: Fe,
|
|
2295
2295
|
name: c,
|
|
2296
2296
|
placeholder: u,
|
|
2297
|
-
popoverRef:
|
|
2297
|
+
popoverRef: Ye
|
|
2298
2298
|
},
|
|
2299
2299
|
te
|
|
2300
2300
|
), { listBoxProps: an } = xn(nn, te, Fe), { buttonProps: rn } = St(en, se);
|
|
@@ -2320,7 +2320,7 @@ const z = V(function({
|
|
|
2320
2320
|
ae,
|
|
2321
2321
|
{
|
|
2322
2322
|
className: `${t ? "disabled" : ""} ${v ? "error" : ""}`,
|
|
2323
|
-
ref:
|
|
2323
|
+
ref: Ke,
|
|
2324
2324
|
children: [
|
|
2325
2325
|
/* @__PURE__ */ n(
|
|
2326
2326
|
"input",
|
|
@@ -2342,7 +2342,7 @@ const z = V(function({
|
|
|
2342
2342
|
}
|
|
2343
2343
|
) : void 0,
|
|
2344
2344
|
/* @__PURE__ */ n(
|
|
2345
|
-
|
|
2345
|
+
K,
|
|
2346
2346
|
{
|
|
2347
2347
|
...rn,
|
|
2348
2348
|
className: "action",
|
|
@@ -2366,10 +2366,10 @@ const z = V(function({
|
|
|
2366
2366
|
className: "dropdown",
|
|
2367
2367
|
offset: 4,
|
|
2368
2368
|
placement: "bottom start",
|
|
2369
|
-
popoverRef:
|
|
2369
|
+
popoverRef: Ye,
|
|
2370
2370
|
state: te,
|
|
2371
|
-
triggerRef:
|
|
2372
|
-
children: /* @__PURE__ */ n(
|
|
2371
|
+
triggerRef: Ke,
|
|
2372
|
+
children: /* @__PURE__ */ n(Yi, { ...an, ref: Fe, children: [...te.collection].map((O) => /* @__PURE__ */ n(Xi, { item: O, state: te }, O.key)) })
|
|
2373
2373
|
}
|
|
2374
2374
|
) : null
|
|
2375
2375
|
]
|
|
@@ -3493,7 +3493,7 @@ const z = V(function({
|
|
|
3493
3493
|
/* @__PURE__ */ n(ma, { $size: "xs", children: I }),
|
|
3494
3494
|
/* @__PURE__ */ g($, { alignItems: "center", display: "flex", gap: 0.5, children: [
|
|
3495
3495
|
L.isEmpty(I) ? void 0 : /* @__PURE__ */ n(
|
|
3496
|
-
|
|
3496
|
+
K,
|
|
3497
3497
|
{
|
|
3498
3498
|
color: m.palette.gray[400],
|
|
3499
3499
|
height: "20px",
|
|
@@ -3584,7 +3584,7 @@ const z = V(function({
|
|
|
3584
3584
|
}) => {
|
|
3585
3585
|
const x = N(), m = e ? void 0 : t, [w, v] = F(""), j = c ? b : i == null ? void 0 : i.value, I = J(() => j && typeof j == "string" ? j.split(",").filter(Boolean) : [], [j]), T = k(
|
|
3586
3586
|
(E) => {
|
|
3587
|
-
const
|
|
3587
|
+
const Y = [...new Set(E.filter(Boolean))].join(","), Z = Oe("change", s, Y);
|
|
3588
3588
|
i && i.onChange(Z), c && c(Z);
|
|
3589
3589
|
},
|
|
3590
3590
|
[i, s, c]
|
|
@@ -4091,12 +4091,12 @@ const z = V(function({
|
|
|
4091
4091
|
[W, y]
|
|
4092
4092
|
), _ = k(
|
|
4093
4093
|
(P) => {
|
|
4094
|
-
P.key.length === 1 ? m((
|
|
4094
|
+
P.key.length === 1 ? m((Y) => Y + P.key) : P.key === "Backspace" && m((Y) => Y.slice(0, -1));
|
|
4095
4095
|
},
|
|
4096
4096
|
[]
|
|
4097
4097
|
), E = Qe.filter((P) => {
|
|
4098
|
-
const { name:
|
|
4099
|
-
return
|
|
4098
|
+
const { name: Y } = tt(P);
|
|
4099
|
+
return Y.toLowerCase().includes(x.toLowerCase());
|
|
4100
4100
|
});
|
|
4101
4101
|
return le(
|
|
4102
4102
|
w.floating.current,
|
|
@@ -4183,7 +4183,7 @@ const z = V(function({
|
|
|
4183
4183
|
),
|
|
4184
4184
|
b && Q(
|
|
4185
4185
|
/* @__PURE__ */ n(Ia, { ref: w.setFloating, style: v, children: E.map((P) => {
|
|
4186
|
-
const { dialCode:
|
|
4186
|
+
const { dialCode: Y, iso2: Z, name: se } = tt(P);
|
|
4187
4187
|
return /* @__PURE__ */ g(
|
|
4188
4188
|
Ta,
|
|
4189
4189
|
{
|
|
@@ -4199,7 +4199,7 @@ const z = V(function({
|
|
|
4199
4199
|
size: "sm",
|
|
4200
4200
|
sizeSm: "xs",
|
|
4201
4201
|
textAlign: "end",
|
|
4202
|
-
children: "+" +
|
|
4202
|
+
children: "+" + Y
|
|
4203
4203
|
}
|
|
4204
4204
|
)
|
|
4205
4205
|
]
|
|
@@ -5052,7 +5052,7 @@ const z = V(function({
|
|
|
5052
5052
|
padding-bottom: unset;
|
|
5053
5053
|
}
|
|
5054
5054
|
`}
|
|
5055
|
-
`,
|
|
5055
|
+
`, Ka = h.div`
|
|
5056
5056
|
${({ theme: e }) => `
|
|
5057
5057
|
align-items: end;
|
|
5058
5058
|
background-color: ${e.palette.gray[100]};
|
|
@@ -5097,9 +5097,9 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5097
5097
|
position: "relative",
|
|
5098
5098
|
children: [
|
|
5099
5099
|
/* @__PURE__ */ n(Gt, { "data-private": !0, children: /* @__PURE__ */ n("pre", { children: /* @__PURE__ */ n("code", { className: "language-none", children: d }) }) }),
|
|
5100
|
-
/* @__PURE__ */ g(
|
|
5100
|
+
/* @__PURE__ */ g(Ka, { children: [
|
|
5101
5101
|
/* @__PURE__ */ n(
|
|
5102
|
-
|
|
5102
|
+
K,
|
|
5103
5103
|
{
|
|
5104
5104
|
height: i.spacing[2.5],
|
|
5105
5105
|
icon: "copy",
|
|
@@ -5143,7 +5143,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5143
5143
|
...i !== void 0 ? { "data-line": String(Number(i)) } : {},
|
|
5144
5144
|
children: R.isNil(t) || R.isString(t) || R.isEmpty(t.content) ? /* @__PURE__ */ n("div", { className: "no-data", children: /* @__PURE__ */ n("p", { children: e }) }) : /* @__PURE__ */ n("code", { className: "language-none", children: t.content })
|
|
5145
5145
|
}
|
|
5146
|
-
) })), { getVariant:
|
|
5146
|
+
) })), { getVariant: Ya } = ne(
|
|
5147
5147
|
(e) => ({
|
|
5148
5148
|
fixed: `
|
|
5149
5149
|
width: 300px;
|
|
@@ -5205,7 +5205,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5205
5205
|
}
|
|
5206
5206
|
}
|
|
5207
5207
|
|
|
5208
|
-
${
|
|
5208
|
+
${Ya(e, t)}
|
|
5209
5209
|
`}
|
|
5210
5210
|
`, qa = h.div`
|
|
5211
5211
|
${({ theme: e }) => `
|
|
@@ -5549,7 +5549,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5549
5549
|
/* @__PURE__ */ g("div", { className: "items-center flex gap-3", children: [
|
|
5550
5550
|
r,
|
|
5551
5551
|
/* @__PURE__ */ n(
|
|
5552
|
-
|
|
5552
|
+
K,
|
|
5553
5553
|
{
|
|
5554
5554
|
icon: "close",
|
|
5555
5555
|
iconColor: l.palette.gray[400],
|
|
@@ -5841,7 +5841,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5841
5841
|
}
|
|
5842
5842
|
|
|
5843
5843
|
svg {
|
|
5844
|
-
|
|
5844
|
+
&.fa-check {
|
|
5845
5845
|
border-radius: 2px;
|
|
5846
5846
|
}
|
|
5847
5847
|
|
|
@@ -5849,7 +5849,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5849
5849
|
display: none;
|
|
5850
5850
|
}
|
|
5851
5851
|
}
|
|
5852
|
-
`,
|
|
5852
|
+
`, Kt = (e) => e.reduce(
|
|
5853
5853
|
(i, a) => a.group ? i[a.group] ? {
|
|
5854
5854
|
...i,
|
|
5855
5855
|
[a.group]: [...i[a.group], a]
|
|
@@ -5923,7 +5923,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5923
5923
|
),
|
|
5924
5924
|
/* @__PURE__ */ n(br, { ...r, id: t, name: t, ref: o, value: a }),
|
|
5925
5925
|
!L.isEmpty(a) && /* @__PURE__ */ n(
|
|
5926
|
-
|
|
5926
|
+
K,
|
|
5927
5927
|
{
|
|
5928
5928
|
icon: "xmark",
|
|
5929
5929
|
iconColor: l.palette.gray[300],
|
|
@@ -5938,7 +5938,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5938
5938
|
] });
|
|
5939
5939
|
return i ? /* @__PURE__ */ g(Ct, { children: [
|
|
5940
5940
|
/* @__PURE__ */ n(
|
|
5941
|
-
|
|
5941
|
+
K,
|
|
5942
5942
|
{
|
|
5943
5943
|
border: `1px solid ${l.palette.gray[300]} !important`,
|
|
5944
5944
|
icon: "magnifying-glass",
|
|
@@ -5997,7 +5997,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
5997
5997
|
flexDirection: "column",
|
|
5998
5998
|
gap: "0.625rem"
|
|
5999
5999
|
},
|
|
6000
|
-
children: Object.entries(
|
|
6000
|
+
children: Object.entries(Kt(r)).map(
|
|
6001
6001
|
([f, u]) => {
|
|
6002
6002
|
const b = `li-checkbox${f}`;
|
|
6003
6003
|
return /* @__PURE__ */ n(
|
|
@@ -6025,9 +6025,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6025
6025
|
id: t,
|
|
6026
6026
|
onReset: p,
|
|
6027
6027
|
style: {
|
|
6028
|
-
paddingTop: "0.625rem"
|
|
6029
|
-
overflowY: "auto",
|
|
6030
|
-
overflowX: "hidden"
|
|
6028
|
+
paddingTop: "0.625rem"
|
|
6031
6029
|
},
|
|
6032
6030
|
children: r.map((f) => {
|
|
6033
6031
|
const u = `li-checkbox-${f.name}`;
|
|
@@ -6092,7 +6090,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6092
6090
|
children: [
|
|
6093
6091
|
/* @__PURE__ */ n(G, { size: "sm", children: t }),
|
|
6094
6092
|
/* @__PURE__ */ n(
|
|
6095
|
-
|
|
6093
|
+
K,
|
|
6096
6094
|
{
|
|
6097
6095
|
icon: "close",
|
|
6098
6096
|
iconColor: r.palette.gray[400],
|
|
@@ -6189,7 +6187,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6189
6187
|
svg.fa-check {
|
|
6190
6188
|
border-radius: 2px;
|
|
6191
6189
|
}
|
|
6192
|
-
`,
|
|
6190
|
+
`, Yt = h(K)`
|
|
6193
6191
|
background-color: ${({ theme: e }) => e.palette.white};
|
|
6194
6192
|
color: ${({ theme: e }) => e.palette.gray[400]};
|
|
6195
6193
|
`, gt = ({
|
|
@@ -6315,7 +6313,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6315
6313
|
);
|
|
6316
6314
|
d(x);
|
|
6317
6315
|
}, [e]), t === "grouped" ? /* @__PURE__ */ g($, { flexGrow: 1, position: "relative", zIndex: 80, children: [
|
|
6318
|
-
Object.entries(
|
|
6316
|
+
Object.entries(Kt(e)).map(
|
|
6319
6317
|
([x, m]) => /* @__PURE__ */ g($, { width: "100%", children: [
|
|
6320
6318
|
/* @__PURE__ */ n(C, { color: a.palette.gray[400], mb: 0.25, size: "sm", children: x }),
|
|
6321
6319
|
m.map(
|
|
@@ -6377,7 +6375,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6377
6375
|
}
|
|
6378
6376
|
),
|
|
6379
6377
|
/* @__PURE__ */ n(
|
|
6380
|
-
|
|
6378
|
+
Yt,
|
|
6381
6379
|
{
|
|
6382
6380
|
icon: "close",
|
|
6383
6381
|
iconSize: "xs",
|
|
@@ -6447,7 +6445,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
6447
6445
|
}
|
|
6448
6446
|
),
|
|
6449
6447
|
/* @__PURE__ */ n(
|
|
6450
|
-
|
|
6448
|
+
Yt,
|
|
6451
6449
|
{
|
|
6452
6450
|
icon: "close",
|
|
6453
6451
|
iconSize: "xs",
|
|
@@ -7347,7 +7345,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
7347
7345
|
}
|
|
7348
7346
|
),
|
|
7349
7347
|
/* @__PURE__ */ n(
|
|
7350
|
-
|
|
7348
|
+
K,
|
|
7351
7349
|
{
|
|
7352
7350
|
icon: "xmark",
|
|
7353
7351
|
iconColor: c.palette.gray[400],
|
|
@@ -7512,7 +7510,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
7512
7510
|
] }),
|
|
7513
7511
|
e && /* @__PURE__ */ n($, { display: "flex", gap: 0.25, children: e.map(
|
|
7514
7512
|
({ icon: s, onClick: c }, d) => /* @__PURE__ */ n(
|
|
7515
|
-
|
|
7513
|
+
K,
|
|
7516
7514
|
{
|
|
7517
7515
|
icon: s ?? "paper-plane",
|
|
7518
7516
|
iconColor: l.palette.gray[400],
|
|
@@ -7905,11 +7903,11 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
7905
7903
|
] });
|
|
7906
7904
|
}, Ul = h.div.attrs({
|
|
7907
7905
|
className: "flex flex-wrap justify-center pv3 w-100"
|
|
7908
|
-
})``,
|
|
7906
|
+
})``, Kl = h.div.attrs({
|
|
7909
7907
|
className: "flex flex-wrap items-center justify-start mb2"
|
|
7910
7908
|
})`
|
|
7911
7909
|
gap: 12px;
|
|
7912
|
-
`,
|
|
7910
|
+
`, Yl = h.div.attrs({
|
|
7913
7911
|
className: "flex flex-wrap items-center justify-end mb2"
|
|
7914
7912
|
})`
|
|
7915
7913
|
gap: 8px;
|
|
@@ -7934,7 +7932,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
7934
7932
|
${({ $lg: e }) => be(e)}
|
|
7935
7933
|
}
|
|
7936
7934
|
|
|
7937
|
-
${({ $xl: e }) =>
|
|
7935
|
+
${({ $xl: e }) => Kn(e) ? `@media (min-width: 1200px) { ${be(e)} }` : ""}
|
|
7938
7936
|
|
|
7939
7937
|
> .comp-card {
|
|
7940
7938
|
height: 100%;
|
|
@@ -8010,7 +8008,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
8010
8008
|
$justify: r,
|
|
8011
8009
|
children: t
|
|
8012
8010
|
}
|
|
8013
|
-
),
|
|
8011
|
+
), Kr = h.span`
|
|
8014
8012
|
${({
|
|
8015
8013
|
theme: e,
|
|
8016
8014
|
$bgColor: t = e.palette.secondary[500],
|
|
@@ -8029,14 +8027,14 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
8029
8027
|
txtDecoration: i,
|
|
8030
8028
|
ml: a = 1
|
|
8031
8029
|
}) => /* @__PURE__ */ n(
|
|
8032
|
-
|
|
8030
|
+
Kr,
|
|
8033
8031
|
{
|
|
8034
8032
|
$bgColor: e,
|
|
8035
8033
|
$txtDecoration: i,
|
|
8036
8034
|
className: `ml-${a}`,
|
|
8037
8035
|
children: t
|
|
8038
8036
|
}
|
|
8039
|
-
),
|
|
8037
|
+
), Yr = {
|
|
8040
8038
|
lg: "56",
|
|
8041
8039
|
md: "30",
|
|
8042
8040
|
sm: "12"
|
|
@@ -8074,7 +8072,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
8074
8072
|
animation: ${Xr} 2s linear infinite;
|
|
8075
8073
|
animation-timing-function: linear;
|
|
8076
8074
|
display: inline-block;
|
|
8077
|
-
width: ${
|
|
8075
|
+
width: ${Yr[e]}px;
|
|
8078
8076
|
`}
|
|
8079
8077
|
`, Qr = h.circle`
|
|
8080
8078
|
${({ theme: e, $color: t = "red" }) => pe`
|
|
@@ -8425,7 +8423,7 @@ ${f[8]}...` : (f.length < 8 && l(!1), t);
|
|
|
8425
8423
|
/* @__PURE__ */ n(C, { size: "sm", whiteSpace: "break-spaces", wordWrap: "break-word", children: e })
|
|
8426
8424
|
] }),
|
|
8427
8425
|
/* @__PURE__ */ n(
|
|
8428
|
-
|
|
8426
|
+
K,
|
|
8429
8427
|
{
|
|
8430
8428
|
height: "fit-content",
|
|
8431
8429
|
icon: "close",
|
|
@@ -9308,7 +9306,7 @@ const bo = {
|
|
|
9308
9306
|
});
|
|
9309
9307
|
}, [r]);
|
|
9310
9308
|
return i ? /* @__PURE__ */ n(zo, { children: /* @__PURE__ */ n(
|
|
9311
|
-
|
|
9309
|
+
K,
|
|
9312
9310
|
{
|
|
9313
9311
|
height: "40px",
|
|
9314
9312
|
icon: "arrow-up",
|
|
@@ -9949,7 +9947,7 @@ const bo = {
|
|
|
9949
9947
|
]
|
|
9950
9948
|
}
|
|
9951
9949
|
);
|
|
9952
|
-
}, Ao = h(
|
|
9950
|
+
}, Ao = h(Yn.div)`
|
|
9953
9951
|
${({ theme: e }) => `
|
|
9954
9952
|
background-color: ${e.palette.white};
|
|
9955
9953
|
box-shadow: ${e.shadows.lg};
|
|
@@ -10045,7 +10043,7 @@ const bo = {
|
|
|
10045
10043
|
}
|
|
10046
10044
|
),
|
|
10047
10045
|
/* @__PURE__ */ n(
|
|
10048
|
-
|
|
10046
|
+
K,
|
|
10049
10047
|
{
|
|
10050
10048
|
icon: "close",
|
|
10051
10049
|
iconColor: p.palette.gray[400],
|
|
@@ -10308,7 +10306,7 @@ const bo = {
|
|
|
10308
10306
|
padding: ${`${e.spacing[1]} ${e.spacing[1]}`};
|
|
10309
10307
|
scroll-behavior: unset;
|
|
10310
10308
|
`}
|
|
10311
|
-
`,
|
|
10309
|
+
`, Ko = h.div`
|
|
10312
10310
|
display: flex;
|
|
10313
10311
|
flex-direction: row;
|
|
10314
10312
|
margin-bottom: ${({ theme: e }) => e.spacing[2]};
|
|
@@ -10316,7 +10314,7 @@ const bo = {
|
|
|
10316
10314
|
&:last-child > div:first-child > span::after {
|
|
10317
10315
|
display: none;
|
|
10318
10316
|
}
|
|
10319
|
-
`,
|
|
10317
|
+
`, Yo = h.div`
|
|
10320
10318
|
${({ theme: e }) => `
|
|
10321
10319
|
display: inline-flex;
|
|
10322
10320
|
font-family: ${e.typography.type.primary};
|
|
@@ -10365,7 +10363,7 @@ const bo = {
|
|
|
10365
10363
|
);
|
|
10366
10364
|
return /* @__PURE__ */ n(Uo, { children: r.map((c, d) => {
|
|
10367
10365
|
const { content: p, title: f, nextAction: u, previousAction: b } = c, y = d + 1, x = y === o ? "current" : "disabled", m = y < o ? "completed" : x;
|
|
10368
|
-
return /* @__PURE__ */ g(
|
|
10366
|
+
return /* @__PURE__ */ g(Ko, { children: [
|
|
10369
10367
|
/* @__PURE__ */ n($, { maxWidth: "40px", position: "relative", children: /* @__PURE__ */ n(qo, { $variant: m, children: m === "completed" ? /* @__PURE__ */ n(z, { icon: "check", iconSize: "xs", iconType: "fa-solid" }) : y }) }),
|
|
10370
10368
|
/* @__PURE__ */ g($, { ml: 1.5, width: "100%", children: [
|
|
10371
10369
|
/* @__PURE__ */ n(
|
|
@@ -10380,7 +10378,7 @@ const bo = {
|
|
|
10380
10378
|
),
|
|
10381
10379
|
m === "current" && /* @__PURE__ */ g($, { children: [
|
|
10382
10380
|
p,
|
|
10383
|
-
/* @__PURE__ */ g(
|
|
10381
|
+
/* @__PURE__ */ g(Yo, { children: [
|
|
10384
10382
|
o > 1 && /* @__PURE__ */ n(
|
|
10385
10383
|
M,
|
|
10386
10384
|
{
|
|
@@ -10907,7 +10905,7 @@ export {
|
|
|
10907
10905
|
Bl as K,
|
|
10908
10906
|
z as L,
|
|
10909
10907
|
ee as M,
|
|
10910
|
-
|
|
10908
|
+
K as N,
|
|
10911
10909
|
Hl as O,
|
|
10912
10910
|
Vl as P,
|
|
10913
10911
|
q as Q,
|
|
@@ -10926,8 +10924,8 @@ export {
|
|
|
10926
10924
|
xl as a0,
|
|
10927
10925
|
_l as a1,
|
|
10928
10926
|
Ul as a2,
|
|
10929
|
-
|
|
10930
|
-
|
|
10927
|
+
Yl as a3,
|
|
10928
|
+
Kl as a4,
|
|
10931
10929
|
ql as a5,
|
|
10932
10930
|
Xl as a6,
|
|
10933
10931
|
Zl as a7,
|
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../components
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../components-WksSf5el.js");exports.useCarousel=e.useCarousel;exports.useClickOutside=e.useClickOutside;exports.useCloudinaryImage=e.useCloudinaryImage;exports.useColumnsModal=e.useColumnsModal;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useModal=e.useModal;exports.useSearch=e.useSearch;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const e=require("./components-WksSf5el.js"),t=require("./vendor-CoxRLRoC.js");exports.Accordion=e.Accordion;exports.Alert=e.Alert;exports.BaseButtonComponent=e.BaseButtonComponent;exports.BaseComponent=e.BaseComponent;exports.BaseSpanComponent=e.BaseSpanComponent;exports.BaseTextComponent=e.BaseTextComponent;exports.Button=e.Button;exports.ButtonToolbarCenter=e.ButtonToolbarCenter;exports.ButtonToolbarRow=e.ButtonToolbarRow;exports.ButtonToolbarStartRow=e.ButtonToolbarStartRow;exports.CardHeader=e.CardHeader;exports.CardWithImage=e.CardWithImage;exports.CardWithInput=e.CardWithInput;exports.CardWithSelector=e.CardWithSelector;exports.CardWithSwitch=e.CardWithSwitch;exports.Carousel=e.Carousel;exports.Checkbox=e.Checkbox;exports.CloudImage=e.MemoizedImage;exports.CodeSnippet=e.CodeSnippet;exports.Col=e.Col;exports.ColumnsModal=e.ColumnsModal;exports.ComboBox=e.ComboBox;exports.Container=e.Container;exports.CustomThemeProvider=e.CustomThemeProvider;exports.Divider=e.Divider;exports.Editable=e.Editable;exports.EmptyState=e.EmptyState;exports.FilePreview=e.FilePreview;exports.Form=e.Form;exports.FormItem=e.FormItem;exports.Gap=e.Gap;exports.GridContainer=e.GridContainer;exports.GroupSelector=e.GroupSelector;exports.Heading=e.Heading;exports.Icon=e.Icon;exports.IconButton=e.IconButton;exports.IndicatorCard=e.IndicatorCard;exports.InfoSidebar=e.InfoSidebar;exports.Input=e.Input;exports.InputDate=e.InputDate;exports.InputDateRange=e.InputDateRange;exports.InputDateTime=e.InputDateTime;exports.InputFile=e.InputFile;exports.InputNumber=e.InputNumber;exports.InputNumberRange=e.InputNumberRange;exports.InputTags=e.InputTags;exports.InteractiveCard=e.InteractiveCard;exports.LanguageSelector=e.LanguageSelector;exports.Link=e.Link;exports.ListItem=e.ListItem;exports.ListItemsWrapper=e.ListItemsWrapper;exports.LittleFlag=e.LittleFlag;exports.Loading=e.Loading;exports.Logo=e.Logo;exports.LogoCarousel=e.LogoCarousel;exports.Menu=e.Menu;exports.MessageBanner=e.MessageBanner;exports.Modal=e.Modal;exports.ModalConfirm=e.ModalConfirm;exports.ModalFooter=e.ModalFooter;exports.Notification=e.Notification;exports.NotificationSign=e.NotificationSign;exports.NumberInput=e.NumberInput;exports.OAuthSelector=e.OAuthSelector;exports.OptionContainer=e.OptionContainer;exports.OutlineContainer=e.OutlineContainer;exports.PhoneInput=e.PhoneInput;exports.PopUp=e.PopUp;exports.PremiumFeature=e.PremiumFeature;exports.PriorityScore=e.PriorityScore;exports.Progress=e.Progress;exports.RadioButton=e.RadioButton;exports.Row=e.Row;exports.ScrollUpButton=e.ScrollUpButton;exports.Search=e.Search;exports.SearchBar=e.SearchBar;exports.SeverityBadge=e.SeverityBadge;exports.SeverityOverview=e.SeverityOverview;exports.ShowOnHover=e.ShowOnHover;exports.SingleColumFilters=e.SingleColumFilters;exports.SlideOutMenu=e.SlideOutMenu;exports.Slider=e.Slider;exports.Span=e.Span;exports.StepLapse=e.StepLapse;exports.TableButton=e.TableButton;exports.Tabs=e.Tabs;exports.Tag=e.Tag;exports.Text=e.Text;exports.TextArea=e.TextArea;exports.TimeLine=e.TimeLine;exports.TimeLineCard=e.TimeLineCard;exports.Toggle=e.Toggle;exports.ToggleButton=e.ToggleButton;exports.Tooltip=e.Tooltip;exports.Tour=e.Tour;exports.TwoColumnsFilters=e.TwoColumnsFilters;exports.WebForm=e.WebForm;exports.baseStep=e.baseStep;exports.getStyledConfig=e.getStyledConfig;exports.hiddenProps=e.hiddenProps;exports.icons=e.icons;exports.setBorder=e.setBorder;exports.setDisplay=e.setDisplay;exports.setInteraction=e.setInteraction;exports.setMargin=e.setMargin;exports.setPadding=e.setPadding;exports.setPosition=e.setPosition;exports.setText=e.setText;exports.theme=e.theme;exports.uniqueIcons=e.uniqueIcons;exports.useCarousel=e.useCarousel;exports.useClickOutside=e.useClickOutside;exports.useCloudinaryImage=e.useCloudinaryImage;exports.useColumnsModal=e.useColumnsModal;exports.useConfirmDialog=e.useConfirmDialog;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useModal=e.useModal;exports.useSearch=e.useSearch;exports.variantBuilder=e.variantBuilder;exports.useFormContext=t.useFormContext;exports.useWatch=t.useWatch;
|
package/package.json
CHANGED