snapflow-ui-kit 1.2.0 → 1.2.3

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as C, jsxs as t, Fragment as o } from "react/jsx-runtime";
2
- const n = ({ type: r = "stroke", ...l }) => /* @__PURE__ */ C(
2
+ const e = ({ type: r = "stroke", ...l }) => /* @__PURE__ */ C(
3
3
  "svg",
4
4
  {
5
5
  width: "24",
@@ -158,11 +158,47 @@ const n = ({ type: r = "stroke", ...l }) => /* @__PURE__ */ C(
158
158
  }
159
159
  ) })
160
160
  }
161
+ ), L = (r) => /* @__PURE__ */ C(
162
+ "svg",
163
+ {
164
+ width: "24",
165
+ height: "24",
166
+ viewBox: "0 0 24 24",
167
+ fill: "none",
168
+ xmlns: "http://www.w3.org/2000/svg",
169
+ ...r,
170
+ children: /* @__PURE__ */ C("g", { children: /* @__PURE__ */ C(
171
+ "path",
172
+ {
173
+ d: "M13.83 19C13.6806 19.0005 13.533 18.9675 13.398 18.9035C13.263 18.8395 13.1441 18.746 13.05 18.63L8.22001 12.63C8.07293 12.4511 7.99252 12.2266 7.99252 11.995C7.99252 11.7634 8.07293 11.5389 8.22001 11.36L13.22 5.36C13.3898 5.15578 13.6337 5.02736 13.8981 5.00298C14.1625 4.9786 14.4258 5.06026 14.63 5.23C14.8342 5.39974 14.9627 5.64365 14.987 5.90808C15.0114 6.1725 14.9297 6.43578 14.76 6.64L10.29 12L14.61 17.36C14.7323 17.5068 14.81 17.6855 14.8339 17.8751C14.8577 18.0646 14.8268 18.257 14.7448 18.4296C14.6627 18.6021 14.5329 18.7475 14.3708 18.8486C14.2087 18.9497 14.021 19.0022 13.83 19Z",
174
+ fill: "currentColor"
175
+ }
176
+ ) })
177
+ }
178
+ ), d = (r) => /* @__PURE__ */ C(
179
+ "svg",
180
+ {
181
+ width: "24",
182
+ height: "24",
183
+ viewBox: "0 0 24 24",
184
+ fill: "none",
185
+ xmlns: "http://www.w3.org/2000/svg",
186
+ ...r,
187
+ children: /* @__PURE__ */ C("g", { children: /* @__PURE__ */ C(
188
+ "path",
189
+ {
190
+ d: "M9.99999 19C9.76634 19.0005 9.5399 18.9191 9.35999 18.77C9.25873 18.6861 9.17503 18.583 9.11368 18.4666C9.05233 18.3503 9.01453 18.223 9.00245 18.092C8.99038 17.961 9.00426 17.8289 9.0433 17.7033C9.08235 17.5777 9.14579 17.4611 9.22999 17.36L13.71 12L9.38999 6.63C9.30692 6.52771 9.24489 6.41002 9.20746 6.28368C9.17003 6.15734 9.15794 6.02485 9.17187 5.89382C9.18581 5.76279 9.22551 5.63581 9.28868 5.52017C9.35186 5.40454 9.43726 5.30252 9.53999 5.22C9.64346 5.12897 9.76462 5.0603 9.89588 5.01831C10.0271 4.97632 10.1657 4.96192 10.3028 4.976C10.4399 4.99009 10.5726 5.03236 10.6925 5.10016C10.8125 5.16796 10.9172 5.25983 11 5.37L15.83 11.37C15.9771 11.5489 16.0575 11.7734 16.0575 12.005C16.0575 12.2366 15.9771 12.4611 15.83 12.64L10.83 18.64C10.7297 18.761 10.6022 18.8567 10.458 18.9192C10.3138 18.9818 10.1569 19.0095 9.99999 19Z",
191
+ fill: "currentColor"
192
+ }
193
+ ) })
194
+ }
161
195
  );
162
196
  export {
163
197
  c as A,
164
- n as C,
198
+ e as C,
165
199
  h as E,
166
- i as a
200
+ i as a,
201
+ L as b,
202
+ d as c
167
203
  };
