@fluidattacks/design 3.1.13 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/@core/index.js +15 -16
- package/dist/components/accordion/accordion-content/index.js +3 -20
- package/dist/components/accordion/index.js +5 -76
- package/dist/components/alert/index.js +4 -162
- package/dist/components/button/index.js +4 -67
- package/dist/components/card/card-header/index.js +4 -81
- package/dist/components/card/card-with-image/index.js +5 -91
- package/dist/components/card/card-with-input/index.js +5 -103
- package/dist/components/card/card-with-selector/index.js +4 -69
- package/dist/components/card/card-with-switch/index.js +4 -48
- package/dist/components/card/index.js +6 -10
- package/dist/components/carousel/index.js +4 -73
- package/dist/components/checkbox/index.js +4 -116
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +6 -70
- package/dist/components/code-snippet/location-code/index.js +7 -169
- package/dist/components/colors/index.js +7 -222
- package/dist/components/confirm-dialog/index.js +4 -43
- package/dist/components/container/index.js +4 -49
- package/dist/components/content-card/category-tag/index.js +4 -40
- package/dist/components/content-card/event-date/index.js +5 -59
- package/dist/components/content-card/index.js +4 -166
- package/dist/components/content-card-carousel/index.js +4 -93
- package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
- package/dist/components/divider/index.js +4 -23
- package/dist/components/empty-state/empty-button/index.js +3 -4
- package/dist/components/empty-state/index.js +3 -83
- package/dist/components/file-preview/index.js +3 -42
- package/dist/components/form/index.js +4 -61
- package/dist/components/grid-container/index.js +4 -46
- package/dist/components/group-selector/index.js +6 -133
- package/dist/components/group-selector/option-container/index.js +3 -7
- package/dist/components/icon/index.js +4 -106
- package/dist/components/icon-button/index.js +4 -74
- package/dist/components/indicator-card/index.js +5 -72
- package/dist/components/info-sidebar/index.js +4 -114
- package/dist/components/inputs/fields/combobox/index.js +7 -144
- package/dist/components/inputs/fields/combobox/option/index.js +2 -3
- package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
- package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
- package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
- package/dist/components/inputs/fields/date/calendar/index.js +6 -28
- package/dist/components/inputs/fields/date/index.js +8 -66
- package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
- package/dist/components/inputs/fields/date-range/index.js +6 -106
- package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
- package/dist/components/inputs/fields/date-time/index.js +6 -67
- package/dist/components/inputs/fields/editable/index.js +4 -26
- package/dist/components/inputs/fields/input/index.js +5 -75
- package/dist/components/inputs/fields/input-file/index.js +6 -123
- package/dist/components/inputs/fields/input-tags/index.js +4 -66
- package/dist/components/inputs/fields/number/index.js +4 -55
- package/dist/components/inputs/fields/number-range/index.js +4 -47
- package/dist/components/inputs/fields/phone/index.js +7 -577
- package/dist/components/inputs/fields/text-area/index.js +5 -79
- package/dist/components/inputs/index.js +14 -26
- package/dist/components/inputs/label/index.js +5 -36
- package/dist/components/inputs/outline-container/index.js +4 -102
- package/dist/components/inputs/utils/action-button/index.js +4 -29
- package/dist/components/inputs/utils/calendar-button/index.js +5 -35
- package/dist/components/inputs/utils/date-selector/index.js +3 -60
- package/dist/components/inputs/utils/date-time-field/index.js +10 -131
- package/dist/components/inputs/utils/dialog/index.js +5 -12
- package/dist/components/inputs/utils/number-field/index.js +5 -84
- package/dist/components/inputs/utils/popover/index.js +5 -42
- package/dist/components/interactive-card/icon/index.js +2 -4
- package/dist/components/interactive-card/index.js +4 -116
- package/dist/components/language-selector/index.js +4 -35
- package/dist/components/language-selector/item-list/index.js +2 -5
- package/dist/components/link/index.js +3 -104
- package/dist/components/list-item/index.js +6 -65
- package/dist/components/little-flag/index.js +3 -30
- package/dist/components/loading/index.js +4 -92
- package/dist/components/logo/index.js +2 -10
- package/dist/components/logo-carousel/index.js +4 -85
- package/dist/components/lottie/index.js +3 -18
- package/dist/components/menu/index.js +5 -64
- package/dist/components/message-banner/index.js +5 -99
- package/dist/components/modal/index.js +6 -63
- package/dist/components/modal/modal-confirm/index.js +3 -49
- package/dist/components/modal/modal-footer/index.js +5 -23
- package/dist/components/modal/modal-header/index.js +6 -49
- package/dist/components/notification/index.js +5 -111
- package/dist/components/notification-sign/index.js +4 -45
- package/dist/components/number-input/index.js +5 -87
- package/dist/components/oauth-selector/index.js +6 -98
- package/dist/components/oauth-selector/option-container/index.js +4 -74
- package/dist/components/plan-card/index.js +3 -153
- package/dist/components/plan-card/recommended-tag/index.js +3 -29
- package/dist/components/pop-up/description/index.js +5 -49
- package/dist/components/pop-up/index.js +7 -150
- package/dist/components/premium-feature/index.js +4 -83
- package/dist/components/priority-score/index.js +4 -27
- package/dist/components/progress/index.js +5 -45
- package/dist/components/progress-bar/index.js +3 -151
- package/dist/components/radio-button/index.js +4 -123
- package/dist/components/scroll-button/index.js +4 -40
- package/dist/components/search/index.js +7 -103
- package/dist/components/search-bar/index.js +4 -217
- package/dist/components/search-bar/item-searching/index.js +2 -7
- package/dist/components/severity-badge/index.js +4 -72
- package/dist/components/severity-overview/badge/index.js +4 -67
- package/dist/components/severity-overview/index.js +3 -15
- package/dist/components/show-on-hover/index.js +3 -29
- package/dist/components/slide-out-menu/index.js +6 -3453
- package/dist/components/slide-out-menu/menu-item/index.js +4 -65
- package/dist/components/slider/index.js +7 -122
- package/dist/components/slider/thumb/index.js +5 -15
- package/dist/components/step-lapse/index.js +4 -157
- package/dist/components/table-button/index.js +4 -95
- package/dist/components/tabs/fixed-tabs/index.js +3 -27
- package/dist/components/tabs/index.js +6 -55
- package/dist/components/tabs/tab/index.js +3 -37
- package/dist/components/tag/index.js +4 -182
- package/dist/components/timeline/card/index.js +2 -5
- package/dist/components/timeline/index.js +4 -15
- package/dist/components/toggle/index.js +4 -101
- package/dist/components/toggle-buttons/index.js +4 -101
- package/dist/components/tooltip/index.js +3 -6
- package/dist/components/tour/index.js +7 -4582
- package/dist/components/typography/heading/index.js +4 -45
- package/dist/components/typography/index.js +4 -6
- package/dist/components/typography/span/index.js +4 -39
- package/dist/components/typography/text/index.js +4 -45
- package/dist/components/web-form/index.js +4 -78
- package/dist/components-C7JPRIEW.mjs +9653 -0
- package/dist/hooks/index.js +6 -10
- package/dist/index.js +112 -204
- package/dist/vendor-_XDhaIzo.mjs +14504 -0
- package/package.json +3 -7
- package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
- package/dist/index-BMHVi812.mjs +0 -234
- package/dist/index-BzAniA2J.mjs +0 -135
- package/dist/index-C6LbClYh.mjs +0 -146
- package/dist/index-CAIe8hBv.mjs +0 -130
- package/dist/index-CUQBAqt_.mjs +0 -75
- package/dist/index-CWlrSlUk.mjs +0 -68
- package/dist/index-Ckmu1TfV.mjs +0 -86
- package/dist/index-DwznImvK.mjs +0 -1678
- package/dist/index-maWH3JYC.mjs +0 -3561
- package/dist/styles-B2N0JLw1.mjs +0 -114
- package/dist/styles-B64DVBIF.mjs +0 -115
- package/dist/styles-BXFVwnWT.mjs +0 -133
- package/dist/styles-BZQOqe8p.mjs +0 -141
- package/dist/styles-Bdque9TT.mjs +0 -65
- package/dist/styles-BlHspTrz.mjs +0 -144
- package/dist/styles-CROOwXEH.mjs +0 -76
- package/dist/styles-CplEd2kw.mjs +0 -228
- package/dist/styles-D1eTIklB.mjs +0 -110
- package/dist/styles-ePGii_9g.mjs +0 -74
- package/dist/use-carousel-CgAF78h3.mjs +0 -23
- package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
- package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
- package/dist/use-modal-CtgexKnf.mjs +0 -14
- package/dist/use-search-Dj47QDw9.mjs +0 -15
- package/dist/utils-V0EumEPM.mjs +0 -6
- /package/dist/assets/{index2.css → vendor.css} +0 -0
package/dist/index-CUQBAqt_.mjs
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as d } from "react";
|
|
3
|
-
import { useOption as g } from "react-aria";
|
|
4
|
-
import { styled as r } from "styled-components";
|
|
5
|
-
import { Icon as y } from "./components/icon/index.js";
|
|
6
|
-
const k = r.ul`
|
|
7
|
-
${({ theme: o }) => `
|
|
8
|
-
align-self: center;
|
|
9
|
-
background: ${o.palette.white};
|
|
10
|
-
border: 1px solid ${o.palette.gray[200]};
|
|
11
|
-
border-radius: ${o.spacing[0.25]};
|
|
12
|
-
box-shadow: ${o.shadows.md};
|
|
13
|
-
list-style: none;
|
|
14
|
-
max-height: 200px;
|
|
15
|
-
min-width: 240px;
|
|
16
|
-
overflow: hidden auto;
|
|
17
|
-
scrollbar-color: ${o.palette.gray[600]} ${o.palette.gray[100]};
|
|
18
|
-
scroll-padding: ${o.spacing[0.5]};
|
|
19
|
-
width: 95%;
|
|
20
|
-
`}
|
|
21
|
-
`, $ = r.li`
|
|
22
|
-
${({ theme: o }) => `
|
|
23
|
-
align-items: center;
|
|
24
|
-
color: ${o.palette.gray[800]};
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
display: flex;
|
|
27
|
-
font-family: ${o.typography.type.primary};
|
|
28
|
-
font-size: ${o.typography.text.sm};
|
|
29
|
-
gap: ${o.spacing[0.5]};
|
|
30
|
-
justify-content: space-between;
|
|
31
|
-
line-height: ${o.spacing[1.25]};
|
|
32
|
-
padding: ${o.spacing[0.25]} ${o.spacing[1]};
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
|
|
37
|
-
span {
|
|
38
|
-
color: ${o.palette.gray[700]};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
background: ${o.palette.gray[100]};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.selected {
|
|
46
|
-
background: ${o.palette.gray[200]};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.disabled {
|
|
50
|
-
color: ${o.palette.gray[400]};
|
|
51
|
-
cursor: not-allowed;
|
|
52
|
-
}
|
|
53
|
-
`}
|
|
54
|
-
`, v = ({
|
|
55
|
-
item: o,
|
|
56
|
-
state: i
|
|
57
|
-
}) => {
|
|
58
|
-
const s = d(null), { optionProps: e, isSelected: a, isFocused: l, isDisabled: n } = g(
|
|
59
|
-
{ key: o.value },
|
|
60
|
-
i,
|
|
61
|
-
s
|
|
62
|
-
), t = [
|
|
63
|
-
a ? "selected" : "",
|
|
64
|
-
l ? "focused" : "",
|
|
65
|
-
n ? "disabled" : ""
|
|
66
|
-
].join(" ");
|
|
67
|
-
return /* @__PURE__ */ p($, { ...e, className: t, ref: s, children: [
|
|
68
|
-
o.name,
|
|
69
|
-
a ? /* @__PURE__ */ c(y, { icon: "check", iconSize: "xxs", iconType: "fa-light" }) : void 0
|
|
70
|
-
] });
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
v as O,
|
|
74
|
-
k as S
|
|
75
|
-
};
|
package/dist/index-CWlrSlUk.mjs
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback as e } from "react";
|
|
3
|
-
import { styled as t, useTheme as s } from "styled-components";
|
|
4
|
-
import { Icon as c } from "./components/icon/index.js";
|
|
5
|
-
import "./components/typography/heading/index.js";
|
|
6
|
-
import "./components/typography/span/index.js";
|
|
7
|
-
import { Text as l } from "./components/typography/text/index.js";
|
|
8
|
-
const y = t.div`
|
|
9
|
-
${({ theme: i, $itemsLength: o }) => `
|
|
10
|
-
display: flex;
|
|
11
|
-
background-color: ${i.palette.white};
|
|
12
|
-
border: 1px solid ${i.palette.gray[200]};
|
|
13
|
-
border-radius: ${i.spacing[0.25]};
|
|
14
|
-
box-shadow: ${i.shadows.lg};
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
min-width: 507px;
|
|
17
|
-
max-width: ${o <= 4 ? "507px" : "980px"};
|
|
18
|
-
padding: ${i.spacing[1.5]};
|
|
19
|
-
|
|
20
|
-
@media screen and (max-width: 980px) and (min-width: 742px) {
|
|
21
|
-
width: 742px;
|
|
22
|
-
}
|
|
23
|
-
@media screen and (max-width: 742px) {
|
|
24
|
-
width: 507px;
|
|
25
|
-
}
|
|
26
|
-
`}
|
|
27
|
-
`, x = t.div`
|
|
28
|
-
${({ theme: i, $isSelected: o }) => `
|
|
29
|
-
align-items: center;
|
|
30
|
-
background-color: ${o ? i.palette.gray[100] : i.palette.white};
|
|
31
|
-
border: 1px solid ${i.palette.gray[200]};
|
|
32
|
-
border-radius: ${i.spacing[0.25]};
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: ${o ? "row-reverse" : "row"};
|
|
36
|
-
min-height: 50px;
|
|
37
|
-
padding: ${i.spacing[1]} ${i.spacing[0.625]};
|
|
38
|
-
width: 215px;
|
|
39
|
-
|
|
40
|
-
&:hover {
|
|
41
|
-
background-color: ${i.palette.gray[100]};
|
|
42
|
-
}
|
|
43
|
-
`}
|
|
44
|
-
`, b = ({
|
|
45
|
-
isSelected: i = !1,
|
|
46
|
-
label: o,
|
|
47
|
-
onSelect: r
|
|
48
|
-
}) => {
|
|
49
|
-
const a = s(), d = e(() => {
|
|
50
|
-
r && r(o);
|
|
51
|
-
}, [r, o]);
|
|
52
|
-
return /* @__PURE__ */ p(x, { $isSelected: i, onClick: d, children: [
|
|
53
|
-
i ? /* @__PURE__ */ n(
|
|
54
|
-
c,
|
|
55
|
-
{
|
|
56
|
-
icon: "check",
|
|
57
|
-
iconColor: a.palette.gray[800],
|
|
58
|
-
iconSize: "md"
|
|
59
|
-
}
|
|
60
|
-
) : null,
|
|
61
|
-
/* @__PURE__ */ n(l, { color: a.palette.gray[800], fontWeight: "bold", size: "sm", children: o })
|
|
62
|
-
] });
|
|
63
|
-
};
|
|
64
|
-
export {
|
|
65
|
-
x as O,
|
|
66
|
-
y as S,
|
|
67
|
-
b as a
|
|
68
|
-
};
|
package/dist/index-Ckmu1TfV.mjs
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { styled as a } from "styled-components";
|
|
3
|
-
import { theme as o } from "./components/colors/index.js";
|
|
4
|
-
import { Icon as r } from "./components/icon/index.js";
|
|
5
|
-
const c = a.div`
|
|
6
|
-
${({ theme: i }) => `
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
backdrop-filter: blur(3.15px);
|
|
9
|
-
background: radial-gradient(
|
|
10
|
-
68.83% 167.8% at 171.9% 90.34%,
|
|
11
|
-
${i.palette.complementary[300]} 0%,
|
|
12
|
-
${i.palette.primary[400]} 100%
|
|
13
|
-
),
|
|
14
|
-
linear-gradient(
|
|
15
|
-
241deg,
|
|
16
|
-
${i.palette.primary[400]} 3.45%,
|
|
17
|
-
${i.palette.primary[500]} 82.59%
|
|
18
|
-
);
|
|
19
|
-
border-radius: ${i.spacing[1]};
|
|
20
|
-
box-shadow: ${i.shadows.md};
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: ${i.spacing[0.625]};
|
|
24
|
-
height: 300px;
|
|
25
|
-
padding: ${i.spacing[1]};
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 300px;
|
|
28
|
-
|
|
29
|
-
button > * {
|
|
30
|
-
font-size: ${i.typography.text.sm};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
#hovered {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:hover {
|
|
38
|
-
background: ${i.palette.gray[900]};
|
|
39
|
-
|
|
40
|
-
#hovered {
|
|
41
|
-
display: flex;
|
|
42
|
-
}
|
|
43
|
-
#uncover {
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media screen and (max-width: ${i.breakpoints.mobile}) {
|
|
49
|
-
height: 320px;
|
|
50
|
-
width: 320px;
|
|
51
|
-
|
|
52
|
-
#hovered {
|
|
53
|
-
margin-bottom: ${i.spacing[1.75]};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
`}
|
|
57
|
-
`, n = a.div`
|
|
58
|
-
align-items: center;
|
|
59
|
-
position: absolute;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
opacity: 0.15;
|
|
62
|
-
top: 14%;
|
|
63
|
-
left: 25%;
|
|
64
|
-
z-index: -1;
|
|
65
|
-
|
|
66
|
-
span {
|
|
67
|
-
font-size: 265px;
|
|
68
|
-
height: 260px;
|
|
69
|
-
width: 260px;
|
|
70
|
-
}
|
|
71
|
-
`, l = ({
|
|
72
|
-
icon: i
|
|
73
|
-
}) => /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
74
|
-
r,
|
|
75
|
-
{
|
|
76
|
-
icon: i,
|
|
77
|
-
iconColor: o.palette.white,
|
|
78
|
-
iconSize: "xs",
|
|
79
|
-
iconTransform: "shrink-2",
|
|
80
|
-
iconType: "fa-light"
|
|
81
|
-
}
|
|
82
|
-
) });
|
|
83
|
-
export {
|
|
84
|
-
c as I,
|
|
85
|
-
l as a
|
|
86
|
-
};
|