@fluidattacks/design 3.1.13 → 3.2.0

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 (157) hide show
  1. package/dist/components/@core/index.js +15 -16
  2. package/dist/components/accordion/accordion-content/index.js +3 -20
  3. package/dist/components/accordion/index.js +5 -76
  4. package/dist/components/alert/index.js +4 -162
  5. package/dist/components/button/index.js +4 -67
  6. package/dist/components/card/card-header/index.js +4 -81
  7. package/dist/components/card/card-with-image/index.js +5 -91
  8. package/dist/components/card/card-with-input/index.js +5 -103
  9. package/dist/components/card/card-with-selector/index.js +4 -69
  10. package/dist/components/card/card-with-switch/index.js +4 -48
  11. package/dist/components/card/index.js +6 -10
  12. package/dist/components/carousel/index.js +4 -73
  13. package/dist/components/checkbox/index.js +4 -116
  14. package/dist/components/cloud-image/index.js +2 -2
  15. package/dist/components/code-snippet/index.js +6 -70
  16. package/dist/components/code-snippet/location-code/index.js +7 -169
  17. package/dist/components/colors/index.js +7 -222
  18. package/dist/components/confirm-dialog/index.js +4 -43
  19. package/dist/components/container/index.js +4 -49
  20. package/dist/components/content-card/category-tag/index.js +4 -40
  21. package/dist/components/content-card/event-date/index.js +5 -59
  22. package/dist/components/content-card/index.js +4 -166
  23. package/dist/components/content-card-carousel/index.js +4 -93
  24. package/dist/components/content-card-carousel/scroll-buttons/index.js +2 -4
  25. package/dist/components/divider/index.js +4 -23
  26. package/dist/components/empty-state/empty-button/index.js +3 -4
  27. package/dist/components/empty-state/index.js +3 -83
  28. package/dist/components/file-preview/index.js +3 -42
  29. package/dist/components/form/index.js +4 -61
  30. package/dist/components/grid-container/index.js +4 -46
  31. package/dist/components/group-selector/index.js +6 -133
  32. package/dist/components/group-selector/option-container/index.js +3 -7
  33. package/dist/components/icon/index.js +4 -106
  34. package/dist/components/icon-button/index.js +4 -74
  35. package/dist/components/indicator-card/index.js +5 -72
  36. package/dist/components/info-sidebar/index.js +4 -114
  37. package/dist/components/inputs/fields/combobox/index.js +7 -144
  38. package/dist/components/inputs/fields/combobox/option/index.js +2 -3
  39. package/dist/components/inputs/fields/date/calendar/cell/index.js +7 -25
  40. package/dist/components/inputs/fields/date/calendar/grid/index.js +5 -24
  41. package/dist/components/inputs/fields/date/calendar/header/index.js +4 -36
  42. package/dist/components/inputs/fields/date/calendar/index.js +6 -28
  43. package/dist/components/inputs/fields/date/index.js +8 -66
  44. package/dist/components/inputs/fields/date-range/calendar/index.js +7 -33
  45. package/dist/components/inputs/fields/date-range/index.js +6 -106
  46. package/dist/components/inputs/fields/date-time/calendar/index.js +7 -62
  47. package/dist/components/inputs/fields/date-time/index.js +6 -67
  48. package/dist/components/inputs/fields/editable/index.js +4 -26
  49. package/dist/components/inputs/fields/input/index.js +5 -75
  50. package/dist/components/inputs/fields/input-file/index.js +6 -123
  51. package/dist/components/inputs/fields/input-tags/index.js +4 -66
  52. package/dist/components/inputs/fields/number/index.js +4 -55
  53. package/dist/components/inputs/fields/number-range/index.js +4 -47
  54. package/dist/components/inputs/fields/phone/index.js +7 -577
  55. package/dist/components/inputs/fields/text-area/index.js +5 -79
  56. package/dist/components/inputs/index.js +14 -26
  57. package/dist/components/inputs/label/index.js +5 -36
  58. package/dist/components/inputs/outline-container/index.js +4 -102
  59. package/dist/components/inputs/utils/action-button/index.js +4 -29
  60. package/dist/components/inputs/utils/calendar-button/index.js +5 -35
  61. package/dist/components/inputs/utils/date-selector/index.js +3 -60
  62. package/dist/components/inputs/utils/date-time-field/index.js +10 -131
  63. package/dist/components/inputs/utils/dialog/index.js +5 -12
  64. package/dist/components/inputs/utils/number-field/index.js +5 -84
  65. package/dist/components/inputs/utils/popover/index.js +5 -42
  66. package/dist/components/interactive-card/icon/index.js +2 -4
  67. package/dist/components/interactive-card/index.js +4 -116
  68. package/dist/components/language-selector/index.js +4 -35
  69. package/dist/components/language-selector/item-list/index.js +2 -5
  70. package/dist/components/link/index.js +3 -104
  71. package/dist/components/list-item/index.js +6 -65
  72. package/dist/components/little-flag/index.js +3 -30
  73. package/dist/components/loading/index.js +4 -92
  74. package/dist/components/logo/index.js +2 -10
  75. package/dist/components/logo-carousel/index.js +4 -85
  76. package/dist/components/lottie/index.js +3 -18
  77. package/dist/components/menu/index.js +5 -64
  78. package/dist/components/message-banner/index.js +5 -99
  79. package/dist/components/modal/index.js +6 -63
  80. package/dist/components/modal/modal-confirm/index.js +3 -49
  81. package/dist/components/modal/modal-footer/index.js +5 -23
  82. package/dist/components/modal/modal-header/index.js +6 -49
  83. package/dist/components/notification/index.js +5 -111
  84. package/dist/components/notification-sign/index.js +4 -45
  85. package/dist/components/number-input/index.js +5 -87
  86. package/dist/components/oauth-selector/index.js +6 -98
  87. package/dist/components/oauth-selector/option-container/index.js +4 -74
  88. package/dist/components/plan-card/index.js +3 -153
  89. package/dist/components/plan-card/recommended-tag/index.js +3 -29
  90. package/dist/components/pop-up/description/index.js +5 -49
  91. package/dist/components/pop-up/index.js +7 -150
  92. package/dist/components/premium-feature/index.js +4 -83
  93. package/dist/components/priority-score/index.js +4 -27
  94. package/dist/components/progress/index.js +5 -45
  95. package/dist/components/progress-bar/index.js +3 -151
  96. package/dist/components/radio-button/index.js +4 -123
  97. package/dist/components/scroll-button/index.js +4 -40
  98. package/dist/components/search/index.js +7 -103
  99. package/dist/components/search-bar/index.js +4 -217
  100. package/dist/components/search-bar/item-searching/index.js +2 -7
  101. package/dist/components/severity-badge/index.js +4 -72
  102. package/dist/components/severity-overview/badge/index.js +4 -67
  103. package/dist/components/severity-overview/index.js +3 -15
  104. package/dist/components/show-on-hover/index.js +3 -29
  105. package/dist/components/slide-out-menu/index.js +6 -3453
  106. package/dist/components/slide-out-menu/menu-item/index.js +4 -65
  107. package/dist/components/slider/index.js +7 -122
  108. package/dist/components/slider/thumb/index.js +5 -15
  109. package/dist/components/step-lapse/index.js +4 -157
  110. package/dist/components/table-button/index.js +4 -95
  111. package/dist/components/tabs/fixed-tabs/index.js +3 -27
  112. package/dist/components/tabs/index.js +6 -55
  113. package/dist/components/tabs/tab/index.js +3 -37
  114. package/dist/components/tag/index.js +4 -182
  115. package/dist/components/timeline/card/index.js +2 -5
  116. package/dist/components/timeline/index.js +4 -15
  117. package/dist/components/toggle/index.js +4 -101
  118. package/dist/components/toggle-buttons/index.js +4 -101
  119. package/dist/components/tooltip/index.js +3 -6
  120. package/dist/components/tour/index.js +7 -4582
  121. package/dist/components/typography/heading/index.js +4 -45
  122. package/dist/components/typography/index.js +4 -6
  123. package/dist/components/typography/span/index.js +4 -39
  124. package/dist/components/typography/text/index.js +4 -45
  125. package/dist/components/web-form/index.js +4 -78
  126. package/dist/components-C7JPRIEW.mjs +9653 -0
  127. package/dist/hooks/index.js +6 -10
  128. package/dist/index.js +112 -204
  129. package/dist/vendor-_XDhaIzo.mjs +14504 -0
  130. package/package.json +3 -7
  131. package/dist/_commonjsHelpers-C6fGbg64.mjs +0 -6
  132. package/dist/index-BMHVi812.mjs +0 -234
  133. package/dist/index-BzAniA2J.mjs +0 -135
  134. package/dist/index-C6LbClYh.mjs +0 -146
  135. package/dist/index-CAIe8hBv.mjs +0 -130
  136. package/dist/index-CUQBAqt_.mjs +0 -75
  137. package/dist/index-CWlrSlUk.mjs +0 -68
  138. package/dist/index-Ckmu1TfV.mjs +0 -86
  139. package/dist/index-DwznImvK.mjs +0 -1678
  140. package/dist/index-maWH3JYC.mjs +0 -3561
  141. package/dist/styles-B2N0JLw1.mjs +0 -114
  142. package/dist/styles-B64DVBIF.mjs +0 -115
  143. package/dist/styles-BXFVwnWT.mjs +0 -133
  144. package/dist/styles-BZQOqe8p.mjs +0 -141
  145. package/dist/styles-Bdque9TT.mjs +0 -65
  146. package/dist/styles-BlHspTrz.mjs +0 -144
  147. package/dist/styles-CROOwXEH.mjs +0 -76
  148. package/dist/styles-CplEd2kw.mjs +0 -228
  149. package/dist/styles-D1eTIklB.mjs +0 -110
  150. package/dist/styles-ePGii_9g.mjs +0 -74
  151. package/dist/use-carousel-CgAF78h3.mjs +0 -23
  152. package/dist/use-click-outside-BUll8Ag-.mjs +0 -18
  153. package/dist/use-cloudinary-image-BCxwj15o.mjs +0 -1176
  154. package/dist/use-modal-CtgexKnf.mjs +0 -14
  155. package/dist/use-search-Dj47QDw9.mjs +0 -15
  156. package/dist/utils-V0EumEPM.mjs +0 -6
  157. /package/dist/assets/{index2.css → vendor.css} +0 -0