168
- //# sourceMappingURL=ArrowDownIcon-jfp8BJVY.js.map
204
+ //# sourceMappingURL=ArrowRightIcon-D0SDyfKt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowRightIcon-D0SDyfKt.js","sources":["../src/icons/CalendarIcon/CalendarIcon.tsx","../src/icons/EyeIcon/EyeIcon.tsx","../src/icons/EyeOffIcon/EyeOffIcon.tsx","../src/icons/ArrowDownIcon/ArrowDownIcon.tsx","../src/icons/ArrowLeftIcon/ArrowLeftIcon.tsx","../src/icons/ArrowRightIcon/ArrowRightIcon.tsx"],"sourcesContent":["import { type SVGProps } from 'react'\n\ntype Props = {\n type?: 'stroke' | 'filled'\n}\n\nexport const CalendarIcon = ({ type = 'stroke', ...rest }: SVGProps<SVGSVGElement> & Props) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <g>\n {type === 'stroke' ? (\n <>\n <path\n d=\"M18 4H17V3C17 2.73478 16.8946 2.48043 16.7071 2.29289C16.5196 2.10536 16.2652 2 16 2C15.7348 2 15.4804 2.10536 15.2929 2.29289C15.1054 2.48043 15 2.73478 15 3V4H9V3C9 2.73478 8.89464 2.48043 8.70711 2.29289C8.51957 2.10536 8.26522 2 8 2C7.73478 2 7.48043 2.10536 7.29289 2.29289C7.10536 2.48043 7 2.73478 7 3V4H6C5.20435 4 4.44129 4.31607 3.87868 4.87868C3.31607 5.44129 3 6.20435 3 7V19C3 19.7956 3.31607 20.5587 3.87868 21.1213C4.44129 21.6839 5.20435 22 6 22H18C18.7956 22 19.5587 21.6839 20.1213 21.1213C20.6839 20.5587 21 19.7956 21 19V7C21 6.20435 20.6839 5.44129 20.1213 4.87868C19.5587 4.31607 18.7956 4 18 4ZM6 6H7V7C7 7.26522 7.10536 7.51957 7.29289 7.70711C7.48043 7.89464 7.73478 8 8 8C8.26522 8 8.51957 7.89464 8.70711 7.70711C8.89464 7.51957 9 7.26522 9 7V6H15V7C15 7.26522 15.1054 7.51957 15.2929 7.70711C15.4804 7.89464 15.7348 8 16 8C16.2652 8 16.5196 7.89464 16.7071 7.70711C16.8946 7.51957 17 7.26522 17 7V6H18C18.2652 6 18.5196 6.10536 18.7071 6.29289C18.8946 6.48043 19 6.73478 19 7V11H5V7C5 6.73478 5.10536 6.48043 5.29289 6.29289C5.48043 6.10536 5.73478 6 6 6ZM18 20H6C5.73478 20 5.48043 19.8946 5.29289 19.7071C5.10536 19.5196 5 19.2652 5 19V13H19V19C19 19.2652 18.8946 19.5196 18.7071 19.7071C18.5196 19.8946 18.2652 20 18 20Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M8 17C8.55228 17 9 16.5523 9 16C9 15.4477 8.55228 15 8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M16 15H12C11.7348 15 11.4804 15.1054 11.2929 15.2929C11.1054 15.4804 11 15.7348 11 16C11 16.2652 11.1054 16.5196 11.2929 16.7071C11.4804 16.8946 11.7348 17 12 17H16C16.2652 17 16.5196 16.8946 16.7071 16.7071C16.8946 16.5196 17 16.2652 17 16C17 15.7348 16.8946 15.4804 16.7071 15.2929C16.5196 15.1054 16.2652 15 16 15Z\"\n fill=\"currentColor\"\n />\n </>\n ) : (\n <path\n d=\"M18 4H17V3C17 2.73478 16.8946 2.48043 16.7071 2.29289C16.5196 2.10536 16.2652 2 16 2C15.7348 2 15.4804 2.10536 15.2929 2.29289C15.1054 2.48043 15 2.73478 15 3V4H9V3C9 2.73478 8.89464 2.48043 8.70711 2.29289C8.51957 2.10536 8.26522 2 8 2C7.73478 2 7.48043 2.10536 7.29289 2.29289C7.10536 2.48043 7 2.73478 7 3V4H6C5.20435 4 4.44129 4.31607 3.87868 4.87868C3.31607 5.44129 3 6.20435 3 7V19C3 19.7956 3.31607 20.5587 3.87868 21.1213C4.44129 21.6839 5.20435 22 6 22H18C18.7956 22 19.5587 21.6839 20.1213 21.1213C20.6839 20.5587 21 19.7956 21 19V7C21 6.20435 20.6839 5.44129 20.1213 4.87868C19.5587 4.31607 18.7956 4 18 4ZM8 17C7.80222 17 7.60888 16.9414 7.44443 16.8315C7.27998 16.7216 7.15181 16.5654 7.07612 16.3827C7.00043 16.2 6.98063 15.9989 7.01921 15.8049C7.0578 15.6109 7.15304 15.4327 7.29289 15.2929C7.43275 15.153 7.61093 15.0578 7.80491 15.0192C7.99889 14.9806 8.19996 15.0004 8.38268 15.0761C8.56541 15.1518 8.72159 15.28 8.83147 15.4444C8.94135 15.6089 9 15.8022 9 16C9 16.2652 8.89464 16.5196 8.70711 16.7071C8.51957 16.8946 8.26522 17 8 17ZM16 17H12C11.7348 17 11.4804 16.8946 11.2929 16.7071C11.1054 16.5196 11 16.2652 11 16C11 15.7348 11.1054 15.4804 11.2929 15.2929C11.4804 15.1054 11.7348 15 12 15H16C16.2652 15 16.5196 15.1054 16.7071 15.2929C16.8946 15.4804 17 15.7348 17 16C17 16.2652 16.8946 16.5196 16.7071 16.7071C16.5196 16.8946 16.2652 17 16 17ZM19 11H5V7C5 6.73478 5.10536 6.48043 5.29289 6.29289C5.48043 6.10536 5.73478 6 6 6H7V7C7 7.26522 7.10536 7.51957 7.29289 7.70711C7.48043 7.89464 7.73478 8 8 8C8.26522 8 8.51957 7.89464 8.70711 7.70711C8.89464 7.51957 9 7.26522 9 7V6H15V7C15 7.26522 15.1054 7.51957 15.2929 7.70711C15.4804 7.89464 15.7348 8 16 8C16.2652 8 16.5196 7.89464 16.7071 7.70711C16.8946 7.51957 17 7.26522 17 7V6H18C18.2652 6 18.5196 6.10536 18.7071 6.29289C18.8946 6.48043 19 6.73478 19 7V11Z\"\n fill=\"currentColor\"\n />\n )}\n </g>\n </svg>\n )\n}\n","import { type SVGProps } from 'react'\n\ntype Props = {\n type?: 'stroke' | 'filled'\n}\n\nexport const EyeIcon = ({ type = 'stroke', ...rest }: SVGProps<SVGSVGElement> & Props) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <g>\n {type === 'stroke' ? (\n <>\n <path\n d=\"M21.87 11.5C21.23 10.39 17.71 4.81999 11.73 4.99999C6.20001 5.13999 3.00001 9.99999 2.13001 11.5C2.04224 11.652 1.99603 11.8245 1.99603 12C1.99603 12.1755 2.04224 12.348 2.13001 12.5C2.76001 13.59 6.13001 19 12.02 19H12.27C17.8 18.86 21.01 14 21.87 12.5C21.9578 12.348 22.004 12.1755 22.004 12C22.004 11.8245 21.9578 11.652 21.87 11.5ZM12.22 17C7.91001 17.1 5.10001 13.41 4.22001 12C5.22001 10.39 7.83001 7.09999 11.83 6.99999C16.12 6.88999 18.94 10.59 19.83 12C18.8 13.61 16.22 16.9 12.22 17Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M12 8.5C11.3078 8.5 10.6311 8.70527 10.0555 9.08986C9.47993 9.47444 9.03133 10.0211 8.76642 10.6606C8.50152 11.3001 8.4322 12.0039 8.56725 12.6828C8.7023 13.3618 9.03564 13.9854 9.52513 14.4749C10.0146 14.9644 10.6383 15.2977 11.3172 15.4327C11.9961 15.5678 12.6999 15.4985 13.3394 15.2336C13.9789 14.9687 14.5256 14.5201 14.9101 13.9445C15.2947 13.3689 15.5 12.6922 15.5 12C15.5 11.0717 15.1313 10.1815 14.4749 9.52513C13.8185 8.86875 12.9283 8.5 12 8.5ZM12 13.5C11.7033 13.5 11.4133 13.412 11.1666 13.2472C10.92 13.0824 10.7277 12.8481 10.6142 12.574C10.5007 12.2999 10.4709 11.9983 10.5288 11.7074C10.5867 11.4164 10.7296 11.1491 10.9393 10.9393C11.1491 10.7296 11.4164 10.5867 11.7074 10.5288C11.9983 10.4709 12.2999 10.5006 12.574 10.6142C12.8481 10.7277 13.0824 10.92 13.2472 11.1666C13.412 11.4133 13.5 11.7033 13.5 12C13.5 12.3978 13.342 12.7794 13.0607 13.0607C12.7794 13.342 12.3978 13.5 12 13.5Z\"\n fill=\"currentColor\"\n />\n </>\n ) : (\n <>\n <path\n d=\"M12 13.5C12.8284 13.5 13.5 12.8284 13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M21.87 11.5C21.23 10.39 17.71 4.81999 11.73 4.99999C6.20001 5.13999 3.00001 9.99999 2.13001 11.5C2.04224 11.652 1.99603 11.8245 1.99603 12C1.99603 12.1755 2.04224 12.348 2.13001 12.5C2.76001 13.59 6.13001 19 12.02 19H12.27C17.8 18.86 21.01 14 21.87 12.5C21.9578 12.348 22.004 12.1755 22.004 12C22.004 11.8245 21.9578 11.652 21.87 11.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47994 14.5256 9.03134 13.9789 8.76643 13.3394C8.50152 12.6998 8.43221 11.9961 8.56726 11.3172C8.70231 10.6382 9.03565 10.0146 9.52513 9.52512C10.0146 9.03564 10.6383 8.70229 11.3172 8.56724C11.9961 8.4322 12.6999 8.50151 13.3394 8.76641C13.9789 9.03132 14.5256 9.47993 14.9102 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1312 12.9283 15.5 12 15.5Z\"\n fill=\"currentColor\"\n />\n </>\n )}\n </g>\n </svg>\n )\n}\n","import { type SVGProps } from 'react'\n\ntype Props = {\n type?: 'stroke' | 'filled'\n}\n\nexport const EyeOffIcon = ({ type = 'stroke', ...rest }: SVGProps<SVGSVGElement> & Props) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <g>\n {type === 'stroke' ? (\n <>\n <path\n d=\"M4.71 3.29C4.61676 3.19676 4.50607 3.1228 4.38425 3.07234C4.26243 3.02188 4.13186 2.99591 4 2.99591C3.86814 2.99591 3.73758 3.02188 3.61575 3.07234C3.49393 3.1228 3.38324 3.19676 3.29 3.29C3.1017 3.47831 2.99591 3.7337 2.99591 4C2.99591 4.2663 3.1017 4.5217 3.29 4.71L8.92 10.34C8.56381 11.0026 8.43059 11.7624 8.54009 12.5067C8.64959 13.2509 8.99599 13.9401 9.52794 14.4721C10.0599 15.004 10.7491 15.3504 11.4934 15.4599C12.2376 15.5694 12.9974 15.4362 13.66 15.08L19.29 20.71C19.383 20.8037 19.4936 20.8781 19.6154 20.9289C19.7373 20.9797 19.868 21.0058 20 21.0058C20.132 21.0058 20.2627 20.9797 20.3846 20.9289C20.5064 20.8781 20.617 20.8037 20.71 20.71C20.8037 20.617 20.8781 20.5064 20.9289 20.3846C20.9797 20.2627 21.0058 20.132 21.0058 20C21.0058 19.868 20.9797 19.7373 20.9289 19.6154C20.8781 19.4936 20.8037 19.383 20.71 19.29L4.71 3.29ZM12 13.5C11.6022 13.5 11.2206 13.342 10.9393 13.0607C10.658 12.7794 10.5 12.3978 10.5 12V11.93L12.06 13.49L12 13.5Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M12.22 17C7.92001 17.1 5.10001 13.41 4.22001 12C4.84648 11.0007 5.59937 10.0865 6.46001 9.28L5.00001 7.87C3.87133 8.93347 2.90442 10.1564 2.13001 11.5C2.04224 11.652 1.99603 11.8245 1.99603 12C1.99603 12.1755 2.04224 12.348 2.13001 12.5C2.76001 13.59 6.13001 19 12.02 19H12.27C13.3776 18.9671 14.4708 18.7404 15.5 18.33L13.92 16.75C13.3644 16.8962 12.7942 16.98 12.22 17Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M21.87 11.5C21.23 10.39 17.7 4.82 11.73 5C10.6225 5.03285 9.52924 5.25962 8.5 5.67L10.08 7.25C10.6356 7.10383 11.2058 7.01998 11.78 7C16.07 6.89 18.89 10.59 19.78 12C19.1381 13.0023 18.3682 13.9167 17.49 14.72L19 16.13C20.1428 15.0693 21.1234 13.8462 21.91 12.5C21.9918 12.3445 22.0311 12.1702 22.0241 11.9946C22.0171 11.8191 21.9639 11.6485 21.87 11.5Z\"\n fill=\"currentColor\"\n />\n </>\n ) : (\n <>\n <path\n d=\"M12 13.5C12.8284 13.5 13.5 12.8284 13.5 12C13.5 11.1716 12.8284 10.5 12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M15.29 18.12L14 16.78L13.93 16.71L12.66 15.44C12.4585 15.4753 12.2546 15.4954 12.05 15.5C11.5862 15.5066 11.1257 15.421 10.6953 15.2481C10.2648 15.0751 9.87307 14.8184 9.54275 14.4927C9.21243 14.1671 8.95014 13.779 8.77113 13.351C8.59212 12.9231 8.49996 12.4639 8.50001 12C8.50465 11.7955 8.5247 11.5915 8.56001 11.39L6.56001 9.39L5.00001 7.87C3.87133 8.93347 2.90442 10.1564 2.13001 11.5C2.04224 11.652 1.99603 11.8245 1.99603 12C1.99603 12.1755 2.04224 12.348 2.13001 12.5C2.76001 13.59 6.13001 19 12.02 19H12.27C13.3776 18.9671 14.4708 18.7404 15.5 18.33L15.29 18.12Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M8.59 5.76L11.39 8.56C11.5915 8.5247 11.7954 8.50464 12 8.5C12.9283 8.5 13.8185 8.86875 14.4749 9.52513C15.1313 10.1815 15.5 11.0717 15.5 12C15.4954 12.2046 15.4753 12.4085 15.44 12.61L18.12 15.29L18.96 16.13C20.1028 15.0693 21.0834 13.8462 21.87 12.5C21.9578 12.348 22.004 12.1755 22.004 12C22.004 11.8245 21.9578 11.652 21.87 11.5C21.23 10.39 17.71 4.82 11.73 5C10.6225 5.03285 9.52924 5.25962 8.5 5.67L8.59 5.76Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M20.71 19.29L19.41 18L17.41 16L7.89 6.47L6.42 5L4.71 3.29C4.61676 3.19676 4.50607 3.1228 4.38425 3.07234C4.26243 3.02188 4.13186 2.99591 4 2.99591C3.86814 2.99591 3.73758 3.02188 3.61575 3.07234C3.49393 3.1228 3.38324 3.19676 3.29 3.29C3.1017 3.47831 2.99591 3.7337 2.99591 4C2.99591 4.2663 3.1017 4.5217 3.29 4.71L5.53 7L7.28 8.7L14.59 16L14.66 16.07L16 17.41L16.59 18L19.29 20.71C19.383 20.8037 19.4936 20.8781 19.6154 20.9289C19.7373 20.9797 19.868 21.0058 20 21.0058C20.132 21.0058 20.2627 20.9797 20.3846 20.9289C20.5064 20.8781 20.617 20.8037 20.71 20.71C20.8037 20.617 20.8781 20.5064 20.9289 20.3846C20.9797 20.2627 21.0058 20.132 21.0058 20C21.0058 19.868 20.9797 19.7373 20.9289 19.6154C20.8781 19.4936 20.8037 19.383 20.71 19.29Z\"\n fill=\"currentColor\"\n />\n </>\n )}\n </g>\n </svg>\n )\n}\n","import { type SVGProps } from 'react'\n\nexport const ArrowDownIcon = (props: SVGProps<SVGSVGElement>) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g>\n <path\n d=\"M5.51416 9.45842C5.5137 9.22477 5.59508 8.99834 5.74416 8.81842C5.82811 8.71717 5.93121 8.63346 6.04756 8.57211C6.1639 8.51076 6.29121 8.47296 6.42219 8.46089C6.55316 8.44881 6.68524 8.46269 6.81084 8.50174C6.93644 8.54078 7.05311 8.60422 7.15416 8.68842L12.5142 13.1684L17.8842 8.84843C17.9864 8.76536 18.1041 8.70333 18.2305 8.6659C18.3568 8.62846 18.4893 8.61637 18.6203 8.63031C18.7514 8.64425 18.8784 8.68395 18.994 8.74712C19.1096 8.81029 19.2116 8.8957 19.2942 8.99843C19.3852 9.10189 19.4539 9.22306 19.4959 9.35432C19.5378 9.48558 19.5522 9.62411 19.5382 9.7612C19.5241 9.89829 19.4818 10.031 19.414 10.151C19.3462 10.271 19.2543 10.3756 19.1442 10.4584L13.1442 15.2884C12.9652 15.4355 12.7408 15.5159 12.5092 15.5159C12.2775 15.5159 12.0531 15.4355 11.8742 15.2884L5.87416 10.2884C5.75314 10.1881 5.65748 10.0607 5.59493 9.91646C5.53238 9.77225 5.50471 9.61533 5.51416 9.45842Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n )\n}\n","import { type SVGProps } from 'react'\n\nexport const ArrowLeftIcon = (props: SVGProps<SVGSVGElement>) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g>\n <path\n d=\"M13.83 19C13.6806 19.0005 13.533 18.9675 13.398 18.9035C13.263 18.8395 13.1441 18.746 13.05 18.63L8.22001 12.63C8.07293 12.4511 7.99252 12.2266 7.99252 11.995C7.99252 11.7634 8.07293 11.5389 8.22001 11.36L13.22 5.36C13.3898 5.15578 13.6337 5.02736 13.8981 5.00298C14.1625 4.9786 14.4258 5.06026 14.63 5.23C14.8342 5.39974 14.9627 5.64365 14.987 5.90808C15.0114 6.1725 14.9297 6.43578 14.76 6.64L10.29 12L14.61 17.36C14.7323 17.5068 14.81 17.6855 14.8339 17.8751C14.8577 18.0646 14.8268 18.257 14.7448 18.4296C14.6627 18.6021 14.5329 18.7475 14.3708 18.8486C14.2087 18.9497 14.021 19.0022 13.83 19Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n )\n}\n","import { type SVGProps } from 'react'\n\nexport const ArrowRightIcon = (props: SVGProps<SVGSVGElement>) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g>\n <path\n d=\"M9.99999 19C9.76634 19.0005 9.5399 18.9191 9.35999 18.77C9.25873 18.6861 9.17503 18.583 9.11368 18.4666C9.05233 18.3503 9.01453 18.223 9.00245 18.092C8.99038 17.961 9.00426 17.8289 9.0433 17.7033C9.08235 17.5777 9.14579 17.4611 9.22999 17.36L13.71 12L9.38999 6.63C9.30692 6.52771 9.24489 6.41002 9.20746 6.28368C9.17003 6.15734 9.15794 6.02485 9.17187 5.89382C9.18581 5.76279 9.22551 5.63581 9.28868 5.52017C9.35186 5.40454 9.43726 5.30252 9.53999 5.22C9.64346 5.12897 9.76462 5.0603 9.89588 5.01831C10.0271 4.97632 10.1657 4.96192 10.3028 4.976C10.4399 4.99009 10.5726 5.03236 10.6925 5.10016C10.8125 5.16796 10.9172 5.25983 11 5.37L15.83 11.37C15.9771 11.5489 16.0575 11.7734 16.0575 12.005C16.0575 12.2366 15.9771 12.4611 15.83 12.64L10.83 18.64C10.7297 18.761 10.6022 18.8567 10.458 18.9192C10.3138 18.9818 10.1569 19.0095 9.99999 19Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n )\n}\n"],"names":["CalendarIcon","type","rest","jsx","jsxs","Fragment","EyeIcon","EyeOffIcon","ArrowDownIcon","props","ArrowLeftIcon","ArrowRightIcon"],"mappings":";AAMO,MAAMA,IAAe,CAAC,EAAE,MAAAC,IAAO,UAAU,GAAGC,QAE/C,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACL,GAAGD;AAAA,IAEJ,UAAA,gBAAAC,EAAC,KAAA,EACE,UAAAF,MAAS,WACR,gBAAAG,EAAAC,GAAA,EACE,UAAA;AAAA,MAAA,gBAAAF;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,MAEP,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,MAEP,gBAAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACP,EAAA,CACF,IAEA,gBAAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAK;AAAA,MAAA;AAAA,IAAA,EACP,CAEJ;AAAA,EAAA;AAAA,GChCOG,IAAU,CAAC,EAAE,MAAAL,IAAO,UAAU,GAAGC,QAE1C,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AA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AE3B,gBAAAN;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,MAAK;AAAA,IACL,OAAM;AAAA,IACL,GAAGM;AAAA,IAEJ,4BAAC,KAAA,EACC,UAAA,gBAAAN;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAK;AAAA,MAAA;AAAA,IAAA,EACP,CACF;AAAA,EAAA;AAAA;"}
@@ -0,0 +1,179 @@
1
+ import { jsxs as o, jsx as a, Fragment as $ } from "react/jsx-runtime";
2
+ import v, { clsx as _ } from "clsx";
3
+ import { C as g } from "./CloseIcon-CqK3tPnG.js";
4
+ import { forwardRef as k, useId as S } from "react";
5
+ const C = "_alert_5jfpm_1", B = "_content_5jfpm_15", E = "_error_5jfpm_22", I = "_success_5jfpm_28", T = "_closeButton_5jfpm_33", z = "_message_5jfpm_39", O = "_title_5jfpm_40", W = "_toastEnter_5jfpm_50", R = "_toastExit_5jfpm_54", i = {
6
+ alert: C,
7
+ content: B,
8
+ error: E,
9
+ success: I,
10
+ closeButton: T,
11
+ message: z,
12
+ title: O,
13
+ toastEnter: W,
14
+ "fade-in": "_fade-in_5jfpm_1",
15
+ toastExit: R,
16
+ "fade-out": "_fade-out_5jfpm_1"
17
+ }, gt = ({
18
+ variant: s = "error",
19
+ title: t,
20
+ message: n,
21
+ className: c,
22
+ onClose: e
23
+ }) => /* @__PURE__ */ o("div", { className: v(i.alert, i[s], c), role: "alert", children: [
24
+ /* @__PURE__ */ o("div", { className: i.content, children: [
25
+ t && /* @__PURE__ */ a("div", { className: i.title, children: t }),
26
+ /* @__PURE__ */ a("div", { className: i.message, children: n })
27
+ ] }),
28
+ e && /* @__PURE__ */ a("button", { type: "button", className: i.closeButton, onClick: e, "aria-label": "Close alert", children: /* @__PURE__ */ a(g, {}) })
29
+ ] }), A = "_button_19cd4_1", F = "_primary_19cd4_26", L = "_secondary_19cd4_49", w = "_outlined_19cd4_72", P = "_text_19cd4_98", D = "_icon_19cd4_118", x = {
30
+ button: A,
31
+ primary: F,
32
+ secondary: L,
33
+ outlined: w,
34
+ text: P,
35
+ icon: D
36
+ }, kt = (s) => {
37
+ const { as: t = "button", className: n, variant: c = "primary", icon: e, ...l } = s, r = _(x.button, x[c], n), { children: u, ...b } = l;
38
+ return /* @__PURE__ */ o(t, { className: r, ...b, children: [
39
+ e && /* @__PURE__ */ a("span", { className: x.icon, children: e }),
40
+ u
41
+ ] });
42
+ }, G = "_card_1ah7i_1", H = {
43
+ card: G
44
+ }, St = ({ className: s, children: t, ...n }) => /* @__PURE__ */ a("div", { className: _(H.card, s), ...n, children: t }), J = "_checkbox_1q28z_1", K = "_input_1q28z_11", M = "_labelSpan_1q28z_16", Q = "_control_1q28z_23", m = {
45
+ checkbox: J,
46
+ input: K,
47
+ labelSpan: M,
48
+ control: Q
49
+ }, Ct = ({ children: s, className: t, checked: n, onChange: c, ...e }) => /* @__PURE__ */ o("label", { className: _(m.checkbox, t), children: [
50
+ /* @__PURE__ */ a("input", { type: "checkbox", className: m.input, checked: n, onChange: c, ...e }),
51
+ /* @__PURE__ */ a("span", { className: m.control }),
52
+ s && /* @__PURE__ */ a("span", { className: m.labelSpan, children: s })
53
+ ] }), U = "_typography_18u05_1", V = "_icon_18u05_8", X = "_large_18u05_14", Y = "_h1_18u05_20", Z = "_h2_18u05_26", tt = "_h3_18u05_32", et = "_small_18u05_68", st = "_link_18u05_80", y = {
54
+ typography: U,
55
+ icon: V,
56
+ large: X,
57
+ h1: Y,
58
+ h2: Z,
59
+ h3: tt,
60
+ "text-16": "_text-16_18u05_38",
61
+ "text-16-bold": "_text-16-bold_18u05_44",
62
+ "text-14": "_text-14_18u05_50",
63
+ "text-14-bold": "_text-14-bold_18u05_56",
64
+ "text-14-medium": "_text-14-medium_18u05_62",
65
+ small: et,
66
+ "small-semibold": "_small-semibold_18u05_74",
67
+ link: st,
68
+ "small-link": "_small-link_18u05_89"
69
+ }, at = (s) => {
70
+ const { as: t = "span", children: n, className: c, icon: e, variant: l, ...r } = s;
71
+ return /* @__PURE__ */ o(t, { className: _(y.typography, y[l], c), ...r, children: [
72
+ e && /* @__PURE__ */ a("span", { className: y.icon, children: e }),
73
+ n
74
+ ] });
75
+ }, nt = "_label_ndvr9_1", ct = "_required_ndvr9_5", rt = "_srOnly_ndvr9_10", N = {
76
+ label: nt,
77
+ required: ct,
78
+ srOnly: rt
79
+ }, Bt = ({
80
+ text: s,
81
+ textVariant: t = "text-14-medium",
82
+ required: n = !1,
83
+ color: c,
84
+ className: e,
85
+ htmlFor: l,
86
+ ...r
87
+ }) => /* @__PURE__ */ o(
88
+ at,
89
+ {
90
+ as: "label",
91
+ variant: t,
92
+ className: v(N.label, e),
93
+ htmlFor: l,
94
+ style: c ? { color: c } : void 0,
95
+ ...r,
96
+ children: [
97
+ s,
98
+ n && /* @__PURE__ */ o($, { children: [
99
+ /* @__PURE__ */ a("span", { className: N.required, "aria-hidden": "true", children: "*" }),
100
+ /* @__PURE__ */ a("span", { className: N.srOnly, children: " (required)" })
101
+ ] })
102
+ ]
103
+ }
104
+ ), ot = "_radio_10hqy_1", lt = "_input_10hqy_12", _t = "_labelSpan_10hqy_18", dt = "_control_10hqy_26", p = {
105
+ radio: ot,
106
+ input: lt,
107
+ labelSpan: _t,
108
+ control: dt
109
+ }, Et = ({ children: s, className: t, checked: n, onChange: c, ...e }) => /* @__PURE__ */ o("label", { className: _(p.radio, t), children: [
110
+ /* @__PURE__ */ a("input", { type: "radio", className: p.input, checked: n, onChange: c, ...e }),
111
+ /* @__PURE__ */ a("span", { className: p.control }),
112
+ s && /* @__PURE__ */ a("span", { className: p.labelSpan, children: s })
113
+ ] }), it = "_tab_78cv0_1", mt = "_selected_78cv0_21", f = {
114
+ tab: it,
115
+ selected: mt
116
+ }, It = (s) => {
117
+ const { children: t, selected: n = !1, className: c, disabled: e = !1, ...l } = s, r = _(f.tab, n && f.selected, e && f.disabled, c);
118
+ return /* @__PURE__ */ a(
119
+ "button",
120
+ {
121
+ type: "button",
122
+ role: "tab",
123
+ className: r,
124
+ disabled: e,
125
+ tabIndex: e ? -1 : 0,
126
+ "aria-selected": n,
127
+ "aria-disabled": e,
128
+ ...l,
129
+ children: t
130
+ }
131
+ );
132
+ }, pt = "_textareaWrapper_jdpdm_1", ut = "_label_jdpdm_7", bt = "_disabled_jdpdm_14", ht = "_textarea_jdpdm_1", xt = "_errorState_jdpdm_50", yt = "_errorMessage_jdpdm_56", Nt = "_required_jdpdm_63", d = {
133
+ textareaWrapper: pt,
134
+ label: ut,
135
+ disabled: bt,
136
+ textarea: ht,
137
+ errorState: xt,
138
+ errorMessage: yt,
139
+ required: Nt
140
+ }, ft = k(
141
+ ({ label: s, errorMessage: t, id: n, className: c, disabled: e, minHeight: l = 84, required: r, ...u }, b) => {
142
+ const q = S(), h = n ?? q, j = t ? `${h}-error` : void 0;
143
+ return /* @__PURE__ */ o("div", { className: _(d.textareaWrapper, c), children: [
144
+ s && /* @__PURE__ */ o("label", { htmlFor: h, className: _(d.label, { [d.disabled]: e }), children: [
145
+ s,
146
+ r && /* @__PURE__ */ a("sup", { className: d.required, children: " *" })
147
+ ] }),
148
+ /* @__PURE__ */ a(
149
+ "textarea",
150
+ {
151
+ ref: b,
152
+ id: h,
153
+ className: _(d.textarea, { [d.errorState]: !!t }),
154
+ "aria-invalid": !!t,
155
+ "aria-describedby": j,
156
+ required: r,
157
+ disabled: e,
158
+ style: { minHeight: l },
159
+ ...u
160
+ }
161
+ ),
162
+ t && /* @__PURE__ */ a("span", { id: j, role: "alert", className: d.errorMessage, children: t })
163
+ ] });
164
+ }
165
+ );
166
+ ft.displayName = "Textarea";
167
+ export {
168
+ gt as A,
169
+ kt as B,
170
+ St as C,
171
+ Bt as L,
172
+ Et as R,
173
+ It as T,
174
+ Ct as a,
175
+ ft as b,
176
+ at as c,
177
+ i as s
178
+ };
179
+ //# sourceMappingURL=Textarea-6m6FiIv5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea-D5WrCGtg.js","sources":["../src/components/Alert/Alert.tsx","../src/components/Button/Button.tsx","../src/components/Card/Card.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Typography/Typography.tsx","../src/components/Label/Label.tsx","../src/components/Radio/Radio.tsx","../src/components/Tab/Tab.tsx","../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { FC } from 'react'\nimport clsx from 'clsx'\n\nimport s from './Alert.module.css'\nimport { CloseIcon } from '@/icons'\nimport type { AlertProps } from './Alert.types'\n\nexport const Alert: FC<AlertProps> = ({\n variant = 'error',\n title,\n message,\n className,\n onClose,\n}) => {\n return (\n <div className={clsx(s.alert, s[variant], className)} role=\"alert\">\n <div className={s.content}>\n {title && <div className={s.title}>{title}</div>}\n <div className={s.message}>{message}</div>\n </div>\n\n {onClose && (\n <button type=\"button\" className={s.closeButton} onClick={onClose} aria-label=\"Close alert\">\n <CloseIcon />\n </button>\n )}\n </div>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Button.module.css'\nimport { ButtonProps } from './Button.types'\n\nexport const Button = <T extends ElementType = 'button'>(props: ButtonProps<T>) => {\n const { as: Component = 'button', className, variant = 'primary', icon, ...rest } = props\n const classes = clsx(s.button, s[variant], className)\n const { children, ...componentProps } = rest\n\n return (\n <Component className={classes} {...componentProps}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Card.module.css'\nimport { CardProps } from './Card.types'\n\nexport const Card = ({ className, children, ...rest }: CardProps) => {\n return (\n <div className={clsx(s.card, className)} {...rest}>\n {children}\n </div>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Checkbox.module.css'\nimport { CheckboxProps } from './Checkbox.types'\n\nexport const Checkbox = ({ children, className, checked, onChange, ...rest }: CheckboxProps) => {\n return (\n <label className={clsx(s.checkbox, className)}>\n <input type=\"checkbox\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Typography.module.css'\nimport { TypographyProps } from './Typography.types'\n\nexport const Typography = <T extends ElementType = 'span'>(props: TypographyProps<T>) => {\n const { as: Component = 'span', children, className, icon, variant, ...rest } = props\n\n return (\n <Component className={clsx(s.typography, s[variant], className)} {...rest}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import clsx from 'clsx'\nimport { Typography } from '../Typography'\nimport s from './Label.module.css'\nimport { LabelProps } from './Label.types'\n\nexport const Label = ({\n text,\n textVariant = 'text-14-medium',\n required = false,\n color,\n className,\n htmlFor,\n ...rest\n}: LabelProps) => {\n return (\n <Typography\n as=\"label\"\n variant={textVariant}\n className={clsx(s.label, className)}\n htmlFor={htmlFor}\n style={color ? { color } : undefined}\n {...rest}\n >\n {text}\n {required && (\n <>\n <span className={s.required} aria-hidden=\"true\">\n *\n </span>\n <span className={s.srOnly}> (required)</span>\n </>\n )}\n </Typography>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Radio.module.css'\nimport { RadioProps } from './Radio.types'\n\nexport const Radio = ({ children, className, checked, onChange, ...rest }: RadioProps) => {\n return (\n <label className={clsx(s.radio, className)}>\n <input type=\"radio\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Tab.module.css'\nimport type { TabProps } from './Tab.types'\n\nexport const Tab = (props: TabProps) => {\n const { children, selected = false, className, disabled = false, ...rest } = props\n\n const tabClasses = clsx(s.tab, selected && s.selected, disabled && s.disabled, className)\n\n return (\n <button\n type=\"button\"\n role=\"tab\"\n className={tabClasses}\n disabled={disabled}\n tabIndex={disabled ? -1 : 0}\n aria-selected={selected}\n aria-disabled={disabled}\n {...rest}\n >\n {children}\n </button>\n )\n}\n","'use client'\n\nimport { forwardRef, useId } from 'react'\nimport { clsx } from 'clsx'\n\nimport s from './Textarea.module.css'\nimport type { TextareaProps } from './Textarea.types'\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ label, errorMessage, id, className, disabled, minHeight = 84, required, ...rest }, ref) => {\n const generatedId = useId()\n const textareaId = id ?? generatedId\n const errorId = errorMessage ? `${textareaId}-error` : undefined\n\n return (\n <div className={clsx(s.textareaWrapper, className)}>\n {label && (\n <label htmlFor={textareaId} className={clsx(s.label, { [s.disabled]: disabled })}>\n {label}\n {required && <sup className={s.required}> *</sup>}\n </label>\n )}\n\n <textarea\n ref={ref}\n id={textareaId}\n className={clsx(s.textarea, { [s.errorState]: !!errorMessage })}\n aria-invalid={!!errorMessage}\n aria-describedby={errorId}\n required={required}\n disabled={disabled}\n style={{ minHeight }}\n {...rest}\n />\n\n {errorMessage && (\n <span id={errorId} role=\"alert\" className={s.errorMessage}>\n {errorMessage}\n </span>\n )}\n </div>\n )\n },\n)\n\nTextarea.displayName = 'Textarea'\n"],"names":["Alert","variant","title","message","className","onClose","jsxs","clsx","s","jsx","CloseIcon","Button","props","Component","icon","rest","classes","children","componentProps","Card","Checkbox","checked","onChange","Typography","Label","text","textVariant","required","color","htmlFor","Fragment","Radio","Tab","selected","disabled","tabClasses","Textarea","forwardRef","label","errorMessage","id","minHeight","ref","generatedId","useId","textareaId","errorId"],"mappings":";;;;;;;;;;;;;;;;GAOaA,KAAwB,CAAC;AAAA,EACpC,SAAAC,IAAU;AAAA,EACV,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AACF,MAEI,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAKC,EAAE,OAAOA,EAAEP,CAAO,GAAGG,CAAS,GAAG,MAAK,SACzD,UAAA;AAAA,EAAA,gBAAAE,EAAC,OAAA,EAAI,WAAWE,EAAE,SACf,UAAA;AAAA,IAAAN,KAAS,gBAA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ACC,gBAAAhC,EAAC,SAAA,EAAM,SAASuC,GAAY,WAAWtC,EAAKC,EAAE,OAAO,EAAE,CAACA,EAAE,QAAQ,GAAG0B,EAAA,CAAU,GAC5E,UAAA;AAAA,QAAAI;AAAA,QACAX,KAAY,gBAAAlB,EAAC,OAAA,EAAI,WAAWD,EAAE,UAAU,UAAA,KAAA,CAAE;AAAA,MAAA,GAC7C;AAAA,MAGF,gBAAAC;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAAiC;AAAA,UACA,IAAIG;AAAA,UACJ,WAAWtC,EAAKC,EAAE,UAAU,EAAE,CAACA,EAAE,UAAU,GAAG,CAAC,CAAC+B,GAAc;AAAA,UAC9D,gBAAc,CAAC,CAACA;AAAA,UAChB,oBAAkBO;AAAA,UAClB,UAAAnB;AAAA,UACA,UAAAO;AAAA,UACA,OAAO,EAAE,WAAAO,EAAA;AAAA,UACR,GAAG1B;AAAA,QAAA;AAAA,MAAA;AAAA,MAGLwB,KACC,gBAAA9B,EAAC,QAAA,EAAK,IAAIqC,GAAS,MAAK,SAAQ,WAAWtC,EAAE,cAC1C,UAAA+B,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,EAEJ;AACF;AAEAH,GAAS,cAAc;"}
1
+ {"version":3,"file":"Textarea-6m6FiIv5.js","sources":["../src/components/Alert/Alert.tsx","../src/components/Button/Button.tsx","../src/components/Card/Card.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Typography/Typography.tsx","../src/components/Label/Label.tsx","../src/components/Radio/Radio.tsx","../src/components/Tab/Tab.tsx","../src/components/Textarea/Textarea.tsx"],"sourcesContent":["import { FC } from 'react'\nimport clsx from 'clsx'\n\nimport s from './Alert.module.css'\nimport { CloseIcon } from '@/icons'\nimport type { AlertProps } from './Alert.types'\n\nexport const Alert: FC<AlertProps> = ({\n variant = 'error',\n title,\n message,\n className,\n onClose,\n}) => {\n return (\n <div className={clsx(s.alert, s[variant], className)} role=\"alert\">\n <div className={s.content}>\n {title && <div className={s.title}>{title}</div>}\n <div className={s.message}>{message}</div>\n </div>\n\n {onClose && (\n <button type=\"button\" className={s.closeButton} onClick={onClose} aria-label=\"Close alert\">\n <CloseIcon />\n </button>\n )}\n </div>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Button.module.css'\nimport { ButtonProps } from './Button.types'\n\nexport const Button = <T extends ElementType = 'button'>(props: ButtonProps<T>) => {\n const { as: Component = 'button', className, variant = 'primary', icon, ...rest } = props\n const classes = clsx(s.button, s[variant], className)\n const { children, ...componentProps } = rest\n\n return (\n <Component className={classes} {...componentProps}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Card.module.css'\nimport { CardProps } from './Card.types'\n\nexport const Card = ({ className, children, ...rest }: CardProps) => {\n return (\n <div className={clsx(s.card, className)} {...rest}>\n {children}\n </div>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Checkbox.module.css'\nimport { CheckboxProps } from './Checkbox.types'\n\nexport const Checkbox = ({ children, className, checked, onChange, ...rest }: CheckboxProps) => {\n return (\n <label className={clsx(s.checkbox, className)}>\n <input type=\"checkbox\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { ElementType } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport s from './Typography.module.css'\nimport { TypographyProps } from './Typography.types'\n\nexport const Typography = <T extends ElementType = 'span'>(props: TypographyProps<T>) => {\n const { as: Component = 'span', children, className, icon, variant, ...rest } = props\n\n return (\n <Component className={clsx(s.typography, s[variant], className)} {...rest}>\n {icon && <span className={s.icon}>{icon}</span>}\n {children}\n </Component>\n )\n}\n","import clsx from 'clsx'\nimport { Typography } from '../Typography'\nimport s from './Label.module.css'\nimport { LabelProps } from './Label.types'\n\nexport const Label = ({\n text,\n textVariant = 'text-14-medium',\n required = false,\n color,\n className,\n htmlFor,\n ...rest\n}: LabelProps) => {\n return (\n <Typography\n as=\"label\"\n variant={textVariant}\n className={clsx(s.label, className)}\n htmlFor={htmlFor}\n style={color ? { color } : undefined}\n {...rest}\n >\n {text}\n {required && (\n <>\n <span className={s.required} aria-hidden=\"true\">\n *\n </span>\n <span className={s.srOnly}> (required)</span>\n </>\n )}\n </Typography>\n )\n}\n","import { clsx } from 'clsx'\nimport s from './Radio.module.css'\nimport { RadioProps } from './Radio.types'\n\nexport const Radio = ({ children, className, checked, onChange, ...rest }: RadioProps) => {\n return (\n <label className={clsx(s.radio, className)}>\n <input type=\"radio\" className={s.input} checked={checked} onChange={onChange} {...rest} />\n\n <span className={s.control} />\n {children && <span className={s.labelSpan}>{children}</span>}\n </label>\n )\n}\n","import { clsx } from 'clsx'\n\nimport s from './Tab.module.css'\nimport type { TabProps } from './Tab.types'\n\nexport const Tab = (props: TabProps) => {\n const { children, selected = false, className, disabled = false, ...rest } = props\n\n const tabClasses = clsx(s.tab, selected && s.selected, disabled && s.disabled, className)\n\n return (\n <button\n type=\"button\"\n role=\"tab\"\n className={tabClasses}\n disabled={disabled}\n tabIndex={disabled ? -1 : 0}\n aria-selected={selected}\n aria-disabled={disabled}\n {...rest}\n >\n {children}\n </button>\n )\n}\n","'use client'\n\nimport { forwardRef, useId } from 'react'\nimport { clsx } from 'clsx'\n\nimport s from './Textarea.module.css'\nimport type { TextareaProps } from './Textarea.types'\n\nexport const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ label, errorMessage, id, className, disabled, minHeight = 84, required, ...rest }, ref) => {\n const generatedId = useId()\n const textareaId = id ?? generatedId\n const errorId = errorMessage ? `${textareaId}-error` : undefined\n\n return (\n <div className={clsx(s.textareaWrapper, className)}>\n {label && (\n <label htmlFor={textareaId} className={clsx(s.label, { [s.disabled]: disabled })}>\n {label}\n {required && <sup className={s.required}> *</sup>}\n </label>\n )}\n\n <textarea\n ref={ref}\n id={textareaId}\n className={clsx(s.textarea, { [s.errorState]: !!errorMessage })}\n aria-invalid={!!errorMessage}\n aria-describedby={errorId}\n required={required}\n disabled={disabled}\n style={{ minHeight }}\n {...rest}\n />\n\n {errorMessage && (\n <span id={errorId} role=\"alert\" className={s.errorMessage}>\n {errorMessage}\n </span>\n )}\n </div>\n )\n },\n)\n\nTextarea.displayName = 'Textarea'\n"],"names":["Alert","variant","title","message","className","onClose","jsxs","clsx","s","jsx","CloseIcon","Button","props","Component","icon","rest","classes","children","componentProps","Card","Checkbox","checked","onChange","Typography","Label","text","textVariant","required","color","htmlFor","Fragment","Radio","Tab","selected","disabled","tabClasses","Textarea","forwardRef","label","errorMessage","id","minHeight","ref","generatedId","useId","textareaId","errorId"],"mappings":";;;;;;;;;;;;;;;;GAOaA,KAAwB,CAAC;AAAA,EACpC,SAAAC,IAAU;AAAA,EACV,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AACF,MAEI,gBAAAC,EAAC,OAAA,EAAI,WAAWC,EAAKC,EAAE,OAAOA,EAAEP,CAAO,GAAGG,CAAS,GAAG,MAAK,SACzD,UAAA;AAAA,EAAA,gBAAAE,EAAC,OAAA,EAAI,WAAWE,EAAE,SACf,UAAA;AAAA,IAAAN,KAAS,gBAAAO,EAAC,OAAA,EAAI,WAAWD,EAAE,OAAQ,UAAAN,GAAM;AAAA,IAC1C,gBAAAO,EAAC,OAAA,EAAI,WAAWD,EAAE,SAAU,UAAAL,EAAA,CAAQ;AAAA,EAAA,GACtC;AAAA,EAECE,KACC,gBAAAI,EAAC,UAAA,EAAO,MAAK,UAAS,WAAWD,EAAE,aAAa,SAASH,GAAS,cAAW,eAC3E,UAAA,gBAAAI,EAACC,KAAU,EAAA,CACb;AAAA,GAEJ;;;;;;;GCnBSC,KAAS,CAAmCC,MAA0B;AACjF,QAAM,EAAE,IAAIC,IAAY,UAAU,WAAAT,GAAW,SAAAH,IAAU,WAAW,MAAAa,GAAM,GAAGC,EAAA,IAASH,GAC9EI,IAAUT,EA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B,oBAAkBO;AAAA,UAClB,UAAAnB;AAAA,UACA,UAAAO;AAAA,UACA,OAAO,EAAE,WAAAO,EAAA;AAAA,UACR,GAAG1B;AAAA,QAAA;AAAA,MAAA;AAAA,MAGLwB,KACC,gBAAA9B,EAAC,QAAA,EAAK,IAAIqC,GAAS,MAAK,SAAQ,WAAWtC,EAAE,cAC1C,UAAA+B,EAAA,CACH;AAAA,IAAA,GAEJ;AAAA,EAEJ;AACF;AAEAH,GAAS,cAAc;"}
@@ -0,0 +1,2 @@
1
+ import { CarouselProps } from './Carousel.types';
2
+ export declare const Carousel: ({ children, value, onValueChange, autoPlayInterval, className, hideArrowsWhenSingle, }: CarouselProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ export type CarouselProps = {
2
+ children: React.ReactNode[];
3
+ value?: number;
4
+ onValueChange?: (index: number) => void;
5
+ autoPlayInterval?: number;
6
+ className?: string;
7
+ hideArrowsWhenSingle?: boolean;
8
+ };
@@ -0,0 +1 @@
1
+ export { Carousel } from './Carousel';
@@ -13,3 +13,4 @@ export * from './Select';
13
13
  export * from './Tab';
14
14
  export * from './Textarea';
15
15
  export * from './Typography';
16
+ export * from './Carousel';