@fluidattacks/design 3.1.12 → 3.1.14
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/assets/design.css +1 -0
- package/dist/components/@core/index.js +15 -16
- package/dist/components/accordion/accordion-content/index.js +3 -7
- package/dist/components/accordion/index.js +5 -19
- package/dist/components/alert/index.js +4 -111
- package/dist/components/button/index.js +4 -16
- package/dist/components/card/card-header/index.js +4 -12
- package/dist/components/card/card-with-image/index.js +5 -16
- package/dist/components/card/card-with-input/index.js +5 -54
- package/dist/components/card/card-with-selector/index.js +4 -14
- package/dist/components/card/card-with-switch/index.js +4 -10
- package/dist/components/card/index.js +6 -10
- package/dist/components/carousel/index.js +4 -47
- package/dist/components/checkbox/index.js +4 -82
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +6 -25
- package/dist/components/code-snippet/location-code/index.js +7 -123
- package/dist/components/colors/index.js +7 -7
- package/dist/components/confirm-dialog/index.js +4 -20
- package/dist/components/container/index.js +4 -25
- package/dist/components/content-card/category-tag/index.js +4 -11
- package/dist/components/content-card/event-date/index.js +5 -16
- package/dist/components/content-card/index.js +4 -61
- package/dist/components/content-card-carousel/index.js +4 -13
- package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
- package/dist/components/divider/index.js +4 -8
- package/dist/components/empty-state/empty-button/index.js +3 -4
- package/dist/components/empty-state/index.js +3 -46
- package/dist/components/file-preview/index.js +3 -26
- package/dist/components/form/index.js +4 -24
- package/dist/components/grid-container/index.js +4 -26
- package/dist/components/group-selector/index.js +6 -24
- package/dist/components/group-selector/option-container/index.js +3 -7
- package/dist/components/icon/index.js +4 -46
- package/dist/components/icon-button/index.js +4 -25
- package/dist/components/indicator-card/index.js +5 -13
- package/dist/components/info-sidebar/index.js +4 -14
- package/dist/components/inputs/fields/combobox/index.js +7 -24
- package/dist/components/inputs/fields/combobox/option/index.js +2 -3
- package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -14
- package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -13
- package/dist/components/inputs/fields/date/calendar/header/index.js +4 -14
- package/dist/components/inputs/fields/date/calendar/index.js +6 -13
- package/dist/components/inputs/fields/date/index.js +8 -16
- package/dist/components/inputs/fields/date-range/calendar/index.js +7 -14
- package/dist/components/inputs/fields/date-range/index.js +6 -26
- package/dist/components/inputs/fields/date-time/calendar/index.js +7 -33
- package/dist/components/inputs/fields/date-time/index.js +6 -16
- package/dist/components/inputs/fields/editable/index.js +4 -14
- package/dist/components/inputs/fields/input/index.js +5 -11
- package/dist/components/inputs/fields/input-file/index.js +6 -30
- package/dist/components/inputs/fields/input-tags/index.js +4 -17
- package/dist/components/inputs/fields/number/index.js +4 -8
- package/dist/components/inputs/fields/number-range/index.js +4 -9
- package/dist/components/inputs/fields/phone/index.js +7 -417
- package/dist/components/inputs/fields/text-area/index.js +5 -11
- package/dist/components/inputs/index.js +14 -26
- package/dist/components/inputs/label/index.js +5 -10
- package/dist/components/inputs/outline-container/index.js +4 -16
- package/dist/components/inputs/utils/action-button/index.js +4 -8
- package/dist/components/inputs/utils/calendar-button/index.js +5 -11
- package/dist/components/inputs/utils/date-selector/index.js +3 -6
- package/dist/components/inputs/utils/date-time-field/index.js +10 -30
- package/dist/components/inputs/utils/dialog/index.js +5 -9
- package/dist/components/inputs/utils/number-field/index.js +5 -11
- package/dist/components/inputs/utils/popover/index.js +5 -11
- package/dist/components/interactive-card/icon/index.js +2 -4
- package/dist/components/interactive-card/index.js +4 -13
- package/dist/components/language-selector/index.js +4 -11
- package/dist/components/language-selector/item-list/index.js +2 -5
- package/dist/components/link/index.js +3 -50
- package/dist/components/list-item/index.js +6 -14
- package/dist/components/little-flag/index.js +3 -13
- package/dist/components/loading/index.js +4 -65
- package/dist/components/logo/index.js +3 -5
- package/dist/components/logo-carousel/index.js +4 -50
- package/dist/components/lottie/index.js +3 -13
- package/dist/components/menu/index.js +5 -20
- package/dist/components/message-banner/index.js +5 -33
- package/dist/components/modal/index.js +6 -17
- package/dist/components/modal/modal-confirm/index.js +3 -8
- package/dist/components/modal/modal-footer/index.js +5 -14
- package/dist/components/modal/modal-header/index.js +6 -23
- package/dist/components/notification/index.js +5 -66
- package/dist/components/notification-sign/index.js +4 -28
- package/dist/components/number-input/index.js +5 -50
- package/dist/components/oauth-selector/index.js +6 -24
- package/dist/components/oauth-selector/option-container/index.js +4 -13
- package/dist/components/plan-card/index.js +3 -82
- package/dist/components/plan-card/recommended-tag/index.js +3 -8
- package/dist/components/pop-up/description/index.js +5 -11
- package/dist/components/pop-up/index.js +7 -21
- package/dist/components/premium-feature/index.js +4 -43
- package/dist/components/priority-score/index.js +4 -12
- package/dist/components/progress/index.js +5 -32
- package/dist/components/progress-bar/index.js +3 -93
- package/dist/components/radio-button/index.js +4 -86
- package/dist/components/scroll-button/index.js +4 -22
- package/dist/components/search/index.js +7 -61
- package/dist/components/search-bar/index.js +4 -30
- package/dist/components/search-bar/item-searching/index.js +2 -7
- package/dist/components/severity-badge/index.js +4 -12
- package/dist/components/severity-overview/badge/index.js +4 -16
- package/dist/components/severity-overview/index.js +3 -5
- package/dist/components/show-on-hover/index.js +3 -23
- package/dist/components/slide-out-menu/index.js +6 -2006
- package/dist/components/slide-out-menu/menu-item/index.js +4 -13
- package/dist/components/slider/index.js +7 -91
- package/dist/components/slider/thumb/index.js +5 -8
- package/dist/components/step-lapse/index.js +4 -99
- package/dist/components/table-button/index.js +4 -54
- package/dist/components/tabs/fixed-tabs/index.js +3 -7
- package/dist/components/tabs/index.js +6 -12
- package/dist/components/tabs/tab/index.js +3 -6
- package/dist/components/tag/index.js +4 -114
- package/dist/components/timeline/card/index.js +2 -5
- package/dist/components/timeline/index.js +4 -5
- package/dist/components/toggle/index.js +4 -61
- package/dist/components/toggle-buttons/index.js +4 -72
- package/dist/components/tooltip/index.js +3 -6
- package/dist/components/tour/index.js +7 -2514
- package/dist/components/typography/heading/index.js +4 -7
- package/dist/components/typography/index.js +4 -6
- package/dist/components/typography/span/index.js +4 -7
- package/dist/components/typography/text/index.js +4 -7
- package/dist/components/web-form/index.js +4 -69
- package/dist/components-C2JBXbtI.mjs +9653 -0
- package/dist/hooks/index.js +6 -10
- package/dist/index.js +113 -205
- package/dist/vendor-CVMqCpkZ.mjs +14504 -0
- package/package.json +2 -3
- package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
- package/dist/assets/index.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/index-38JqtnAI.mjs +0 -122
- package/dist/index-B5yoGFs6.mjs +0 -54
- package/dist/index-BLbKylyw.mjs +0 -209
- package/dist/index-Bu448Tz2.mjs +0 -106
- package/dist/index-BwFnfaRh.mjs +0 -2310
- package/dist/index-Co_k0WFk.mjs +0 -75
- package/dist/index-Cu7uUMlx.mjs +0 -82
- package/dist/index-D-lcuEHY.mjs +0 -1018
- package/dist/index-DrfjITyT.mjs +0 -61
- package/dist/styles-7_q7nHce.mjs +0 -110
- package/dist/styles-BA0WIQL-.mjs +0 -74
- package/dist/styles-C3cZmKVJ.mjs +0 -131
- package/dist/styles-CI-I6joH.mjs +0 -144
- package/dist/styles-Cx93EcVo.mjs +0 -76
- package/dist/styles-D85YYIjM.mjs +0 -131
- package/dist/styles-EIbGRPlk.mjs +0 -106
- package/dist/styles-Q1VXuWI7.mjs +0 -65
- package/dist/styles-fH2c4cfc.mjs +0 -77
- package/dist/styles-lSVV9kjn.mjs +0 -133
- package/dist/use-carousel-CvRxi2FI.mjs +0 -17
- package/dist/use-click-outside-BtZLIoU1.mjs +0 -18
- package/dist/use-cloudinary-image-fG7ODNgr.mjs +0 -611
- package/dist/use-modal-CkrZ-_-M.mjs +0 -14
- package/dist/use-search-DpLNvt7Q.mjs +0 -12
- package/dist/utils-CQvBF-wY.mjs +0 -4
|
@@ -1,32 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import { Icon as N } from "../../../icon/index.js";
|
|
10
|
-
const P = ({ segment: i, state: m }) => {
|
|
11
|
-
const e = M(), a = y(null), t = { ...i, placeholder: { day: "dd", dayPeriod: "(AM/PM)", era: "", hour: "hh", literal: "", minute: "mm", month: "mm", second: "", timeZoneName: "", year: "yyyy" }[i.type] }, { segmentProps: r } = A(t, m, a), c = e.palette.gray[t.isEditable ? 800 : 500];
|
|
12
|
-
return o("div", { ...t.type !== "literal" && { ...r, className: "segment-cell" }, ref: a, style: t.type === "literal" ? void 0 : { color: t.isPlaceholder ? e.palette.gray[400] : c }, children: t.isPlaceholder ? t.placeholder : t.text });
|
|
13
|
-
}, B = ({ disabled: i, error: m = !1, props: e }) => {
|
|
14
|
-
const a = M(), t = y(null), r = F({ ...e, createCalendar: b, locale: "en-US" }), { fieldProps: c } = S(e, r, t), p = f((l) => {
|
|
15
|
-
const n = document.getElementsByClassName("segment-cell"), s = l.currentTarget;
|
|
16
|
-
Object.values(n).some((v) => v.contains(s)) || (l.preventDefault(), l.stopPropagation());
|
|
17
|
-
}, []);
|
|
18
|
-
return u(k, { ...c, onClick: p, children: [o("div", { className: "flex flex-row", style: { color: a.palette.gray[d(r.value) ? 400 : 800] }, tabIndex: -1, children: r.segments.map((l, n) => {
|
|
19
|
-
const s = `key_${n}`;
|
|
20
|
-
return o(P, { segment: { ...l, isEditable: !i }, state: r }, s);
|
|
21
|
-
}) }), m ? o(N, { icon: "exclamation-circle", iconColor: a.palette.error[500], iconSize: "xs" }) : void 0] });
|
|
22
|
-
}, L = (i) => {
|
|
23
|
-
const m = y(null), e = T({ ...i, locale: "en-US", shouldForceLeadingZeros: !0 }), { timeValue: a } = e, t = !d(a) && a.hour < 12 ? "AM" : "PM", [r, c] = x(d(a) ? "AM" : t), { fieldProps: p } = C(i, e, m), l = f((n) => {
|
|
24
|
-
const s = n.currentTarget.name;
|
|
25
|
-
s !== r && (d(a) || (s === "AM" ? e.setSegment("dayPeriod", 0) : s === "PM" && e.setSegment("dayPeriod", 12))), c(s);
|
|
26
|
-
}, [r, e, a]);
|
|
27
|
-
return u(D, { children: [o(g, { ...p, ref: m, children: e.segments.slice(0, -2).map((n, s) => o(P, { segment: n, state: e }, `key_${s}`)) }), u(g, { children: [o(h, { id: r === "AM" ? "active" : "", name: "AM", onClick: l, type: "button", children: "AM" }), o(h, { id: r === "PM" ? "active" : "", name: "PM", onClick: l, type: "button", children: "PM" })] })] });
|
|
28
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "@internationalized/date";
|
|
3
|
+
import "lodash";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-aria";
|
|
6
|
+
import "react-stately";
|
|
7
|
+
import "styled-components";
|
|
8
|
+
import { b2 as d, b3 as l } from "../../../../components-C2JBXbtI.mjs";
|
|
29
9
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
10
|
+
d as DateField,
|
|
11
|
+
l as TimeField
|
|
32
12
|
};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
const c = ({ children: r, ...s }) => {
|
|
6
|
-
const o = i(null), { dialogProps: a } = m(s, o);
|
|
7
|
-
return e(t, { ...a, ref: o, children: r });
|
|
8
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-aria";
|
|
4
|
+
import { b5 as t } from "../../../../components-C2JBXbtI.mjs";
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
t as Dialog
|
|
11
7
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { ActionButton as n } from "../action-button/index.js";
|
|
6
|
-
import { Icon as v } from "../../../icon/index.js";
|
|
7
|
-
const N = ({ error: i, decimalPlaces: a = 0, disabled: e = !1, max: t = 1 / 0, min: l = 0, name: m = "input-number", placeholder: d, ref: c, required: p, value: s, ...u }) => {
|
|
8
|
-
const o = x(), b = h(() => a < 0 ? 0 : a, [a]);
|
|
9
|
-
return f(g, { className: `${e ? "disabled" : ""} ${i ? "error" : ""}`, children: [r("input", { "aria-hidden": !1, "aria-invalid": i ? "true" : "false", "aria-label": m, "aria-required": p, autoComplete: "off", disabled: e, max: t, min: l, placeholder: d, ref: c, required: void 0, step: 10 ** -b, type: "number", value: /^-?\d+/u.test(String(s)) ? s : "", ...u }), i && r(v, { icon: "exclamation-circle", iconClass: "error-icon", iconColor: o.palette.error[500], iconSize: "xs" }), r(n, { borderLeft: "inherit", borderRight: "inherit", disabled: e, icon: "minus", margin: "0 -0.625rem 0 0", px: 0.75, py: 0.75 }), r(n, { borderRadius: `0 ${o.spacing[0.5]} ${o.spacing[0.5]} 0`, disabled: e, icon: "plus", px: 0.75, py: 0.75 })] });
|
|
10
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "styled-components";
|
|
4
|
+
import { b9 as t } from "../../../../components-C2JBXbtI.mjs";
|
|
11
5
|
export {
|
|
12
|
-
|
|
6
|
+
t as NumberField
|
|
13
7
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
var n;
|
|
6
|
-
const s = v(null), r = (n = e == null ? void 0 : e.current) == null ? void 0 : n.getBoundingClientRect(), { popoverProps: i } = m({ ...c, popoverRef: t ?? s, triggerRef: e }, a), d = g((u) => {
|
|
7
|
-
u.preventDefault();
|
|
8
|
-
}, []);
|
|
9
|
-
return l(R, { children: l("div", { ...i, className: o, onPointerDown: f ? d : void 0, ref: t ?? s, style: { ...i.style, ...o === "dropdown" ? { display: "flex", justifyContent: "center", width: r == null ? void 0 : r.width } : {} }, children: p }) });
|
|
10
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-aria";
|
|
4
|
+
import { aY as i } from "../../../../components-C2JBXbtI.mjs";
|
|
11
5
|
export {
|
|
12
|
-
|
|
6
|
+
i as Popover
|
|
13
7
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../colors/index.js";
|
|
4
|
-
import "../../icon/index.js";
|
|
2
|
+
import { bl as e } from "../../../components-C2JBXbtI.mjs";
|
|
5
3
|
export {
|
|
6
|
-
|
|
4
|
+
e as InteractiveIcon
|
|
7
5
|
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { Button as g } from "../button/index.js";
|
|
5
|
-
import { Container as o } from "../container/index.js";
|
|
6
|
-
import { Heading as a } from "../typography/heading/index.js";
|
|
7
|
-
import "../typography/span/index.js";
|
|
8
|
-
import { Text as l } from "../typography/text/index.js";
|
|
9
|
-
const j = ({ category: r, description: s, href: c, icon: m, location: p, title: n }) => {
|
|
10
|
-
const i = d();
|
|
11
|
-
return t(h, { children: [t(o, { alignItems: "flex-start", display: "flex", flexDirection: "column", gap: 1.5, height: "100%", id: "uncover", justify: "space-between", children: [t("div", { className: "flex flex-col gap-0.5", children: [e(l, { color: i.palette.white, size: "sm", sizeSm: "xs", children: r }), e(a, { color: i.palette.white, fontWeight: "bold", lineSpacing: 2.25, lineSpacingSm: 1.75, size: "lg", sizeSm: "md", children: n })] }), t("div", { className: "flex flex-col gap-0.5", children: [e(l, { color: i.palette.white, size: "sm", sizeSm: "xs", children: "Location" }), e(l, { color: i.palette.white, fontWeight: "bold", lineSpacing: 1.5, lineSpacingSm: 1.25, size: "md", sizeSm: "sm", children: p })] })] }), t(o, { alignItems: "self-start", display: "flex", flexDirection: "column", gap: 2, height: "100%", id: "hovered", justify: "space-between", pt: 1, children: [e(a, { color: i.palette.white, fontWeight: "bold", lineSpacing: 1.75, lineSpacingSm: 1.5, size: "md", sizeSm: "sm", children: n }), t("div", { className: "flex flex-col gap-8", children: [e(l, { color: i.palette.gray[100], lineSpacing: 1.5, lineSpacingSm: 1.25, size: "md", sizeSm: "sm", children: s }), e(g, { external: !0, href: c, variant: "link", width: "max-content", children: "Download now" })] })] }), e(f, { icon: m })] });
|
|
12
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "styled-components";
|
|
3
|
+
import { a1 as e } from "../../components-C2JBXbtI.mjs";
|
|
13
4
|
export {
|
|
14
|
-
|
|
5
|
+
e as InteractiveCard
|
|
15
6
|
};
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { Icon as g } from "../icon/index.js";
|
|
5
|
-
const S = [{ text: "EN" }, { text: "ES" }], E = ({ items: r, handleClick: a, mode: s = "light" }) => {
|
|
6
|
-
const o = r ?? S, [c, l] = x(o[0].text), m = d((e) => () => {
|
|
7
|
-
a(e.text), l(e.text);
|
|
8
|
-
}, [a]);
|
|
9
|
-
return i(p, { children: [i(h, { className: s, children: [t(g, { icon: "globe", iconSize: "xs", iconType: "fa-light" }), c] }), t(b, { children: o.map((e, n) => t(f, { disabled: e.disabled, mode: s, onClick: m(e), text: e.text }, `${e.text}_${n}`)) })] });
|
|
10
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { a2 as t } from "../../components-C2JBXbtI.mjs";
|
|
11
4
|
export {
|
|
12
|
-
|
|
5
|
+
t as LanguageSelector
|
|
13
6
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../typography/heading/index.js";
|
|
4
|
-
import "../../typography/span/index.js";
|
|
5
|
-
import "../../typography/text/index.js";
|
|
2
|
+
import { bm as r } from "../../../components-C2JBXbtI.mjs";
|
|
6
3
|
export {
|
|
7
|
-
|
|
4
|
+
r as ItemList
|
|
8
5
|
};
|
|
@@ -1,52 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { css as f, styled as p } from "styled-components";
|
|
4
|
-
import { v as $ } from "../../utils-CQvBF-wY.mjs";
|
|
5
|
-
import { Icon as w } from "../icon/index.js";
|
|
6
|
-
const { getVariant: v } = $((r) => ({ highRelevance: `
|
|
7
|
-
color: ${r.palette.primary[500]};
|
|
8
|
-
|
|
9
|
-
&:hover:not([disabled]) {
|
|
10
|
-
color: ${r.palette.primary[400]};
|
|
11
|
-
}
|
|
12
|
-
`, lowRelevance: `
|
|
13
|
-
color: ${r.palette.gray[800]};
|
|
14
|
-
|
|
15
|
-
&:hover:not([disabled]) {
|
|
16
|
-
color: ${r.palette.gray[500]};
|
|
17
|
-
}
|
|
18
|
-
` })), s = f`
|
|
19
|
-
${({ theme: r, $color: a, $variant: n }) => `
|
|
20
|
-
align-items: center;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
font-family: ${r.typography.type.primary};
|
|
23
|
-
font-size: ${r.typography.text.sm};
|
|
24
|
-
font-weight: ${r.typography.weight.regular};
|
|
25
|
-
gap: ${r.spacing[0.25]};
|
|
26
|
-
line-height: ${r.spacing[1.25]};
|
|
27
|
-
text-decoration: underline;
|
|
28
|
-
word-break: break-word;
|
|
29
|
-
word-wrap: break-word;
|
|
30
|
-
|
|
31
|
-
&:disabled {
|
|
32
|
-
color: ${r.palette.gray[300]};
|
|
33
|
-
cursor: not-allowed;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:has(button) {
|
|
37
|
-
text-decoration: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
${a ?? v(r, n)}
|
|
41
|
-
`}
|
|
42
|
-
`, y = p.a`
|
|
43
|
-
${s}
|
|
44
|
-
`, k = p(m)`
|
|
45
|
-
${s}
|
|
46
|
-
`, j = ({ children: r, color: a, download: n, href: i, iconPosition: o = "right", onClick: l, target: e, variant: c = "lowRelevance" }) => {
|
|
47
|
-
const h = i.startsWith("https://"), t = g(w, { icon: n === void 0 ? "arrow-up-right-from-square" : "arrow-down-to-bracket", iconSize: "xxs", iconType: "fa-regular", ml: 0.25, mr: 0.25 });
|
|
48
|
-
return h ? d(y, { $color: a, $variant: c, download: n, href: i, onClick: l, rel: "nofollow noopener noreferrer", target: e ?? "_blank", children: [o === "left" ? t : void 0, r, o === "right" ? t : void 0] }) : d(k, { $variant: c, download: n, onClick: l, rel: "nofollow noopener noreferrer", target: e, to: i, children: [e !== void 0 && o === "left" ? t : void 0, r, e !== void 0 && o === "right" ? t : void 0] });
|
|
49
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { a3 as i } from "../../components-C2JBXbtI.mjs";
|
|
50
3
|
export {
|
|
51
|
-
|
|
4
|
+
i as Link
|
|
52
5
|
};
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { a as V } from "../../styles-Q1VXuWI7.mjs";
|
|
6
|
-
import { Container as k } from "../container/index.js";
|
|
7
|
-
import { Icon as p } from "../icon/index.js";
|
|
8
|
-
import { Link as I } from "../link/index.js";
|
|
9
|
-
const E = ({ children: n, disabled: e = !1, icon: a, iconType: l = "fa-light", href: s, onClick: f, onKeyDown: h, selected: t = !1, value: i, ...x }) => {
|
|
10
|
-
const c = C().palette.gray[e ? 300 : 800], d = e ? u.map(n, (o) => v(o) ? y(o, { disabled: e, ...o.props }) : o) : n;
|
|
11
|
-
return m(g, { "aria-disabled": e, "aria-label": i, "aria-selected": t, "data-testid": i, onClick: f, onKeyDown: h, value: i, ...x, children: [a !== void 0 || i !== void 0 ? m(k, { alignItems: "center", display: "flex", gap: 0.625, children: [a ? r(p, { disabled: e, icon: a, iconColor: c, iconSize: "xs", iconType: l }) : null, s === void 0 ? d : r(I, { href: s, children: d })] }) : null, t ? r(p, { disabled: e, icon: "check", iconColor: c, iconSize: "xs", iconType: l }) : null] });
|
|
12
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "styled-components";
|
|
4
|
+
import { a4 as i, a5 as o } from "../../components-C2JBXbtI.mjs";
|
|
13
5
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
i as ListItem,
|
|
7
|
+
o as ListItemsWrapper
|
|
16
8
|
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const i = r.span`
|
|
4
|
-
${({ theme: t, $bgColor: n = t.palette.secondary[500], $txtDecoration: o = "none" }) => `
|
|
5
|
-
background-color: ${n};
|
|
6
|
-
border-radius: 5px;
|
|
7
|
-
color: ${t.palette.white};
|
|
8
|
-
font-size: 10px;
|
|
9
|
-
padding: ${t.spacing[0.125]} ${t.spacing[0.25]} ${t.spacing[0.125]} ${t.spacing[0.25]};
|
|
10
|
-
text-decoration: ${o}
|
|
11
|
-
`}
|
|
12
|
-
`, l = ({ bgColor: t, children: n, txtDecoration: o, ml: e = 1 }) => a(i, { $bgColor: t, $txtDecoration: o, className: `ml-${e}`, children: n });
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { a6 as r } from "../../components-C2JBXbtI.mjs";
|
|
13
3
|
export {
|
|
14
|
-
|
|
4
|
+
r as LittleFlag
|
|
15
5
|
};
|
|
@@ -1,67 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "../../styles-C3cZmKVJ.mjs";
|
|
5
|
-
import { Container as c } from "../container/index.js";
|
|
6
|
-
import "../typography/heading/index.js";
|
|
7
|
-
import "../typography/span/index.js";
|
|
8
|
-
import { Text as f } from "../typography/text/index.js";
|
|
9
|
-
const p = { lg: "56", md: "30", sm: "12" }, { getVariant: h } = d((e) => ({ red: `stroke: ${e.palette.primary[500]};`, white: `stroke: ${e.palette.white};` })), k = i`
|
|
10
|
-
0% {
|
|
11
|
-
transform: rotateZ(0deg);
|
|
12
|
-
}
|
|
13
|
-
100% {
|
|
14
|
-
transform: rotateZ(360deg)
|
|
15
|
-
}
|
|
16
|
-
`, $ = i`
|
|
17
|
-
0%,
|
|
18
|
-
25% {
|
|
19
|
-
stroke-dashoffset: 280;
|
|
20
|
-
transform: rotate(0);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
50%,
|
|
24
|
-
75% {
|
|
25
|
-
stroke-dashoffset: 75;
|
|
26
|
-
transform: rotate(45deg);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
100% {
|
|
30
|
-
stroke-dashoffset: 280;
|
|
31
|
-
transform: rotate(360deg);
|
|
32
|
-
}
|
|
33
|
-
`, g = o.svg`
|
|
34
|
-
${({ $size: e = "md" }) => n`
|
|
35
|
-
animation: ${k} 2s linear infinite;
|
|
36
|
-
animation-timing-function: linear;
|
|
37
|
-
display: inline-block;
|
|
38
|
-
width: ${p[e]}px;
|
|
39
|
-
`}
|
|
40
|
-
`, y = o.circle`
|
|
41
|
-
${({ theme: e, $color: t = "red" }) => n`
|
|
42
|
-
animation: 1.4s ease-in-out infinite both ${$};
|
|
43
|
-
display: block;
|
|
44
|
-
fill: transparent;
|
|
45
|
-
stroke-linecap: round;
|
|
46
|
-
stroke-dasharray: 283;
|
|
47
|
-
stroke-dashoffset: 280;
|
|
48
|
-
stroke-width: 10px;
|
|
49
|
-
transform-origin: 50% 50%;
|
|
50
|
-
|
|
51
|
-
${h(e, t)}
|
|
52
|
-
`}
|
|
53
|
-
`, x = o.circle`
|
|
54
|
-
display: block;
|
|
55
|
-
fill: transparent;
|
|
56
|
-
stroke: ${({ theme: e }) => e.palette.gray[200]};
|
|
57
|
-
stroke-linecap: round;
|
|
58
|
-
stroke-width: 10px;
|
|
59
|
-
transform-origin: 50% 50%;
|
|
60
|
-
opacity: ${({ $color: e }) => e === "white" ? "20%" : "unset"};
|
|
61
|
-
`, B = ({ color: e = "red", label: t, size: l }) => {
|
|
62
|
-
const s = m();
|
|
63
|
-
return a(c, { alignItems: "center", display: "flex", children: [a(g, { $size: l, viewBox: "0 0 100 100", children: [r(x, { $color: e, cx: "50", cy: "50", r: "45" }), r(y, { $color: e, cx: "50", cy: "50", r: "45" })] }), t && r(f, { color: e === "red" ? s.palette.gray[700] : s.palette.white, ml: 0.5, size: "sm", children: t })] });
|
|
64
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "styled-components";
|
|
3
|
+
import { a7 as m } from "../../components-C2JBXbtI.mjs";
|
|
65
4
|
export {
|
|
66
|
-
|
|
5
|
+
m as Loading
|
|
67
6
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Container as h } from "../container/index.js";
|
|
4
|
-
const e = { company: { height: "83px", width: "460px" }, footer: { height: "57px", width: "315px" }, header: { height: "35px", width: "160px" }, icon: { height: "40px", width: "40px" }, inline: { width: "150px" } }, d = ({ publicId: t, variant: o }) => i(h, { ...e[o], children: i(p, { alt: "logo", publicId: t }) });
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { a8 as m } from "../../components-C2JBXbtI.mjs";
|
|
5
3
|
export {
|
|
6
|
-
|
|
4
|
+
m as Logo
|
|
7
5
|
};
|
|
@@ -1,52 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const u = o.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
height: 80px;
|
|
7
|
-
max-width: 1440px;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
position: relative;
|
|
10
|
-
`, e = o.div`
|
|
11
|
-
height: 79px;
|
|
12
|
-
width: 64px;
|
|
13
|
-
flex-shrink: 0;
|
|
14
|
-
position: absolute;
|
|
15
|
-
z-index: 11;
|
|
16
|
-
|
|
17
|
-
&.left {
|
|
18
|
-
background: linear-gradient(
|
|
19
|
-
to right,
|
|
20
|
-
#fff 57.21%,
|
|
21
|
-
rgb(255 255 255 / 0%) 100.63%
|
|
22
|
-
);
|
|
23
|
-
left: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.right {
|
|
27
|
-
background: linear-gradient(
|
|
28
|
-
to left,
|
|
29
|
-
#fff 57.21%,
|
|
30
|
-
rgb(255 255 255 / 0%) 100.63%
|
|
31
|
-
);
|
|
32
|
-
right: 0;
|
|
33
|
-
}
|
|
34
|
-
`, f = o.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
gap: 40px;
|
|
37
|
-
animation: clients-animation 50s linear infinite;
|
|
38
|
-
width: calc(180px * 30);
|
|
39
|
-
|
|
40
|
-
@keyframes clients-animation {
|
|
41
|
-
0% {
|
|
42
|
-
transform: translateX(0);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
100% {
|
|
46
|
-
transform: translateX(calc(-180px * 15));
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`, p = ["airs/clients-carousel/color/bancolombia", "airs/clients-carousel/color/itau_colombia", "airs/clients-carousel/color/lulo_bank", "airs/clients-carousel/color/oxxo_international", "airs/clients-carousel/color/interbank", "airs/clients-carousel/color/global_bank", "airs/clients-carousel/color/gesa", "airs/clients-carousel/color/copa_airlines", "airs/clients-carousel/color/consubanco", "airs/clients-carousel/color/bantrab", "airs/clients-carousel/color/banistmo", "airs/clients-carousel/color/banco_internacional", "airs/clients-carousel/color/banco_general", "airs/clients-carousel/color/banbif", "airs/clients-carousel/color/avianca"], m = ({ fusion: l = !1, logos: r = p }) => c(u, { children: [l && a(e, { className: "left" }), a(f, { children: [...r, ...r].map((i, s) => a(n, { alt: `${i}-${s}`, height: "80px", plugins: [t()], publicId: i, width: "140px" }, `${i}-${s}`)) }), l && a(e, { className: "right" })] });
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../vendor-CVMqCpkZ.mjs";
|
|
3
|
+
import { a9 as p } from "../../components-C2JBXbtI.mjs";
|
|
50
4
|
export {
|
|
51
|
-
|
|
5
|
+
p as LogoCarousel
|
|
52
6
|
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { styled as i } from "styled-components";
|
|
4
|
-
const r = i(e).attrs(({ autoplay: t = !0 }) => ({ autoplay: t, className: "comp-lottie" }))`
|
|
5
|
-
${({ $size: t = 16 }) => `
|
|
6
|
-
height: ${t}px;
|
|
7
|
-
width: ${t}px;
|
|
8
|
-
`}
|
|
9
|
-
`, n = (t) => {
|
|
10
|
-
const { size: o } = t;
|
|
11
|
-
return s(r, { $size: o, ...t });
|
|
12
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { aa as r } from "../../components-C2JBXbtI.mjs";
|
|
13
3
|
export {
|
|
14
|
-
|
|
4
|
+
r as Lottie
|
|
15
5
|
};
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { Divider as m } from "../divider/index.js";
|
|
6
|
-
import { Link as y } from "../link/index.js";
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "lodash";
|
|
3
|
+
import "styled-components";
|
|
4
|
+
import { ab as a } from "../../components-C2JBXbtI.mjs";
|
|
7
5
|
import "react";
|
|
8
|
-
import { a as b } from "../../styles-Q1VXuWI7.mjs";
|
|
9
|
-
import "../icon/index.js";
|
|
10
|
-
import { Tag as v } from "../tag/index.js";
|
|
11
|
-
import "../typography/heading/index.js";
|
|
12
|
-
import "../typography/span/index.js";
|
|
13
|
-
import { Text as r } from "../typography/text/index.js";
|
|
14
|
-
import { u as z } from "../../use-click-outside-BtZLIoU1.mjs";
|
|
15
|
-
const R = ({ children: s, commitSha: l, commitShortSha: n, parentElement: c, userInfo: p, setVisibility: d }) => {
|
|
16
|
-
const e = x(), { userName: h, email: f, phone: a, userRole: u } = p;
|
|
17
|
-
return z(c, () => {
|
|
18
|
-
d(!1);
|
|
19
|
-
}), o(b, { children: [i("li", { className: "user-info", children: o(t, { display: "inline-flex", gap: 0.25, width: "100%", children: [o(t, { display: "flex", flexDirection: "column", gap: 0.25, width: "100%", children: [i(r, { color: e.palette.gray[800], fontWeight: "bold", size: "sm", children: h }), i(r, { color: e.palette.gray[400], size: "sm", children: f }), g(a) ? void 0 : i(r, { color: e.palette.gray[400], size: "sm", children: a })] }), i(t, { children: i(v, { tagLabel: u, variant: "role" }) })] }) }), i(m, {}), s, i(m, {}), i("li", { className: "commit-info", children: i(y, { href: `https://gitlab.com/fluidattacks/universe/-/tree/${l}`, iconPosition: "hidden", children: i(r, { color: e.palette.gray[400], size: "xs", children: `commit : ${n}` }) }) })] });
|
|
20
|
-
};
|
|
21
6
|
export {
|
|
22
|
-
|
|
7
|
+
a as Menu
|
|
23
8
|
};
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { Container as n } from "../container/index.js";
|
|
6
|
-
import { Icon as m } from "../icon/index.js";
|
|
7
|
-
import "../typography/heading/index.js";
|
|
8
|
-
import "../typography/span/index.js";
|
|
9
|
-
import { Text as p } from "../typography/text/index.js";
|
|
10
|
-
const k = w.button`
|
|
11
|
-
align-items: center;
|
|
12
|
-
background-color: transparent;
|
|
13
|
-
border: unset;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
gap: 5px;
|
|
18
|
-
padding: 0;
|
|
19
|
-
|
|
20
|
-
&:hover p {
|
|
21
|
-
color: ${c.palette.primary[200]};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:hover span {
|
|
25
|
-
color: ${c.palette.primary[200]};
|
|
26
|
-
}
|
|
27
|
-
`, F = ({ message: i, onClickButton: l, buttonText: d, buttonFontWeight: s = "regular", icon: f, onClose: o, variant: g = "web" }) => {
|
|
28
|
-
const e = j(), [u, h] = x(!0), y = C(() => {
|
|
29
|
-
h(!1), o == null || o();
|
|
30
|
-
}, [o]), r = /* @__PURE__ */ ((b) => b === "platform" ? { normal: "sm", small: void 0 } : { normal: "md", small: "sm" })(g);
|
|
31
|
-
return a(n, { alignItems: "center", bgGradient: e.palette.gradients["01"], display: u ? "flex" : "none", id: "message-banner", justify: "space-between", padding: [0.75, 0.75, 0.75, 0.75], children: [a(n, { display: "flex", gap: 0.5, justify: "center", width: "100%", children: [t(n, { children: typeof i == "string" ? t(p, { color: e.palette.white, display: "inline", size: r.normal, sizeSm: r.small, children: i }) : i }), l ? a(k, { onClick: l, children: [t(p, { color: e.palette.white, fontWeight: s, size: r.normal, sizeSm: r.small, textDecoration: "underline", children: d }), t(m, { icon: f ?? "arrow-right", iconColor: e.palette.white, iconSize: "xs", iconType: s === "bold" ? "fa-regular" : "fa-light" })] }) : void 0] }), t(m, { clickable: !0, hoverColor: e.palette.primary[200], icon: "close", iconColor: e.palette.white, iconSize: "xs", iconType: "fa-light", onClick: y })] });
|
|
32
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "styled-components";
|
|
4
|
+
import { ac as p } from "../../components-C2JBXbtI.mjs";
|
|
33
5
|
export {
|
|
34
|
-
|
|
6
|
+
p as MessageBanner
|
|
35
7
|
};
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { ModalFooter as M } from "./modal-footer/index.js";
|
|
6
|
-
import { ModalHeader as b } from "./modal-header/index.js";
|
|
7
|
-
import { M as B, a as S, I as g } from "../../styles-D85YYIjM.mjs";
|
|
8
|
-
import { M as y } from "../../index-BwFnfaRh.mjs";
|
|
9
|
-
import "../typography/heading/index.js";
|
|
10
|
-
import "../typography/span/index.js";
|
|
11
|
-
import { Text as z } from "../typography/text/index.js";
|
|
12
|
-
const H = ({ _portal: n = !0, cancelButton: s, children: l, confirmButton: d, content: o, description: c = "", modalRef: e, otherActions: p, onClose: f, title: i = "", size: u, id: a = "modal-container" }) => {
|
|
13
|
-
const m = () => t(B, { "aria-label": e.name, "aria-modal": "true", id: "modal-wrapper", children: h(S, { $size: u, "data-testid": a, id: a, children: [!r.isEmpty(i) && t(b, { description: c, modalRef: e, onClose: f, otherActions: p, title: i }), l, r.isObject(o) && r.isString(o.imageSrc) && t(g, { $framed: o.imageFramed, children: t(y, { alt: "modal-img", publicId: o.imageSrc }) }), r.isObject(o) && r.isString(o.imageText) && t(z, { mb: 1.5, size: "sm", children: o.imageText }), t(M, { cancelButton: s, confirmButton: d, modalRef: e })] }) });
|
|
14
|
-
return n && e.isOpen ? x(m(), document.getElementById("portals") ?? document.body) : e.isOpen ? m() : null;
|
|
15
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "lodash";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
import { ad as p, ae as t } from "../../components-C2JBXbtI.mjs";
|
|
16
5
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
p as Modal,
|
|
7
|
+
t as ModalConfirm
|
|
19
8
|
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { Container as l } from "../../container/index.js";
|
|
4
|
-
const C = ({ disabled: e, id: t = "modal-confirm", onCancel: i, onConfirm: n = "submit", txtCancel: m, txtConfirm: s }) => {
|
|
5
|
-
const r = n === "submit";
|
|
6
|
-
return d(l, { display: "flex", gap: 0.75, maxWidth: i ? "392px" : "190px", mt: 1.5, children: [i ? o(a, { id: `${t}-cancel`, justify: "center", onClick: i, variant: "tertiary", width: "100%", children: m ?? "Cancel" }) : void 0, o(a, { disabled: e, id: t, justify: "center", onClick: r ? void 0 : n, type: r ? "submit" : "button", variant: "primary", width: "100%", children: s ?? "Confirm" })] });
|
|
7
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { ae as m } from "../../../components-C2JBXbtI.mjs";
|
|
8
3
|
export {
|
|
9
|
-
|
|
4
|
+
m as ModalConfirm
|
|
10
5
|
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { Button as a } from "../../button/index.js";
|
|
6
|
-
const C = ({ modalRef: s, confirmButton: o, cancelButton: t }) => {
|
|
7
|
-
const { close: r } = s, c = n(() => {
|
|
8
|
-
t == null || t.onClick(), r();
|
|
9
|
-
}, [t, r]), e = n(() => {
|
|
10
|
-
o == null || o.onClick(), r();
|
|
11
|
-
}, [o, r]);
|
|
12
|
-
return [o, t].some((d) => !p(d)) ? i(f, { children: l("div", { children: [t && i(a, { onClick: c, variant: "tertiary", width: "100%", children: t.text }), o && i(a, { onClick: e, variant: "primary", width: "100%", children: o.text })] }) }) : null;
|
|
13
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "lodash";
|
|
3
|
+
import "react";
|
|
4
|
+
import { bb as i } from "../../../components-C2JBXbtI.mjs";
|
|
14
5
|
export {
|
|
15
|
-
|
|
6
|
+
i as ModalFooter
|
|
16
7
|
};
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { IconButton as y } from "../../icon-button/index.js";
|
|
7
|
-
import { Heading as k } from "../../typography/heading/index.js";
|
|
8
|
-
import "../../typography/span/index.js";
|
|
9
|
-
import { Text as v } from "../../typography/text/index.js";
|
|
10
|
-
const L = ({ title: i, description: o, modalRef: n, otherActions: m, onClose: e }) => {
|
|
11
|
-
const c = h(), s = f(() => {
|
|
12
|
-
e == null || e(), n.close();
|
|
13
|
-
}, [n, e]);
|
|
14
|
-
return x(() => {
|
|
15
|
-
const a = (l) => {
|
|
16
|
-
l.key === "Escape" && s();
|
|
17
|
-
};
|
|
18
|
-
return window.addEventListener("keydown", a), () => {
|
|
19
|
-
window.removeEventListener("keydown", a);
|
|
20
|
-
};
|
|
21
|
-
}, [s]), t(u, { children: [t(w, { children: [typeof i == "string" ? r(k, { fontWeight: "bold", lineSpacing: 1.75, mr: 1, size: "sm", children: i }) : i, t("div", { className: "flex", children: [m, r(y, { icon: "close", iconColor: c.palette.gray[300], iconSize: "xs", iconType: "fa-light", id: "modal-close", onClick: s, variant: "ghost" })] })] }), o && d(o) && !p(o) ? r(v, { mt: 0.5, size: "sm", children: o }) : o] });
|
|
22
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "lodash";
|
|
3
|
+
import "react";
|
|
4
|
+
import "styled-components";
|
|
5
|
+
import { bc as a } from "../../../components-C2JBXbtI.mjs";
|
|
23
6
|
export {
|
|
24
|
-
|
|
7
|
+
a as ModalHeader
|
|
25
8
|
};
|