@fluidattacks/design 3.30.7 → 3.30.8
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/avatar/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/card/indicator-card/index.js +1 -1
- package/dist/components/card-container/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/conditions-dialog/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/copy-button/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/dropdown/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/form/inner-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-db/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-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/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/fields/text-input/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/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/lottie/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/applied-filter/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/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/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/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-cards/card/index.js +1 -1
- package/dist/components/priority-cards/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
- package/dist/components/progress-indicator/index.js +1 -1
- package/dist/components/progress-indicator/step/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/rank-position/icon/index.js +1 -1
- package/dist/components/rank-position/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/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/context/index.js +1 -1
- package/dist/components/table/export-csv/index.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/pagination/pagination-control/index.js +1 -1
- package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
- package/dist/components/table/pagination/pagination-size/index.js +1 -1
- package/dist/components/table/sort-icon/index.js +1 -1
- package/dist/components/table/table-body/index.js +1 -1
- package/dist/components/table/table-column-toggle/index.js +1 -1
- package/dist/components/table/table-content/head/index.js +1 -1
- package/dist/components/table/table-content/index.js +1 -1
- package/dist/components/table/table-footer/footer-content/index.js +1 -1
- package/dist/components/table/table-footer/index.js +1 -1
- package/dist/components/table/table-options/caption-content/index.js +1 -1
- package/dist/components/table/table-options/controls-content/index.js +1 -1
- package/dist/components/table/table-options/highlighted-content/index.js +1 -1
- package/dist/components/table/table-options/index.js +1 -1
- package/dist/components/table/wrapper/index.js +1 -1
- package/dist/components/table-button/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/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/weaknesses-card/index.js +1 -1
- package/dist/{components-CM34UVEe.js → components-B9m1yy3N.js} +36 -36
- package/dist/{components-DVmrrsTB.mjs → components-B_e2J3rx.mjs} +66 -59
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as f, Fragment as je } from "react/jsx-runtime";
|
|
2
|
-
import at, { forwardRef as q, useState as R, useCallback as v, useMemo as Z, StrictMode as _n, useEffect as
|
|
2
|
+
import at, { forwardRef as q, useState as R, useCallback as v, useMemo as Z, StrictMode as _n, useEffect as U, useRef as M, Fragment as he, Children as nt, isValidElement as en, cloneElement as tn, createContext as Gn, useContext as fe } from "react";
|
|
3
3
|
import { ThemeProvider as Yn, styled as b, useTheme as N, css as Se, keyframes as nn } from "styled-components";
|
|
4
4
|
import { u as rn, a as Kn, b as Xn, c as Zn, d as qn, l as V, e as lt, f as Jn, o as st, s as Qn, _ as j, $ as ei, g as ti, h as ni, i as ii, j as ri, k as oi, m as ai, n as li, p as si, q as on, C as ct, r as ci, t as di, v as pi, w as kt, x as Pe, y as gi, z as ui, A as an, B as ln, D as Oe, E as hi, F as fi, G as yi, H as $i, I as bi, J as oe, K as xi, L as sn, M as mi, N as cn, O as wi, P as vi, Q as ki, R as Ci, S as Si, T as zi, U as dt, V as Ii, W as Ct, X as St, Y as zt, Z as Ti, a0 as Di, a1 as Ni, a2 as Ei, a3 as Fi, a4 as me, a5 as Ri, a6 as dn, a7 as pn, a8 as gn, a9 as Ai, aa as Li, ab as ji, ac as Pi, ad as Oi, ah as un, ai as Wi, aj as Hi, ak as Mi, al as Bi, am as Vi, an as Ui, ao as _i, ap as Gi, aq as Yi, ar as Ki, as as it, at as Xi, au as It, av as Zi, aw as Tt, ax as qi, ay as Ji } from "./vendor-67gG3dYX.mjs";
|
|
5
5
|
import { createPortal as $e } from "react-dom";
|
|
@@ -1358,14 +1358,14 @@ const A = q(function({
|
|
|
1358
1358
|
const [u, h] = R(l), y = v(() => {
|
|
1359
1359
|
h(!1);
|
|
1360
1360
|
}, []);
|
|
1361
|
-
return
|
|
1361
|
+
return U(() => {
|
|
1362
1362
|
const m = setTimeout(() => {
|
|
1363
1363
|
a == null || a(!0), t && y();
|
|
1364
1364
|
}, s * 1e3);
|
|
1365
1365
|
return () => {
|
|
1366
1366
|
clearTimeout(m);
|
|
1367
1367
|
};
|
|
1368
|
-
}, [t, y, s, a]),
|
|
1368
|
+
}, [t, y, s, a]), U(() => {
|
|
1369
1369
|
h(l);
|
|
1370
1370
|
}, [l, h]), /* @__PURE__ */ i(
|
|
1371
1371
|
$,
|
|
@@ -1806,7 +1806,7 @@ const A = q(function({
|
|
|
1806
1806
|
"noopener,noreferrer,"
|
|
1807
1807
|
);
|
|
1808
1808
|
V.isObject(n) && (n.opener = null);
|
|
1809
|
-
},
|
|
1809
|
+
}, _ = q(function({
|
|
1810
1810
|
children: t,
|
|
1811
1811
|
disabled: n = !1,
|
|
1812
1812
|
external: r = !1,
|
|
@@ -1916,7 +1916,7 @@ const A = q(function({
|
|
|
1916
1916
|
position: "relative",
|
|
1917
1917
|
zIndex: 30,
|
|
1918
1918
|
children: [
|
|
1919
|
-
s ? /* @__PURE__ */ f(
|
|
1919
|
+
s ? /* @__PURE__ */ f(_, { onClick: n, px: 0.5, py: 0.5, variant: "ghost", children: [
|
|
1920
1920
|
/* @__PURE__ */ i(Dt, { children: r[0].toUpperCase() }),
|
|
1921
1921
|
a ? /* @__PURE__ */ i(
|
|
1922
1922
|
D,
|
|
@@ -2770,7 +2770,7 @@ const A = q(function({
|
|
|
2770
2770
|
)
|
|
2771
2771
|
] });
|
|
2772
2772
|
}), pe = (e, t, n = !1, r) => {
|
|
2773
|
-
|
|
2773
|
+
U(() => {
|
|
2774
2774
|
var a;
|
|
2775
2775
|
const o = (l) => {
|
|
2776
2776
|
e && !e.contains(l.target) && !(r != null && r.contains(l.target)) && t();
|
|
@@ -2987,7 +2987,7 @@ const A = q(function({
|
|
|
2987
2987
|
},
|
|
2988
2988
|
!0,
|
|
2989
2989
|
Qe.current
|
|
2990
|
-
),
|
|
2990
|
+
), U(() => {
|
|
2991
2991
|
var H;
|
|
2992
2992
|
if ((c === !1 || !E) && !p) {
|
|
2993
2993
|
const Q = ((H = g.find((ee) => ee.value === E)) == null ? void 0 : H.name) ?? "";
|
|
@@ -3515,7 +3515,7 @@ const A = q(function({
|
|
|
3515
3515
|
}
|
|
3516
3516
|
),
|
|
3517
3517
|
/* @__PURE__ */ i(ut, { state: r }),
|
|
3518
|
-
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(
|
|
3518
|
+
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(_, { onClick: e, variant: "ghost", children: "Cancel" }) })
|
|
3519
3519
|
] });
|
|
3520
3520
|
}, Sn = ({
|
|
3521
3521
|
segment: e,
|
|
@@ -3803,7 +3803,7 @@ const A = q(function({
|
|
|
3803
3803
|
}
|
|
3804
3804
|
),
|
|
3805
3805
|
/* @__PURE__ */ i(ut, { state: o }),
|
|
3806
|
-
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(
|
|
3806
|
+
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(_, { onClick: e, variant: "ghost", children: "Cancel" }) })
|
|
3807
3807
|
] });
|
|
3808
3808
|
}, ho = b.div`
|
|
3809
3809
|
${({ theme: e, $disabled: t, $show: n }) => `
|
|
@@ -3978,7 +3978,7 @@ const A = q(function({
|
|
|
3978
3978
|
}
|
|
3979
3979
|
) })
|
|
3980
3980
|
] }),
|
|
3981
|
-
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(
|
|
3981
|
+
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(_, { onClick: t, variant: "ghost", children: "Cancel" }) })
|
|
3982
3982
|
] });
|
|
3983
3983
|
}, Ys = (e) => {
|
|
3984
3984
|
const {
|
|
@@ -4359,7 +4359,7 @@ const A = q(function({
|
|
|
4359
4359
|
}
|
|
4360
4360
|
) }),
|
|
4361
4361
|
l < d - 1 && l + 1 === (r == null ? void 0 : r.length) ? /* @__PURE__ */ i(Pt, { lg: 25, md: 25, sm: 25, children: /* @__PURE__ */ i(
|
|
4362
|
-
|
|
4362
|
+
_,
|
|
4363
4363
|
{
|
|
4364
4364
|
disabled: n,
|
|
4365
4365
|
icon: "plus",
|
|
@@ -4529,7 +4529,7 @@ const A = q(function({
|
|
|
4529
4529
|
}
|
|
4530
4530
|
),
|
|
4531
4531
|
/* @__PURE__ */ f(
|
|
4532
|
-
|
|
4532
|
+
_,
|
|
4533
4533
|
{
|
|
4534
4534
|
border: t ? `1px solid ${x.palette.gray[300]} !important` : "",
|
|
4535
4535
|
borderRadius: "0px 8px 8px 0px !important",
|
|
@@ -5598,13 +5598,13 @@ const A = q(function({
|
|
|
5598
5598
|
height: auto;
|
|
5599
5599
|
`, jo = (e, t) => {
|
|
5600
5600
|
const [r, o] = R(0), [a, l] = R(0);
|
|
5601
|
-
return
|
|
5601
|
+
return U(() => {
|
|
5602
5602
|
a === 100 && (() => {
|
|
5603
5603
|
o(
|
|
5604
5604
|
(c) => c === t - 1 ? 0 : c + 1
|
|
5605
5605
|
);
|
|
5606
5606
|
})();
|
|
5607
|
-
}, [a, t]),
|
|
5607
|
+
}, [a, t]), U(() => {
|
|
5608
5608
|
const s = setInterval(() => {
|
|
5609
5609
|
l(
|
|
5610
5610
|
(c) => c === 100 ? 0 : c + 1
|
|
@@ -6300,7 +6300,7 @@ const A = q(function({
|
|
|
6300
6300
|
noCodeMessage: e = "Code snippet not available",
|
|
6301
6301
|
snippet: t,
|
|
6302
6302
|
specific: n
|
|
6303
|
-
}) => (
|
|
6303
|
+
}) => (U(() => {
|
|
6304
6304
|
Ri.highlightAll();
|
|
6305
6305
|
}, []), /* @__PURE__ */ i(Tn, { "data-private": !0, children: /* @__PURE__ */ i(
|
|
6306
6306
|
"pre",
|
|
@@ -6365,7 +6365,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6365
6365
|
width: a.spacing[2.5]
|
|
6366
6366
|
}
|
|
6367
6367
|
),
|
|
6368
|
-
c ? /* @__PURE__ */ f(
|
|
6368
|
+
c ? /* @__PURE__ */ f(_, { onClick: p, variant: "ghost", children: [
|
|
6369
6369
|
l ? "Show Less" : "Show more",
|
|
6370
6370
|
/* @__PURE__ */ i(
|
|
6371
6371
|
A,
|
|
@@ -6551,7 +6551,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6551
6551
|
e,
|
|
6552
6552
|
/* @__PURE__ */ i(ra, { children: /* @__PURE__ */ f("div", { children: [
|
|
6553
6553
|
r && /* @__PURE__ */ i(
|
|
6554
|
-
|
|
6554
|
+
_,
|
|
6555
6555
|
{
|
|
6556
6556
|
id: r.id,
|
|
6557
6557
|
onClick: a,
|
|
@@ -6561,7 +6561,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6561
6561
|
}
|
|
6562
6562
|
),
|
|
6563
6563
|
n && /* @__PURE__ */ i(
|
|
6564
|
-
|
|
6564
|
+
_,
|
|
6565
6565
|
{
|
|
6566
6566
|
id: n.id,
|
|
6567
6567
|
onClick: l,
|
|
@@ -6584,7 +6584,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6584
6584
|
const a = N(), l = v(() => {
|
|
6585
6585
|
o == null || o(), n.close();
|
|
6586
6586
|
}, [n, o]);
|
|
6587
|
-
return
|
|
6587
|
+
return U(() => {
|
|
6588
6588
|
const s = (c) => {
|
|
6589
6589
|
c.key === "Escape" && l();
|
|
6590
6590
|
};
|
|
@@ -6644,7 +6644,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6644
6644
|
mt: 1.5,
|
|
6645
6645
|
children: [
|
|
6646
6646
|
n ? /* @__PURE__ */ i(
|
|
6647
|
-
|
|
6647
|
+
_,
|
|
6648
6648
|
{
|
|
6649
6649
|
id: `${t}-cancel`,
|
|
6650
6650
|
justify: "center",
|
|
@@ -6655,7 +6655,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
6655
6655
|
}
|
|
6656
6656
|
) : void 0,
|
|
6657
6657
|
/* @__PURE__ */ i(
|
|
6658
|
-
|
|
6658
|
+
_,
|
|
6659
6659
|
{
|
|
6660
6660
|
disabled: e,
|
|
6661
6661
|
id: t,
|
|
@@ -7131,7 +7131,11 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7131
7131
|
maxLength: a = ma,
|
|
7132
7132
|
...l
|
|
7133
7133
|
}) => {
|
|
7134
|
-
const s = M(null), c = N(), [d, p] = R(!1), [g, u] = R(o ?? ""), { refs: h, floatingStyles: y } = dt()
|
|
7134
|
+
const s = M(null), c = N(), [d, p] = R(!1), [g, u] = R(o ?? ""), { refs: h, floatingStyles: y } = dt();
|
|
7135
|
+
U(() => {
|
|
7136
|
+
u(o ?? "");
|
|
7137
|
+
}, [o]);
|
|
7138
|
+
const m = v(() => {
|
|
7135
7139
|
p((w) => !w);
|
|
7136
7140
|
}, []), x = v(
|
|
7137
7141
|
(w) => {
|
|
@@ -7231,7 +7235,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7231
7235
|
), p = v(() => {
|
|
7232
7236
|
o.current && (o.current.reset(), c(""));
|
|
7233
7237
|
}, [o]);
|
|
7234
|
-
return
|
|
7238
|
+
return U(() => {
|
|
7235
7239
|
l(
|
|
7236
7240
|
e.filter(
|
|
7237
7241
|
(g) => {
|
|
@@ -7446,7 +7450,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7446
7450
|
py: 1.25,
|
|
7447
7451
|
children: [
|
|
7448
7452
|
/* @__PURE__ */ i(
|
|
7449
|
-
|
|
7453
|
+
_,
|
|
7450
7454
|
{
|
|
7451
7455
|
disabled: !n.hasChanged,
|
|
7452
7456
|
form: "columns-visibility",
|
|
@@ -7459,7 +7463,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7459
7463
|
}
|
|
7460
7464
|
),
|
|
7461
7465
|
/* @__PURE__ */ i(
|
|
7462
|
-
|
|
7466
|
+
_,
|
|
7463
7467
|
{
|
|
7464
7468
|
id: "columns-modal-submit",
|
|
7465
7469
|
justify: "center",
|
|
@@ -7767,7 +7771,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7767
7771
|
},
|
|
7768
7772
|
[n]
|
|
7769
7773
|
);
|
|
7770
|
-
return
|
|
7774
|
+
return U(() => {
|
|
7771
7775
|
s(e), Ca(e, p);
|
|
7772
7776
|
}, [e, s, p]), /* @__PURE__ */ f(
|
|
7773
7777
|
"div",
|
|
@@ -7798,7 +7802,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7798
7802
|
watch: g
|
|
7799
7803
|
}
|
|
7800
7804
|
),
|
|
7801
|
-
/* @__PURE__ */ i(
|
|
7805
|
+
/* @__PURE__ */ i(_, { mt: 1, type: "submit", children: "Apply" })
|
|
7802
7806
|
] })
|
|
7803
7807
|
]
|
|
7804
7808
|
}
|
|
@@ -7876,7 +7880,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7876
7880
|
},
|
|
7877
7881
|
[u, x]
|
|
7878
7882
|
);
|
|
7879
|
-
return
|
|
7883
|
+
return U(() => {
|
|
7880
7884
|
const C = e.reduce(
|
|
7881
7885
|
(w, { label: z, filterOptions: I }) => {
|
|
7882
7886
|
const L = I.flatMap(({ value: T, minValue: W, maxValue: B }) => [
|
|
@@ -7895,7 +7899,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7895
7899
|
{}
|
|
7896
7900
|
);
|
|
7897
7901
|
h(C), p.length > 0 && o && o("column");
|
|
7898
|
-
}, [p, e, o]),
|
|
7902
|
+
}, [p, e, o]), U(() => {
|
|
7899
7903
|
l == null || l(p.length > 0);
|
|
7900
7904
|
}, [p.length, l]), t === "grouped" ? /* @__PURE__ */ i(
|
|
7901
7905
|
$,
|
|
@@ -7979,7 +7983,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
|
|
|
7979
7983
|
variant: "ghost"
|
|
7980
7984
|
}
|
|
7981
7985
|
);
|
|
7982
|
-
return
|
|
7986
|
+
return U(() => {
|
|
7983
7987
|
const x = (k) => {
|
|
7984
7988
|
const S = y.current;
|
|
7985
7989
|
S && !S.contains(k.target) && r.close();
|
|
@@ -8312,7 +8316,7 @@ const De = ({
|
|
|
8312
8316
|
},
|
|
8313
8317
|
[u, l, t]
|
|
8314
8318
|
);
|
|
8315
|
-
return
|
|
8319
|
+
return U(() => {
|
|
8316
8320
|
const w = r.flatMap((L) => L.filterOptions), z = n();
|
|
8317
8321
|
if ((() => {
|
|
8318
8322
|
if (!z) return !1;
|
|
@@ -8327,7 +8331,7 @@ const De = ({
|
|
|
8327
8331
|
h(L);
|
|
8328
8332
|
} else
|
|
8329
8333
|
w.flatMap((E) => E.value).filter(Boolean).length > 0 || w.flatMap((E) => E.options).filter((E) => (E == null ? void 0 : E.checked) === !0).length > 0 ? (h(w), p && tt(w, t)) : h(w);
|
|
8330
|
-
}, [r, h, t, n, p]),
|
|
8334
|
+
}, [r, h, t, n, p]), U(() => {
|
|
8331
8335
|
o && e !== void 0 && o(Ha(e, u)), a == null || a(u);
|
|
8332
8336
|
}, [e, u, o, a]), { Filters: () => /* @__PURE__ */ f(
|
|
8333
8337
|
$,
|
|
@@ -8340,7 +8344,7 @@ const De = ({
|
|
|
8340
8344
|
wrap: "wrap",
|
|
8341
8345
|
children: [
|
|
8342
8346
|
/* @__PURE__ */ i($, { pr: 0.25, children: /* @__PURE__ */ i(
|
|
8343
|
-
|
|
8347
|
+
_,
|
|
8344
8348
|
{
|
|
8345
8349
|
icon: "filter",
|
|
8346
8350
|
id: "filter-btn",
|
|
@@ -8379,7 +8383,7 @@ const De = ({
|
|
|
8379
8383
|
id: h = "modal-container"
|
|
8380
8384
|
}) => {
|
|
8381
8385
|
const y = N(), [m, x] = R(void 0), k = M(null), S = M(!1), C = Array.isArray(p) && p.length > 0, w = n ?? o;
|
|
8382
|
-
|
|
8386
|
+
U(() => {
|
|
8383
8387
|
if (C && !S.current && k.current) {
|
|
8384
8388
|
const I = k.current.getBoundingClientRect().height;
|
|
8385
8389
|
I > 50 && (x(I), S.current = !0);
|
|
@@ -8524,7 +8528,7 @@ const De = ({
|
|
|
8524
8528
|
var p;
|
|
8525
8529
|
t(!1), r(void 0), (p = o.current) == null || p.call(o, !1);
|
|
8526
8530
|
}, []);
|
|
8527
|
-
return
|
|
8531
|
+
return U(() => {
|
|
8528
8532
|
a.setIsOpen(e);
|
|
8529
8533
|
}, [e, a]), { ConfirmDialog: ({ id: p = "confirm-dialog-modal", children: g }) => /* @__PURE__ */ f(
|
|
8530
8534
|
En,
|
|
@@ -8634,7 +8638,7 @@ const De = ({
|
|
|
8634
8638
|
document.getElementById(`dropdown-toggle-${n}`)
|
|
8635
8639
|
), /* @__PURE__ */ f(he, { children: [
|
|
8636
8640
|
/* @__PURE__ */ i(
|
|
8637
|
-
|
|
8641
|
+
_,
|
|
8638
8642
|
{
|
|
8639
8643
|
"aria-label": a,
|
|
8640
8644
|
icon: e,
|
|
@@ -8675,7 +8679,7 @@ const De = ({
|
|
|
8675
8679
|
);
|
|
8676
8680
|
}) }) : void 0
|
|
8677
8681
|
] });
|
|
8678
|
-
}, _t = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(
|
|
8682
|
+
}, _t = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(_, { onClick: e.onClick, variant: t, children: e.text }), Ga = b.div`
|
|
8679
8683
|
display: flex;
|
|
8680
8684
|
flex-direction: column;
|
|
8681
8685
|
align-items: center;
|
|
@@ -8820,7 +8824,7 @@ const De = ({
|
|
|
8820
8824
|
e,
|
|
8821
8825
|
/* @__PURE__ */ f($, { display: "flex", gap: 0.75, maxWidth: s, children: [
|
|
8822
8826
|
n ? /* @__PURE__ */ i(
|
|
8823
|
-
|
|
8827
|
+
_,
|
|
8824
8828
|
{
|
|
8825
8829
|
icon: n.icon,
|
|
8826
8830
|
id: `${l}-cancel`,
|
|
@@ -8833,7 +8837,7 @@ const De = ({
|
|
|
8833
8837
|
}
|
|
8834
8838
|
) : void 0,
|
|
8835
8839
|
/* @__PURE__ */ i(
|
|
8836
|
-
|
|
8840
|
+
_,
|
|
8837
8841
|
{
|
|
8838
8842
|
disabled: ((o == null ? void 0 : o.disabled) ?? !1) || m.formState.isSubmitting || a && !m.formState.isDirty,
|
|
8839
8843
|
icon: o == null ? void 0 : o.icon,
|
|
@@ -8994,9 +8998,11 @@ const De = ({
|
|
|
8994
8998
|
},
|
|
8995
8999
|
[u, h]
|
|
8996
9000
|
);
|
|
8997
|
-
|
|
9001
|
+
U(() => {
|
|
8998
9002
|
p(t), h(g);
|
|
8999
|
-
}, [t, h, g])
|
|
9003
|
+
}, [t, h, g]), U(() => {
|
|
9004
|
+
e && (u(""), p(t));
|
|
9005
|
+
}, [e, t]);
|
|
9000
9006
|
const x = /* @__PURE__ */ i(
|
|
9001
9007
|
$,
|
|
9002
9008
|
{
|
|
@@ -9051,7 +9057,8 @@ const De = ({
|
|
|
9051
9057
|
maxLength: Ne,
|
|
9052
9058
|
onChange: m,
|
|
9053
9059
|
onInput: y,
|
|
9054
|
-
placeholder: "Search"
|
|
9060
|
+
placeholder: "Search",
|
|
9061
|
+
value: g
|
|
9055
9062
|
}
|
|
9056
9063
|
) }),
|
|
9057
9064
|
/* @__PURE__ */ i(ke, { mb: 1, mt: 1 }),
|
|
@@ -9253,7 +9260,7 @@ const De = ({
|
|
|
9253
9260
|
py: 1,
|
|
9254
9261
|
children: a.map(
|
|
9255
9262
|
({ icon: s, text: c, onClick: d }, p) => /* @__PURE__ */ i(
|
|
9256
|
-
|
|
9263
|
+
_,
|
|
9257
9264
|
{
|
|
9258
9265
|
icon: s,
|
|
9259
9266
|
onClick: d,
|
|
@@ -9476,7 +9483,7 @@ const De = ({
|
|
|
9476
9483
|
const c = N(), [d, p] = R(o), g = v(() => {
|
|
9477
9484
|
p(!1), l == null || l();
|
|
9478
9485
|
}, [l]);
|
|
9479
|
-
|
|
9486
|
+
U(() => {
|
|
9480
9487
|
p(o);
|
|
9481
9488
|
}, [o, p]);
|
|
9482
9489
|
const u = /* @__PURE__ */ f(pl, { onClick: t, children: [
|
|
@@ -9737,7 +9744,7 @@ const De = ({
|
|
|
9737
9744
|
width: "max-content",
|
|
9738
9745
|
zIndex: 10,
|
|
9739
9746
|
children: [
|
|
9740
|
-
/* @__PURE__ */ i(
|
|
9747
|
+
/* @__PURE__ */ i(_, { icon: "plus", onClick: g, variant: "primary", children: t }),
|
|
9741
9748
|
/* @__PURE__ */ f(
|
|
9742
9749
|
$,
|
|
9743
9750
|
{
|
|
@@ -10026,7 +10033,7 @@ const De = ({
|
|
|
10026
10033
|
handleSetItems: n
|
|
10027
10034
|
}) => {
|
|
10028
10035
|
const r = N(), [o, a] = R(t), [l, s] = R(void 0);
|
|
10029
|
-
|
|
10036
|
+
U(() => {
|
|
10030
10037
|
a(t);
|
|
10031
10038
|
}, [t]);
|
|
10032
10039
|
const c = v(
|
|
@@ -10569,7 +10576,7 @@ const De = ({
|
|
|
10569
10576
|
justify: p ? "start" : "center",
|
|
10570
10577
|
children: [
|
|
10571
10578
|
V.isObject(o) ? /* @__PURE__ */ i(
|
|
10572
|
-
|
|
10579
|
+
_,
|
|
10573
10580
|
{
|
|
10574
10581
|
onClick: C,
|
|
10575
10582
|
variant: (o == null ? void 0 : o.variant) ?? "primary",
|
|
@@ -10578,7 +10585,7 @@ const De = ({
|
|
|
10578
10585
|
o == null ? void 0 : o.key
|
|
10579
10586
|
) : void 0,
|
|
10580
10587
|
V.isObject(t) ? /* @__PURE__ */ i(
|
|
10581
|
-
|
|
10588
|
+
_,
|
|
10582
10589
|
{
|
|
10583
10590
|
onClick: S,
|
|
10584
10591
|
variant: (t == null ? void 0 : t.variant) ?? "tertiary",
|
|
@@ -10612,7 +10619,7 @@ const De = ({
|
|
|
10612
10619
|
zIndex: a = 100
|
|
10613
10620
|
}) => {
|
|
10614
10621
|
const [l, s] = R(!1), [c, d] = R(null), p = N();
|
|
10615
|
-
|
|
10622
|
+
U(() => {
|
|
10616
10623
|
d(document.getElementById(e)), c == null || c.addEventListener("scroll", () => {
|
|
10617
10624
|
s(c.scrollTop > n);
|
|
10618
10625
|
});
|
|
@@ -10886,7 +10893,7 @@ const De = ({
|
|
|
10886
10893
|
},
|
|
10887
10894
|
[o]
|
|
10888
10895
|
);
|
|
10889
|
-
return
|
|
10896
|
+
return U(() => {
|
|
10890
10897
|
const d = ["mousedown", "touchstart"], p = (g) => {
|
|
10891
10898
|
var x;
|
|
10892
10899
|
const u = g.target, h = document.getElementById("helpBtn"), y = document.getElementById("filter-btn"), m = (u === h || ((h == null ? void 0 : h.contains(u)) ?? !1) || u === y || (y == null ? void 0 : y.contains(u))) ?? !1;
|
|
@@ -11252,7 +11259,7 @@ const De = ({
|
|
|
11252
11259
|
p,
|
|
11253
11260
|
/* @__PURE__ */ f(Zl, { children: [
|
|
11254
11261
|
a > 1 && /* @__PURE__ */ i(
|
|
11255
|
-
|
|
11262
|
+
_,
|
|
11256
11263
|
{
|
|
11257
11264
|
disabled: c.isDisabledPrevious ?? !1,
|
|
11258
11265
|
onClick: s(-1, h),
|
|
@@ -11261,7 +11268,7 @@ const De = ({
|
|
|
11261
11268
|
}
|
|
11262
11269
|
),
|
|
11263
11270
|
a < o.length ? /* @__PURE__ */ i(
|
|
11264
|
-
|
|
11271
|
+
_,
|
|
11265
11272
|
{
|
|
11266
11273
|
disabled: c.isDisabledNext ?? !1,
|
|
11267
11274
|
onClick: s(1, u),
|
|
@@ -11269,7 +11276,7 @@ const De = ({
|
|
|
11269
11276
|
children: "Next step"
|
|
11270
11277
|
}
|
|
11271
11278
|
) : /* @__PURE__ */ i(
|
|
11272
|
-
|
|
11279
|
+
_,
|
|
11273
11280
|
{
|
|
11274
11281
|
disabled: e,
|
|
11275
11282
|
onClick: r,
|
|
@@ -11358,13 +11365,13 @@ const De = ({
|
|
|
11358
11365
|
}), p = v(() => {
|
|
11359
11366
|
d.toggle();
|
|
11360
11367
|
}, [d]);
|
|
11361
|
-
return
|
|
11368
|
+
return U(() => {
|
|
11362
11369
|
o(
|
|
11363
11370
|
t.getVisibleLeafColumns().filter((g) => g.id !== "selection").length
|
|
11364
11371
|
);
|
|
11365
11372
|
}, [t, l]), /* @__PURE__ */ f("div", { id: "columns-filter", children: [
|
|
11366
11373
|
/* @__PURE__ */ i(
|
|
11367
|
-
|
|
11374
|
+
_,
|
|
11368
11375
|
{
|
|
11369
11376
|
icon: "columns",
|
|
11370
11377
|
id: "columns-toggle-btn",
|
|
@@ -12020,7 +12027,7 @@ const De = ({
|
|
|
12020
12027
|
},
|
|
12021
12028
|
!0,
|
|
12022
12029
|
s.floating.current
|
|
12023
|
-
),
|
|
12030
|
+
), U(() => (window.addEventListener("scrollend", p, !0), () => {
|
|
12024
12031
|
window.removeEventListener("scrollend", p, !0);
|
|
12025
12032
|
}), [p]), /* @__PURE__ */ f(he, { children: [
|
|
12026
12033
|
/* @__PURE__ */ f(
|
|
@@ -12252,7 +12259,7 @@ const De = ({
|
|
|
12252
12259
|
},
|
|
12253
12260
|
[p]
|
|
12254
12261
|
);
|
|
12255
|
-
return
|
|
12262
|
+
return U(() => {
|
|
12256
12263
|
t.setPageIndex(0);
|
|
12257
12264
|
}, [t]), /* @__PURE__ */ i(
|
|
12258
12265
|
ge.Provider,
|
|
@@ -12483,7 +12490,7 @@ const De = ({
|
|
|
12483
12490
|
] });
|
|
12484
12491
|
}, _c = ({ items: e }) => {
|
|
12485
12492
|
const t = M(null), [n, r] = R("long");
|
|
12486
|
-
return
|
|
12493
|
+
return U(() => {
|
|
12487
12494
|
t.current && r(t.current.offsetWidth <= 1100 ? "small" : "long");
|
|
12488
12495
|
}, []), /* @__PURE__ */ i($, { ref: t, width: "100%", children: /* @__PURE__ */ i(Es, { $size: n, children: e.map((o, a) => /* @__PURE__ */ i(
|
|
12489
12496
|
Fs,
|
|
@@ -12884,7 +12891,7 @@ export {
|
|
|
12884
12891
|
Ge as k,
|
|
12885
12892
|
Vs as l,
|
|
12886
12893
|
Us as m,
|
|
12887
|
-
|
|
12894
|
+
_ as n,
|
|
12888
12895
|
rc as o,
|
|
12889
12896
|
_s as p,
|
|
12890
12897
|
ac as q,
|
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-B9m1yy3N.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-B9m1yy3N.js"),t=require("./vendor-B5PNeTrB.js");exports.Accordion=e.Accordion;exports.Alert=e.Alert;exports.AppliedFilters=e.AppliedFilters;exports.Avatar=e.Avatar;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.CardContainer=e.CardContainer;exports.CardHeader=e.CardHeader;exports.CardWithImage=e.CardWithImage;exports.CardWithInput=e.CardWithInput;exports.CardWithOptions=e.CardWithOptions;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.ColumFilters=e.ColumFilters;exports.ColumnsModal=e.ColumnsModal;exports.ComboBox=e.ComboBox;exports.Container=e.Container;exports.CopyButton=e.CopyButton;exports.CustomThemeProvider=e.CustomThemeProvider;exports.Divider=e.Divider;exports.Dropdown=e.Dropdown;exports.Editable=e.Editable;exports.EmptyState=e.EmptyState;exports.ErrorMessage=e.ErrorMessage;exports.FilePreview=e.FilePreview;exports.Form=e.Form;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.IndicatorCardDB=e.IndicatorCardDB;exports.InfoSidebar=e.InfoSidebar;exports.InnerForm=e.InnerForm;exports.InputArray=e.InputArray;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.Link=e.Link;exports.ListItem=e.ListItem;exports.ListItemsWrapper=e.ListItemsWrapper;exports.LittleFlag=e.LittleFlag;exports.Loading=e.Loading;exports.Logo=e.Logo;exports.Lottie=e.Lottie;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.OAuthSelector=e.OAuthSelector;exports.OptionContainer=e.OptionContainer;exports.OutlineContainer=e.OutlineContainer;exports.PhoneInput=e.PhoneInput;exports.PopUp=e.PopUp;exports.PremiumFeature=e.PremiumFeature;exports.PriorityCards=e.PriorityCards;exports.PriorityScore=e.PriorityScore;exports.ProgressBar=e.ProgressBar;exports.ProgressIndicator=e.ProgressIndicator;exports.ProgressStep=e.ProgressStep;exports.RadioButton=e.RadioButton;exports.RankPosition=e.RankPosition;exports.Row=e.Row;exports.ScrollUpButton=e.ScrollUpButton;exports.Search=e.Search;exports.SeverityBadge=e.SeverityBadge;exports.SeverityOverview=e.SeverityOverview;exports.ShowOnHover=e.ShowOnHover;exports.SlideOutMenu=e.SlideOutMenu;exports.Slider=e.Slider;exports.Span=e.Span;exports.StepLapse=e.StepLapse;exports.Table=e.Table;exports.TableButton=e.TableButton;exports.Tabs=e.Tabs;exports.Tag=e.Tag;exports.Text=e.Text;exports.TextArea=e.TextArea;exports.TextInput=e.TextInput;exports.TimeLine=e.TimeLine;exports.TimeLineCard=e.TimeLineCard;exports.Toggle=e.Toggle;exports.Tooltip=e.Tooltip;exports.Tour=e.Tour;exports.WeaknessesCard=e.WeaknessesCard;exports.baseStep=e.baseStep;exports.formatCheckValues=e.formatCheckValues;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.useCarousel=e.useCarousel;exports.useClickOutside=e.useClickOutside;exports.useCloudinaryImage=e.useCloudinaryImage;exports.useColumnsModal=e.useColumnsModal;exports.useConditionsDialog=e.useConditionsDialog;exports.useConfirmDialog=e.useConfirmDialog;exports.useDebouncedCallback=e.useDebouncedCallback;exports.useFilters=e.useFilters;exports.useModal=e.useModal;exports.useSearch=e.useSearch;exports.variantBuilder=e.variantBuilder;exports.Controller=t.Controller;exports.useController=t.useController;exports.useFieldArray=t.useFieldArray;exports.useFormContext=t.useFormContext;exports.useNumberFormatter=t.$a916eb452884faea$export$b7a616150fdb9f44;exports.useWatch=t.useWatch;
|
package/package.json
CHANGED