@fluidattacks/design 3.1.11 → 3.1.12
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/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/components/@core/index.js +18 -1
- package/dist/components/accordion/accordion-content/index.js +9 -1
- package/dist/components/accordion/index.js +21 -1
- package/dist/components/alert/index.js +111 -4
- package/dist/components/button/index.js +18 -1
- package/dist/components/card/card-header/index.js +14 -1
- package/dist/components/card/card-with-image/index.js +18 -1
- package/dist/components/card/card-with-input/index.js +57 -3
- package/dist/components/card/card-with-selector/index.js +16 -1
- package/dist/components/card/card-with-switch/index.js +12 -1
- package/dist/components/card/index.js +12 -1
- package/dist/components/carousel/index.js +36 -10
- package/dist/components/checkbox/index.js +84 -3
- package/dist/components/cloud-image/index.js +8 -1
- package/dist/components/code-snippet/index.js +27 -1
- package/dist/components/code-snippet/location-code/index.js +125 -1
- package/dist/components/colors/index.js +9 -1
- package/dist/components/confirm-dialog/index.js +23 -1
- package/dist/components/container/index.js +27 -3
- package/dist/components/content-card/category-tag/index.js +13 -1
- package/dist/components/content-card/event-date/index.js +18 -1
- package/dist/components/content-card/index.js +63 -3
- package/dist/components/content-card-carousel/index.js +15 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
- package/dist/components/divider/index.js +10 -1
- package/dist/components/empty-state/empty-button/index.js +6 -1
- package/dist/components/empty-state/index.js +21 -8
- package/dist/components/file-preview/index.js +15 -3
- package/dist/components/form/index.js +26 -3
- package/dist/components/grid-container/index.js +26 -5
- package/dist/components/group-selector/index.js +26 -1
- package/dist/components/group-selector/option-container/index.js +12 -1
- package/dist/components/icon/index.js +42 -4
- package/dist/components/icon-button/index.js +27 -3
- package/dist/components/indicator-card/index.js +15 -1
- package/dist/components/info-sidebar/index.js +16 -1
- package/dist/components/inputs/fields/combobox/index.js +26 -1
- package/dist/components/inputs/fields/combobox/option/index.js +8 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +16 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +15 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +16 -1
- package/dist/components/inputs/fields/date/calendar/index.js +15 -1
- package/dist/components/inputs/fields/date/index.js +18 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +16 -1
- package/dist/components/inputs/fields/date-range/index.js +28 -3
- package/dist/components/inputs/fields/date-time/calendar/index.js +31 -5
- package/dist/components/inputs/fields/date-time/index.js +18 -1
- package/dist/components/inputs/fields/editable/index.js +16 -1
- package/dist/components/inputs/fields/input/index.js +13 -1
- package/dist/components/inputs/fields/input-file/index.js +24 -4
- package/dist/components/inputs/fields/input-tags/index.js +14 -2
- package/dist/components/inputs/fields/number/index.js +10 -1
- package/dist/components/inputs/fields/number-range/index.js +11 -1
- package/dist/components/inputs/fields/phone/index.js +414 -11
- package/dist/components/inputs/fields/text-area/index.js +13 -1
- package/dist/components/inputs/index.js +28 -1
- package/dist/components/inputs/label/index.js +12 -1
- package/dist/components/inputs/outline-container/index.js +18 -1
- package/dist/components/inputs/utils/action-button/index.js +10 -1
- package/dist/components/inputs/utils/calendar-button/index.js +13 -1
- package/dist/components/inputs/utils/date-selector/index.js +8 -1
- package/dist/components/inputs/utils/date-time-field/index.js +32 -1
- package/dist/components/inputs/utils/dialog/index.js +11 -1
- package/dist/components/inputs/utils/number-field/index.js +13 -1
- package/dist/components/inputs/utils/popover/index.js +13 -1
- package/dist/components/interactive-card/icon/index.js +7 -1
- package/dist/components/interactive-card/index.js +15 -1
- package/dist/components/language-selector/index.js +13 -1
- package/dist/components/language-selector/item-list/index.js +8 -1
- package/dist/components/link/index.js +52 -7
- package/dist/components/list-item/index.js +16 -1
- package/dist/components/little-flag/index.js +15 -3
- package/dist/components/loading/index.js +28 -14
- package/dist/components/logo/index.js +7 -1
- package/dist/components/logo-carousel/index.js +10 -4
- package/dist/components/lottie/index.js +15 -3
- package/dist/components/menu/index.js +23 -1
- package/dist/components/message-banner/index.js +21 -4
- package/dist/components/modal/index.js +19 -1
- package/dist/components/modal/modal-confirm/index.js +10 -1
- package/dist/components/modal/modal-footer/index.js +16 -1
- package/dist/components/modal/modal-header/index.js +25 -1
- package/dist/components/notification/index.js +68 -5
- package/dist/components/notification-sign/index.js +26 -6
- package/dist/components/number-input/index.js +25 -7
- package/dist/components/oauth-selector/index.js +26 -1
- package/dist/components/oauth-selector/option-container/index.js +15 -1
- package/dist/components/plan-card/index.js +84 -5
- package/dist/components/plan-card/recommended-tag/index.js +10 -1
- package/dist/components/pop-up/description/index.js +13 -1
- package/dist/components/pop-up/index.js +23 -1
- package/dist/components/premium-feature/index.js +45 -3
- package/dist/components/priority-score/index.js +14 -1
- package/dist/components/progress/index.js +23 -3
- package/dist/components/progress-bar/index.js +95 -5
- package/dist/components/radio-button/index.js +88 -3
- package/dist/components/scroll-button/index.js +20 -2
- package/dist/components/search/index.js +63 -7
- package/dist/components/search-bar/index.js +32 -1
- package/dist/components/search-bar/item-searching/index.js +10 -1
- package/dist/components/severity-badge/index.js +14 -1
- package/dist/components/severity-overview/badge/index.js +18 -1
- package/dist/components/severity-overview/index.js +7 -1
- package/dist/components/show-on-hover/index.js +25 -3
- package/dist/components/slide-out-menu/index.js +2009 -3
- package/dist/components/slide-out-menu/menu-item/index.js +15 -1
- package/dist/components/slider/index.js +93 -7
- package/dist/components/slider/thumb/index.js +10 -1
- package/dist/components/step-lapse/index.js +95 -9
- package/dist/components/table-button/index.js +56 -3
- package/dist/components/tabs/fixed-tabs/index.js +9 -1
- package/dist/components/tabs/index.js +14 -1
- package/dist/components/tabs/tab/index.js +8 -1
- package/dist/components/tag/index.js +116 -3
- package/dist/components/timeline/card/index.js +9 -1
- package/dist/components/timeline/index.js +7 -1
- package/dist/components/toggle/index.js +45 -14
- package/dist/components/toggle-buttons/index.js +74 -5
- package/dist/components/tooltip/index.js +13 -1
- package/dist/components/tour/index.js +2481 -4
- package/dist/components/typography/heading/index.js +9 -1
- package/dist/components/typography/index.js +8 -1
- package/dist/components/typography/span/index.js +9 -1
- package/dist/components/typography/text/index.js +9 -1
- package/dist/components/web-form/index.js +59 -7
- package/dist/hooks/index.js +13 -1
- package/dist/index-38JqtnAI.mjs +122 -0
- package/dist/index-B5yoGFs6.mjs +54 -0
- package/dist/index-BLbKylyw.mjs +209 -0
- package/dist/{index-C0_LPuYU.mjs → index-Bu448Tz2.mjs} +22 -22
- package/dist/index-BwFnfaRh.mjs +2310 -0
- package/dist/index-Co_k0WFk.mjs +75 -0
- package/dist/index-Cu7uUMlx.mjs +82 -0
- package/dist/index-D-lcuEHY.mjs +1018 -0
- package/dist/index-DrfjITyT.mjs +61 -0
- package/dist/index.js +206 -1
- package/dist/styles-7_q7nHce.mjs +110 -0
- package/dist/styles-BA0WIQL-.mjs +74 -0
- package/dist/styles-C3cZmKVJ.mjs +131 -0
- package/dist/styles-CI-I6joH.mjs +144 -0
- package/dist/styles-Cx93EcVo.mjs +76 -0
- package/dist/styles-D85YYIjM.mjs +131 -0
- package/dist/styles-EIbGRPlk.mjs +106 -0
- package/dist/styles-Q1VXuWI7.mjs +65 -0
- package/dist/styles-fH2c4cfc.mjs +77 -0
- package/dist/{styles-BAhpqi6C.mjs → styles-lSVV9kjn.mjs} +28 -28
- package/dist/use-carousel-CvRxi2FI.mjs +17 -0
- package/dist/use-click-outside-BtZLIoU1.mjs +18 -0
- package/dist/use-cloudinary-image-fG7ODNgr.mjs +611 -0
- package/dist/use-modal-CkrZ-_-M.mjs +14 -0
- package/dist/use-search-DpLNvt7Q.mjs +12 -0
- package/dist/utils-CQvBF-wY.mjs +4 -0
- package/package.json +1 -1
- package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
- package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
- package/dist/index-BH27NQKA.mjs +0 -2311
- package/dist/index-Bcw2vW_n.mjs +0 -75
- package/dist/index-C8zdgAVH.mjs +0 -82
- package/dist/index-CA_9DXWd.js +0 -5
- package/dist/index-CmylnDrF.js +0 -14
- package/dist/index-DUMgwAbO.js +0 -26
- package/dist/index-DpQYiwGu.js +0 -5
- package/dist/index-Dy8ZUIYs.js +0 -5
- package/dist/index-JPf5Yzg6.js +0 -17
- package/dist/index-OBZtKZuT.mjs +0 -1021
- package/dist/index-SsXlDjK4.mjs +0 -122
- package/dist/index-TKLFHcRp.js +0 -18
- package/dist/index-TnyKqJHo.mjs +0 -61
- package/dist/index-Yr95Cb7Z.mjs +0 -54
- package/dist/index-h9-U5wxq.mjs +0 -209
- package/dist/index-qCiUU4sZ.js +0 -9
- package/dist/index-qe0nJwzl.js +0 -15
- package/dist/styles--Elze-LV.js +0 -3
- package/dist/styles-3pR4Xdvy.js +0 -33
- package/dist/styles-59h91S9m.mjs +0 -65
- package/dist/styles-BCwLWpC3.mjs +0 -126
- package/dist/styles-BJ7-0I5X.mjs +0 -74
- package/dist/styles-BKObp9bh.mjs +0 -76
- package/dist/styles-BWVdbvFu.js +0 -5
- package/dist/styles-Bl-CstrT.js +0 -5
- package/dist/styles-Bn42XCW5.js +0 -7
- package/dist/styles-C2CoGJl7.js +0 -33
- package/dist/styles-CNzziAXG.js +0 -5
- package/dist/styles-CdD9waPD.js +0 -29
- package/dist/styles-CnKTwnFk.mjs +0 -110
- package/dist/styles-D4R-eerv.mjs +0 -77
- package/dist/styles-DNIIhyRC.mjs +0 -144
- package/dist/styles-DV8yOaqV.mjs +0 -131
- package/dist/styles-DYoftbd3.js +0 -42
- package/dist/styles-DlmKLhPh.js +0 -7
- package/dist/styles-be8gOdgy.mjs +0 -106
- package/dist/use-carousel-64dKFW4E.js +0 -1
- package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
- package/dist/use-click-outside-BqkLISED.js +0 -1
- package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
- package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
- package/dist/use-cloudinary-image-YMMafagv.js +0 -1
- package/dist/use-modal-CNbLSSQb.mjs +0 -14
- package/dist/use-modal-_bYY6M_n.js +0 -1
- package/dist/use-search-75ip5xR-.mjs +0 -12
- package/dist/use-search-DeL4UDMh.js +0 -1
- package/dist/utils-C2whpEd3.js +0 -1
- package/dist/utils-Da0qL35u.mjs +0 -4
|
@@ -0,0 +1,61 @@
|
|
|
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 o } from "styled-components";
|
|
5
|
+
import { Icon as m } from "./components/icon/index.js";
|
|
6
|
+
const w = o.ul`
|
|
7
|
+
${({ theme: n }) => `
|
|
8
|
+
align-self: center;
|
|
9
|
+
background: ${n.palette.white};
|
|
10
|
+
border: 1px solid ${n.palette.gray[200]};
|
|
11
|
+
border-radius: ${n.spacing[0.25]};
|
|
12
|
+
box-shadow: ${n.shadows.md};
|
|
13
|
+
list-style: none;
|
|
14
|
+
max-height: 200px;
|
|
15
|
+
min-width: 240px;
|
|
16
|
+
overflow: hidden auto;
|
|
17
|
+
scrollbar-color: ${n.palette.gray[600]} ${n.palette.gray[100]};
|
|
18
|
+
scroll-padding: ${n.spacing[0.5]};
|
|
19
|
+
width: 95%;
|
|
20
|
+
`}
|
|
21
|
+
`, y = o.li`
|
|
22
|
+
${({ theme: n }) => `
|
|
23
|
+
align-items: center;
|
|
24
|
+
color: ${n.palette.gray[800]};
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
display: flex;
|
|
27
|
+
font-family: ${n.typography.type.primary};
|
|
28
|
+
font-size: ${n.typography.text.sm};
|
|
29
|
+
gap: ${n.spacing[0.5]};
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
line-height: ${n.spacing[1.25]};
|
|
32
|
+
padding: ${n.spacing[0.25]} ${n.spacing[1]};
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
|
|
37
|
+
span {
|
|
38
|
+
color: ${n.palette.gray[700]};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
background: ${n.palette.gray[100]};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.selected {
|
|
46
|
+
background: ${n.palette.gray[200]};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.disabled {
|
|
50
|
+
color: ${n.palette.gray[400]};
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
`}
|
|
54
|
+
`, b = ({ item: n, state: a }) => {
|
|
55
|
+
const e = d(null), { optionProps: s, isSelected: t, isFocused: i, isDisabled: r } = g({ key: n.value }, a, e), l = [t ? "selected" : "", i ? "focused" : "", r ? "disabled" : ""].join(" ");
|
|
56
|
+
return p(y, { ...s, className: l, ref: e, children: [n.name, t ? c(m, { icon: "check", iconSize: "xxs", iconType: "fa-light" }) : void 0] });
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
b as O,
|
|
60
|
+
w as S
|
|
61
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1 +1,206 @@
|
|
|
1
|
-
|
|
1
|
+
import { v as e } from "./utils-CQvBF-wY.mjs";
|
|
2
|
+
import { a as p, B as m, c as a, b as f, k as x, h as n, j as i, i as s, f as u, e as d, s as l, g as C, d as g } from "./styles-C3cZmKVJ.mjs";
|
|
3
|
+
import { Accordion as I } from "./components/accordion/index.js";
|
|
4
|
+
import { Alert as T } from "./components/alert/index.js";
|
|
5
|
+
import { Button as b } from "./components/button/index.js";
|
|
6
|
+
import { CardHeader as L } from "./components/card/card-header/index.js";
|
|
7
|
+
import { CardWithImage as P } from "./components/card/card-with-image/index.js";
|
|
8
|
+
import { CardWithInput as M } from "./components/card/card-with-input/index.js";
|
|
9
|
+
import { CardWithSelector as D } from "./components/card/card-with-selector/index.js";
|
|
10
|
+
import { CardWithSwitch as W } from "./components/card/card-with-switch/index.js";
|
|
11
|
+
import { Carousel as N } from "./components/carousel/index.js";
|
|
12
|
+
import { Checkbox as A } from "./components/checkbox/index.js";
|
|
13
|
+
import { M as R } from "./index-BwFnfaRh.mjs";
|
|
14
|
+
import { CodeSnippet as G } from "./components/code-snippet/index.js";
|
|
15
|
+
import { CustomThemeProvider as j, icons as q, theme as z, uniqueIcons as J } from "./components/colors/index.js";
|
|
16
|
+
import { useConfirmDialog as Q } from "./components/confirm-dialog/index.js";
|
|
17
|
+
import { Container as X } from "./components/container/index.js";
|
|
18
|
+
import { Divider as Z } from "./components/divider/index.js";
|
|
19
|
+
import { EmptyState as $ } from "./components/empty-state/index.js";
|
|
20
|
+
import { FilePreview as ro } from "./components/file-preview/index.js";
|
|
21
|
+
import { Form as to } from "./components/form/index.js";
|
|
22
|
+
import { GridContainer as mo } from "./components/grid-container/index.js";
|
|
23
|
+
import { GroupSelector as fo } from "./components/group-selector/index.js";
|
|
24
|
+
import { Icon as no } from "./components/icon/index.js";
|
|
25
|
+
import { IconButton as so } from "./components/icon-button/index.js";
|
|
26
|
+
import { IndicatorCard as lo } from "./components/indicator-card/index.js";
|
|
27
|
+
import { InfoSidebar as go } from "./components/info-sidebar/index.js";
|
|
28
|
+
import { ComboBox as Io } from "./components/inputs/fields/combobox/index.js";
|
|
29
|
+
import { InputDate as To } from "./components/inputs/fields/date/index.js";
|
|
30
|
+
import { InputDateRange as bo } from "./components/inputs/fields/date-range/index.js";
|
|
31
|
+
import { InputDateTime as Lo } from "./components/inputs/fields/date-time/index.js";
|
|
32
|
+
import { Editable as Po } from "./components/inputs/fields/editable/index.js";
|
|
33
|
+
import { Input as Mo } from "./components/inputs/fields/input/index.js";
|
|
34
|
+
import { InputFile as Do } from "./components/inputs/fields/input-file/index.js";
|
|
35
|
+
import { InputTags as Wo } from "./components/inputs/fields/input-tags/index.js";
|
|
36
|
+
import { InputNumber as No } from "./components/inputs/fields/number/index.js";
|
|
37
|
+
import { InputNumberRange as Ao } from "./components/inputs/fields/number-range/index.js";
|
|
38
|
+
import { PhoneInput as Ro } from "./components/inputs/fields/phone/index.js";
|
|
39
|
+
import { TextArea as Go } from "./components/inputs/fields/text-area/index.js";
|
|
40
|
+
import { OutlineContainer as jo } from "./components/inputs/outline-container/index.js";
|
|
41
|
+
import { InteractiveCard as zo } from "./components/interactive-card/index.js";
|
|
42
|
+
import { LanguageSelector as Ko } from "./components/language-selector/index.js";
|
|
43
|
+
import { Link as Vo } from "./components/link/index.js";
|
|
44
|
+
import { ListItem as Yo } from "./components/list-item/index.js";
|
|
45
|
+
import { LittleFlag as _o } from "./components/little-flag/index.js";
|
|
46
|
+
import { Loading as or } from "./components/loading/index.js";
|
|
47
|
+
import { Logo as er } from "./components/logo/index.js";
|
|
48
|
+
import { LogoCarousel as pr } from "./components/logo-carousel/index.js";
|
|
49
|
+
import { Lottie as ar } from "./components/lottie/index.js";
|
|
50
|
+
import { Menu as xr } from "./components/menu/index.js";
|
|
51
|
+
import { MessageBanner as ir } from "./components/message-banner/index.js";
|
|
52
|
+
import { Modal as ur } from "./components/modal/index.js";
|
|
53
|
+
import { Notification as lr } from "./components/notification/index.js";
|
|
54
|
+
import { NotificationSign as gr } from "./components/notification-sign/index.js";
|
|
55
|
+
import { NumberInput as Ir } from "./components/number-input/index.js";
|
|
56
|
+
import { OAuthSelector as Tr } from "./components/oauth-selector/index.js";
|
|
57
|
+
import { PremiumFeature as br } from "./components/premium-feature/index.js";
|
|
58
|
+
import { PriorityScore as Lr } from "./components/priority-score/index.js";
|
|
59
|
+
import { Progress as Pr } from "./components/progress/index.js";
|
|
60
|
+
import { PopUp as Mr } from "./components/pop-up/index.js";
|
|
61
|
+
import { RadioButton as Dr } from "./components/radio-button/index.js";
|
|
62
|
+
import { ScrollUpButton as Wr } from "./components/scroll-button/index.js";
|
|
63
|
+
import { Search as Nr } from "./components/search/index.js";
|
|
64
|
+
import { SearchBar as Ar } from "./components/search-bar/index.js";
|
|
65
|
+
import { SeverityBadge as Rr } from "./components/severity-badge/index.js";
|
|
66
|
+
import { SeverityOverview as Gr } from "./components/severity-overview/index.js";
|
|
67
|
+
import { ShowOnHover as jr } from "./components/show-on-hover/index.js";
|
|
68
|
+
import { SlideOutMenu as zr } from "./components/slide-out-menu/index.js";
|
|
69
|
+
import { Slider as Kr } from "./components/slider/index.js";
|
|
70
|
+
import { StepLapse as Vr } from "./components/step-lapse/index.js";
|
|
71
|
+
import { TableButton as Yr } from "./components/table-button/index.js";
|
|
72
|
+
import { Tabs as _r } from "./components/tabs/index.js";
|
|
73
|
+
import { Tag as oe } from "./components/tag/index.js";
|
|
74
|
+
import { TimeLine as ee } from "./components/timeline/index.js";
|
|
75
|
+
import { Toggle as pe } from "./components/toggle/index.js";
|
|
76
|
+
import { ToggleButton as ae } from "./components/toggle-buttons/index.js";
|
|
77
|
+
import { T as xe } from "./index-D-lcuEHY.mjs";
|
|
78
|
+
import { Tour as ie, baseStep as se } from "./components/tour/index.js";
|
|
79
|
+
import { Heading as de } from "./components/typography/heading/index.js";
|
|
80
|
+
import { Span as Ce } from "./components/typography/span/index.js";
|
|
81
|
+
import { Text as ce } from "./components/typography/text/index.js";
|
|
82
|
+
import { FormItem as Se, WebForm as Te } from "./components/web-form/index.js";
|
|
83
|
+
import { u as be } from "./use-carousel-CvRxi2FI.mjs";
|
|
84
|
+
import { u as Le } from "./use-click-outside-BtZLIoU1.mjs";
|
|
85
|
+
import { u as Pe } from "./use-cloudinary-image-fG7ODNgr.mjs";
|
|
86
|
+
import { u as Me, a as ye } from "./use-search-DpLNvt7Q.mjs";
|
|
87
|
+
import { u as Oe } from "./use-modal-CkrZ-_-M.mjs";
|
|
88
|
+
import { a as ke } from "./styles-Q1VXuWI7.mjs";
|
|
89
|
+
import { ModalConfirm as we } from "./components/modal/modal-confirm/index.js";
|
|
90
|
+
import { OptionContainer as He } from "./components/oauth-selector/option-container/index.js";
|
|
91
|
+
import { FixedTabs as Ee } from "./components/tabs/fixed-tabs/index.js";
|
|
92
|
+
import { Tab as Ue } from "./components/tabs/tab/index.js";
|
|
93
|
+
import { a as qe } from "./index-Bu448Tz2.mjs";
|
|
94
|
+
import './assets/index.css';export {
|
|
95
|
+
I as Accordion,
|
|
96
|
+
T as Alert,
|
|
97
|
+
p as BaseButtonComponent,
|
|
98
|
+
m as BaseComponent,
|
|
99
|
+
a as BaseSpanComponent,
|
|
100
|
+
f as BaseTextComponent,
|
|
101
|
+
b as Button,
|
|
102
|
+
L as CardHeader,
|
|
103
|
+
P as CardWithImage,
|
|
104
|
+
M as CardWithInput,
|
|
105
|
+
D as CardWithSelector,
|
|
106
|
+
W as CardWithSwitch,
|
|
107
|
+
N as Carousel,
|
|
108
|
+
A as Checkbox,
|
|
109
|
+
R as CloudImage,
|
|
110
|
+
G as CodeSnippet,
|
|
111
|
+
Io as ComboBox,
|
|
112
|
+
X as Container,
|
|
113
|
+
j as CustomThemeProvider,
|
|
114
|
+
Z as Divider,
|
|
115
|
+
Po as Editable,
|
|
116
|
+
$ as EmptyState,
|
|
117
|
+
ro as FilePreview,
|
|
118
|
+
Ee as FixedTabs,
|
|
119
|
+
to as Form,
|
|
120
|
+
Se as FormItem,
|
|
121
|
+
mo as GridContainer,
|
|
122
|
+
fo as GroupSelector,
|
|
123
|
+
de as Heading,
|
|
124
|
+
no as Icon,
|
|
125
|
+
so as IconButton,
|
|
126
|
+
lo as IndicatorCard,
|
|
127
|
+
go as InfoSidebar,
|
|
128
|
+
Mo as Input,
|
|
129
|
+
To as InputDate,
|
|
130
|
+
bo as InputDateRange,
|
|
131
|
+
Lo as InputDateTime,
|
|
132
|
+
Do as InputFile,
|
|
133
|
+
No as InputNumber,
|
|
134
|
+
Ao as InputNumberRange,
|
|
135
|
+
Wo as InputTags,
|
|
136
|
+
zo as InteractiveCard,
|
|
137
|
+
Ko as LanguageSelector,
|
|
138
|
+
Vo as Link,
|
|
139
|
+
Yo as ListItem,
|
|
140
|
+
ke as ListItemsWrapper,
|
|
141
|
+
_o as LittleFlag,
|
|
142
|
+
or as Loading,
|
|
143
|
+
er as Logo,
|
|
144
|
+
pr as LogoCarousel,
|
|
145
|
+
ar as Lottie,
|
|
146
|
+
xr as Menu,
|
|
147
|
+
ir as MessageBanner,
|
|
148
|
+
ur as Modal,
|
|
149
|
+
we as ModalConfirm,
|
|
150
|
+
lr as Notification,
|
|
151
|
+
gr as NotificationSign,
|
|
152
|
+
Ir as NumberInput,
|
|
153
|
+
Tr as OAuthSelector,
|
|
154
|
+
He as OptionContainer,
|
|
155
|
+
jo as OutlineContainer,
|
|
156
|
+
Ro as PhoneInput,
|
|
157
|
+
Mr as PopUp,
|
|
158
|
+
br as PremiumFeature,
|
|
159
|
+
Lr as PriorityScore,
|
|
160
|
+
Pr as Progress,
|
|
161
|
+
Dr as RadioButton,
|
|
162
|
+
Wr as ScrollUpButton,
|
|
163
|
+
Nr as Search,
|
|
164
|
+
Ar as SearchBar,
|
|
165
|
+
Rr as SeverityBadge,
|
|
166
|
+
Gr as SeverityOverview,
|
|
167
|
+
jr as ShowOnHover,
|
|
168
|
+
zr as SlideOutMenu,
|
|
169
|
+
Kr as Slider,
|
|
170
|
+
Ce as Span,
|
|
171
|
+
Vr as StepLapse,
|
|
172
|
+
Ue as Tab,
|
|
173
|
+
Yr as TableButton,
|
|
174
|
+
_r as Tabs,
|
|
175
|
+
oe as Tag,
|
|
176
|
+
ce as Text,
|
|
177
|
+
Go as TextArea,
|
|
178
|
+
ee as TimeLine,
|
|
179
|
+
qe as TimeLineCard,
|
|
180
|
+
pe as Toggle,
|
|
181
|
+
ae as ToggleButton,
|
|
182
|
+
xe as Tooltip,
|
|
183
|
+
ie as Tour,
|
|
184
|
+
Te as WebForm,
|
|
185
|
+
se as baseStep,
|
|
186
|
+
x as getStyledConfig,
|
|
187
|
+
n as hiddenProps,
|
|
188
|
+
q as icons,
|
|
189
|
+
i as setBorder,
|
|
190
|
+
s as setDisplay,
|
|
191
|
+
u as setInteraction,
|
|
192
|
+
d as setMargin,
|
|
193
|
+
l as setPadding,
|
|
194
|
+
C as setPosition,
|
|
195
|
+
g as setText,
|
|
196
|
+
z as theme,
|
|
197
|
+
J as uniqueIcons,
|
|
198
|
+
be as useCarousel,
|
|
199
|
+
Le as useClickOutside,
|
|
200
|
+
Pe as useCloudinaryImage,
|
|
201
|
+
Q as useConfirmDialog,
|
|
202
|
+
Me as useDebouncedCallback,
|
|
203
|
+
Oe as useModal,
|
|
204
|
+
ye as useSearch,
|
|
205
|
+
e as variantBuilder
|
|
206
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { styled as n, css as o } from "styled-components";
|
|
2
|
+
import { a as s } from "./styles-C3cZmKVJ.mjs";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
const c = n(s)`
|
|
5
|
+
align-items: center;
|
|
6
|
+
background-color: inherit;
|
|
7
|
+
border-color: inherit;
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 38px;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 40px;
|
|
12
|
+
margin: ${({ $margin: e = "0" }) => o`
|
|
13
|
+
${e}
|
|
14
|
+
`};
|
|
15
|
+
|
|
16
|
+
&:hover:not(:disabled) {
|
|
17
|
+
background-color: ${({ theme: e }) => e.palette.gray[100]};
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
`, g = n.div`
|
|
21
|
+
${({ theme: e }) => `
|
|
22
|
+
align-items: flex-start;
|
|
23
|
+
background: ${e.palette.white};
|
|
24
|
+
border: 1px solid ${e.palette.gray[200]};
|
|
25
|
+
border-radius: ${e.spacing[0.5]};
|
|
26
|
+
box-shadow: ${e.shadows.md};
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: ${e.spacing[0.25]};
|
|
30
|
+
height: auto;
|
|
31
|
+
padding: ${e.spacing[0.25]};
|
|
32
|
+
width: 292px;
|
|
33
|
+
`}
|
|
34
|
+
`, h = n.button`
|
|
35
|
+
${({ theme: e, $disabled: a, $focus: i, $header: t }) => {
|
|
36
|
+
const r = i ? "34px" : "40px";
|
|
37
|
+
return `
|
|
38
|
+
align-items: center;
|
|
39
|
+
border-radius: ${t ? `0 ${e.spacing[0.5]} ${e.spacing[0.5]} 0` : "4px"};
|
|
40
|
+
border-left: inherit;
|
|
41
|
+
display: flex;
|
|
42
|
+
height: ${t ? "38px" : r};
|
|
43
|
+
justify-content: center;
|
|
44
|
+
outline: none;
|
|
45
|
+
width: ${t ? "38px" : "40px"};
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: ${e.palette.gray[a ? 500 : 100]};
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
51
|
+
}}
|
|
52
|
+
`, $ = n.div`
|
|
53
|
+
${({ theme: e }) => `
|
|
54
|
+
align-items: center;
|
|
55
|
+
background: transparent;
|
|
56
|
+
border-radius: ${e.spacing[0.5]} 0 0 ${e.spacing[0.5]};
|
|
57
|
+
border-color: inherit;
|
|
58
|
+
display: flex;
|
|
59
|
+
height: 100%;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
width: calc(100% - 40px);
|
|
62
|
+
`}
|
|
63
|
+
`, x = n.div`
|
|
64
|
+
align-items: center;
|
|
65
|
+
display: flex;
|
|
66
|
+
justify-content: flex-end;
|
|
67
|
+
gap: ${({ theme: e }) => e.spacing[0.5]};
|
|
68
|
+
flex: 1 0 0;
|
|
69
|
+
`, u = n.div`
|
|
70
|
+
${({ theme: e }) => `
|
|
71
|
+
align-items: center;
|
|
72
|
+
align-self: stretch;
|
|
73
|
+
background-color: ${e.palette.gray[200]};
|
|
74
|
+
border-radius: ${e.spacing[0.25]};
|
|
75
|
+
display: flex;
|
|
76
|
+
font-family: ${e.typography.type.primary};
|
|
77
|
+
gap: ${e.spacing[0.25]};
|
|
78
|
+
line-height: ${e.spacing[1.5]};
|
|
79
|
+
padding: 2px ${e.spacing[0.25]};
|
|
80
|
+
`}
|
|
81
|
+
`, y = n.button`
|
|
82
|
+
${({ theme: e }) => `
|
|
83
|
+
align-items: center;
|
|
84
|
+
background-color: inherit;
|
|
85
|
+
border: 0.5px solid ${e.palette.gray[200]};
|
|
86
|
+
border-radius: 7px;
|
|
87
|
+
color: ${e.palette.gray[800]};
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
display: flex;
|
|
90
|
+
font-weight: ${e.typography.weight.regular};
|
|
91
|
+
justify-content: center;
|
|
92
|
+
gap: 10px;
|
|
93
|
+
padding: 2px 10px;
|
|
94
|
+
|
|
95
|
+
&#active {
|
|
96
|
+
background-color: ${e.palette.white};
|
|
97
|
+
box-shadow: ${e.shadows.md};
|
|
98
|
+
font-weight: ${e.typography.weight.bold};
|
|
99
|
+
}
|
|
100
|
+
`}
|
|
101
|
+
`;
|
|
102
|
+
export {
|
|
103
|
+
h as C,
|
|
104
|
+
g as D,
|
|
105
|
+
$ as I,
|
|
106
|
+
c as S,
|
|
107
|
+
x as T,
|
|
108
|
+
u as a,
|
|
109
|
+
y as b
|
|
110
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NavLink as e } from "react-router-dom";
|
|
2
|
+
import { styled as n } from "styled-components";
|
|
3
|
+
const r = n.button`
|
|
4
|
+
${({ theme: t }) => `
|
|
5
|
+
align-items: center;
|
|
6
|
+
color: ${t.palette.gray[500]};
|
|
7
|
+
display: flex;
|
|
8
|
+
gap: ${t.spacing[0.625]};
|
|
9
|
+
justify-content: center;
|
|
10
|
+
padding: ${t.spacing[0.75]};
|
|
11
|
+
text-align: center;
|
|
12
|
+
width: 151px;
|
|
13
|
+
|
|
14
|
+
&.active {
|
|
15
|
+
color: ${t.palette.gray[800]};
|
|
16
|
+
border-bottom: 3px solid ${t.palette.primary[400]};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: ${t.palette.gray[800]};
|
|
21
|
+
}
|
|
22
|
+
`}
|
|
23
|
+
`, p = n.div`
|
|
24
|
+
${({ theme: t }) => `
|
|
25
|
+
align-items: center;
|
|
26
|
+
border-bottom: 2px solid ${t.palette.gray[200]};
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: ${t.spacing[3]};
|
|
29
|
+
height: ${t.spacing[3]};
|
|
30
|
+
width: max-content;
|
|
31
|
+
`}
|
|
32
|
+
`, i = n(e)`
|
|
33
|
+
${({ theme: t }) => `
|
|
34
|
+
align-items: center;
|
|
35
|
+
background: transparent;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
color: ${t.palette.gray[800]};
|
|
38
|
+
font-family: ${t.typography.type.primary};
|
|
39
|
+
font-size: ${t.typography.text.sm};
|
|
40
|
+
display: flex;
|
|
41
|
+
font-weight: ${t.typography.weight.regular};
|
|
42
|
+
padding: ${t.spacing[0.625]} ${t.spacing[0.5]};
|
|
43
|
+
position: relative;
|
|
44
|
+
text-align: center;
|
|
45
|
+
text-decoration: unset;
|
|
46
|
+
|
|
47
|
+
&:disabled {
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
background-color: ${t.palette.gray[300]};
|
|
50
|
+
color: ${t.palette.gray[300]};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover:not([disabled]) {
|
|
54
|
+
background-color: ${t.palette.gray[100]};
|
|
55
|
+
color: ${t.palette.gray[800]};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.active {
|
|
59
|
+
background-color: transparent;
|
|
60
|
+
border-bottom: solid 4px ${t.palette.primary[500]};
|
|
61
|
+
padding-bottom: calc(${t.spacing[0.625]} - 4px);
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
border-bottom: solid 4px ${t.palette.primary[500]};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
`}
|
|
69
|
+
`;
|
|
70
|
+
export {
|
|
71
|
+
p as S,
|
|
72
|
+
i as T,
|
|
73
|
+
r as a
|
|
74
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { styled as g } from "styled-components";
|
|
2
|
+
import { theme as r } from "./components/colors/index.js";
|
|
3
|
+
const C = ["padding", "px", "py", "pl", "pr", "pt", "pb", "margin", "mx", "my", "ml", "mr", "mt", "mb", "zIndex", "position", "top", "right", "bottom", "left", "border", "borderTop", "borderRight", "borderBottom", "borderLeft", "borderColor", "borderRadius", "scroll", "visibility", "display", "height", "width", "maxHeight", "maxWidth", "minHeight", "minWidth", "shadow", "bgColor", "bgGradient", "gap", "flexDirection", "flexGrow", "justify", "justifySelf", "alignItems", "alignSelf", "wrap", "color", "fontFamily", "fontSize", "fontWeight", "textAlign", "whiteSpace", "letterSpacing", "lineSpacing", "textDecoration", "textOverflow", "whiteSpace", "wordBreak", "wordWrap", "cursor", "transition", "borderColorHover", "bgColorHover", "shadowHover"], n = (i, t) => t === void 0 ? "" : `${i}: ${t};`, p = (i) => {
|
|
4
|
+
const t = i.py ?? i.pt ?? 0, e = i.px ?? i.pr ?? 0, a = i.py ?? i.pb ?? 0, o = i.px ?? i.pl ?? 0;
|
|
5
|
+
if (i.padding) {
|
|
6
|
+
const [$, s, d, l] = i.padding;
|
|
7
|
+
return `padding: ${r.spacing[$]} ${r.spacing[s]} ${r.spacing[d]} ${r.spacing[l]};`;
|
|
8
|
+
}
|
|
9
|
+
return `padding: ${r.spacing[t]} ${r.spacing[e]} ${r.spacing[a]} ${r.spacing[o]};`;
|
|
10
|
+
}, c = (i) => {
|
|
11
|
+
const t = i.my ?? i.mt ?? 0, e = i.mx ?? i.mr ?? 0, a = i.my ?? i.mb ?? 0, o = i.mx ?? i.ml ?? 0;
|
|
12
|
+
if (i.margin) {
|
|
13
|
+
const [$, s, d, l] = i.margin;
|
|
14
|
+
return `margin: ${r.spacing[$]} ${r.spacing[s]} ${r.spacing[d]} ${r.spacing[l]};`;
|
|
15
|
+
}
|
|
16
|
+
return `margin: ${r.spacing[t]} ${r.spacing[e]} ${r.spacing[a]} ${r.spacing[o]};`;
|
|
17
|
+
}, h = (i) => `
|
|
18
|
+
${n("position", i.position)}
|
|
19
|
+
${n("top", i.top)}
|
|
20
|
+
${n("right", i.right)}
|
|
21
|
+
${n("bottom", i.bottom)}
|
|
22
|
+
${n("left", i.left)}
|
|
23
|
+
${n("z-index", i.zIndex)}
|
|
24
|
+
`, b = (i) => `
|
|
25
|
+
${n("border", i.border)}
|
|
26
|
+
${n("border-top", i.borderTop)}
|
|
27
|
+
${n("border-right", i.borderRight)}
|
|
28
|
+
${n("border-bottom", i.borderBottom)}
|
|
29
|
+
${n("border-left", i.borderLeft)}
|
|
30
|
+
${n("border-color", i.borderColor)}
|
|
31
|
+
${n("border-radius", i.borderRadius)}
|
|
32
|
+
`, f = (i) => {
|
|
33
|
+
const t = i.scroll ? `
|
|
34
|
+
${((u) => u.includes("x") ? "overflow-x: auto;" : "")(i.scroll)}
|
|
35
|
+
${((u) => u.includes("y") ? "overflow-y: auto;" : "")(i.scroll)}
|
|
36
|
+
` : "", e = n("visibility", i.visibility), a = n("display", i.display), o = n("height", i.height), $ = n("width", i.width), s = n("max-height", i.maxHeight), d = n("max-width", i.maxWidth), l = n("min-height", i.minHeight), y = n("min-width", i.minWidth), v = n("box-shadow", i.shadow ? r.shadows[i.shadow] : void 0), S = n("gap", i.gap === void 0 ? void 0 : r.spacing[i.gap]);
|
|
37
|
+
return `
|
|
38
|
+
${t}
|
|
39
|
+
${e}
|
|
40
|
+
${a}
|
|
41
|
+
${o}
|
|
42
|
+
${$}
|
|
43
|
+
${s}
|
|
44
|
+
${d}
|
|
45
|
+
${l}
|
|
46
|
+
${y}
|
|
47
|
+
${v}
|
|
48
|
+
${n("background-color", i.bgColor)}
|
|
49
|
+
${n("background", i.bgGradient)}
|
|
50
|
+
${S}
|
|
51
|
+
${n("flex-direction", i.flexDirection)}
|
|
52
|
+
${n("flex-grow", i.flexGrow)}
|
|
53
|
+
${n("justify-content", i.justify)}
|
|
54
|
+
${n("justify-self", i.justifySelf)}
|
|
55
|
+
${n("align-items", i.alignItems)}
|
|
56
|
+
${n("align-self", i.alignSelf)}
|
|
57
|
+
${n("flex-wrap", i.wrap)}
|
|
58
|
+
`;
|
|
59
|
+
}, m = (i) => `
|
|
60
|
+
${n("color", i.color)}
|
|
61
|
+
${n("font-family", i.fontFamily)}
|
|
62
|
+
${n("font-size", i.fontSize)}
|
|
63
|
+
${n("font-weight", i.fontWeight)}
|
|
64
|
+
${n("line-spacing", i.letterSpacing)}
|
|
65
|
+
${n("line-height", i.lineSpacing)}
|
|
66
|
+
${n("text-align", i.textAlign)}
|
|
67
|
+
${n("text-decoration", i.textDecoration)}
|
|
68
|
+
${n("text-overflow", i.textOverflow)}
|
|
69
|
+
${n("white-space", i.whiteSpace)}
|
|
70
|
+
${n("word-break", i.wordBreak)}
|
|
71
|
+
${n("word-wrap", i.wordWrap)}
|
|
72
|
+
`, w = (i) => {
|
|
73
|
+
const t = n("cursor", i.cursor), e = n("border-color", i.borderColorHover), a = n("background-color", i.bgColorHover), o = n("box-shadow", i.shadowHover === void 0 ? void 0 : r.shadows[i.shadowHover]);
|
|
74
|
+
return `
|
|
75
|
+
${t}
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
${n("transition", i.transition) || "transition: all 0.2s;"}
|
|
79
|
+
${e}
|
|
80
|
+
${a}
|
|
81
|
+
${o}
|
|
82
|
+
}
|
|
83
|
+
`;
|
|
84
|
+
}, x = () => ({ shouldForwardProp: (i) => !C.includes(i) }), j = g.div.withConfig(x())`
|
|
85
|
+
${p}
|
|
86
|
+
${c}
|
|
87
|
+
${h}
|
|
88
|
+
${f}
|
|
89
|
+
${m}
|
|
90
|
+
${b}
|
|
91
|
+
${w}
|
|
92
|
+
`, k = g.button.withConfig(x())`
|
|
93
|
+
${p}
|
|
94
|
+
${c}
|
|
95
|
+
${h}
|
|
96
|
+
${f}
|
|
97
|
+
${m}
|
|
98
|
+
${b}
|
|
99
|
+
${w}
|
|
100
|
+
`, z = g.p.withConfig(x())`
|
|
101
|
+
${p}
|
|
102
|
+
${c}
|
|
103
|
+
${h}
|
|
104
|
+
${f}
|
|
105
|
+
${m}
|
|
106
|
+
${b}
|
|
107
|
+
${w}
|
|
108
|
+
`, B = g.span.withConfig(x())`
|
|
109
|
+
${p}
|
|
110
|
+
${c}
|
|
111
|
+
${h}
|
|
112
|
+
${f}
|
|
113
|
+
${m}
|
|
114
|
+
${b}
|
|
115
|
+
${w}
|
|
116
|
+
`;
|
|
117
|
+
export {
|
|
118
|
+
j as B,
|
|
119
|
+
k as a,
|
|
120
|
+
z as b,
|
|
121
|
+
B as c,
|
|
122
|
+
m as d,
|
|
123
|
+
c as e,
|
|
124
|
+
w as f,
|
|
125
|
+
h as g,
|
|
126
|
+
C as h,
|
|
127
|
+
f as i,
|
|
128
|
+
b as j,
|
|
129
|
+
x as k,
|
|
130
|
+
p as s
|
|
131
|
+
};
|