@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.
Files changed (172) hide show
  1. package/dist/components/@core/index.js +2 -2
  2. package/dist/components/accordion/accordion-content/index.js +18 -5
  3. package/dist/components/accordion/index.js +71 -14
  4. package/dist/components/alert/index.js +108 -57
  5. package/dist/components/button/index.js +64 -13
  6. package/dist/components/card/card-header/index.js +78 -9
  7. package/dist/components/card/card-with-image/index.js +88 -13
  8. package/dist/components/card/card-with-input/index.js +72 -23
  9. package/dist/components/card/card-with-selector/index.js +63 -8
  10. package/dist/components/card/card-with-switch/index.js +46 -8
  11. package/dist/components/carousel/index.js +54 -28
  12. package/dist/components/checkbox/index.js +66 -32
  13. package/dist/components/cloud-image/index.js +2 -2
  14. package/dist/components/code-snippet/index.js +64 -19
  15. package/dist/components/code-snippet/location-code/index.js +146 -100
  16. package/dist/components/colors/index.js +220 -5
  17. package/dist/components/confirm-dialog/index.js +41 -18
  18. package/dist/components/container/index.js +39 -15
  19. package/dist/components/content-card/category-tag/index.js +37 -8
  20. package/dist/components/content-card/event-date/index.js +53 -10
  21. package/dist/components/content-card/index.js +118 -13
  22. package/dist/components/content-card-carousel/index.js +87 -7
  23. package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
  24. package/dist/components/divider/index.js +22 -7
  25. package/dist/components/empty-state/empty-button/index.js +4 -4
  26. package/dist/components/empty-state/index.js +52 -15
  27. package/dist/components/file-preview/index.js +28 -12
  28. package/dist/components/form/index.js +46 -9
  29. package/dist/components/grid-container/index.js +31 -11
  30. package/dist/components/group-selector/index.js +126 -17
  31. package/dist/components/group-selector/option-container/index.js +1 -1
  32. package/dist/components/icon/index.js +78 -18
  33. package/dist/components/icon-button/index.js +63 -14
  34. package/dist/components/indicator-card/index.js +70 -11
  35. package/dist/components/info-sidebar/index.js +107 -7
  36. package/dist/components/inputs/fields/combobox/index.js +141 -21
  37. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  38. package/dist/components/inputs/fields/date/calendar/cell/index.js +22 -11
  39. package/dist/components/inputs/fields/date/calendar/grid/index.js +21 -10
  40. package/dist/components/inputs/fields/date/calendar/header/index.js +35 -13
  41. package/dist/components/inputs/fields/date/calendar/index.js +26 -11
  42. package/dist/components/inputs/fields/date/index.js +65 -15
  43. package/dist/components/inputs/fields/date-range/calendar/index.js +29 -10
  44. package/dist/components/inputs/fields/date-range/index.js +98 -18
  45. package/dist/components/inputs/fields/date-time/calendar/index.js +44 -15
  46. package/dist/components/inputs/fields/date-time/index.js +65 -14
  47. package/dist/components/inputs/fields/editable/index.js +22 -10
  48. package/dist/components/inputs/fields/input/index.js +74 -10
  49. package/dist/components/inputs/fields/input-file/index.js +114 -21
  50. package/dist/components/inputs/fields/input-tags/index.js +60 -11
  51. package/dist/components/inputs/fields/number/index.js +54 -7
  52. package/dist/components/inputs/fields/number-range/index.js +46 -8
  53. package/dist/components/inputs/fields/phone/index.js +446 -286
  54. package/dist/components/inputs/fields/text-area/index.js +78 -10
  55. package/dist/components/inputs/label/index.js +34 -8
  56. package/dist/components/inputs/outline-container/index.js +98 -12
  57. package/dist/components/inputs/utils/action-button/index.js +28 -7
  58. package/dist/components/inputs/utils/calendar-button/index.js +34 -10
  59. package/dist/components/inputs/utils/date-selector/index.js +60 -6
  60. package/dist/components/inputs/utils/date-time-field/index.js +129 -28
  61. package/dist/components/inputs/utils/dialog/index.js +10 -7
  62. package/dist/components/inputs/utils/number-field/index.js +81 -8
  63. package/dist/components/inputs/utils/popover/index.js +41 -10
  64. package/dist/components/interactive-card/icon/index.js +1 -1
  65. package/dist/components/interactive-card/index.js +110 -7
  66. package/dist/components/language-selector/index.js +34 -10
  67. package/dist/components/language-selector/item-list/index.js +1 -1
  68. package/dist/components/link/index.js +71 -17
  69. package/dist/components/list-item/index.js +64 -13
  70. package/dist/components/little-flag/index.js +26 -9
  71. package/dist/components/loading/index.js +48 -21
  72. package/dist/components/logo/index.js +10 -4
  73. package/dist/components/logo-carousel/index.js +40 -5
  74. package/dist/components/lottie/index.js +12 -7
  75. package/dist/components/menu/index.js +53 -9
  76. package/dist/components/message-banner/index.js +79 -13
  77. package/dist/components/modal/index.js +59 -13
  78. package/dist/components/modal/modal-confirm/index.js +48 -7
  79. package/dist/components/modal/modal-footer/index.js +22 -13
  80. package/dist/components/modal/modal-header/index.js +45 -19
  81. package/dist/components/notification/index.js +65 -20
  82. package/dist/components/notification-sign/index.js +27 -10
  83. package/dist/components/number-input/index.js +58 -21
  84. package/dist/components/oauth-selector/index.js +97 -23
  85. package/dist/components/oauth-selector/option-container/index.js +68 -7
  86. package/dist/components/plan-card/index.js +99 -28
  87. package/dist/components/plan-card/recommended-tag/index.js +23 -2
  88. package/dist/components/pop-up/description/index.js +47 -9
  89. package/dist/components/pop-up/index.js +146 -17
  90. package/dist/components/premium-feature/index.js +56 -16
  91. package/dist/components/priority-score/index.js +24 -9
  92. package/dist/components/progress/index.js +30 -17
  93. package/dist/components/progress-bar/index.js +99 -41
  94. package/dist/components/radio-button/index.js +64 -27
  95. package/dist/components/scroll-button/index.js +33 -15
  96. package/dist/components/search/index.js +77 -35
  97. package/dist/components/search-bar/index.js +211 -24
  98. package/dist/components/search-bar/item-searching/index.js +1 -1
  99. package/dist/components/severity-badge/index.js +66 -6
  100. package/dist/components/severity-overview/badge/index.js +62 -11
  101. package/dist/components/severity-overview/index.js +15 -5
  102. package/dist/components/show-on-hover/index.js +16 -10
  103. package/dist/components/slide-out-menu/index.js +2611 -1164
  104. package/dist/components/slide-out-menu/menu-item/index.js +58 -6
  105. package/dist/components/slider/index.js +79 -48
  106. package/dist/components/slider/thumb/index.js +13 -6
  107. package/dist/components/step-lapse/index.js +81 -23
  108. package/dist/components/table-button/index.js +65 -24
  109. package/dist/components/tabs/fixed-tabs/index.js +24 -4
  110. package/dist/components/tabs/index.js +54 -11
  111. package/dist/components/tabs/tab/index.js +37 -6
  112. package/dist/components/tag/index.js +95 -27
  113. package/dist/components/timeline/card/index.js +1 -1
  114. package/dist/components/timeline/index.js +15 -5
  115. package/dist/components/toggle/index.js +65 -25
  116. package/dist/components/toggle-buttons/index.js +51 -22
  117. package/dist/components/tooltip/index.js +1 -1
  118. package/dist/components/tour/index.js +3897 -1829
  119. package/dist/components/typography/heading/index.js +43 -5
  120. package/dist/components/typography/span/index.js +38 -6
  121. package/dist/components/typography/text/index.js +44 -6
  122. package/dist/components/web-form/index.js +28 -19
  123. package/dist/hooks/index.js +5 -5
  124. package/dist/index-BMHVi812.mjs +234 -0
  125. package/dist/index-BzAniA2J.mjs +135 -0
  126. package/dist/index-C6LbClYh.mjs +146 -0
  127. package/dist/index-CAIe8hBv.mjs +130 -0
  128. package/dist/index-CUQBAqt_.mjs +75 -0
  129. package/dist/index-CWlrSlUk.mjs +68 -0
  130. package/dist/index-Ckmu1TfV.mjs +86 -0
  131. package/dist/index-DwznImvK.mjs +1678 -0
  132. package/dist/index-maWH3JYC.mjs +3561 -0
  133. package/dist/index.js +11 -11
  134. package/dist/styles-B2N0JLw1.mjs +114 -0
  135. package/dist/styles-B64DVBIF.mjs +115 -0
  136. package/dist/{styles-lSVV9kjn.mjs → styles-BXFVwnWT.mjs} +28 -28
  137. package/dist/styles-BZQOqe8p.mjs +141 -0
  138. package/dist/styles-Bdque9TT.mjs +65 -0
  139. package/dist/{styles-CI-I6joH.mjs → styles-BlHspTrz.mjs} +18 -18
  140. package/dist/{styles-Cx93EcVo.mjs → styles-CROOwXEH.mjs} +5 -5
  141. package/dist/styles-CplEd2kw.mjs +228 -0
  142. package/dist/styles-D1eTIklB.mjs +110 -0
  143. package/dist/styles-ePGii_9g.mjs +74 -0
  144. package/dist/use-carousel-CgAF78h3.mjs +23 -0
  145. package/dist/use-click-outside-BUll8Ag-.mjs +18 -0
  146. package/dist/use-cloudinary-image-BCxwj15o.mjs +1176 -0
  147. package/dist/use-modal-CtgexKnf.mjs +14 -0
  148. package/dist/use-search-Dj47QDw9.mjs +15 -0
  149. package/dist/utils-V0EumEPM.mjs +6 -0
  150. package/package.json +1 -3
  151. package/dist/index-38JqtnAI.mjs +0 -122
  152. package/dist/index-B5yoGFs6.mjs +0 -54
  153. package/dist/index-BLbKylyw.mjs +0 -209
  154. package/dist/index-Bu448Tz2.mjs +0 -106
  155. package/dist/index-BwFnfaRh.mjs +0 -2310
  156. package/dist/index-Co_k0WFk.mjs +0 -75
  157. package/dist/index-Cu7uUMlx.mjs +0 -82
  158. package/dist/index-D-lcuEHY.mjs +0 -1018
  159. package/dist/index-DrfjITyT.mjs +0 -61
  160. package/dist/styles-7_q7nHce.mjs +0 -110
  161. package/dist/styles-BA0WIQL-.mjs +0 -74
  162. package/dist/styles-C3cZmKVJ.mjs +0 -131
  163. package/dist/styles-D85YYIjM.mjs +0 -131
  164. package/dist/styles-EIbGRPlk.mjs +0 -106
  165. package/dist/styles-Q1VXuWI7.mjs +0 -65
  166. package/dist/styles-fH2c4cfc.mjs +0 -77
  167. package/dist/use-carousel-CvRxi2FI.mjs +0 -17
  168. package/dist/use-click-outside-BtZLIoU1.mjs +0 -18
  169. package/dist/use-cloudinary-image-fG7ODNgr.mjs +0 -611
  170. package/dist/use-modal-CkrZ-_-M.mjs +0 -14
  171. package/dist/use-search-DpLNvt7Q.mjs +0 -12
  172. package/dist/utils-CQvBF-wY.mjs +0 -4
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { v as e } from "./utils-CQvBF-wY.mjs";
2
- import { a as p, B as m, c as a, b as f, k as x, h as n, j as i, i as s, f as u, e as d, s as l, g as C, d as g } from "./styles-C3cZmKVJ.mjs";
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-BwFnfaRh.mjs";
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-D-lcuEHY.mjs";
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-CvRxi2FI.mjs";
84
- import { u as Le } from "./use-click-outside-BtZLIoU1.mjs";
85
- import { u as Pe } from "./use-cloudinary-image-fG7ODNgr.mjs";
86
- import { u as Me, a as ye } from "./use-search-DpLNvt7Q.mjs";
87
- import { u as Oe } from "./use-modal-CkrZ-_-M.mjs";
88
- import { a as ke } from "./styles-Q1VXuWI7.mjs";
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-Bu448Tz2.mjs";
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 e } from "styled-components";
2
- const i = e.div`
3
- ${({ theme: n }) => `
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: ${n.spacing[0.25]};
7
+ gap: ${t.spacing[0.25]};
8
8
  position: relative;
