@fluidattacks/design 3.1.12 → 3.1.13
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 +2 -2
- package/dist/components/accordion/accordion-content/index.js +18 -5
- package/dist/components/accordion/index.js +71 -14
- package/dist/components/alert/index.js +108 -57
- package/dist/components/button/index.js +64 -13
- package/dist/components/card/card-header/index.js +78 -9
- package/dist/components/card/card-with-image/index.js +88 -13
- package/dist/components/card/card-with-input/index.js +72 -23
- package/dist/components/card/card-with-selector/index.js +63 -8
- package/dist/components/card/card-with-switch/index.js +46 -8
- package/dist/components/carousel/index.js +54 -28
- package/dist/components/checkbox/index.js +66 -32
- package/dist/components/cloud-image/index.js +2 -2
- package/dist/components/code-snippet/index.js +64 -19
- package/dist/components/code-snippet/location-code/index.js +146 -100
- package/dist/components/colors/index.js +220 -5
- package/dist/components/confirm-dialog/index.js +41 -18
- package/dist/components/container/index.js +39 -15
- package/dist/components/content-card/category-tag/index.js +37 -8
- package/dist/components/content-card/event-date/index.js +53 -10
- package/dist/components/content-card/index.js +118 -13
- package/dist/components/content-card-carousel/index.js +87 -7
- package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
- package/dist/components/divider/index.js +22 -7
- package/dist/components/empty-state/empty-button/index.js +4 -4
- package/dist/components/empty-state/index.js +52 -15
- package/dist/components/file-preview/index.js +28 -12
- package/dist/components/form/index.js +46 -9
- package/dist/components/grid-container/index.js +31 -11
- package/dist/components/group-selector/index.js +126 -17
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +78 -18
- package/dist/components/icon-button/index.js +63 -14
- package/dist/components/indicator-card/index.js +70 -11
- package/dist/components/info-sidebar/index.js +107 -7
- package/dist/components/inputs/fields/combobox/index.js +141 -21
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +22 -11
- package/dist/components/inputs/fields/date/calendar/grid/index.js +21 -10
- package/dist/components/inputs/fields/date/calendar/header/index.js +35 -13
- package/dist/components/inputs/fields/date/calendar/index.js +26 -11
- package/dist/components/inputs/fields/date/index.js +65 -15
- package/dist/components/inputs/fields/date-range/calendar/index.js +29 -10
- package/dist/components/inputs/fields/date-range/index.js +98 -18
- package/dist/components/inputs/fields/date-time/calendar/index.js +44 -15
- package/dist/components/inputs/fields/date-time/index.js +65 -14
- package/dist/components/inputs/fields/editable/index.js +22 -10
- package/dist/components/inputs/fields/input/index.js +74 -10
- package/dist/components/inputs/fields/input-file/index.js +114 -21
- package/dist/components/inputs/fields/input-tags/index.js +60 -11
- package/dist/components/inputs/fields/number/index.js +54 -7
- package/dist/components/inputs/fields/number-range/index.js +46 -8
- package/dist/components/inputs/fields/phone/index.js +446 -286
- package/dist/components/inputs/fields/text-area/index.js +78 -10
- package/dist/components/inputs/label/index.js +34 -8
- package/dist/components/inputs/outline-container/index.js +98 -12
- package/dist/components/inputs/utils/action-button/index.js +28 -7
- package/dist/components/inputs/utils/calendar-button/index.js +34 -10
- package/dist/components/inputs/utils/date-selector/index.js +60 -6
- package/dist/components/inputs/utils/date-time-field/index.js +129 -28
- package/dist/components/inputs/utils/dialog/index.js +10 -7
- package/dist/components/inputs/utils/number-field/index.js +81 -8
- package/dist/components/inputs/utils/popover/index.js +41 -10
- package/dist/components/interactive-card/icon/index.js +1 -1
- package/dist/components/interactive-card/index.js +110 -7
- package/dist/components/language-selector/index.js +34 -10
- package/dist/components/language-selector/item-list/index.js +1 -1
- package/dist/components/link/index.js +71 -17
- package/dist/components/list-item/index.js +64 -13
- package/dist/components/little-flag/index.js +26 -9
- package/dist/components/loading/index.js +48 -21
- package/dist/components/logo/index.js +10 -4
- package/dist/components/logo-carousel/index.js +40 -5
- package/dist/components/lottie/index.js +12 -7
- package/dist/components/menu/index.js +53 -9
- package/dist/components/message-banner/index.js +79 -13
- package/dist/components/modal/index.js +59 -13
- package/dist/components/modal/modal-confirm/index.js +48 -7
- package/dist/components/modal/modal-footer/index.js +22 -13
- package/dist/components/modal/modal-header/index.js +45 -19
- package/dist/components/notification/index.js +65 -20
- package/dist/components/notification-sign/index.js +27 -10
- package/dist/components/number-input/index.js +58 -21
- package/dist/components/oauth-selector/index.js +97 -23
- package/dist/components/oauth-selector/option-container/index.js +68 -7
- package/dist/components/plan-card/index.js +99 -28
- package/dist/components/plan-card/recommended-tag/index.js +23 -2
- package/dist/components/pop-up/description/index.js +47 -9
- package/dist/components/pop-up/index.js +146 -17
- package/dist/components/premium-feature/index.js +56 -16
- package/dist/components/priority-score/index.js +24 -9
- package/dist/components/progress/index.js +30 -17
- package/dist/components/progress-bar/index.js +99 -41
- package/dist/components/radio-button/index.js +64 -27
- package/dist/components/scroll-button/index.js +33 -15
- package/dist/components/search/index.js +77 -35
- package/dist/components/search-bar/index.js +211 -24
- package/dist/components/search-bar/item-searching/index.js +1 -1
- package/dist/components/severity-badge/index.js +66 -6
- package/dist/components/severity-overview/badge/index.js +62 -11
- package/dist/components/severity-overview/index.js +15 -5
- package/dist/components/show-on-hover/index.js +16 -10
- package/dist/components/slide-out-menu/index.js +2611 -1164
- package/dist/components/slide-out-menu/menu-item/index.js +58 -6
- package/dist/components/slider/index.js +79 -48
- package/dist/components/slider/thumb/index.js +13 -6
- package/dist/components/step-lapse/index.js +81 -23
- package/dist/components/table-button/index.js +65 -24
- package/dist/components/tabs/fixed-tabs/index.js +24 -4
- package/dist/components/tabs/index.js +54 -11
- package/dist/components/tabs/tab/index.js +37 -6
- package/dist/components/tag/index.js +95 -27
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +15 -5
- package/dist/components/toggle/index.js +65 -25
- package/dist/components/toggle-buttons/index.js +51 -22
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +3897 -1829
- package/dist/components/typography/heading/index.js +43 -5
- package/dist/components/typography/span/index.js +38 -6
- package/dist/components/typography/text/index.js +44 -6
- package/dist/components/web-form/index.js +28 -19
- package/dist/hooks/index.js +5 -5
- package/dist/index-BMHVi812.mjs +234 -0
- package/dist/index-BzAniA2J.mjs +135 -0
- package/dist/index-C6LbClYh.mjs +146 -0
- package/dist/index-CAIe8hBv.mjs +130 -0
- package/dist/index-CUQBAqt_.mjs +75 -0
- package/dist/index-CWlrSlUk.mjs +68 -0
- package/dist/index-Ckmu1TfV.mjs +86 -0
- package/dist/index-DwznImvK.mjs +1678 -0
- package/dist/index-maWH3JYC.mjs +3561 -0
- package/dist/index.js +11 -11
- package/dist/styles-B2N0JLw1.mjs +114 -0
- package/dist/styles-B64DVBIF.mjs +115 -0
- package/dist/{styles-lSVV9kjn.mjs → styles-BXFVwnWT.mjs} +28 -28
- package/dist/styles-BZQOqe8p.mjs +141 -0
- package/dist/styles-Bdque9TT.mjs +65 -0
- package/dist/{styles-CI-I6joH.mjs → styles-BlHspTrz.mjs} +18 -18
- package/dist/{styles-Cx93EcVo.mjs → styles-CROOwXEH.mjs} +5 -5
- package/dist/styles-CplEd2kw.mjs +228 -0
- package/dist/styles-D1eTIklB.mjs +110 -0
- package/dist/styles-ePGii_9g.mjs +74 -0
- package/dist/use-carousel-CgAF78h3.mjs +23 -0
- package/dist/use-click-outside-BUll8Ag-.mjs +18 -0
- package/dist/use-cloudinary-image-BCxwj15o.mjs +1176 -0
- package/dist/use-modal-CtgexKnf.mjs +14 -0
- package/dist/use-search-Dj47QDw9.mjs +15 -0
- package/dist/utils-V0EumEPM.mjs +6 -0
- package/package.json +1 -3
- 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-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/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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as e } from "./utils-
|
|
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-
|
|
1
|
+
import { v as e } from "./utils-V0EumEPM.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-CplEd2kw.mjs";
|
|
3
3
|
import { Accordion as I } from "./components/accordion/index.js";
|
|
4
4
|
import { Alert as T } from "./components/alert/index.js";
|
|
5
5
|
import { Button as b } from "./components/button/index.js";
|
|
@@ -10,7 +10,7 @@ import { CardWithSelector as D } from "./components/card/card-with-selector/inde
|
|
|
10
10
|
import { CardWithSwitch as W } from "./components/card/card-with-switch/index.js";
|
|
11
11
|
import { Carousel as N } from "./components/carousel/index.js";
|
|
12
12
|
import { Checkbox as A } from "./components/checkbox/index.js";
|
|
13
|
-
import { M as R } from "./index-
|
|
13
|
+
import { M as R } from "./index-maWH3JYC.mjs";
|
|
14
14
|
import { CodeSnippet as G } from "./components/code-snippet/index.js";
|
|
15
15
|
import { CustomThemeProvider as j, icons as q, theme as z, uniqueIcons as J } from "./components/colors/index.js";
|
|
16
16
|
import { useConfirmDialog as Q } from "./components/confirm-dialog/index.js";
|
|
@@ -74,23 +74,23 @@ import { Tag as oe } from "./components/tag/index.js";
|
|
|
74
74
|
import { TimeLine as ee } from "./components/timeline/index.js";
|
|
75
75
|
import { Toggle as pe } from "./components/toggle/index.js";
|
|
76
76
|
import { ToggleButton as ae } from "./components/toggle-buttons/index.js";
|
|
77
|
-
import { T as xe } from "./index-
|
|
77
|
+
import { T as xe } from "./index-DwznImvK.mjs";
|
|
78
78
|
import { Tour as ie, baseStep as se } from "./components/tour/index.js";
|
|
79
79
|
import { Heading as de } from "./components/typography/heading/index.js";
|
|
80
80
|
import { Span as Ce } from "./components/typography/span/index.js";
|
|
81
81
|
import { Text as ce } from "./components/typography/text/index.js";
|
|
82
82
|
import { FormItem as Se, WebForm as Te } from "./components/web-form/index.js";
|
|
83
|
-
import { u as be } from "./use-carousel-
|
|
84
|
-
import { u as Le } from "./use-click-outside-
|
|
85
|
-
import { u as Pe } from "./use-cloudinary-image-
|
|
86
|
-
import { u as Me, a as ye } from "./use-search-
|
|
87
|
-
import { u as Oe } from "./use-modal-
|
|
88
|
-
import { a as ke } from "./styles-
|
|
83
|
+
import { u as be } from "./use-carousel-CgAF78h3.mjs";
|
|
84
|
+
import { u as Le } from "./use-click-outside-BUll8Ag-.mjs";
|
|
85
|
+
import { u as Pe } from "./use-cloudinary-image-BCxwj15o.mjs";
|
|
86
|
+
import { u as Me, a as ye } from "./use-search-Dj47QDw9.mjs";
|
|
87
|
+
import { u as Oe } from "./use-modal-CtgexKnf.mjs";
|
|
88
|
+
import { a as ke } from "./styles-Bdque9TT.mjs";
|
|
89
89
|
import { ModalConfirm as we } from "./components/modal/modal-confirm/index.js";
|
|
90
90
|
import { OptionContainer as He } from "./components/oauth-selector/option-container/index.js";
|
|
91
91
|
import { FixedTabs as Ee } from "./components/tabs/fixed-tabs/index.js";
|
|
92
92
|
import { Tab as Ue } from "./components/tabs/tab/index.js";
|
|
93
|
-
import { a as qe } from "./index-
|
|
93
|
+
import { a as qe } from "./index-C6LbClYh.mjs";
|
|
94
94
|
import './assets/index.css';export {
|
|
95
95
|
I as Accordion,
|
|
96
96
|
T as Alert,
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { styled as o } from "styled-components";
|
|
2
|
+
import { v as n } from "./utils-V0EumEPM.mjs";
|
|
3
|
+
import { a as t } from "./styles-CplEd2kw.mjs";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
const { getVariant: i } = n(
|
|
6
|
+
(a) => ({
|
|
7
|
+
ghost: `
|
|
8
|
+
background: transparent;
|
|
9
|
+
border: none;
|
|
10
|
+
color: ${a.palette.gray[800]};
|
|
11
|
+
--btn-padding-x: ${a.spacing[0.5]};
|
|
12
|
+
--btn-padding-y: ${a.spacing[0.625]};
|
|
13
|
+
--btn-spacing: ${a.spacing[0.25]};
|
|
14
|
+
|
|
15
|
+
&:disabled {
|
|
16
|
+
color: ${a.palette.gray[400]};
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:hover:not([disabled]) {
|
|
21
|
+
background-color: ${a.palette.gray[100]};
|
|
22
|
+
color: ${a.palette.gray[800]};
|
|
23
|
+
}
|
|
24
|
+
`,
|
|
25
|
+
link: `
|
|
26
|
+
--btn-padding-x: 0;
|
|
27
|
+
--btn-padding-y: 0;
|
|
28
|
+
color: ${a.palette.gray[800]};
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
color: ${a.palette.gray[500]};
|
|
32
|
+
}
|
|
33
|
+
`,
|
|
34
|
+
primary: `
|
|
35
|
+
background: ${a.palette.primary[500]};
|
|
36
|
+
border: none;
|
|
37
|
+
color: ${a.palette.white};
|
|
38
|
+
--btn-spacing: ${a.spacing[0.25]};
|
|
39
|
+
|
|
40
|
+
&:disabled {
|
|
41
|
+
background: ${a.palette.gray[200]};
|
|
42
|
+
color: ${a.palette.gray[400]};
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover:not([disabled]) {
|
|
47
|
+
background-color: ${a.palette.primary[700]};
|
|
48
|
+
color: ${a.palette.white};
|
|
49
|
+
}
|
|
50
|
+
`,
|
|
51
|
+
secondary: `
|
|
52
|
+
background: ${a.palette.gray[800]};
|
|
53
|
+
border: none;
|
|
54
|
+
color: ${a.palette.white};
|
|
55
|
+
--btn-spacing: ${a.spacing[0.25]};
|
|
56
|
+
|
|
57
|
+
&:disabled {
|
|
58
|
+
background: ${a.palette.gray[200]};
|
|
59
|
+
color: ${a.palette.gray[400]};
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:hover:not([disabled]) {
|
|
64
|
+
background-color: ${a.palette.gray[600]};
|
|
65
|
+
color: ${a.palette.white};
|
|
66
|
+
}
|
|
67
|
+
`,
|
|
68
|
+
tertiary: `
|
|
69
|
+
background: transparent;
|
|
70
|
+
border: 1px solid ${a.palette.primary[500]};
|
|
71
|
+
color: ${a.palette.primary[500]};
|
|
72
|
+
--btn-spacing: ${a.spacing[0.25]};
|
|
73
|
+
|
|
74
|
+
&:disabled {
|
|
75
|
+
background: transparent;
|
|
76
|
+
border: 1px solid ${a.palette.gray[200]};
|
|
77
|
+
color: ${a.palette.gray[300]};
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover:not([disabled]) {
|
|
82
|
+
background-color: ${a.palette.primary[500]};
|
|
83
|
+
color: ${a.palette.white};
|
|
84
|
+
}
|
|
85
|
+
`
|
|
86
|
+
})
|
|
87
|
+
), c = o(t)`
|
|
88
|
+
${({ theme: a, $variant: r }) => `
|
|
89
|
+
align-items: center;
|
|
90
|
+
border-radius: var(--btn-spacing);
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
font-family: ${a.typography.type.primary};
|
|
94
|
+
font-size: ${a.typography.text.sm};
|
|
95
|
+
font-weight: ${a.typography.weight.regular};
|
|
96
|
+
gap: var(--btn-spacing);
|
|
97
|
+
justify-content: center;
|
|
98
|
+
line-height: ${a.spacing[1.25]};
|
|
99
|
+
padding: var(--btn-padding-y) var(--btn-padding-x);
|
|
100
|
+
position: relative;
|
|
101
|
+
text-align: start;
|
|
102
|
+
transition: all 0.5s ease;
|
|
103
|
+
white-space: nowrap;
|
|
104
|
+
|
|
105
|
+
@media screen and (max-width: ${a.breakpoints.mobile}) {
|
|
106
|
+
${r !== "link" ? `--btn-padding-y: ${a.spacing[1]}` : ""};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
${i(a, r ?? "primary")}
|
|
110
|
+
`}
|
|
111
|
+
`;
|
|
112
|
+
export {
|
|
113
|
+
c as S
|
|
114
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { styled as b } from "styled-components";
|
|
2
|
+
import { b as c } from "./styles-CplEd2kw.mjs";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
const h = b(c)`
|
|
5
|
+
${({
|
|
6
|
+
theme: t,
|
|
7
|
+
$bgGradient: n = "unset",
|
|
8
|
+
$color: i = t.palette.gray[800],
|
|
9
|
+
$display: a = "block",
|
|
10
|
+
$fontFamily: r = t.typography.type.primary,
|
|
11
|
+
$fontWeight: p = "bold",
|
|
12
|
+
$letterSpacing: e = 0,
|
|
13
|
+
$lineSpacing: l = 1.5,
|
|
14
|
+
$lineSpacingSm: g,
|
|
15
|
+
$size: o,
|
|
16
|
+
$sizeMd: y,
|
|
17
|
+
$sizeSm: d,
|
|
18
|
+
$textFill: $ = "unset",
|
|
19
|
+
$wordBreak: s = "normal"
|
|
20
|
+
}) => `
|
|
21
|
+
background: ${n};
|
|
22
|
+
color: ${i};
|
|
23
|
+
display: ${a};
|
|
24
|
+
font-family: ${r};
|
|
25
|
+
font-size: ${t.typography.heading[o]};
|
|
26
|
+
font-weight: ${t.typography.weight[p]};
|
|
27
|
+
letter-spacing: ${e};
|
|
28
|
+
line-height: ${t.spacing[l]};
|
|
29
|
+
width: ${a === "block" ? "100%" : "auto"};
|
|
30
|
+
word-break: ${s};
|
|
31
|
+
background-clip: text;
|
|
32
|
+
-webkit-background-clip: text;
|
|
33
|
+
-webkit-text-fill-color: ${$};
|
|
34
|
+
|
|
35
|
+
@media screen
|
|
36
|
+
and (min-width: ${t.breakpoints.mobile})
|
|
37
|
+
and (max-width: ${t.breakpoints.tablet})
|
|
38
|
+
{
|
|
39
|
+
font-size: ${t.typography.heading[y ?? o]};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
43
|
+
font-size: ${t.typography.heading[d ?? o]};
|
|
44
|
+
line-height: ${t.spacing[g ?? l]};
|
|
45
|
+
}
|
|
46
|
+
`}
|
|
47
|
+
`, u = b(c)`
|
|
48
|
+
${({
|
|
49
|
+
theme: t,
|
|
50
|
+
$bgGradient: n = "unset",
|
|
51
|
+
$color: i = t.palette.gray[600],
|
|
52
|
+
$display: a = "block",
|
|
53
|
+
$fontFamily: r = t.typography.type.primary,
|
|
54
|
+
$fontWeight: p = "regular",
|
|
55
|
+
$letterSpacing: e = 0,
|
|
56
|
+
$lineSpacing: l = 1.25,
|
|
57
|
+
$lineSpacingSm: g,
|
|
58
|
+
$size: o,
|
|
59
|
+
$sizeMd: y,
|
|
60
|
+
$sizeSm: d,
|
|
61
|
+
$textFill: $ = "unset",
|
|
62
|
+
$wordBreak: s = "normal"
|
|
63
|
+
}) => `
|
|
64
|
+
background: ${n};
|
|
65
|
+
color: ${i};
|
|
66
|
+
display: ${a};
|
|
67
|
+
font-family: ${r};
|
|
68
|
+
font-size: ${t.typography.text[o]};
|
|
69
|
+
font-weight: ${t.typography.weight[p]};
|
|
70
|
+
letter-spacing: ${e};
|
|
71
|
+
line-height: ${t.spacing[l]};
|
|
72
|
+
width: ${a === "block" ? "100%" : "auto"};
|
|
73
|
+
word-break: ${s};
|
|
74
|
+
background-clip: text;
|
|
75
|
+
-webkit-background-clip: text;
|
|
76
|
+
-webkit-text-fill-color: ${$};
|
|
77
|
+
|
|
78
|
+
@media screen
|
|
79
|
+
and (min-width: ${t.breakpoints.mobile})
|
|
80
|
+
and (max-width: ${t.breakpoints.tablet})
|
|
81
|
+
{
|
|
82
|
+
font-size: ${t.typography.text[y ?? o]};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
86
|
+
font-size: ${t.typography.text[d ?? o]};
|
|
87
|
+
line-height: ${t.spacing[g ?? l]};
|
|
88
|
+
}
|
|
89
|
+
`}
|
|
90
|
+
`, x = b.span`
|
|
91
|
+
${({
|
|
92
|
+
theme: t,
|
|
93
|
+
$color: n = t.palette.gray[600],
|
|
94
|
+
$content: i = void 0,
|
|
95
|
+
$display: a = "inline",
|
|
96
|
+
$fontWeight: r = "regular",
|
|
97
|
+
$size: p,
|
|
98
|
+
$lineSpacing: e = 1.25
|
|
99
|
+
}) => `
|
|
100
|
+
color: ${n};
|
|
101
|
+
display: ${a};
|
|
102
|
+
font-family: ${t.typography.type.primary};
|
|
103
|
+
font-size: ${t.typography.text[p]};
|
|
104
|
+
font-weight: ${t.typography.weight[r]};
|
|
105
|
+
line-height: ${t.spacing[e]};
|
|
106
|
+
width: ${a === "block" ? "100%" : "auto"};
|
|
107
|
+
|
|
108
|
+
${i === void 0 ? "" : `&::after { content: "${i}"; }`}
|
|
109
|
+
`}
|
|
110
|
+
`;
|
|
111
|
+
export {
|
|
112
|
+
h as S,
|
|
113
|
+
x as a,
|
|
114
|
+
u as b
|
|
115
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
3
|
-
${({ theme:
|
|
1
|
+
import { styled as i } from "styled-components";
|
|
2
|
+
const a = i.div`
|
|
3
|
+
${({ theme: t }) => `
|
|
4
4
|
align-items: flex-start;
|
|
5
5
|
display: inline-flex;
|
|
6
6
|
flex-direction: column;
|
|
7
|
-
gap: ${
|
|
7
|
+
gap: ${t.spacing[0.25]};
|
|
8
8
|
position: relative;
|
|
9
9
|
width: 100%;
|
|
10
10
|
|
|
11
11
|
label {
|
|
12
|
-
color: ${
|
|
12
|
+
color: ${t.palette.gray[800]};
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&:has(input.date-input) {
|
|
@@ -30,38 +30,38 @@ const i = e.div`
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
> *:not(.error-msg) {
|
|
33
|
-
font-family: ${
|
|
34
|
-
font-size: ${
|
|
33
|
+
font-family: ${t.typography.type.primary};
|
|
34
|
+
font-size: ${t.typography.text.sm};
|
|
35
35
|
font-style: normal;
|
|
36
|
-
font-weight: ${
|
|
37
|
-
line-height: ${
|
|
36
|
+
font-weight: ${t.typography.weight.regular};
|
|
37
|
+
line-height: ${t.spacing[1.25]};
|
|
38
38
|
}
|
|
39
39
|
`}
|
|
40
|
-
`,
|
|
41
|
-
${({ theme:
|
|
40
|
+
`, n = i.div`
|
|
41
|
+
${({ theme: t }) => `
|
|
42
42
|
align-items: center;
|
|
43
43
|
display: flex;
|
|
44
|
-
border-radius: ${
|
|
44
|
+
border-radius: ${t.spacing[0.5]};
|
|
45
45
|
border: 1px solid;
|
|
46
|
-
border-color: ${
|
|
47
|
-
color: ${
|
|
48
|
-
gap: ${
|
|
46
|
+
border-color: ${t.palette.gray[300]};
|
|
47
|
+
color: ${t.palette.gray[600]};
|
|
48
|
+
gap: ${t.spacing[0.625]};
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
height: 40px;
|
|
51
|
-
padding: ${
|
|
51
|
+
padding: ${t.spacing[0.625]} ${t.spacing[0.75]};
|
|
52
52
|
width: 100%;
|
|
53
53
|
white-space: nowrap;
|
|
54
54
|
|
|
55
55
|
input, textarea {
|
|
56
56
|
background: inherit;
|
|
57
|
-
color: ${
|
|
57
|
+
color: ${t.palette.gray[800]};
|
|
58
58
|
cursor: inherit;
|
|
59
59
|
outline: none;
|
|
60
60
|
resize: none;
|
|
61
61
|
width: 100%;
|
|
62
62
|
|
|
63
63
|
&::placeholder {
|
|
64
|
-
color: ${
|
|
64
|
+
color: ${t.palette.gray[400]};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
&:focus-visible {
|
|
@@ -94,7 +94,7 @@ const i = e.div`
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
textarea {
|
|
97
|
-
min-height: ${
|
|
97
|
+
min-height: ${t.spacing[6]};
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
span:not(.action) {
|
|
@@ -102,18 +102,18 @@ const i = e.div`
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&.disabled {
|
|
105
|
-
background: ${
|
|
106
|
-
color: ${
|
|
105
|
+
background: ${t.palette.gray[100]};
|
|
106
|
+
color: ${t.palette.gray[400]};
|
|
107
107
|
cursor: not-allowed;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
&.error:not(.disabled) {
|
|
111
|
-
border: 1px solid ${
|
|
111
|
+
border: 1px solid ${t.palette.error[500]};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&:focus-within:not(.disabled, .error) {
|
|
115
|
-
background: ${
|
|
116
|
-
border: 2px solid ${
|
|
115
|
+
background: ${t.palette.white};
|
|
116
|
+
border: 2px solid ${t.palette.black};
|
|
117
117
|
|
|
118
118
|
button.action-btn {
|
|
119
119
|
height: 36px;
|
|
@@ -122,12 +122,12 @@ const i = e.div`
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&:hover:not(:focus-within, .disabled, .error) {
|
|
125
|
-
background: ${
|
|
126
|
-
border: 1px solid ${
|
|
125
|
+
background: ${t.palette.white};
|
|
126
|
+
border: 1px solid ${t.palette.gray[600]};
|
|
127
127
|
}
|
|
128
128
|
`}
|
|
129
129
|
`;
|
|
130
130
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
n as S,
|
|
132
|
+
a
|
|
133
133
|
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { styled as a } from "styled-components";
|
|
2
|
+
import { v as n } from "./utils-V0EumEPM.mjs";
|
|
3
|
+
import "./styles-CplEd2kw.mjs";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
const { getVariant: o } = n(
|
|
6
|
+
(i) => ({
|
|
7
|
+
lg: `
|
|
8
|
+
@media screen and (min-width: ${i.breakpoints.sm}) {
|
|
9
|
+
width: 72%;
|
|
10
|
+
}
|
|
11
|
+
@media screen and (max-width: ${i.breakpoints.sm}) {
|
|
12
|
+
width: 80%;
|
|
13
|
+
}
|
|
14
|
+
`,
|
|
15
|
+
md: `
|
|
16
|
+
@media screen and (min-width: ${i.breakpoints.sm}) {
|
|
17
|
+
width: 48%;
|
|
18
|
+
}
|
|
19
|
+
@media screen and (max-width: ${i.breakpoints.sm}) {
|
|
20
|
+
width: 60%;
|
|
21
|
+
}
|
|
22
|
+
`,
|
|
23
|
+
sm: `
|
|
24
|
+
@media screen and (min-width: ${i.breakpoints.sm}) {
|
|
25
|
+
width: 32%;
|
|
26
|
+
}
|
|
27
|
+
@media screen and (max-width: ${i.breakpoints.sm}) {
|
|
28
|
+
width: 40%;
|
|
29
|
+
}
|
|
30
|
+
`
|
|
31
|
+
})
|
|
32
|
+
), c = a.div.attrs({
|
|
33
|
+
className: "comp-modal fixed inset-0 overflow-auto"
|
|
34
|
+
})`
|
|
35
|
+
align-items: center;
|
|
36
|
+
background-color: rgb(52 64 84 / 70%);
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
z-index: 99999;
|
|
40
|
+
`, l = a.div`
|
|
41
|
+
${({ theme: i, $size: t }) => `
|
|
42
|
+
background-color: ${i.palette.white};
|
|
43
|
+
border: 1px solid ${i.palette.gray[200]};
|
|
44
|
+
border-radius: ${i.spacing[0.25]};
|
|
45
|
+
color: ${i.palette.gray[800]};
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
font-family: ${i.typography.type.primary};
|
|
49
|
+
font-size: ${i.typography.text.sm};
|
|
50
|
+
max-height: 80%;
|
|
51
|
+
min-height: minmax(max-content, 32%);
|
|
52
|
+
overflow: hidden auto;
|
|
53
|
+
padding: ${i.spacing[1.5]};
|
|
54
|
+
box-shadow: ${i.shadows.lg};
|
|
55
|
+
margin: auto;
|
|
56
|
+
white-space: pre-line;
|
|
57
|
+
|
|
58
|
+
> *:not(img) {
|
|
59
|
+
margin-bottom: ${i.spacing[1.5]};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> *:last-child {
|
|
63
|
+
margin-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&#table-column-toggle {
|
|
67
|
+
@media screen and (min-width: ${i.breakpoints.sm}) {
|
|
68
|
+
width: 24%;
|
|
69
|
+
}
|
|
70
|
+
@media screen and (max-width: ${i.breakpoints.sm}) {
|
|
71
|
+
width: 32%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
${o(i, t)}
|
|
76
|
+
`}
|
|
77
|
+
`, m = a.div`
|
|
78
|
+
display: block;
|
|
79
|
+
overflow: unset;
|
|
80
|
+
height: max-content;
|
|
81
|
+
max-height: 100%;
|
|
82
|
+
max-width: 100%;
|
|
83
|
+
position: static;
|
|
84
|
+
`, p = a.div.attrs({
|
|
85
|
+
className: "flex items-center justify-between mb-1.5"
|
|
86
|
+
})``, g = a.div`
|
|
87
|
+
${({ theme: i }) => `
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-direction: row;
|
|
90
|
+
gap: ${i.spacing[0.75]};
|
|
91
|
+
justify-content: space-between;
|
|
92
|
+
margin: 0;
|
|
93
|
+
max-width: 392px;
|
|
94
|
+
|
|
95
|
+
> label {
|
|
96
|
+
margin: 0;
|
|
97
|
+
flex: 1 1 auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
> div {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: row;
|
|
103
|
+
flex: 1 1 auto;
|
|
104
|
+
gap: ${i.spacing[0.75]};
|
|
105
|
+
margin-right: ${i.spacing[0.75]};
|
|
106
|
+
|
|
107
|
+
> button {
|
|
108
|
+
justify-content: center;
|
|
109
|
+
max-width: 190px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
> div:last-child {
|
|
114
|
+
margin-right: 0;
|
|
115
|
+
}
|
|
116
|
+
`}
|
|
117
|
+
`, x = a.div`
|
|
118
|
+
img {
|
|
119
|
+
margin: 0 calc(-${({ theme: i }) => i.spacing[1.5]} - 1px)
|
|
120
|
+
${({ theme: i }) => i.spacing[1.5]};
|
|
121
|
+
|
|
122
|
+
min-width: calc(100% + 2px + ${({ theme: i }) => i.spacing[3]});
|
|
123
|
+
height: 185px;
|
|
124
|
+
object-fit: cover;
|
|
125
|
+
|
|
126
|
+
${({ $framed: i = !1 }) => i ? `
|
|
127
|
+
border-radius: 8px;
|
|
128
|
+
min-width: 100%;
|
|
129
|
+
margin-left: 0;
|
|
130
|
+
margin-right: 0;
|
|
131
|
+
` : ""}
|
|
132
|
+
}
|
|
133
|
+
`;
|
|
134
|
+
export {
|
|
135
|
+
g as F,
|
|
136
|
+
m as H,
|
|
137
|
+
x as I,
|
|
138
|
+
c as M,
|
|
139
|
+
p as T,
|
|
140
|
+
l as a
|
|
141
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { styled as r } from "styled-components";
|
|
2
|
+
const i = r.li`
|
|
3
|
+
${({ theme: a }) => `
|
|
4
|
+
align-items: center;
|
|
5
|
+
background-color: ${a.palette.white};
|
|
6
|
+
color: ${a.palette.gray[800]};
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
display: flex;
|
|
9
|
+
font-size: ${a.typography.text.sm};
|
|
10
|
+
font-weight: ${a.typography.weight.regular};
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
gap: ${a.spacing[0.625]};
|
|
13
|
+
line-height: ${a.spacing[1.25]};
|
|
14
|
+
list-style-type: none;
|
|
15
|
+
min-height: 40px;
|
|
16
|
+
min-width: 240px;
|
|
17
|
+
padding: ${a.spacing[0.625]} ${a.spacing[1]};
|
|
18
|
+
pointer-events: auto;
|
|
19
|
+
|
|
20
|
+
p,
|
|
21
|
+
a {
|
|
22
|
+
word-break: break-word;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& > label {
|
|
26
|
+
margin: unset;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a {
|
|
30
|
+
color: ${a.palette.gray[500]};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[aria-disabled="true"] {
|
|
34
|
+
color: ${a.palette.gray[300]};
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
|
|
37
|
+
a {
|
|
38
|
+
color: ${a.palette.gray[300]};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[aria-selected="true"] {
|
|
43
|
+
background-color: ${a.palette.gray[200]};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover:not([aria-selected="true"]) {
|
|
47
|
+
background-color: ${a.palette.gray[100]};
|
|
48
|
+
}
|
|
49
|
+
`}
|
|
50
|
+
`, t = r.ul`
|
|
51
|
+
${({ theme: a }) => `
|
|
52
|
+
background-color: ${a.palette.white};
|
|
53
|
+
border: 1px solid ${a.palette.gray[200]};
|
|
54
|
+
border-radius: ${a.spacing[0.25]};
|
|
55
|
+
box-shadow: ${a.shadows.md};
|
|
56
|
+
display: inline-block;
|
|
57
|
+
margin: unset;
|
|
58
|
+
min-width: 240px;
|
|
59
|
+
padding: ${a.spacing[0.25]} 0 ${a.spacing[0.25]} 0;
|
|
60
|
+
`}
|
|
61
|
+
`;
|
|
62
|
+
export {
|
|
63
|
+
i as L,
|
|
64
|
+
t as a
|
|
65
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
1
|
+
import { styled as i, css as n } from "styled-components";
|
|
2
|
+
const e = i.div`
|
|
3
3
|
${({ theme: t }) => `
|
|
4
4
|
align-items: center;
|
|
5
5
|
color: ${t.palette.gray[800]};
|
|
@@ -20,7 +20,7 @@ const p = n.div`
|
|
|
20
20
|
display: none;
|
|
21
21
|
}
|
|
22
22
|
`}
|
|
23
|
-
`,
|
|
23
|
+
`, s = i.div.attrs({ className: "year-selection" })`
|
|
24
24
|
align-items: flex-start;
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: column;
|
|
@@ -31,12 +31,12 @@ const p = n.div`
|
|
|
31
31
|
padding: 0 0.5px;
|
|
32
32
|
position: relative;
|
|
33
33
|
width: 8px;
|
|
34
|
-
`,
|
|
34
|
+
`, r = i.tr`
|
|
35
35
|
align-items: flex-start;
|
|
36
36
|
display: flex;
|
|
37
37
|
padding: ${({ theme: t }) => t.spacing[0.25]} 0;
|
|
38
38
|
width: 100%;
|
|
39
|
-
`,
|
|
39
|
+
`, a = n`
|
|
40
40
|
${({ theme: t }) => `
|
|
41
41
|
align-items: center;
|
|
42
42
|
color: ${t.palette.gray[800]};
|
|
@@ -52,11 +52,11 @@ const p = n.div`
|
|
|
52
52
|
text-align: center;
|
|
53
53
|
width: ${t.spacing[2.5]};
|
|
54
54
|
`}
|
|
55
|
-
`,
|
|
56
|
-
${
|
|
57
|
-
`, l =
|
|
55
|
+
`, p = i.th`
|
|
56
|
+
${a}
|
|
57
|
+
`, l = i.td`
|
|
58
58
|
${({ theme: t }) => `
|
|
59
|
-
${
|
|
59
|
+
${a}
|
|
60
60
|
height: ${t.spacing[2.5]};
|
|
61
61
|
width: ${t.spacing[2.5]};
|
|
62
62
|
|
|
@@ -104,14 +104,14 @@ const p = n.div`
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
`}
|
|
107
|
-
`,
|
|
107
|
+
`, c = i.div.attrs({ className: "dot" })`
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: 48%;
|
|
110
110
|
|
|
111
111
|
> span {
|
|
112
112
|
font-size: 4px;
|
|
113
113
|
}
|
|
114
|
-
`,
|
|
114
|
+
`, g = i.button`
|
|
115
115
|
cursor: pointer;
|
|
116
116
|
display: flex;
|
|
117
117
|
|
|
@@ -119,7 +119,7 @@ const p = n.div`
|
|
|
119
119
|
height: 3.5px;
|
|
120
120
|
width: 7px;
|
|
121
121
|
}
|
|
122
|
-
`, d =
|
|
122
|
+
`, d = i.div`
|
|
123
123
|
${({ theme: t }) => `
|
|
124
124
|
align-items: end;
|
|
125
125
|
border-top: 1px solid ${t.palette.gray[200]};
|
|
@@ -133,12 +133,12 @@ const p = n.div`
|
|
|
133
133
|
`}
|
|
134
134
|
`;
|
|
135
135
|
export {
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
g as C,
|
|
137
|
+
p as D,
|
|
138
138
|
d as F,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
e as T,
|
|
140
|
+
r as W,
|
|
141
|
+
s as Y,
|
|
142
142
|
l as a,
|
|
143
|
-
|
|
143
|
+
c as b
|
|
144
144
|
};
|