@@ -1,114 +0,0 @@
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
- };
@@ -1,115 +0,0 @@
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,133 +0,0 @@
1
- import { styled as i } from "styled-components";
2
- const a = i.div`
3
- ${({ theme: t }) => `
4
- align-items: flex-start;
5
- display: inline-flex;
6
- flex-direction: column;
7
- gap: ${t.spacing[0.25]};
8
- position: relative;
9
- width: 100%;
10
-
11
- label {
12
- color: ${t.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: ${t.typography.type.primary};
34
- font-size: ${t.typography.text.sm};
35
- font-style: normal;
36
- font-weight: ${t.typography.weight.regular};
37
- line-height: ${t.spacing[1.25]};
38
- }
39
- `}
40
- `, n = i.div`
41
- ${({ theme: t }) => `
42
- align-items: center;
43
- display: flex;
44
- border-radius: ${t.spacing[0.5]};
45
- border: 1px solid;
46
- border-color: ${t.palette.gray[300]};
47
- color: ${t.palette.gray[600]};
48
- gap: ${t.spacing[0.625]};
49
- justify-content: space-between;
50
- height: 40px;
51
- padding: ${t.spacing[0.625]} ${t.spacing[0.75]};
52
- width: 100%;
53
- white-space: nowrap;
54
-
55
- input, textarea {
56
- background: inherit;
57
- color: ${t.palette.gray[800]};
58
- cursor: inherit;
59
- outline: none;
60
- resize: none;
61
- width: 100%;
62
-
63
- &::placeholder {
64
- color: ${t.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: ${t.spacing[6]};
98
- }
99
-
100
- span:not(.action) {
101
- font-size: 14px;
102
- }
103
-
104
- &.disabled {
105
- background: ${t.palette.gray[100]};
106
- color: ${t.palette.gray[400]};
107
- cursor: not-allowed;
108
- }
109
-
110
- &.error:not(.disabled) {
111
- border: 1px solid ${t.palette.error[500]};
112
- }
113
-
114
- &:focus-within:not(.disabled, .error) {
115
- background: ${t.palette.white};
116
- border: 2px solid ${t.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: ${t.palette.white};
126
- border: 1px solid ${t.palette.gray[600]};
127
- }
128
- `}
129
- `;
130
- export {
131
- n as S,
132
- a
133
- };
@@ -1,141 +0,0 @@
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
- };
@@ -1,65 +0,0 @@
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,144 +0,0 @@
1
- import { styled as i, css as n } from "styled-components";
2
- const e = i.div`
3
- ${({ theme: t }) => `
4
- align-items: center;
5
- color: ${t.palette.gray[800]};
6
- display: flex;
7
- font-family: ${t.typography.type.primary};
8
- font-size: ${t.typography.text.sm};
9
- font-weight: ${t.typography.weight.bold};
10
- gap: ${t.spacing[0.5]};
11
- height: 40px;
12
- justify-content: center;
13
- line-height: ${t.spacing[1.25]};
14
- text-align: center;
15
- padding: ${t.spacing[0.5]} 0;
16
- width: 200px;
17
- word-spacing: ${t.spacing[0.25]};
18
-
19
- &:not(:hover) .year-selection {
20
- display: none;
21
- }
22
- `}
23
- `, s = i.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
- `, r = i.tr`
35
- align-items: flex-start;
36
- display: flex;
37
- padding: ${({ theme: t }) => t.spacing[0.25]} 0;
38
- width: 100%;
39
- `, a = n`
40
- ${({ theme: t }) => `
41
- align-items: center;
42
- color: ${t.palette.gray[800]};
43
- cursor: pointer;
44
- display: flex;
45
- flex-direction: column;
46
- font-family: ${t.typography.type.primary};
47
- font-size: ${t.typography.text.sm};
48
- font-weight: ${t.typography.weight.regular};
49
- height: ${t.spacing[2.5]};
50
- justify-content: center;
51
- line-height: ${t.spacing[1.25]};
52
- text-align: center;
53
- width: ${t.spacing[2.5]};
54
- `}
55
- `, p = i.th`
56
- ${a}
57
- `, l = i.td`
58
- ${({ theme: t }) => `
59
- ${a}
60
- height: ${t.spacing[2.5]};
61
- width: ${t.spacing[2.5]};
62
-
63
- &#range {
64
- background: ${t.palette.primary[25]};
65
- }
66
-
67
- div:not(.dot) {
68
- align-items: center;
69
- display: flex;
70
- flex-direction: column;
71
- font-size: ${t.typography.text.sm};
72
- justify-content: center;
73
- height: ${t.spacing[2.5]};
74
- line-height: ${t.spacing[1.25]};
75
- position: relative;
76
- text-align: center;
77
- width: ${t.spacing[2.5]};
78
-
79
- &:focus-visible {
80
- outline: none;
81
- }
82
-
83
- &:hover:not(.disabled, .selected, .range) {
84
- background: ${t.palette.gray[100]};
85
- }
86
-
87
- &.disabled {
88
- color: ${t.palette.gray[400]};
89
- cursor: auto;
90
- }
91
-
92
- &.selected {
93
- background: ${t.palette.primary[500]};
94
- color: ${t.palette.white};
95
- }
96
-
97
- &.focused {
98
- border: 2px solid ${t.palette.primary[500]};
99
- }
100
-
101
- &.today:not(.selected) {
102
- color: ${t.palette.primary[500]};
103
- font-weight: ${t.typography.weight.bold};
104
- }
105
- }
106
- `}
107
- `, c = i.div.attrs({ className: "dot" })`
108
- position: absolute;
109
- top: 48%;
110
-
111
- > span {
112
- font-size: 4px;
113
- }
114
- `, g = i.button`
115
- cursor: pointer;
116
- display: flex;
117
-
118
- > span {
119
- height: 3.5px;
120
- width: 7px;
121
- }
122
- `, d = i.div`
123
- ${({ theme: t }) => `
124
- align-items: end;
125
- border-top: 1px solid ${t.palette.gray[200]};
126
- display: flex;
127
- flex-direction: row-reverse;
128
- gap: ${t.spacing[0.5]};
129
- height: 44px;
130
- margin-bottom: ${t.spacing[0.25]};
131
- padding: 0 ${t.spacing[0.25]};
132
- width: 100%;
133
- `}
134
- `;
135
- export {
136
- g as C,
137
- p as D,
138
- d as F,
139
- e as T,
140
- r as W,
141
- s as Y,
142
- l as a,
143
- c as b
144
- };