9
9
  width: 100%;
10
10
 
11
11
  label {
12
- color: ${n.palette.gray[800]};
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: ${n.typography.type.primary};
34
- font-size: ${n.typography.text.sm};
33
+ font-family: ${t.typography.type.primary};
34
+ font-size: ${t.typography.text.sm};
35
35
  font-style: normal;
36
- font-weight: ${n.typography.weight.regular};
37
- line-height: ${n.spacing[1.25]};
36
+ font-weight: ${t.typography.weight.regular};
37
+ line-height: ${t.spacing[1.25]};
38
38
  }
39
39
  `}
40
- `, a = e.div`
41
- ${({ theme: n }) => `
40
+ `, n = i.div`
41
+ ${({ theme: t }) => `
42
42
  align-items: center;
43
43
  display: flex;
44
- border-radius: ${n.spacing[0.5]};
44
+ border-radius: ${t.spacing[0.5]};
45
45
  border: 1px solid;
46
- border-color: ${n.palette.gray[300]};
47
- color: ${n.palette.gray[600]};
48
- gap: ${n.spacing[0.625]};
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: ${n.spacing[0.625]} ${n.spacing[0.75]};
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: ${n.palette.gray[800]};
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: ${n.palette.gray[400]};
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: ${n.spacing[6]};
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: ${n.palette.gray[100]};
106
- color: ${n.palette.gray[400]};
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 ${n.palette.error[500]};
111
+ border: 1px solid ${t.palette.error[500]};
112
112
  }
113
113
 
114
114
  &:focus-within:not(.disabled, .error) {
115
- background: ${n.palette.white};
116
- border: 2px solid ${n.palette.black};
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: ${n.palette.white};
126
- border: 1px solid ${n.palette.gray[600]};
125
+ background: ${t.palette.white};
126
+ border: 1px solid ${t.palette.gray[600]};
127
127
  }
128
128
  `}
129
129
  `;
130
130
  export {
131
- a as S,
132
- i as a
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 n, css as i } from "styled-components";
2
- const p = n.div`
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
- `, o = n.div.attrs({ className: "year-selection" })`
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
- `, s = n.tr`
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
- `, e = i`
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
- `, r = n.th`
56
- ${e}
57
- `, l = n.td`
55
+ `, p = i.th`
56
+ ${a}
57
+ `, l = i.td`
58
58
  ${({ theme: t }) => `
59
- ${e}
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
- `, g = n.div.attrs({ className: "dot" })`
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
- `, c = n.button`
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 = n.div`
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
- c as C,
137
- r as D,
136
+ g as C,
137
+ p as D,
138
138
  d as F,
139
- p as T,
140
- s as W,
141
- o as Y,
139
+ e as T,
140
+ r as W,
141
+ s as Y,
142
142
  l as a,
143
- g as b
143
+ c as b
144
144
  };