@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/styles-D85YYIjM.mjs
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { styled as i } from "styled-components";
|
|
2
|
-
import { v as t } from "./utils-CQvBF-wY.mjs";
|
|
3
|
-
import "./styles-C3cZmKVJ.mjs";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
const { getVariant: a } = t((n) => ({ lg: `
|
|
6
|
-
@media screen and (min-width: ${n.breakpoints.sm}) {
|
|
7
|
-
width: 72%;
|
|
8
|
-
}
|
|
9
|
-
@media screen and (max-width: ${n.breakpoints.sm}) {
|
|
10
|
-
width: 80%;
|
|
11
|
-
}
|
|
12
|
-
`, md: `
|
|
13
|
-
@media screen and (min-width: ${n.breakpoints.sm}) {
|
|
14
|
-
width: 48%;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: ${n.breakpoints.sm}) {
|
|
17
|
-
width: 60%;
|
|
18
|
-
}
|
|
19
|
-
`, sm: `
|
|
20
|
-
@media screen and (min-width: ${n.breakpoints.sm}) {
|
|
21
|
-
width: 32%;
|
|
22
|
-
}
|
|
23
|
-
@media screen and (max-width: ${n.breakpoints.sm}) {
|
|
24
|
-
width: 40%;
|
|
25
|
-
}
|
|
26
|
-
` })), o = i.div.attrs({ className: "comp-modal fixed inset-0 overflow-auto" })`
|
|
27
|
-
align-items: center;
|
|
28
|
-
background-color: rgb(52 64 84 / 70%);
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
z-index: 99999;
|
|
32
|
-
`, c = i.div`
|
|
33
|
-
${({ theme: n, $size: e }) => `
|
|
34
|
-
background-color: ${n.palette.white};
|
|
35
|
-
border: 1px solid ${n.palette.gray[200]};
|
|
36
|
-
border-radius: ${n.spacing[0.25]};
|
|
37
|
-
color: ${n.palette.gray[800]};
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
font-family: ${n.typography.type.primary};
|
|
41
|
-
font-size: ${n.typography.text.sm};
|
|
42
|
-
max-height: 80%;
|
|
43
|
-
min-height: minmax(max-content, 32%);
|
|
44
|
-
overflow: hidden auto;
|
|
45
|
-
padding: ${n.spacing[1.5]};
|
|
46
|
-
box-shadow: ${n.shadows.lg};
|
|
47
|
-
margin: auto;
|
|
48
|
-
white-space: pre-line;
|
|
49
|
-
|
|
50
|
-
> *:not(img) {
|
|
51
|
-
margin-bottom: ${n.spacing[1.5]};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
> *:last-child {
|
|
55
|
-
margin-bottom: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&#table-column-toggle {
|
|
59
|
-
@media screen and (min-width: ${n.breakpoints.sm}) {
|
|
60
|
-
width: 24%;
|
|
61
|
-
}
|
|
62
|
-
@media screen and (max-width: ${n.breakpoints.sm}) {
|
|
63
|
-
width: 32%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
${a(n, e)}
|
|
68
|
-
`}
|
|
69
|
-
`, p = i.div`
|
|
70
|
-
display: block;
|
|
71
|
-
overflow: unset;
|
|
72
|
-
height: max-content;
|
|
73
|
-
max-height: 100%;
|
|
74
|
-
max-width: 100%;
|
|
75
|
-
position: static;
|
|
76
|
-
`, h = i.div.attrs({ className: "flex items-center justify-between mb-1.5" })``, l = i.div`
|
|
77
|
-
${({ theme: n }) => `
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
gap: ${n.spacing[0.75]};
|
|
81
|
-
justify-content: space-between;
|
|
82
|
-
margin: 0;
|
|
83
|
-
max-width: 392px;
|
|
84
|
-
|
|
85
|
-
> label {
|
|
86
|
-
margin: 0;
|
|
87
|
-
flex: 1 1 auto;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
> div {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: row;
|
|
93
|
-
flex: 1 1 auto;
|
|
94
|
-
gap: ${n.spacing[0.75]};
|
|
95
|
-
margin-right: ${n.spacing[0.75]};
|
|
96
|
-
|
|
97
|
-
> button {
|
|
98
|
-
justify-content: center;
|
|
99
|
-
max-width: 190px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
> div:last-child {
|
|
104
|
-
margin-right: 0;
|
|
105
|
-
}
|
|
106
|
-
`}
|
|
107
|
-
`, g = i.div`
|
|
108
|
-
img {
|
|
109
|
-
margin: 0 calc(-${({ theme: n }) => n.spacing[1.5]} - 1px)
|
|
110
|
-
${({ theme: n }) => n.spacing[1.5]};
|
|
111
|
-
|
|
112
|
-
min-width: calc(100% + 2px + ${({ theme: n }) => n.spacing[3]});
|
|
113
|
-
height: 185px;
|
|
114
|
-
object-fit: cover;
|
|
115
|
-
|
|
116
|
-
${({ $framed: n = !1 }) => n ? `
|
|
117
|
-
border-radius: 8px;
|
|
118
|
-
min-width: 100%;
|
|
119
|
-
margin-left: 0;
|
|
120
|
-
margin-right: 0;
|
|
121
|
-
` : ""}
|
|
122
|
-
}
|
|
123
|
-
`;
|
|
124
|
-
export {
|
|
125
|
-
l as F,
|
|
126
|
-
p as H,
|
|
127
|
-
g as I,
|
|
128
|
-
o as M,
|
|
129
|
-
h as T,
|
|
130
|
-
c as a
|
|
131
|
-
};
|
package/dist/styles-EIbGRPlk.mjs
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { styled as r } from "styled-components";
|
|
2
|
-
import { v as t } from "./utils-CQvBF-wY.mjs";
|
|
3
|
-
import { a as e } from "./styles-C3cZmKVJ.mjs";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
const { getVariant: o } = t((n) => ({ ghost: `
|
|
6
|
-
background: transparent;
|
|
7
|
-
border: none;
|
|
8
|
-
color: ${n.palette.gray[800]};
|
|
9
|
-
--btn-padding-x: ${n.spacing[0.5]};
|
|
10
|
-
--btn-padding-y: ${n.spacing[0.625]};
|
|
11
|
-
--btn-spacing: ${n.spacing[0.25]};
|
|
12
|
-
|
|
13
|
-
&:disabled {
|
|
14
|
-
color: ${n.palette.gray[400]};
|
|
15
|
-
cursor: not-allowed;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:hover:not([disabled]) {
|
|
19
|
-
background-color: ${n.palette.gray[100]};
|
|
20
|
-
color: ${n.palette.gray[800]};
|
|
21
|
-
}
|
|
22
|
-
`, link: `
|
|
23
|
-
--btn-padding-x: 0;
|
|
24
|
-
--btn-padding-y: 0;
|
|
25
|
-
color: ${n.palette.gray[800]};
|
|
26
|
-
|
|
27
|
-
&:hover {
|
|
28
|
-
color: ${n.palette.gray[500]};
|
|
29
|
-
}
|
|
30
|
-
`, primary: `
|
|
31
|
-
background: ${n.palette.primary[500]};
|
|
32
|
-
border: none;
|
|
33
|
-
color: ${n.palette.white};
|
|
34
|
-
--btn-spacing: ${n.spacing[0.25]};
|
|
35
|
-
|
|
36
|
-
&:disabled {
|
|
37
|
-
background: ${n.palette.gray[200]};
|
|
38
|
-
color: ${n.palette.gray[400]};
|
|
39
|
-
cursor: not-allowed;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:hover:not([disabled]) {
|
|
43
|
-
background-color: ${n.palette.primary[700]};
|
|
44
|
-
color: ${n.palette.white};
|
|
45
|
-
}
|
|
46
|
-
`, secondary: `
|
|
47
|
-
background: ${n.palette.gray[800]};
|
|
48
|
-
border: none;
|
|
49
|
-
color: ${n.palette.white};
|
|
50
|
-
--btn-spacing: ${n.spacing[0.25]};
|
|
51
|
-
|
|
52
|
-
&:disabled {
|
|
53
|
-
background: ${n.palette.gray[200]};
|
|
54
|
-
color: ${n.palette.gray[400]};
|
|
55
|
-
cursor: not-allowed;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:hover:not([disabled]) {
|
|
59
|
-
background-color: ${n.palette.gray[600]};
|
|
60
|
-
color: ${n.palette.white};
|
|
61
|
-
}
|
|
62
|
-
`, tertiary: `
|
|
63
|
-
background: transparent;
|
|
64
|
-
border: 1px solid ${n.palette.primary[500]};
|
|
65
|
-
color: ${n.palette.primary[500]};
|
|
66
|
-
--btn-spacing: ${n.spacing[0.25]};
|
|
67
|
-
|
|
68
|
-
&:disabled {
|
|
69
|
-
background: transparent;
|
|
70
|
-
border: 1px solid ${n.palette.gray[200]};
|
|
71
|
-
color: ${n.palette.gray[300]};
|
|
72
|
-
cursor: not-allowed;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:hover:not([disabled]) {
|
|
76
|
-
background-color: ${n.palette.primary[500]};
|
|
77
|
-
color: ${n.palette.white};
|
|
78
|
-
}
|
|
79
|
-
` })), g = r(e)`
|
|
80
|
-
${({ theme: n, $variant: a }) => `
|
|
81
|
-
align-items: center;
|
|
82
|
-
border-radius: var(--btn-spacing);
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
display: inline-flex;
|
|
85
|
-
font-family: ${n.typography.type.primary};
|
|
86
|
-
font-size: ${n.typography.text.sm};
|
|
87
|
-
font-weight: ${n.typography.weight.regular};
|
|
88
|
-
gap: var(--btn-spacing);
|
|
89
|
-
justify-content: center;
|
|
90
|
-
line-height: ${n.spacing[1.25]};
|
|
91
|
-
padding: var(--btn-padding-y) var(--btn-padding-x);
|
|
92
|
-
position: relative;
|
|
93
|
-
text-align: start;
|
|
94
|
-
transition: all 0.5s ease;
|
|
95
|
-
white-space: nowrap;
|
|
96
|
-
|
|
97
|
-
@media screen and (max-width: ${n.breakpoints.mobile}) {
|
|
98
|
-
${a !== "link" ? `--btn-padding-y: ${n.spacing[1]}` : ""};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
${o(n, a ?? "primary")}
|
|
102
|
-
`}
|
|
103
|
-
`;
|
|
104
|
-
export {
|
|
105
|
-
g as S
|
|
106
|
-
};
|
package/dist/styles-Q1VXuWI7.mjs
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { styled as e } from "styled-components";
|
|
2
|
-
const a = e.li`
|
|
3
|
-
${({ theme: n }) => `
|
|
4
|
-
align-items: center;
|
|
5
|
-
background-color: ${n.palette.white};
|
|
6
|
-
color: ${n.palette.gray[800]};
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
display: flex;
|
|
9
|
-
font-size: ${n.typography.text.sm};
|
|
10
|
-
font-weight: ${n.typography.weight.regular};
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
gap: ${n.spacing[0.625]};
|
|
13
|
-
line-height: ${n.spacing[1.25]};
|
|
14
|
-
list-style-type: none;
|
|
15
|
-
min-height: 40px;
|
|
16
|
-
min-width: 240px;
|
|
17
|
-
padding: ${n.spacing[0.625]} ${n.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: ${n.palette.gray[500]};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&[aria-disabled="true"] {
|
|
34
|
-
color: ${n.palette.gray[300]};
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
|
|
37
|
-
a {
|
|
38
|
-
color: ${n.palette.gray[300]};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[aria-selected="true"] {
|
|
43
|
-
background-color: ${n.palette.gray[200]};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:hover:not([aria-selected="true"]) {
|
|
47
|
-
background-color: ${n.palette.gray[100]};
|
|
48
|
-
}
|
|
49
|
-
`}
|
|
50
|
-
`, r = e.ul`
|
|
51
|
-
${({ theme: n }) => `
|
|
52
|
-
background-color: ${n.palette.white};
|
|
53
|
-
border: 1px solid ${n.palette.gray[200]};
|
|
54
|
-
border-radius: ${n.spacing[0.25]};
|
|
55
|
-
box-shadow: ${n.shadows.md};
|
|
56
|
-
display: inline-block;
|
|
57
|
-
margin: unset;
|
|
58
|
-
min-width: 240px;
|
|
59
|
-
padding: ${n.spacing[0.25]} 0 ${n.spacing[0.25]} 0;
|
|
60
|
-
`}
|
|
61
|
-
`;
|
|
62
|
-
export {
|
|
63
|
-
a as L,
|
|
64
|
-
r as a
|
|
65
|
-
};
|
package/dist/styles-fH2c4cfc.mjs
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { styled as d } from "styled-components";
|
|
2
|
-
import { b as c } from "./styles-C3cZmKVJ.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
const k = d(c)`
|
|
5
|
-
${({ theme: t, $bgGradient: a = "unset", $color: i = t.palette.gray[800], $display: n = "block", $fontFamily: o = t.typography.type.primary, $fontWeight: $ = "bold", $letterSpacing: r = 0, $lineSpacing: p = 1.5, $lineSpacingSm: l, $size: e, $sizeMd: g, $sizeSm: s, $textFill: h = "unset", $wordBreak: y = "normal" }) => `
|
|
6
|
-
background: ${a};
|
|
7
|
-
color: ${i};
|
|
8
|
-
display: ${n};
|
|
9
|
-
font-family: ${o};
|
|
10
|
-
font-size: ${t.typography.heading[e]};
|
|
11
|
-
font-weight: ${t.typography.weight[$]};
|
|
12
|
-
letter-spacing: ${r};
|
|
13
|
-
line-height: ${t.spacing[p]};
|
|
14
|
-
width: ${n === "block" ? "100%" : "auto"};
|
|
15
|
-
word-break: ${y};
|
|
16
|
-
background-clip: text;
|
|
17
|
-
-webkit-background-clip: text;
|
|
18
|
-
-webkit-text-fill-color: ${h};
|
|
19
|
-
|
|
20
|
-
@media screen
|
|
21
|
-
and (min-width: ${t.breakpoints.mobile})
|
|
22
|
-
and (max-width: ${t.breakpoints.tablet})
|
|
23
|
-
{
|
|
24
|
-
font-size: ${t.typography.heading[g ?? e]};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
28
|
-
font-size: ${t.typography.heading[s ?? e]};
|
|
29
|
-
line-height: ${t.spacing[l ?? p]};
|
|
30
|
-
}
|
|
31
|
-
`}
|
|
32
|
-
`, w = d(c)`
|
|
33
|
-
${({ theme: t, $bgGradient: a = "unset", $color: i = t.palette.gray[600], $display: n = "block", $fontFamily: o = t.typography.type.primary, $fontWeight: $ = "regular", $letterSpacing: r = 0, $lineSpacing: p = 1.25, $lineSpacingSm: l, $size: e, $sizeMd: g, $sizeSm: s, $textFill: h = "unset", $wordBreak: y = "normal" }) => `
|
|
34
|
-
background: ${a};
|
|
35
|
-
color: ${i};
|
|
36
|
-
display: ${n};
|
|
37
|
-
font-family: ${o};
|
|
38
|
-
font-size: ${t.typography.text[e]};
|
|
39
|
-
font-weight: ${t.typography.weight[$]};
|
|
40
|
-
letter-spacing: ${r};
|
|
41
|
-
line-height: ${t.spacing[p]};
|
|
42
|
-
width: ${n === "block" ? "100%" : "auto"};
|
|
43
|
-
word-break: ${y};
|
|
44
|
-
background-clip: text;
|
|
45
|
-
-webkit-background-clip: text;
|
|
46
|
-
-webkit-text-fill-color: ${h};
|
|
47
|
-
|
|
48
|
-
@media screen
|
|
49
|
-
and (min-width: ${t.breakpoints.mobile})
|
|
50
|
-
and (max-width: ${t.breakpoints.tablet})
|
|
51
|
-
{
|
|
52
|
-
font-size: ${t.typography.text[g ?? e]};
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
56
|
-
font-size: ${t.typography.text[s ?? e]};
|
|
57
|
-
line-height: ${t.spacing[l ?? p]};
|
|
58
|
-
}
|
|
59
|
-
`}
|
|
60
|
-
`, x = d.span`
|
|
61
|
-
${({ theme: t, $color: a = t.palette.gray[600], $content: i, $display: n = "inline", $fontWeight: o = "regular", $size: $, $lineSpacing: r = 1.25 }) => `
|
|
62
|
-
color: ${a};
|
|
63
|
-
display: ${n};
|
|
64
|
-
font-family: ${t.typography.type.primary};
|
|
65
|
-
font-size: ${t.typography.text[$]};
|
|
66
|
-
font-weight: ${t.typography.weight[o]};
|
|
67
|
-
line-height: ${t.spacing[r]};
|
|
68
|
-
width: ${n === "block" ? "100%" : "auto"};
|
|
69
|
-
|
|
70
|
-
${i === void 0 ? "" : `&::after { content: "${i}"; }`}
|
|
71
|
-
`}
|
|
72
|
-
`;
|
|
73
|
-
export {
|
|
74
|
-
k as S,
|
|
75
|
-
x as a,
|
|
76
|
-
w as b
|
|
77
|
-
};
|
package/dist/styles-lSVV9kjn.mjs
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { styled as e } from "styled-components";
|
|
2
|
-
const i = e.div`
|
|
3
|
-
${({ theme: n }) => `
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
gap: ${n.spacing[0.25]};
|
|
8
|
-
position: relative;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
label {
|
|
12
|
-
color: ${n.palette.gray[800]};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:has(input.date-input) {
|
|
16
|
-
div {
|
|
17
|
-
padding-right: 0;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:has(input[type="file"]) {
|
|
22
|
-
div {
|
|
23
|
-
border-right: unset;
|
|
24
|
-
padding-right: 0;
|
|
25
|
-
|
|
26
|
-
&:hover, &:focus-within {
|
|
27
|
-
border-right: unset;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
> *:not(.error-msg) {
|
|
33
|
-
font-family: ${n.typography.type.primary};
|
|
34
|
-
font-size: ${n.typography.text.sm};
|
|
35
|
-
font-style: normal;
|
|
36
|
-
font-weight: ${n.typography.weight.regular};
|
|
37
|
-
line-height: ${n.spacing[1.25]};
|
|
38
|
-
}
|
|
39
|
-
`}
|
|
40
|
-
`, a = e.div`
|
|
41
|
-
${({ theme: n }) => `
|
|
42
|
-
align-items: center;
|
|
43
|
-
display: flex;
|
|
44
|
-
border-radius: ${n.spacing[0.5]};
|
|
45
|
-
border: 1px solid;
|
|
46
|
-
border-color: ${n.palette.gray[300]};
|
|
47
|
-
color: ${n.palette.gray[600]};
|
|
48
|
-
gap: ${n.spacing[0.625]};
|
|
49
|
-
justify-content: space-between;
|
|
50
|
-
height: 40px;
|
|
51
|
-
padding: ${n.spacing[0.625]} ${n.spacing[0.75]};
|
|
52
|
-
width: 100%;
|
|
53
|
-
white-space: nowrap;
|
|
54
|
-
|
|
55
|
-
input, textarea {
|
|
56
|
-
background: inherit;
|
|
57
|
-
color: ${n.palette.gray[800]};
|
|
58
|
-
cursor: inherit;
|
|
59
|
-
outline: none;
|
|
60
|
-
resize: none;
|
|
61
|
-
width: 100%;
|
|
62
|
-
|
|
63
|
-
&::placeholder {
|
|
64
|
-
color: ${n.palette.gray[400]};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:focus-visible {
|
|
68
|
-
outline: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&[type="number"] {
|
|
72
|
-
appearance: textfield;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&::-webkit-outer-spin-button,
|
|
76
|
-
&::-webkit-inner-spin-button {
|
|
77
|
-
appearance: none;
|
|
78
|
-
margin: 0;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
input.date-input {
|
|
83
|
-
display: none;
|
|
84
|
-
width: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&:has(textarea) {
|
|
88
|
-
align-items: start;
|
|
89
|
-
height: auto;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&:has(input[type="number"]) {
|
|
93
|
-
padding-right: 0;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
textarea {
|
|
97
|
-
min-height: ${n.spacing[6]};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
span:not(.action) {
|
|
101
|
-
font-size: 14px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.disabled {
|
|
105
|
-
background: ${n.palette.gray[100]};
|
|
106
|
-
color: ${n.palette.gray[400]};
|
|
107
|
-
cursor: not-allowed;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&.error:not(.disabled) {
|
|
111
|
-
border: 1px solid ${n.palette.error[500]};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:focus-within:not(.disabled, .error) {
|
|
115
|
-
background: ${n.palette.white};
|
|
116
|
-
border: 2px solid ${n.palette.black};
|
|
117
|
-
|
|
118
|
-
button.action-btn {
|
|
119
|
-
height: 36px;
|
|
120
|
-
width: 40px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:hover:not(:focus-within, .disabled, .error) {
|
|
125
|
-
background: ${n.palette.white};
|
|
126
|
-
border: 1px solid ${n.palette.gray[600]};
|
|
127
|
-
}
|
|
128
|
-
`}
|
|
129
|
-
`;
|
|
130
|
-
export {
|
|
131
|
-
a as S,
|
|
132
|
-
i as a
|
|
133
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useState as n, useEffect as l } from "react";
|
|
2
|
-
const p = (r, s) => {
|
|
3
|
-
const [u, c] = n(0), [t, o] = n(0);
|
|
4
|
-
return l(() => {
|
|
5
|
-
t === 100 && c((e) => e === s - 1 ? 0 : e + 1);
|
|
6
|
-
}, [t, s]), l(() => {
|
|
7
|
-
const e = setInterval(() => {
|
|
8
|
-
o((a) => a === 100 ? 0 : a + 1);
|
|
9
|
-
}, r);
|
|
10
|
-
return () => {
|
|
11
|
-
clearInterval(e);
|
|
12
|
-
};
|
|
13
|
-
}, [r]), { cycle: u, progress: t, setCycle: c, setProgress: o };
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
p as u
|
|
17
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { useEffect as d } from "react";
|
|
2
|
-
const m = (n, o, c = !1) => {
|
|
3
|
-
d(() => {
|
|
4
|
-
var r;
|
|
5
|
-
const e = (t) => {
|
|
6
|
-
n && !n.contains(t.target) && o();
|
|
7
|
-
};
|
|
8
|
-
return c ? (document.addEventListener("click", e, !0), () => {
|
|
9
|
-
document.removeEventListener("click", e, !0);
|
|
10
|
-
}) : ((r = document.getElementById("root")) == null || r.addEventListener("click", e, !0), () => {
|
|
11
|
-
var t;
|
|
12
|
-
(t = document.getElementById("root")) == null || t.removeEventListener("click", e, !0);
|
|
13
|
-
});
|
|
14
|
-
}, [c, n, o]);
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
m as u
|
|
18
|
-
};
|