@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.
Files changed (204) hide show
  1. package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
  2. package/dist/components/@core/index.js +18 -1
  3. package/dist/components/accordion/accordion-content/index.js +9 -1
  4. package/dist/components/accordion/index.js +21 -1
  5. package/dist/components/alert/index.js +111 -4
  6. package/dist/components/button/index.js +18 -1
  7. package/dist/components/card/card-header/index.js +14 -1
  8. package/dist/components/card/card-with-image/index.js +18 -1
  9. package/dist/components/card/card-with-input/index.js +57 -3
  10. package/dist/components/card/card-with-selector/index.js +16 -1
  11. package/dist/components/card/card-with-switch/index.js +12 -1
  12. package/dist/components/card/index.js +12 -1
  13. package/dist/components/carousel/index.js +36 -10
  14. package/dist/components/checkbox/index.js +84 -3
  15. package/dist/components/cloud-image/index.js +8 -1
  16. package/dist/components/code-snippet/index.js +27 -1
  17. package/dist/components/code-snippet/location-code/index.js +125 -1
  18. package/dist/components/colors/index.js +9 -1
  19. package/dist/components/confirm-dialog/index.js +23 -1
  20. package/dist/components/container/index.js +27 -3
  21. package/dist/components/content-card/category-tag/index.js +13 -1
  22. package/dist/components/content-card/event-date/index.js +18 -1
  23. package/dist/components/content-card/index.js +63 -3
  24. package/dist/components/content-card-carousel/index.js +15 -1
  25. package/dist/components/content-card-carousel/scroll-buttons/index.js +9 -1
  26. package/dist/components/divider/index.js +10 -1
  27. package/dist/components/empty-state/empty-button/index.js +6 -1
  28. package/dist/components/empty-state/index.js +21 -8
  29. package/dist/components/file-preview/index.js +15 -3
  30. package/dist/components/form/index.js +26 -3
  31. package/dist/components/grid-container/index.js +26 -5
  32. package/dist/components/group-selector/index.js +26 -1
  33. package/dist/components/group-selector/option-container/index.js +12 -1
  34. package/dist/components/icon/index.js +42 -4
  35. package/dist/components/icon-button/index.js +27 -3
  36. package/dist/components/indicator-card/index.js +15 -1
  37. package/dist/components/info-sidebar/index.js +16 -1
  38. package/dist/components/inputs/fields/combobox/index.js +26 -1
  39. package/dist/components/inputs/fields/combobox/option/index.js +8 -1
  40. package/dist/components/inputs/fields/date/calendar/cell/index.js +16 -1
  41. package/dist/components/inputs/fields/date/calendar/grid/index.js +15 -1
  42. package/dist/components/inputs/fields/date/calendar/header/index.js +16 -1
  43. package/dist/components/inputs/fields/date/calendar/index.js +15 -1
  44. package/dist/components/inputs/fields/date/index.js +18 -1
  45. package/dist/components/inputs/fields/date-range/calendar/index.js +16 -1
  46. package/dist/components/inputs/fields/date-range/index.js +28 -3
  47. package/dist/components/inputs/fields/date-time/calendar/index.js +31 -5
  48. package/dist/components/inputs/fields/date-time/index.js +18 -1
  49. package/dist/components/inputs/fields/editable/index.js +16 -1
  50. package/dist/components/inputs/fields/input/index.js +13 -1
  51. package/dist/components/inputs/fields/input-file/index.js +24 -4
  52. package/dist/components/inputs/fields/input-tags/index.js +14 -2
  53. package/dist/components/inputs/fields/number/index.js +10 -1
  54. package/dist/components/inputs/fields/number-range/index.js +11 -1
  55. package/dist/components/inputs/fields/phone/index.js +414 -11
  56. package/dist/components/inputs/fields/text-area/index.js +13 -1
  57. package/dist/components/inputs/index.js +28 -1
  58. package/dist/components/inputs/label/index.js +12 -1
  59. package/dist/components/inputs/outline-container/index.js +18 -1
  60. package/dist/components/inputs/utils/action-button/index.js +10 -1
  61. package/dist/components/inputs/utils/calendar-button/index.js +13 -1
  62. package/dist/components/inputs/utils/date-selector/index.js +8 -1
  63. package/dist/components/inputs/utils/date-time-field/index.js +32 -1
  64. package/dist/components/inputs/utils/dialog/index.js +11 -1
  65. package/dist/components/inputs/utils/number-field/index.js +13 -1
  66. package/dist/components/inputs/utils/popover/index.js +13 -1
  67. package/dist/components/interactive-card/icon/index.js +7 -1
  68. package/dist/components/interactive-card/index.js +15 -1
  69. package/dist/components/language-selector/index.js +13 -1
  70. package/dist/components/language-selector/item-list/index.js +8 -1
  71. package/dist/components/link/index.js +52 -7
  72. package/dist/components/list-item/index.js +16 -1
  73. package/dist/components/little-flag/index.js +15 -3
  74. package/dist/components/loading/index.js +28 -14
  75. package/dist/components/logo/index.js +7 -1
  76. package/dist/components/logo-carousel/index.js +10 -4
  77. package/dist/components/lottie/index.js +15 -3
  78. package/dist/components/menu/index.js +23 -1
  79. package/dist/components/message-banner/index.js +21 -4
  80. package/dist/components/modal/index.js +19 -1
  81. package/dist/components/modal/modal-confirm/index.js +10 -1
  82. package/dist/components/modal/modal-footer/index.js +16 -1
  83. package/dist/components/modal/modal-header/index.js +25 -1
  84. package/dist/components/notification/index.js +68 -5
  85. package/dist/components/notification-sign/index.js +26 -6
  86. package/dist/components/number-input/index.js +25 -7
  87. package/dist/components/oauth-selector/index.js +26 -1
  88. package/dist/components/oauth-selector/option-container/index.js +15 -1
  89. package/dist/components/plan-card/index.js +84 -5
  90. package/dist/components/plan-card/recommended-tag/index.js +10 -1
  91. package/dist/components/pop-up/description/index.js +13 -1
  92. package/dist/components/pop-up/index.js +23 -1
  93. package/dist/components/premium-feature/index.js +45 -3
  94. package/dist/components/priority-score/index.js +14 -1
  95. package/dist/components/progress/index.js +23 -3
  96. package/dist/components/progress-bar/index.js +95 -5
  97. package/dist/components/radio-button/index.js +88 -3
  98. package/dist/components/scroll-button/index.js +20 -2
  99. package/dist/components/search/index.js +63 -7
  100. package/dist/components/search-bar/index.js +32 -1
  101. package/dist/components/search-bar/item-searching/index.js +10 -1
  102. package/dist/components/severity-badge/index.js +14 -1
  103. package/dist/components/severity-overview/badge/index.js +18 -1
  104. package/dist/components/severity-overview/index.js +7 -1
  105. package/dist/components/show-on-hover/index.js +25 -3
  106. package/dist/components/slide-out-menu/index.js +2009 -3
  107. package/dist/components/slide-out-menu/menu-item/index.js +15 -1
  108. package/dist/components/slider/index.js +93 -7
  109. package/dist/components/slider/thumb/index.js +10 -1
  110. package/dist/components/step-lapse/index.js +95 -9
  111. package/dist/components/table-button/index.js +56 -3
  112. package/dist/components/tabs/fixed-tabs/index.js +9 -1
  113. package/dist/components/tabs/index.js +14 -1
  114. package/dist/components/tabs/tab/index.js +8 -1
  115. package/dist/components/tag/index.js +116 -3
  116. package/dist/components/timeline/card/index.js +9 -1
  117. package/dist/components/timeline/index.js +7 -1
  118. package/dist/components/toggle/index.js +45 -14
  119. package/dist/components/toggle-buttons/index.js +74 -5
  120. package/dist/components/tooltip/index.js +13 -1
  121. package/dist/components/tour/index.js +2481 -4
  122. package/dist/components/typography/heading/index.js +9 -1
  123. package/dist/components/typography/index.js +8 -1
  124. package/dist/components/typography/span/index.js +9 -1
  125. package/dist/components/typography/text/index.js +9 -1
  126. package/dist/components/web-form/index.js +59 -7
  127. package/dist/hooks/index.js +13 -1
  128. package/dist/index-38JqtnAI.mjs +122 -0
  129. package/dist/index-B5yoGFs6.mjs +54 -0
  130. package/dist/index-BLbKylyw.mjs +209 -0
  131. package/dist/{index-C0_LPuYU.mjs → index-Bu448Tz2.mjs} +22 -22
  132. package/dist/index-BwFnfaRh.mjs +2310 -0
  133. package/dist/index-Co_k0WFk.mjs +75 -0
  134. package/dist/index-Cu7uUMlx.mjs +82 -0
  135. package/dist/index-D-lcuEHY.mjs +1018 -0
  136. package/dist/index-DrfjITyT.mjs +61 -0
  137. package/dist/index.js +206 -1
  138. package/dist/styles-7_q7nHce.mjs +110 -0
  139. package/dist/styles-BA0WIQL-.mjs +74 -0
  140. package/dist/styles-C3cZmKVJ.mjs +131 -0
  141. package/dist/styles-CI-I6joH.mjs +144 -0
  142. package/dist/styles-Cx93EcVo.mjs +76 -0
  143. package/dist/styles-D85YYIjM.mjs +131 -0
  144. package/dist/styles-EIbGRPlk.mjs +106 -0
  145. package/dist/styles-Q1VXuWI7.mjs +65 -0
  146. package/dist/styles-fH2c4cfc.mjs +77 -0
  147. package/dist/{styles-BAhpqi6C.mjs → styles-lSVV9kjn.mjs} +28 -28
  148. package/dist/use-carousel-CvRxi2FI.mjs +17 -0
  149. package/dist/use-click-outside-BtZLIoU1.mjs +18 -0
  150. package/dist/use-cloudinary-image-fG7ODNgr.mjs +611 -0
  151. package/dist/use-modal-CkrZ-_-M.mjs +14 -0
  152. package/dist/use-search-DpLNvt7Q.mjs +12 -0
  153. package/dist/utils-CQvBF-wY.mjs +4 -0
  154. package/package.json +1 -1
  155. package/dist/_commonjsHelpers-C37NGDzP.js +0 -1
  156. package/dist/_commonjsHelpers-D6CrkqQz.mjs +0 -6
  157. package/dist/index-BH27NQKA.mjs +0 -2311
  158. package/dist/index-Bcw2vW_n.mjs +0 -75
  159. package/dist/index-C8zdgAVH.mjs +0 -82
  160. package/dist/index-CA_9DXWd.js +0 -5
  161. package/dist/index-CmylnDrF.js +0 -14
  162. package/dist/index-DUMgwAbO.js +0 -26
  163. package/dist/index-DpQYiwGu.js +0 -5
  164. package/dist/index-Dy8ZUIYs.js +0 -5
  165. package/dist/index-JPf5Yzg6.js +0 -17
  166. package/dist/index-OBZtKZuT.mjs +0 -1021
  167. package/dist/index-SsXlDjK4.mjs +0 -122
  168. package/dist/index-TKLFHcRp.js +0 -18
  169. package/dist/index-TnyKqJHo.mjs +0 -61
  170. package/dist/index-Yr95Cb7Z.mjs +0 -54
  171. package/dist/index-h9-U5wxq.mjs +0 -209
  172. package/dist/index-qCiUU4sZ.js +0 -9
  173. package/dist/index-qe0nJwzl.js +0 -15
  174. package/dist/styles--Elze-LV.js +0 -3
  175. package/dist/styles-3pR4Xdvy.js +0 -33
  176. package/dist/styles-59h91S9m.mjs +0 -65
  177. package/dist/styles-BCwLWpC3.mjs +0 -126
  178. package/dist/styles-BJ7-0I5X.mjs +0 -74
  179. package/dist/styles-BKObp9bh.mjs +0 -76
  180. package/dist/styles-BWVdbvFu.js +0 -5
  181. package/dist/styles-Bl-CstrT.js +0 -5
  182. package/dist/styles-Bn42XCW5.js +0 -7
  183. package/dist/styles-C2CoGJl7.js +0 -33
  184. package/dist/styles-CNzziAXG.js +0 -5
  185. package/dist/styles-CdD9waPD.js +0 -29
  186. package/dist/styles-CnKTwnFk.mjs +0 -110
  187. package/dist/styles-D4R-eerv.mjs +0 -77
  188. package/dist/styles-DNIIhyRC.mjs +0 -144
  189. package/dist/styles-DV8yOaqV.mjs +0 -131
  190. package/dist/styles-DYoftbd3.js +0 -42
  191. package/dist/styles-DlmKLhPh.js +0 -7
  192. package/dist/styles-be8gOdgy.mjs +0 -106
  193. package/dist/use-carousel-64dKFW4E.js +0 -1
  194. package/dist/use-carousel-D7xeL3YZ.mjs +0 -17
  195. package/dist/use-click-outside-BqkLISED.js +0 -1
  196. package/dist/use-click-outside-C4Z4pdiW.mjs +0 -18
  197. package/dist/use-cloudinary-image-DKMl7jbx.mjs +0 -612
  198. package/dist/use-cloudinary-image-YMMafagv.js +0 -1
  199. package/dist/use-modal-CNbLSSQb.mjs +0 -14
  200. package/dist/use-modal-_bYY6M_n.js +0 -1
  201. package/dist/use-search-75ip5xR-.mjs +0 -12
  202. package/dist/use-search-DeL4UDMh.js +0 -1
  203. package/dist/utils-C2whpEd3.js +0 -1
  204. package/dist/utils-Da0qL35u.mjs +0 -4
