@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
package/dist/index-Co_k0WFk.mjs
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { styled as i } from "styled-components";
|
|
3
|
-
import { theme as t } from "./components/colors/index.js";
|
|
4
|
-
import { Icon as a } from "./components/icon/index.js";
|
|
5
|
-
const l = i.div`
|
|
6
|
-
${({ theme: n }) => `
|
|
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
|
-
${n.palette.complementary[300]} 0%,
|
|
12
|
-
${n.palette.primary[400]} 100%
|
|
13
|
-
),
|
|
14
|
-
linear-gradient(
|
|
15
|
-
241deg,
|
|
16
|
-
${n.palette.primary[400]} 3.45%,
|
|
17
|
-
${n.palette.primary[500]} 82.59%
|
|
18
|
-
);
|
|
19
|
-
border-radius: ${n.spacing[1]};
|
|
20
|
-
box-shadow: ${n.shadows.md};
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: ${n.spacing[0.625]};
|
|
24
|
-
height: 300px;
|
|
25
|
-
padding: ${n.spacing[1]};
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 300px;
|
|
28
|
-
|
|
29
|
-
button > * {
|
|
30
|
-
font-size: ${n.typography.text.sm};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
#hovered {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:hover {
|
|
38
|
-
background: ${n.palette.gray[900]};
|
|
39
|
-
|
|
40
|
-
#hovered {
|
|
41
|
-
display: flex;
|
|
42
|
-
}
|
|
43
|
-
#uncover {
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media screen and (max-width: ${n.breakpoints.mobile}) {
|
|
49
|
-
height: 320px;
|
|
50
|
-
width: 320px;
|
|
51
|
-
|
|
52
|
-
#hovered {
|
|
53
|
-
margin-bottom: ${n.spacing[1.75]};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
`}
|
|
57
|
-
`, o = i.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
|
-
`, m = ({ icon: n }) => e(o, { children: e(a, { icon: n, iconColor: t.palette.white, iconSize: "xs", iconTransform: "shrink-2", iconType: "fa-light" }) });
|
|
72
|
-
export {
|
|
73
|
-
l as I,
|
|
74
|
-
m as a
|
|
75
|
-
};
|
package/dist/index-Cu7uUMlx.mjs
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback as c } from "react";
|
|
3
|
-
import { styled as p, useTheme as h } from "styled-components";
|
|
4
|
-
import { Container as x } from "./components/container/index.js";
|
|
5
|
-
import { Icon as d } from "./components/icon/index.js";
|
|
6
|
-
const f = p.button`
|
|
7
|
-
display: flex;
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 32px;
|
|
10
|
-
width: 32px;
|
|
11
|
-
|
|
12
|
-
svg {
|
|
13
|
-
position: absolute;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.hovered {
|
|
17
|
-
display: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:hover {
|
|
21
|
-
.hovered {
|
|
22
|
-
display: flex;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.uncover {
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
`, w = p.div`
|
|
30
|
-
${({ theme: n }) => `
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
gap: ${n.spacing[2.5]};
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
min-height: 589px;
|
|
36
|
-
max-width: 1316px;
|
|
37
|
-
|
|
38
|
-
span {
|
|
39
|
-
background: ${n.palette.gradients["01"]};
|
|
40
|
-
background-clip: text;
|
|
41
|
-
-webkit-background-clip: text;
|
|
42
|
-
-webkit-text-fill-color: transparent;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
#mobile {
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
#carousel {
|
|
50
|
-
scrollbar-width: none;
|
|
51
|
-
|
|
52
|
-
&::-webkit-scrollbar {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@media screen and (max-width: ${n.breakpoints.mobile}) {
|
|
58
|
-
align-items: center;
|
|
59
|
-
height: auto;
|
|
60
|
-
max-width: 340px;
|
|
61
|
-
|
|
62
|
-
#desktop {
|
|
63
|
-
display: none;
|
|
64
|
-
}
|
|
65
|
-
#mobile {
|
|
66
|
-
display: flex;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
`}
|
|
70
|
-
`, v = ({ containerRef: n, id: t }) => {
|
|
71
|
-
const i = h(), o = t === "desktop" ? 380 : 342, a = c((e) => () => {
|
|
72
|
-
if (n != null && n.current) {
|
|
73
|
-
const { current: m } = n;
|
|
74
|
-
m.scrollBy({ left: e === "right" ? o : -o, behavior: "smooth" });
|
|
75
|
-
}
|
|
76
|
-
}, [n, o]), l = c((e) => r(f, { onClick: a(e), children: [s(d, { clickable: !0, icon: `circle-arrow-${e}`, iconClass: "hovered", iconColor: i.palette.gray[800], iconSize: "md", iconType: "fa-solid" }), s(d, { clickable: !0, icon: `circle-arrow-${e}`, iconClass: "uncover", iconColor: i.palette.gray[800], iconSize: "md", iconType: "fa-light" })] }), [a, i]);
|
|
77
|
-
return r(x, { alignItems: "center", display: "flex", gap: 1, id: t, width: "max-content", children: [l("left"), l("right")] });
|
|
78
|
-
};
|
|
79
|
-
export {
|
|
80
|
-
w as O,
|
|
81
|
-
v as S
|
|
82
|
-
};
|