@@ -1,77 +0,0 @@
1
- import { styled as n } from "styled-components";
2
- import { b as t } from "./styles-DV8yOaqV.mjs";
3
- import "react/jsx-runtime";
4
- const e = n(t)`
5
- ${({ theme: n2, $bgGradient: t2 = "unset", $color: e2 = n2.palette.gray[800], $display: i2 = "block", $fontFamily: a2 = n2.typography.type.primary, $fontWeight: o = "bold", $letterSpacing: $ = 0, $lineSpacing: r = 1.5, $lineSpacingSm: p, $size: l, $sizeMd: g, $sizeSm: s, $textFill: y = "unset", $wordBreak: h = "normal" }) => `
6
- background: ${t2};
7
- color: ${e2};
8
- display: ${i2};
9
- font-family: ${a2};
10
- font-size: ${n2.typography.heading[l]};
11
- font-weight: ${n2.typography.weight[o]};
12
- letter-spacing: ${$};
13
- line-height: ${n2.spacing[r]};
14
- width: ${"block" === i2 ? "100%" : "auto"};
15
- word-break: ${h};
16
- background-clip: text;
17
- -webkit-background-clip: text;
18
- -webkit-text-fill-color: ${y};
19
-
20
- @media screen
21
- and (min-width: ${n2.breakpoints.mobile})
22
- and (max-width: ${n2.breakpoints.tablet})
23
- {
24
- font-size: ${n2.typography.heading[g ?? l]};
25
- }
26
-
27
- @media screen and (max-width: ${n2.breakpoints.mobile}) {
28
- font-size: ${n2.typography.heading[s ?? l]};
29
- line-height: ${n2.spacing[p ?? r]};
30
- }
31
- `}
32
- `, i = n(t)`
33
- ${({ theme: n2, $bgGradient: t2 = "unset", $color: e2 = n2.palette.gray[600], $display: i2 = "block", $fontFamily: a2 = n2.typography.type.primary, $fontWeight: o = "regular", $letterSpacing: $ = 0, $lineSpacing: r = 1.25, $lineSpacingSm: p, $size: l, $sizeMd: g, $sizeSm: s, $textFill: y = "unset", $wordBreak: h = "normal" }) => `
34
- background: ${t2};
35
- color: ${e2};
36
- display: ${i2};
37
- font-family: ${a2};
38
- font-size: ${n2.typography.text[l]};
39
- font-weight: ${n2.typography.weight[o]};
40
- letter-spacing: ${$};
41
- line-height: ${n2.spacing[r]};
42
- width: ${"block" === i2 ? "100%" : "auto"};
43
- word-break: ${h};
44
- background-clip: text;
45
- -webkit-background-clip: text;
46
- -webkit-text-fill-color: ${y};
47
-
48
- @media screen
49
- and (min-width: ${n2.breakpoints.mobile})
50
- and (max-width: ${n2.breakpoints.tablet})
51
- {
52
- font-size: ${n2.typography.text[g ?? l]};
53
- }
54
-
55
- @media screen and (max-width: ${n2.breakpoints.mobile}) {
56
- font-size: ${n2.typography.text[s ?? l]};
57
- line-height: ${n2.spacing[p ?? r]};
58
- }
59
- `}
60
- `, a = n.span`
61
- ${({ theme: n2, $color: t2 = n2.palette.gray[600], $content: e2, $display: i2 = "inline", $fontWeight: a2 = "regular", $size: o, $lineSpacing: $ = 1.25 }) => `
62
- color: ${t2};
63
- display: ${i2};
64
- font-family: ${n2.typography.type.primary};
65
- font-size: ${n2.typography.text[o]};
66
- font-weight: ${n2.typography.weight[a2]};
67
- line-height: ${n2.spacing[$]};
68
- width: ${"block" === i2 ? "100%" : "auto"};
69
-
70
- ${void 0 === e2 ? "" : `&::after { content: "${e2}"; }`}
71
- `}
72
- `;
73
- export {
74
- e as S,
75
- a,
76
- i as b
77
- };
@@ -1,144 +0,0 @@
1
- import { styled as n, css as t } from "styled-components";
2
- const e = n.div`
3
- ${({ theme: n2 }) => `
4
- align-items: center;
5
- color: ${n2.palette.gray[800]};
6
- display: flex;
7
- font-family: ${n2.typography.type.primary};
8
- font-size: ${n2.typography.text.sm};
9
- font-weight: ${n2.typography.weight.bold};
10
- gap: ${n2.spacing[0.5]};
11
- height: 40px;
12
- justify-content: center;
13
- line-height: ${n2.spacing[1.25]};
14
- text-align: center;
15
- padding: ${n2.spacing[0.5]} 0;
16
- width: 200px;
17
- word-spacing: ${n2.spacing[0.25]};
18
-
19
- &:not(:hover) .year-selection {
20
- display: none;
21
- }
22
- `}
23
- `, i = n.div.attrs({ className: "year-selection" })`
24
- align-items: flex-start;
25
- display: flex;
26
- flex-direction: column;
27
- gap: 6px;
28
- height: 14px;
29
- justify-content: center;
30
- margin-bottom: 10px;
31
- padding: 0 0.5px;
32
- position: relative;
33
- width: 8px;
34
- `, a = n.tr`
35
- align-items: flex-start;
36
- display: flex;
37
- padding: ${({ theme: n2 }) => n2.spacing[0.25]} 0;
38
- width: 100%;
39
- `, o = t`
40
- ${({ theme: n2 }) => `
41
- align-items: center;
42
- color: ${n2.palette.gray[800]};
43
- cursor: pointer;
44
- display: flex;
45
- flex-direction: column;
46
- font-family: ${n2.typography.type.primary};
47
- font-size: ${n2.typography.text.sm};
48
- font-weight: ${n2.typography.weight.regular};
49
- height: ${n2.spacing[2.5]};
50
- justify-content: center;
51
- line-height: ${n2.spacing[1.25]};
52
- text-align: center;
53
- width: ${n2.spacing[2.5]};
54
- `}
55
- `, p = n.th`
56
- ${o}
57
- `, r = n.td`
58
- ${({ theme: n2 }) => `
59
- ${o}
60
- height: ${n2.spacing[2.5]};
61
- width: ${n2.spacing[2.5]};
62
-
63
- &#range {
64
- background: ${n2.palette.primary[25]};
65
- }
66
-
67
- div:not(.dot) {
68
- align-items: center;
69
- display: flex;
70
- flex-direction: column;
71
- font-size: ${n2.typography.text.sm};
72
- justify-content: center;
73
- height: ${n2.spacing[2.5]};
74
- line-height: ${n2.spacing[1.25]};
75
- position: relative;
76
- text-align: center;
77
- width: ${n2.spacing[2.5]};
78
-
79
- &:focus-visible {
80
- outline: none;
81
- }
82
-
83
- &:hover:not(.disabled, .selected, .range) {
84
- background: ${n2.palette.gray[100]};
85
- }
86
-
87
- &.disabled {
88
- color: ${n2.palette.gray[400]};
89
- cursor: auto;
90
- }
91
-
92
- &.selected {
93
- background: ${n2.palette.primary[500]};
94
- color: ${n2.palette.white};
95
- }
96
-
97
- &.focused {
98
- border: 2px solid ${n2.palette.primary[500]};
99
- }
100
-
101
- &.today:not(.selected) {
102
- color: ${n2.palette.primary[500]};
103
- font-weight: ${n2.typography.weight.bold};
104
- }
105
- }
106
- `}
107
- `, s = n.div.attrs({ className: "dot" })`
108
- position: absolute;
109
- top: 48%;
110
-
111
- > span {
112
- font-size: 4px;
113
- }
114
- `, l = n.button`
115
- cursor: pointer;
116
- display: flex;
117
-
118
- > span {
119
- height: 3.5px;
120
- width: 7px;
121
- }
122
- `, g = n.div`
123
- ${({ theme: n2 }) => `
124
- align-items: end;
125
- border-top: 1px solid ${n2.palette.gray[200]};
126
- display: flex;
127
- flex-direction: row-reverse;
128
- gap: ${n2.spacing[0.5]};
129
- height: 44px;
130
- margin-bottom: ${n2.spacing[0.25]};
131
- padding: 0 ${n2.spacing[0.25]};
132
- width: 100%;
133
- `}
134
- `;
135
- export {
136
- l as C,
137
- p as D,
138
- g as F,
139
- e as T,
140
- a as W,
141
- i as Y,
142
- r as a,
143
- s as b
144
- };
@@ -1,131 +0,0 @@
1
- import { styled as o } from "styled-components";
2
- import { theme as n } from "./components/colors/index.js";
3
- const i = ["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"], r = (o2, n2) => void 0 === n2 ? "" : `${o2}: ${n2};`, t = (o2) => {
4
- const i2 = o2.py ?? o2.pt ?? 0, r2 = o2.px ?? o2.pr ?? 0, t2 = o2.py ?? o2.pb ?? 0, e2 = o2.px ?? o2.pl ?? 0;
5
- if (o2.padding) {
6
- const [i3, r3, t3, e3] = o2.padding;
7
- return `padding: ${n.spacing[i3]} ${n.spacing[r3]} ${n.spacing[t3]} ${n.spacing[e3]};`;
8
- }
9
- return `padding: ${n.spacing[i2]} ${n.spacing[r2]} ${n.spacing[t2]} ${n.spacing[e2]};`;
10
- }, e = (o2) => {
11
- const i2 = o2.my ?? o2.mt ?? 0, r2 = o2.mx ?? o2.mr ?? 0, t2 = o2.my ?? o2.mb ?? 0, e2 = o2.mx ?? o2.ml ?? 0;
12
- if (o2.margin) {
13
- const [i3, r3, t3, e3] = o2.margin;
14
- return `margin: ${n.spacing[i3]} ${n.spacing[r3]} ${n.spacing[t3]} ${n.spacing[e3]};`;
15
- }
16
- return `margin: ${n.spacing[i2]} ${n.spacing[r2]} ${n.spacing[t2]} ${n.spacing[e2]};`;
17
- }, a = (o2) => `
18
- ${r("position", o2.position)}
19
- ${r("top", o2.top)}
20
- ${r("right", o2.right)}
21
- ${r("bottom", o2.bottom)}
22
- ${r("left", o2.left)}
23
- ${r("z-index", o2.zIndex)}
24
- `, s = (o2) => `
25
- ${r("border", o2.border)}
26
- ${r("border-top", o2.borderTop)}
27
- ${r("border-right", o2.borderRight)}
28
- ${r("border-bottom", o2.borderBottom)}
29
- ${r("border-left", o2.borderLeft)}
30
- ${r("border-color", o2.borderColor)}
31
- ${r("border-radius", o2.borderRadius)}
32
- `, $ = (o2) => {
33
- const i2 = o2.scroll ? `
34
- ${((o3) => o3.includes("x") ? "overflow-x: auto;" : "")(o2.scroll)}
35
- ${((o3) => o3.includes("y") ? "overflow-y: auto;" : "")(o2.scroll)}
36
- ` : "", t2 = r("visibility", o2.visibility), e2 = r("display", o2.display), a2 = r("height", o2.height), s2 = r("width", o2.width), $2 = r("max-height", o2.maxHeight), d2 = r("max-width", o2.maxWidth), l2 = r("min-height", o2.minHeight), g2 = r("min-width", o2.minWidth), p2 = r("box-shadow", o2.shadow ? n.shadows[o2.shadow] : void 0), c2 = r("gap", void 0 === o2.gap ? void 0 : n.spacing[o2.gap]);
37
- return `
38
- ${i2}
39
- ${t2}
40
- ${e2}
41
- ${a2}
42
- ${s2}
43
- ${$2}
44
- ${d2}
45
- ${l2}
46
- ${g2}
47
- ${p2}
48
- ${r("background-color", o2.bgColor)}
49
- ${r("background", o2.bgGradient)}
50
- ${c2}
51
- ${r("flex-direction", o2.flexDirection)}
52
- ${r("flex-grow", o2.flexGrow)}
53
- ${r("justify-content", o2.justify)}
54
- ${r("justify-self", o2.justifySelf)}
55
- ${r("align-items", o2.alignItems)}
56
- ${r("align-self", o2.alignSelf)}
57
- ${r("flex-wrap", o2.wrap)}
58
- `;
59
- }, d = (o2) => `
60
- ${r("color", o2.color)}
61
- ${r("font-family", o2.fontFamily)}
62
- ${r("font-size", o2.fontSize)}
63
- ${r("font-weight", o2.fontWeight)}
64
- ${r("line-spacing", o2.letterSpacing)}
65
- ${r("line-height", o2.lineSpacing)}
66
- ${r("text-align", o2.textAlign)}
67
- ${r("text-decoration", o2.textDecoration)}
68
- ${r("text-overflow", o2.textOverflow)}
69
- ${r("white-space", o2.whiteSpace)}
70
- ${r("word-break", o2.wordBreak)}
71
- ${r("word-wrap", o2.wordWrap)}
72
- `, l = (o2) => {
73
- const i2 = r("cursor", o2.cursor), t2 = r("border-color", o2.borderColorHover), e2 = r("background-color", o2.bgColorHover), a2 = r("box-shadow", void 0 === o2.shadowHover ? void 0 : n.shadows[o2.shadowHover]);
74
- return `
75
- ${i2}
76
-
77
- &:hover {
78
- ${r("transition", o2.transition) || "transition: all 0.2s;"}
79
- ${t2}
80
- ${e2}
81
- ${a2}
82
- }
83
- `;
84
- }, g = () => ({ shouldForwardProp: (o2) => !i.includes(o2) }), p = o.div.withConfig(g())`
85
- ${t}
86
- ${e}
87
- ${a}
88
- ${$}
89
- ${d}
90
- ${s}
91
- ${l}
92
- `, c = o.button.withConfig(g())`
93
- ${t}
94
- ${e}
95
- ${a}
96
- ${$}
97
- ${d}
98
- ${s}
99
- ${l}
100
- `, h = o.p.withConfig(g())`
101
- ${t}
102
- ${e}
103
- ${a}
104
- ${$}
105
- ${d}
106
- ${s}
107
- ${l}
108
- `, b = o.span.withConfig(g())`
109
- ${t}
110
- ${e}
111
- ${a}
112
- ${$}
113
- ${d}
114
- ${s}
115
- ${l}
116
- `;
117
- export {
118
- p as B,
119
- c as a,
120
- h as b,
121
- b as c,
122
- d,
123
- e,
124
- l as f,
125
- a as g,
126
- i as h,
127
- $ as i,
128
- s as j,
129
- g as k,
130
- t as s
131
- };
@@ -1,42 +0,0 @@
1
- "use strict";const n=require("styled-components"),t=n.styled.div`
2
- ${({theme:n})=>`\n align-items: center;\n color: ${n.palette.gray[800]};\n display: flex;\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n font-weight: ${n.typography.weight.bold};\n gap: ${n.spacing[.5]};\n height: 40px;\n justify-content: center;\n line-height: ${n.spacing[1.25]};\n text-align: center;\n padding: ${n.spacing[.5]} 0;\n width: 200px;\n word-spacing: ${n.spacing[.25]};\n\n &:not(:hover) .year-selection {\n display: none;\n }\n `}
3
- `,e=n.styled.div.attrs({className:"year-selection"})`
4
- align-items: flex-start;
5
- display: flex;
6
- flex-direction: column;
7
- gap: 6px;
8
- height: 14px;
9
- justify-content: center;
10
- margin-bottom: 10px;
11
- padding: 0 0.5px;
12
- position: relative;
13
- width: 8px;
14
- `,i=n.styled.tr`
15
- align-items: flex-start;
16
- display: flex;
17
- padding: ${({theme:n})=>n.spacing[.25]} 0;
18
- width: 100%;
19
- `,a=n.css`
20
- ${({theme:n})=>`\n align-items: center;\n color: ${n.palette.gray[800]};\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text.sm};\n font-weight: ${n.typography.weight.regular};\n height: ${n.spacing[2.5]};\n justify-content: center;\n line-height: ${n.spacing[1.25]};\n text-align: center;\n width: ${n.spacing[2.5]};\n `}
21
- `,o=n.styled.th`
22
- ${a}
23
- `,r=n.styled.td`
24
- ${({theme:n})=>`\n ${a}\n height: ${n.spacing[2.5]};\n width: ${n.spacing[2.5]};\n\n &#range {\n background: ${n.palette.primary[25]};\n }\n\n div:not(.dot) {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: ${n.typography.text.sm};\n justify-content: center;\n height: ${n.spacing[2.5]};\n line-height: ${n.spacing[1.25]};\n position: relative;\n text-align: center;\n width: ${n.spacing[2.5]};\n\n &:focus-visible {\n outline: none;\n }\n\n &:hover:not(.disabled, .selected, .range) {\n background: ${n.palette.gray[100]};\n }\n\n &.disabled {\n color: ${n.palette.gray[400]};\n cursor: auto;\n }\n\n &.selected {\n background: ${n.palette.primary[500]};\n color: ${n.palette.white};\n }\n\n &.focused {\n border: 2px solid ${n.palette.primary[500]};\n }\n\n &.today:not(.selected) {\n color: ${n.palette.primary[500]};\n font-weight: ${n.typography.weight.bold};\n }\n }\n `}
25
- `,p=n.styled.div.attrs({className:"dot"})`
26
- position: absolute;
27
- top: 48%;
28
-
29
- > span {
30
- font-size: 4px;
31
- }
32
- `,s=n.styled.button`
33
- cursor: pointer;
34
- display: flex;
35
-
36
- > span {
37
- height: 3.5px;
38
- width: 7px;
39
- }
40
- `,l=n.styled.div`
41
- ${({theme:n})=>`\n align-items: end;\n border-top: 1px solid ${n.palette.gray[200]};\n display: flex;\n flex-direction: row-reverse;\n gap: ${n.spacing[.5]};\n height: 44px;\n margin-bottom: ${n.spacing[.25]};\n padding: 0 ${n.spacing[.25]};\n width: 100%;\n `}
42
- `;exports.CaretButton=s,exports.DayHeaderTh=o,exports.DayItemTd=r,exports.DotIconContainer=p,exports.FooterContainer=l,exports.TitleContainer=t,exports.WeekDaysTr=i,exports.YearSwitch=e;
@@ -1,7 +0,0 @@
1
- "use strict";const n=require("styled-components"),e=require("./styles-C2CoGJl7.js");require("react/jsx-runtime");const t=n.styled(e.BaseTextComponent)`
2
- ${({theme:n,$bgGradient:e="unset",$color:t=n.palette.gray[800],$display:i="block",$fontFamily:a=n.typography.type.primary,$fontWeight:o="bold",$letterSpacing:r=0,$lineSpacing:$=1.5,$lineSpacingSm:l,$size:p,$sizeMd:s,$sizeSm:g,$textFill:y="unset",$wordBreak:d="normal"})=>`\n background: ${e};\n color: ${t};\n display: ${i};\n font-family: ${a};\n font-size: ${n.typography.heading[p]};\n font-weight: ${n.typography.weight[o]};\n letter-spacing: ${r};\n line-height: ${n.spacing[$]};\n width: ${"block"===i?"100%":"auto"};\n word-break: ${d};\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: ${y};\n\n @media screen\n and (min-width: ${n.breakpoints.mobile})\n and (max-width: ${n.breakpoints.tablet})\n {\n font-size: ${n.typography.heading[s??p]};\n }\n\n @media screen and (max-width: ${n.breakpoints.mobile}) {\n font-size: ${n.typography.heading[g??p]};\n line-height: ${n.spacing[l??$]};\n }\n `}
3
- `,i=n.styled(e.BaseTextComponent)`
4
- ${({theme:n,$bgGradient:e="unset",$color:t=n.palette.gray[600],$display:i="block",$fontFamily:a=n.typography.type.primary,$fontWeight:o="regular",$letterSpacing:r=0,$lineSpacing:$=1.25,$lineSpacingSm:l,$size:p,$sizeMd:s,$sizeSm:g,$textFill:y="unset",$wordBreak:d="normal"})=>`\n background: ${e};\n color: ${t};\n display: ${i};\n font-family: ${a};\n font-size: ${n.typography.text[p]};\n font-weight: ${n.typography.weight[o]};\n letter-spacing: ${r};\n line-height: ${n.spacing[$]};\n width: ${"block"===i?"100%":"auto"};\n word-break: ${d};\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: ${y};\n\n @media screen\n and (min-width: ${n.breakpoints.mobile})\n and (max-width: ${n.breakpoints.tablet})\n {\n font-size: ${n.typography.text[s??p]};\n }\n\n @media screen and (max-width: ${n.breakpoints.mobile}) {\n font-size: ${n.typography.text[g??p]};\n line-height: ${n.spacing[l??$]};\n }\n `}
5
- `,a=n.styled.span`
6
- ${({theme:n,$color:e=n.palette.gray[600],$content:t,$display:i="inline",$fontWeight:a="regular",$size:o,$lineSpacing:r=1.25})=>`\n color: ${e};\n display: ${i};\n font-family: ${n.typography.type.primary};\n font-size: ${n.typography.text[o]};\n font-weight: ${n.typography.weight[a]};\n line-height: ${n.spacing[r]};\n width: ${"block"===i?"100%":"auto"};\n\n ${void 0===t?"":`&::after { content: "${t}"; }`}\n `}
7
- `;exports.StyledHeading=t,exports.StyledSpan=a,exports.StyledText=i;
@@ -1,106 +0,0 @@
1
- import { styled as n } from "styled-components";
2
- import { v as a } from "./utils-Da0qL35u.mjs";
3
- import { a as t } from "./styles-DV8yOaqV.mjs";
4
- import "react/jsx-runtime";
5
- const { getVariant: r } = a((n2) => ({ ghost: `
6
- background: transparent;
7
- border: none;
8
- color: ${n2.palette.gray[800]};
9
- --btn-padding-x: ${n2.spacing[0.5]};
10
- --btn-padding-y: ${n2.spacing[0.625]};
11
- --btn-spacing: ${n2.spacing[0.25]};
12
-
13
- &:disabled {
14
- color: ${n2.palette.gray[400]};
15
- cursor: not-allowed;
16
- }
17
-
18
- &:hover:not([disabled]) {
19
- background-color: ${n2.palette.gray[100]};
20
- color: ${n2.palette.gray[800]};
21
- }
22
- `, link: `
23
- --btn-padding-x: 0;
24
- --btn-padding-y: 0;
25
- color: ${n2.palette.gray[800]};
26
-
27
- &:hover {
28
- color: ${n2.palette.gray[500]};
29
- }
30
- `, primary: `
31
- background: ${n2.palette.primary[500]};
32
- border: none;
33
- color: ${n2.palette.white};
34
- --btn-spacing: ${n2.spacing[0.25]};
35
-
36
- &:disabled {
37
- background: ${n2.palette.gray[200]};
38
- color: ${n2.palette.gray[400]};
39
- cursor: not-allowed;
40
- }
41
-
42
- &:hover:not([disabled]) {
43
- background-color: ${n2.palette.primary[700]};
44
- color: ${n2.palette.white};
45
- }
46
- `, secondary: `
47
- background: ${n2.palette.gray[800]};
48
- border: none;
49
- color: ${n2.palette.white};
50
- --btn-spacing: ${n2.spacing[0.25]};
51
-
52
- &:disabled {
53
- background: ${n2.palette.gray[200]};
54
- color: ${n2.palette.gray[400]};
55
- cursor: not-allowed;
56
- }
57
-
58
- &:hover:not([disabled]) {
59
- background-color: ${n2.palette.gray[600]};
60
- color: ${n2.palette.white};
61
- }
62
- `, tertiary: `
63
- background: transparent;
64
- border: 1px solid ${n2.palette.primary[500]};
65
- color: ${n2.palette.primary[500]};
66
- --btn-spacing: ${n2.spacing[0.25]};
67
-
68
- &:disabled {
69
- background: transparent;
70
- border: 1px solid ${n2.palette.gray[200]};
71
- color: ${n2.palette.gray[300]};
72
- cursor: not-allowed;
73
- }
74
-
75
- &:hover:not([disabled]) {
76
- background-color: ${n2.palette.primary[500]};
77
- color: ${n2.palette.white};
78
- }
79
- ` })), e = n(t)`
80
- ${({ theme: n2, $variant: a2 }) => `
81
- align-items: center;
82
- border-radius: var(--btn-spacing);
83
- cursor: pointer;
84
- display: inline-flex;
85
- font-family: ${n2.typography.type.primary};
86
- font-size: ${n2.typography.text.sm};
87
- font-weight: ${n2.typography.weight.regular};
88
- gap: var(--btn-spacing);
89
- justify-content: center;
90
- line-height: ${n2.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: ${n2.breakpoints.mobile}) {
98
- ${"link" !== a2 ? `--btn-padding-y: ${n2.spacing[1]}` : ""};
99
- }
100
-
101
- ${r(n2, a2 ?? "primary")}
102
- `}
103
- `;
104
- export {
105
- e as S
106
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("react");exports.useCarousel=(t,s)=>{const[r,c]=e.useState(0),[u,a]=e.useState(0);return e.useEffect((()=>{100===u&&c((e=>e===s-1?0:e+1))}),[u,s]),e.useEffect((()=>{const e=setInterval((()=>{a((e=>100===e?0:e+1))}),t);return()=>{clearInterval(e)}}),[t]),{cycle:r,progress:u,setCycle:c,setProgress:a}};
@@ -1,17 +0,0 @@
1
- import { useState as r, useEffect as e } from "react";
2
- const t = (t2, s) => {
3
- const [c, o] = r(0), [n, a] = r(0);
4
- return e(() => {
5
- 100 === n && o((r2) => r2 === s - 1 ? 0 : r2 + 1);
6
- }, [n, s]), e(() => {
7
- const r2 = setInterval(() => {
8
- a((r3) => 100 === r3 ? 0 : r3 + 1);
9
- }, t2);
10
- return () => {
11
- clearInterval(r2);
12
- };
13
- }, [t2]), { cycle: c, progress: n, setCycle: o, setProgress: a };
14
- };
15
- export {
16
- t as u
17
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("react");exports.useClickOutside=(t,n,c=!1)=>{e.useEffect((()=>{var e;const r=e=>{t&&!t.contains(e.target)&&n()};return c?(document.addEventListener("click",r,!0),()=>{document.removeEventListener("click",r,!0)}):(null==(e=document.getElementById("root"))||e.addEventListener("click",r,!0),()=>{var e;null==(e=document.getElementById("root"))||e.removeEventListener("click",r,!0)})}),[c,t,n])};
@@ -1,18 +0,0 @@
1
- import { useEffect as e } from "react";
2
- const t = (t2, n, c = false) => {
3
- e(() => {
4
- var _a;
5
- const e2 = (e3) => {
6
- t2 && !t2.contains(e3.target) && n();
7
- };
8
- return c ? (document.addEventListener("click", e2, true), () => {
9
- document.removeEventListener("click", e2, true);
10
- }) : ((_a = document.getElementById("root")) == null ? void 0 : _a.addEventListener("click", e2, true), () => {
11
- var _a2;
12
- (_a2 = document.getElementById("root")) == null ? void 0 : _a2.removeEventListener("click", e2, true);
13
- });
14
- }, [c, t2, n]);
15
- };
16
- export {
17
- t as u
18
- };