@krrli/cm-designsystem 1.32.1 → 1.32.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.
Files changed (250) hide show
  1. package/dist/assets/fallback.png.js +4 -0
  2. package/dist/cm-designsystem.css +1944 -1
  3. package/dist/components/accessible-button/AccessibleButton.d.ts +1 -0
  4. package/dist/components/accessible-button/AccessibleButton.d.ts.map +1 -0
  5. package/dist/components/accessible-button/AccessibleButton.js +29 -11
  6. package/dist/components/avatar/Avatar.d.ts +4 -3
  7. package/dist/components/avatar/Avatar.d.ts.map +1 -0
  8. package/dist/components/avatar/Avatar.js +91 -65
  9. package/dist/components/branding/BrandingGallery.d.ts +1 -0
  10. package/dist/components/branding/BrandingGallery.d.ts.map +1 -0
  11. package/dist/components/branding/BrandingGallery.js +212 -145
  12. package/dist/components/branding/app-icon-gradient.svg.js +4 -0
  13. package/dist/components/branding/app-icon-white.svg.js +4 -0
  14. package/dist/components/branding/hover-logo-default.svg.js +4 -0
  15. package/dist/components/branding/hover-logo-hovered.svg.js +4 -0
  16. package/dist/components/branding/logo-inline-gradient.svg.js +4 -0
  17. package/dist/components/branding/logo-inline-violet.svg.js +4 -0
  18. package/dist/components/branding/logo-inline-white.svg.js +4 -0
  19. package/dist/components/branding/logo-stacked-gradient.svg.js +4 -0
  20. package/dist/components/branding/logo-stacked-violet.svg.js +4 -0
  21. package/dist/components/branding/logo-stacked-white.svg.js +4 -0
  22. package/dist/components/branding/superzeichen.svg.js +4 -0
  23. package/dist/components/button/Button.d.ts +6 -5
  24. package/dist/components/button/Button.d.ts.map +1 -0
  25. package/dist/components/button/Button.js +61 -55
  26. package/dist/components/color/ColorDoc.d.ts +1 -0
  27. package/dist/components/color/ColorDoc.d.ts.map +1 -0
  28. package/dist/components/color/ColorDoc.js +26 -7
  29. package/dist/components/file-upload/FileUpload.d.ts +34 -33
  30. package/dist/components/file-upload/FileUpload.d.ts.map +1 -0
  31. package/dist/components/file-upload/FileUpload.js +129 -66
  32. package/dist/components/form/Form.d.ts +14 -13
  33. package/dist/components/form/Form.d.ts.map +1 -0
  34. package/dist/components/form/Form.js +33 -26
  35. package/dist/components/icon-button/IconButton.d.ts +7 -6
  36. package/dist/components/icon-button/IconButton.d.ts.map +1 -0
  37. package/dist/components/icon-button/IconButton.js +33 -29
  38. package/dist/components/icons/IconBase.d.ts +1 -0
  39. package/dist/components/icons/IconBase.d.ts.map +1 -0
  40. package/dist/components/icons/IconBase.js +21 -6
  41. package/dist/components/icons/generated/ArrowDown.d.ts +2 -1
  42. package/dist/components/icons/generated/ArrowDown.d.ts.map +1 -0
  43. package/dist/components/icons/generated/ArrowDown.js +15 -4
  44. package/dist/components/icons/generated/ArrowLeft.d.ts +2 -1
  45. package/dist/components/icons/generated/ArrowLeft.d.ts.map +1 -0
  46. package/dist/components/icons/generated/ArrowLeft.js +15 -4
  47. package/dist/components/icons/generated/ArrowRight.d.ts +2 -1
  48. package/dist/components/icons/generated/ArrowRight.d.ts.map +1 -0
  49. package/dist/components/icons/generated/ArrowRight.js +15 -4
  50. package/dist/components/icons/generated/ArrowUp.d.ts +2 -1
  51. package/dist/components/icons/generated/ArrowUp.d.ts.map +1 -0
  52. package/dist/components/icons/generated/ArrowUp.js +15 -4
  53. package/dist/components/icons/generated/Calendar.d.ts +2 -1
  54. package/dist/components/icons/generated/Calendar.d.ts.map +1 -0
  55. package/dist/components/icons/generated/Calendar.js +15 -4
  56. package/dist/components/icons/generated/Cancel.d.ts +2 -1
  57. package/dist/components/icons/generated/Cancel.d.ts.map +1 -0
  58. package/dist/components/icons/generated/Cancel.js +12 -4
  59. package/dist/components/icons/generated/Checkmark.d.ts +2 -1
  60. package/dist/components/icons/generated/Checkmark.d.ts.map +1 -0
  61. package/dist/components/icons/generated/Checkmark.js +12 -4
  62. package/dist/components/icons/generated/Edit.d.ts +2 -1
  63. package/dist/components/icons/generated/Edit.d.ts.map +1 -0
  64. package/dist/components/icons/generated/Edit.js +9 -4
  65. package/dist/components/icons/generated/Eye.d.ts +2 -1
  66. package/dist/components/icons/generated/Eye.d.ts.map +1 -0
  67. package/dist/components/icons/generated/Eye.js +15 -4
  68. package/dist/components/icons/generated/Fullscreen.d.ts +2 -1
  69. package/dist/components/icons/generated/Fullscreen.d.ts.map +1 -0
  70. package/dist/components/icons/generated/Fullscreen.js +9 -4
  71. package/dist/components/icons/generated/HeartFilled.d.ts +2 -1
  72. package/dist/components/icons/generated/HeartFilled.d.ts.map +1 -0
  73. package/dist/components/icons/generated/HeartFilled.js +15 -4
  74. package/dist/components/icons/generated/HeartOutline.d.ts +2 -1
  75. package/dist/components/icons/generated/HeartOutline.d.ts.map +1 -0
  76. package/dist/components/icons/generated/HeartOutline.js +15 -4
  77. package/dist/components/icons/generated/Location.d.ts +2 -1
  78. package/dist/components/icons/generated/Location.d.ts.map +1 -0
  79. package/dist/components/icons/generated/Location.js +15 -4
  80. package/dist/components/icons/generated/LogOut.d.ts +2 -1
  81. package/dist/components/icons/generated/LogOut.d.ts.map +1 -0
  82. package/dist/components/icons/generated/LogOut.js +12 -4
  83. package/dist/components/icons/generated/Mumble.d.ts +2 -1
  84. package/dist/components/icons/generated/Mumble.d.ts.map +1 -0
  85. package/dist/components/icons/generated/Mumble.js +13 -4
  86. package/dist/components/icons/generated/Profile.d.ts +2 -1
  87. package/dist/components/icons/generated/Profile.d.ts.map +1 -0
  88. package/dist/components/icons/generated/Profile.js +12 -4
  89. package/dist/components/icons/generated/ReplyFilled.d.ts +2 -1
  90. package/dist/components/icons/generated/ReplyFilled.d.ts.map +1 -0
  91. package/dist/components/icons/generated/ReplyFilled.js +15 -4
  92. package/dist/components/icons/generated/ReplyOutline.d.ts +2 -1
  93. package/dist/components/icons/generated/ReplyOutline.d.ts.map +1 -0
  94. package/dist/components/icons/generated/ReplyOutline.js +15 -4
  95. package/dist/components/icons/generated/Repost.d.ts +2 -1
  96. package/dist/components/icons/generated/Repost.d.ts.map +1 -0
  97. package/dist/components/icons/generated/Repost.js +15 -4
  98. package/dist/components/icons/generated/Send.d.ts +2 -1
  99. package/dist/components/icons/generated/Send.d.ts.map +1 -0
  100. package/dist/components/icons/generated/Send.js +15 -4
  101. package/dist/components/icons/generated/Settings.d.ts +2 -1
  102. package/dist/components/icons/generated/Settings.d.ts.map +1 -0
  103. package/dist/components/icons/generated/Settings.js +15 -4
  104. package/dist/components/icons/generated/Share.d.ts +2 -1
  105. package/dist/components/icons/generated/Share.d.ts.map +1 -0
  106. package/dist/components/icons/generated/Share.js +12 -4
  107. package/dist/components/icons/generated/Time.d.ts +2 -1
  108. package/dist/components/icons/generated/Time.d.ts.map +1 -0
  109. package/dist/components/icons/generated/Time.js +12 -4
  110. package/dist/components/icons/generated/Upload.d.ts +2 -1
  111. package/dist/components/icons/generated/Upload.d.ts.map +1 -0
  112. package/dist/components/icons/generated/Upload.js +21 -4
  113. package/dist/components/icons/generated/index.d.ts +25 -24
  114. package/dist/components/icons/generated/index.d.ts.map +1 -0
  115. package/dist/components/index.d.ts +28 -27
  116. package/dist/components/index.d.ts.map +1 -0
  117. package/dist/components/input/Input.d.ts +6 -5
  118. package/dist/components/input/Input.d.ts.map +1 -0
  119. package/dist/components/input/Input.js +67 -41
  120. package/dist/components/like-toggle/LikeToggle.d.ts +4 -3
  121. package/dist/components/like-toggle/LikeToggle.d.ts.map +1 -0
  122. package/dist/components/like-toggle/LikeToggle.js +203 -176
  123. package/dist/components/logo-link/LogoLink.d.ts +1 -0
  124. package/dist/components/logo-link/LogoLink.d.ts.map +1 -0
  125. package/dist/components/logo-link/LogoLink.js +56 -34
  126. package/dist/components/modal/Modal.d.ts +23 -22
  127. package/dist/components/modal/Modal.d.ts.map +1 -0
  128. package/dist/components/modal/Modal.js +66 -50
  129. package/dist/components/navi-button/NaviButton.d.ts +7 -6
  130. package/dist/components/navi-button/NaviButton.d.ts.map +1 -0
  131. package/dist/components/navi-button/NaviButton.js +42 -30
  132. package/dist/components/navi-user-button/NaviUserButton.d.ts +5 -4
  133. package/dist/components/navi-user-button/NaviUserButton.d.ts.map +1 -0
  134. package/dist/components/navi-user-button/NaviUserButton.js +39 -29
  135. package/dist/components/round-button/RoundButton.d.ts +6 -5
  136. package/dist/components/round-button/RoundButton.d.ts.map +1 -0
  137. package/dist/components/round-button/RoundButton.js +39 -29
  138. package/dist/components/tabs/TabItem.d.ts +4 -3
  139. package/dist/components/tabs/TabItem.d.ts.map +1 -0
  140. package/dist/components/tabs/TabItem.js +11 -8
  141. package/dist/components/tabs/Tabs.d.ts +6 -5
  142. package/dist/components/tabs/Tabs.d.ts.map +1 -0
  143. package/dist/components/tabs/Tabs.js +74 -59
  144. package/dist/components/text-link/TextLink.d.ts +3 -2
  145. package/dist/components/text-link/TextLink.d.ts.map +1 -0
  146. package/dist/components/text-link/TextLink.js +14 -11
  147. package/dist/components/textarea/Textarea.d.ts +16 -15
  148. package/dist/components/textarea/Textarea.d.ts.map +1 -0
  149. package/dist/components/textarea/Textarea.js +57 -41
  150. package/dist/components/timed-button/TimedButton.d.ts +6 -5
  151. package/dist/components/timed-button/TimedButton.d.ts.map +1 -0
  152. package/dist/components/timed-button/TimedButton.js +116 -102
  153. package/dist/components/toggle/Toggle.d.ts +4 -3
  154. package/dist/components/toggle/Toggle.d.ts.map +1 -0
  155. package/dist/components/toggle/Toggle.js +91 -62
  156. package/dist/components/typography/AccessibleTypography.d.ts +2 -1
  157. package/dist/components/typography/AccessibleTypography.d.ts.map +1 -0
  158. package/dist/components/typography/AccessibleTypography.js +12 -9
  159. package/dist/components/typography/Heading.d.ts +5 -4
  160. package/dist/components/typography/Heading.d.ts.map +1 -0
  161. package/dist/components/typography/Heading.js +13 -9
  162. package/dist/components/typography/Label.d.ts +4 -3
  163. package/dist/components/typography/Label.d.ts.map +1 -0
  164. package/dist/components/typography/Label.js +13 -9
  165. package/dist/components/typography/Paragraph.d.ts +4 -3
  166. package/dist/components/typography/Paragraph.d.ts.map +1 -0
  167. package/dist/components/typography/Paragraph.js +13 -9
  168. package/dist/components/typography/Placeholder.d.ts +4 -3
  169. package/dist/components/typography/Placeholder.d.ts.map +1 -0
  170. package/dist/components/typography/Placeholder.js +13 -9
  171. package/dist/components/typography/ValidationMessage.d.ts +4 -3
  172. package/dist/components/typography/ValidationMessage.d.ts.map +1 -0
  173. package/dist/components/typography/ValidationMessage.js +14 -9
  174. package/dist/components/typography/styles.d.ts +10 -9
  175. package/dist/components/typography/styles.d.ts.map +1 -0
  176. package/dist/components/typography/styles.js +53 -46
  177. package/dist/compositions/image-banner/ImageBanner.d.ts +4 -3
  178. package/dist/compositions/image-banner/ImageBanner.d.ts.map +1 -0
  179. package/dist/compositions/image-banner/ImageBanner.js +53 -45
  180. package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts +2 -1
  181. package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts.map +1 -0
  182. package/dist/compositions/image-upload-modal/ImageUploadModal.js +44 -20
  183. package/dist/compositions/index.d.ts +12 -11
  184. package/dist/compositions/index.d.ts.map +1 -0
  185. package/dist/compositions/post/Post.d.ts +4 -3
  186. package/dist/compositions/post/Post.d.ts.map +1 -0
  187. package/dist/compositions/post/Post.js +81 -26
  188. package/dist/compositions/post-base/PostBase.d.ts +10 -9
  189. package/dist/compositions/post-base/PostBase.d.ts.map +1 -0
  190. package/dist/compositions/post-base/PostBase.js +23 -24
  191. package/dist/compositions/post-creator/PostCreator.d.ts +22 -21
  192. package/dist/compositions/post-creator/PostCreator.d.ts.map +1 -0
  193. package/dist/compositions/post-creator/PostCreator.js +72 -24
  194. package/dist/compositions/profile-banner/ProfileBanner.d.ts +19 -18
  195. package/dist/compositions/profile-banner/ProfileBanner.d.ts.map +1 -0
  196. package/dist/compositions/profile-banner/ProfileBanner.js +71 -21
  197. package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts +4 -3
  198. package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts.map +1 -0
  199. package/dist/compositions/profile-banner-image/ProfileBannerImage.js +60 -52
  200. package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts +25 -24
  201. package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts.map +1 -0
  202. package/dist/compositions/profile-banner-info/ProfileBannerInfo.js +72 -40
  203. package/dist/compositions/response/Response.d.ts +19 -18
  204. package/dist/compositions/response/Response.d.ts.map +1 -0
  205. package/dist/compositions/response/Response.js +63 -19
  206. package/dist/compositions/response-creator/ResponseCreator.d.ts +16 -15
  207. package/dist/compositions/response-creator/ResponseCreator.d.ts.map +1 -0
  208. package/dist/compositions/response-creator/ResponseCreator.js +67 -23
  209. package/dist/compositions/user-info/UserInfo.d.ts +22 -21
  210. package/dist/compositions/user-info/UserInfo.d.ts.map +1 -0
  211. package/dist/compositions/user-info/UserInfo.js +71 -52
  212. package/dist/compositions/user-recommendation/UserRecommendation.d.ts +16 -15
  213. package/dist/compositions/user-recommendation/UserRecommendation.d.ts.map +1 -0
  214. package/dist/compositions/user-recommendation/UserRecommendation.js +58 -30
  215. package/dist/index.d.ts +3 -3
  216. package/dist/index.d.ts.map +1 -0
  217. package/dist/index.js +129 -4
  218. package/dist/setupTests.d.ts +1 -1
  219. package/dist/setupTests.d.ts.map +1 -0
  220. package/package.json +16 -14
  221. package/dist/components/accessible-button/AccessibleButton.test.d.ts +0 -1
  222. package/dist/components/accessible-button/AccessibleButton.test.js +0 -28
  223. package/dist/components/button/Button.test.d.ts +0 -1
  224. package/dist/components/button/Button.test.js +0 -30
  225. package/dist/components/icon-button/IconButton.test.d.ts +0 -1
  226. package/dist/components/icon-button/IconButton.test.js +0 -22
  227. package/dist/components/icons/generated/index.js +0 -24
  228. package/dist/components/index.js +0 -27
  229. package/dist/components/like-toggle/LikeToggle.test.d.ts +0 -1
  230. package/dist/components/like-toggle/LikeToggle.test.js +0 -35
  231. package/dist/components/modal/Modal.test.d.ts +0 -1
  232. package/dist/components/modal/Modal.test.js +0 -24
  233. package/dist/components/navi-button/NaviButton.test.d.ts +0 -1
  234. package/dist/components/navi-button/NaviButton.test.js +0 -22
  235. package/dist/components/round-button/RoundButton.test.d.ts +0 -1
  236. package/dist/components/round-button/RoundButton.test.js +0 -22
  237. package/dist/components/tabs/Tabs.test.d.ts +0 -1
  238. package/dist/components/tabs/Tabs.test.js +0 -61
  239. package/dist/components/text-link/TextLink.test.d.ts +0 -1
  240. package/dist/components/text-link/TextLink.test.js +0 -14
  241. package/dist/components/timed-button/TimedButton.test.d.ts +0 -1
  242. package/dist/components/timed-button/TimedButton.test.js +0 -36
  243. package/dist/components/toggle/Toggle.test.d.ts +0 -1
  244. package/dist/components/toggle/Toggle.test.js +0 -93
  245. package/dist/compositions/index.js +0 -11
  246. package/dist/favicon.svg +0 -18
  247. package/dist/index.cjs.js +0 -50
  248. package/dist/index.es.js +0 -8343
  249. package/dist/logo-inline-gradient.svg +0 -43
  250. package/dist/setupTests.js +0 -7
@@ -1,70 +1,133 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React, { useState } from "react";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
3
  import { tv } from "tailwind-variants";
4
- import { Button } from "../button/Button";
5
- import { Cancel, Upload } from "../icons/generated";
6
- import { Label } from "../typography/Label";
7
- import { Paragraph } from "../typography/Paragraph";
4
+ import { Button } from "../button/Button.js";
5
+ import { Label } from "../typography/Label.js";
6
+ import { Paragraph } from "../typography/Paragraph.js";
7
+ import { Upload } from "../icons/generated/Upload.js";
8
+ import { Cancel } from "../icons/generated/Cancel.js";
8
9
  const fileUploadStyles = tv({
9
- slots: {
10
- base: ["flex", "flex-col", "items-center", "gap-4", "w-full"],
11
- dropzone: [
12
- "flex",
13
- "w-full",
14
- "cursor-pointer",
15
- "flex-col",
16
- "items-center",
17
- "justify-center",
18
- "gap-2",
19
- "rounded-xl",
20
- "border-2",
21
- "border-dashed",
22
- "border-slate-200",
23
- "pt-12",
24
- "pr-4",
25
- "pb-12",
26
- "pl-4",
27
- ],
28
- uploadIcon: ["h-8", "w-8", "text-slate-500"],
29
- titleText: ["text-slate-500"],
30
- subtitleText: ["text-slate-500"],
31
- action: [
32
- "flex",
33
- "w-full",
34
- "items-center",
35
- "justify-center",
36
- "bg-slate-300",
37
- "text-slate-600",
38
- "hover:bg-slate-300",
39
- ],
40
- input: ["hidden"],
41
- preview: ["flex", "items-center", "gap-2"],
42
- previewLabel: ["truncate"],
43
- },
10
+ slots: {
11
+ base: ["flex", "flex-col", "items-center", "gap-4", "w-full"],
12
+ dropzone: [
13
+ "flex",
14
+ "w-full",
15
+ "cursor-pointer",
16
+ "flex-col",
17
+ "items-center",
18
+ "justify-center",
19
+ "gap-2",
20
+ "rounded-xl",
21
+ "border-2",
22
+ "border-dashed",
23
+ "border-slate-200",
24
+ "pt-12",
25
+ "pr-4",
26
+ "pb-12",
27
+ "pl-4"
28
+ ],
29
+ uploadIcon: ["h-8", "w-8", "text-slate-500"],
30
+ titleText: ["text-slate-500"],
31
+ subtitleText: ["text-slate-500"],
32
+ action: [
33
+ "flex",
34
+ "w-full",
35
+ "items-center",
36
+ "justify-center",
37
+ "bg-slate-300",
38
+ "text-slate-600",
39
+ "hover:bg-slate-300"
40
+ ],
41
+ input: ["hidden"],
42
+ preview: ["flex", "items-center", "gap-2"],
43
+ previewLabel: ["truncate"]
44
+ }
44
45
  });
45
- export const FileUpload = ({ title = "Drag & Drop your File", subtitle = "JPEG or PNG, max. 50 MB", actionLabel = ".. or select your File", ...props }) => {
46
- const { base, dropzone, titleText, subtitleText, uploadIcon, action, input, preview, previewLabel, } = fileUploadStyles(props);
47
- const [file, setFile] = useState(null);
48
- const handleFileChange = (e) => {
49
- const selected = e.target.files?.[0] || null;
50
- if (selected) {
51
- setFile(selected);
52
- props.onFileSelect(selected);
53
- }
54
- };
55
- const handleDrop = (e) => {
56
- e.preventDefault();
57
- if (e.dataTransfer.files?.[0]) {
58
- setFile(e.dataTransfer.files[0]);
59
- }
60
- };
61
- const handleDragOver = (e) => {
62
- e.preventDefault();
63
- };
64
- return (_jsxs("div", { className: base(props), children: [_jsxs("div", { role: "region", "aria-label": "File upload dropzone", className: dropzone(props), onDrop: handleDrop, onDragOver: handleDragOver, onClick: () => document.getElementById("fileInput")?.click(), onKeyDown: (e) => {
65
- if (e.key === "Enter" || e.key === " ") {
66
- e.preventDefault();
67
- document.getElementById("fileInput")?.click();
68
- }
69
- }, children: [_jsx(Upload, { className: uploadIcon(props) }), _jsx(Label, { size: "xl", className: titleText(props), children: title }), _jsx(Paragraph, { size: "md", className: subtitleText(props), children: subtitle })] }), _jsx(Button, { className: action(props), intent: "primary", size: "md", icon: Upload, onClick: () => document.getElementById("fileInput")?.click(), children: actionLabel }), _jsx("input", { id: "fileInput", "aria-label": title, type: "file", accept: ".jpg,.png", className: input(props), onChange: handleFileChange }), file && (_jsxs("div", { className: preview(props), children: [_jsx(Label, { size: "md", className: previewLabel(props), children: file.name }), _jsx(Cancel, { onClick: () => setFile(null) })] }))] }));
46
+ const FileUpload = ({
47
+ title = "Drag & Drop your File",
48
+ subtitle = "JPEG or PNG, max. 50 MB",
49
+ actionLabel = ".. or select your File",
50
+ ...props
51
+ }) => {
52
+ const {
53
+ base,
54
+ dropzone,
55
+ titleText,
56
+ subtitleText,
57
+ uploadIcon,
58
+ action,
59
+ input,
60
+ preview,
61
+ previewLabel
62
+ } = fileUploadStyles(props);
63
+ const [file, setFile] = useState(null);
64
+ const handleFileChange = (e) => {
65
+ const selected = e.target.files?.[0] || null;
66
+ if (selected) {
67
+ setFile(selected);
68
+ props.onFileSelect(selected);
69
+ }
70
+ };
71
+ const handleDrop = (e) => {
72
+ e.preventDefault();
73
+ if (e.dataTransfer.files?.[0]) {
74
+ setFile(e.dataTransfer.files[0]);
75
+ }
76
+ };
77
+ const handleDragOver = (e) => {
78
+ e.preventDefault();
79
+ };
80
+ return /* @__PURE__ */ jsxs("div", { className: base(props), children: [
81
+ /* @__PURE__ */ jsxs(
82
+ "div",
83
+ {
84
+ role: "region",
85
+ "aria-label": "File upload dropzone",
86
+ className: dropzone(props),
87
+ onDrop: handleDrop,
88
+ onDragOver: handleDragOver,
89
+ onClick: () => document.getElementById("fileInput")?.click(),
90
+ onKeyDown: (e) => {
91
+ if (e.key === "Enter" || e.key === " ") {
92
+ e.preventDefault();
93
+ document.getElementById("fileInput")?.click();
94
+ }
95
+ },
96
+ children: [
97
+ /* @__PURE__ */ jsx(Upload, { className: uploadIcon(props) }),
98
+ /* @__PURE__ */ jsx(Label, { size: "xl", className: titleText(props), children: title }),
99
+ /* @__PURE__ */ jsx(Paragraph, { size: "md", className: subtitleText(props), children: subtitle })
100
+ ]
101
+ }
102
+ ),
103
+ /* @__PURE__ */ jsx(
104
+ Button,
105
+ {
106
+ className: action(props),
107
+ intent: "primary",
108
+ size: "md",
109
+ icon: Upload,
110
+ onClick: () => document.getElementById("fileInput")?.click(),
111
+ children: actionLabel
112
+ }
113
+ ),
114
+ /* @__PURE__ */ jsx(
115
+ "input",
116
+ {
117
+ id: "fileInput",
118
+ "aria-label": title,
119
+ type: "file",
120
+ accept: ".jpg,.png",
121
+ className: input(props),
122
+ onChange: handleFileChange
123
+ }
124
+ ),
125
+ file && /* @__PURE__ */ jsxs("div", { className: preview(props), children: [
126
+ /* @__PURE__ */ jsx(Label, { size: "md", className: previewLabel(props), children: file.name }),
127
+ /* @__PURE__ */ jsx(Cancel, { onClick: () => setFile(null) })
128
+ ] })
129
+ ] });
130
+ };
131
+ export {
132
+ FileUpload
70
133
  };
@@ -1,17 +1,17 @@
1
- import React from "react";
2
- import { type VariantProps } from "tailwind-variants";
3
- declare const formStyles: import("tailwind-variants").TVReturnType<{
1
+ import { default as React } from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ declare const formStyles: import('tailwind-variants').TVReturnType<{
4
4
  [key: string]: {
5
- [key: string]: import("tailwind-merge").ClassNameValue | {
6
- base?: import("tailwind-merge").ClassNameValue;
7
- fields?: import("tailwind-merge").ClassNameValue;
5
+ [key: string]: import('tailwind-merge').ClassNameValue | {
6
+ base?: import('tailwind-merge').ClassNameValue;
7
+ fields?: import('tailwind-merge').ClassNameValue;
8
8
  };
9
9
  };
10
10
  } | {
11
11
  [x: string]: {
12
- [x: string]: import("tailwind-merge").ClassNameValue | {
13
- base?: import("tailwind-merge").ClassNameValue;
14
- fields?: import("tailwind-merge").ClassNameValue;
12
+ [x: string]: import('tailwind-merge').ClassNameValue | {
13
+ base?: import('tailwind-merge').ClassNameValue;
14
+ fields?: import('tailwind-merge').ClassNameValue;
15
15
  };
16
16
  };
17
17
  } | {}, {
@@ -19,15 +19,15 @@ declare const formStyles: import("tailwind-variants").TVReturnType<{
19
19
  fields: string[];
20
20
  }, undefined, {
21
21
  [key: string]: {
22
- [key: string]: import("tailwind-merge").ClassNameValue | {
23
- base?: import("tailwind-merge").ClassNameValue;
24
- fields?: import("tailwind-merge").ClassNameValue;
22
+ [key: string]: import('tailwind-merge').ClassNameValue | {
23
+ base?: import('tailwind-merge').ClassNameValue;
24
+ fields?: import('tailwind-merge').ClassNameValue;
25
25
  };
26
26
  };
27
27
  } | {}, {
28
28
  base: string[];
29
29
  fields: string[];
30
- }, import("tailwind-variants").TVReturnType<unknown, {
30
+ }, import('tailwind-variants').TVReturnType<unknown, {
31
31
  base: string[];
32
32
  fields: string[];
33
33
  }, undefined, unknown, unknown, undefined>>;
@@ -52,3 +52,4 @@ export declare namespace FormAction {
52
52
  var displayName: string;
53
53
  }
54
54
  export {};
55
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/form/Form.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAKd,CAAC;AAEH,KAAK,YAAY,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,UAAU,SAAU,SAAQ,YAAY;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG;IACvC,MAAM,EAAE,OAAO,UAAU,CAAC;IAC1B,MAAM,EAAE,OAAO,UAAU,CAAC;CA0B3B,CAAC;AAGF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,mBAErE;yBAFe,UAAU;;;AAK1B,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAA;CAAE,0EAExE;yBAFe,UAAU"}
@@ -1,38 +1,45 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import * as RadixForm from "@radix-ui/react-form";
3
3
  import React from "react";
4
4
  import { tv } from "tailwind-variants";
5
5
  const formStyles = tv({
6
- slots: {
7
- base: ["gap-16", "flex", "flex-col"],
8
- fields: ["gap-4", "flex", "flex-col"],
9
- },
6
+ slots: {
7
+ base: ["gap-16", "flex", "flex-col"],
8
+ fields: ["gap-4", "flex", "flex-col"]
9
+ }
10
10
  });
11
- export const Form = (props) => {
12
- const { base, fields } = formStyles(props);
13
- let fieldElements = null;
14
- let actionElement = null;
15
- React.Children.forEach(props.children, (child) => {
16
- if (!React.isValidElement(child))
17
- return;
18
- switch (child.type) {
19
- case FormFields:
20
- fieldElements = child;
21
- break;
22
- case FormAction:
23
- actionElement = child;
24
- break;
25
- }
26
- });
27
- return (_jsxs(RadixForm.Root, { className: base(), children: [_jsx("div", { className: fields(), children: fieldElements }), _jsx(RadixForm.Submit, { asChild: true, children: actionElement })] }));
11
+ const Form = (props) => {
12
+ const { base, fields } = formStyles(props);
13
+ let fieldElements = null;
14
+ let actionElement = null;
15
+ React.Children.forEach(props.children, (child) => {
16
+ if (!React.isValidElement(child)) return;
17
+ switch (child.type) {
18
+ case FormFields:
19
+ fieldElements = child;
20
+ break;
21
+ case FormAction:
22
+ actionElement = child;
23
+ break;
24
+ }
25
+ });
26
+ return /* @__PURE__ */ jsxs(RadixForm.Root, { className: base(), children: [
27
+ /* @__PURE__ */ jsx("div", { className: fields(), children: fieldElements }),
28
+ /* @__PURE__ */ jsx(RadixForm.Submit, { asChild: true, children: actionElement })
29
+ ] });
28
30
  };
29
31
  FormFields.displayName = "FormField";
30
- export function FormFields({ children }) {
31
- return children;
32
+ function FormFields({ children }) {
33
+ return children;
32
34
  }
33
35
  FormAction.displayName = "ModalActions";
34
- export function FormAction({ children }) {
35
- return children;
36
+ function FormAction({ children }) {
37
+ return children;
36
38
  }
37
39
  Form.Fields = FormFields;
38
40
  Form.Action = FormAction;
41
+ export {
42
+ Form,
43
+ FormAction,
44
+ FormFields
45
+ };
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- import { type VariantProps } from "tailwind-variants";
3
- import { type BaseAccessibleButtonProps } from "../accessible-button/AccessibleButton";
4
- import type { IconBaseProps } from "../icons/IconBase";
5
- declare const iconButtonStyles: import("tailwind-variants").TVReturnType<{
1
+ import { default as React } from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { BaseAccessibleButtonProps } from '../accessible-button/AccessibleButton';
4
+ import { IconBaseProps } from '../icons/IconBase';
5
+ declare const iconButtonStyles: import('tailwind-variants').TVReturnType<{
6
6
  intent: {
7
7
  primary: {
8
8
  base: string[];
@@ -26,7 +26,7 @@ declare const iconButtonStyles: import("tailwind-variants").TVReturnType<{
26
26
  }, {
27
27
  base: string[];
28
28
  icon: string[];
29
- }, import("tailwind-variants").TVReturnType<{
29
+ }, import('tailwind-variants').TVReturnType<{
30
30
  intent: {
31
31
  primary: {
32
32
  base: string[];
@@ -67,3 +67,4 @@ interface IconButtonProps extends IconButtonVariants, BaseAccessibleButtonProps
67
67
  */
68
68
  export declare const IconButton: React.FC<IconButtonProps>;
69
69
  export {};
70
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/icon-button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAkBpB,CAAC;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,SAAS,GAAG,WAAW,CAAC;AAEhD;;;;;GAKG;AACH,UAAU,eACR,SAAQ,kBAAkB,EAAE,yBAAyB;IACrD;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAE1C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAchD,CAAC"}
@@ -1,32 +1,36 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from "react";
3
- import { cn, tv } from "tailwind-variants";
4
- import { AccessibleButton, } from "../accessible-button/AccessibleButton";
5
- import { Label } from "../typography/Label";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { tv, cn } from "tailwind-variants";
3
+ import { AccessibleButton } from "../accessible-button/AccessibleButton.js";
4
+ import { Label } from "../typography/Label.js";
6
5
  const iconButtonStyles = tv({
7
- slots: {
8
- base: [
9
- "flex",
10
- "gap-1",
11
- "transition",
12
- "duration-350",
13
- "ease-in-out",
14
- "cursor-pointer",
15
- ],
16
- icon: ["w-3", "h-3"],
17
- },
18
- variants: {
19
- intent: {
20
- primary: { base: ["text-slate-500", "hover:text-slate-600"] },
21
- secondary: { base: ["text-violet-600", "hover:text-violet-900"] },
22
- },
23
- },
6
+ slots: {
7
+ base: [
8
+ "flex",
9
+ "gap-1",
10
+ "transition",
11
+ "duration-350",
12
+ "ease-in-out",
13
+ "cursor-pointer"
14
+ ],
15
+ icon: ["w-3", "h-3"]
16
+ },
17
+ variants: {
18
+ intent: {
19
+ primary: { base: ["text-slate-500", "hover:text-slate-600"] },
20
+ secondary: { base: ["text-violet-600", "hover:text-violet-900"] }
21
+ }
22
+ }
24
23
  });
25
- /**
26
- * A compact, accessible button component that displays an icon alongside
27
- * a text label.
28
- */
29
- export const IconButton = ({ className, ...props }) => {
30
- const { base, icon } = iconButtonStyles();
31
- return (_jsxs(AccessibleButton, { className: cn(base(props), className), ...props, children: [props.icon && _jsx(props.icon, { className: icon(props) }), _jsx(Label, { as: "span", size: "md", children: props.children })] }));
24
+ const IconButton = ({
25
+ className,
26
+ ...props
27
+ }) => {
28
+ const { base, icon } = iconButtonStyles();
29
+ return /* @__PURE__ */ jsxs(AccessibleButton, { className: cn(base(props), className), ...props, children: [
30
+ props.icon && /* @__PURE__ */ jsx(props.icon, { className: icon(props) }),
31
+ /* @__PURE__ */ jsx(Label, { as: "span", size: "md", children: props.children })
32
+ ] });
33
+ };
34
+ export {
35
+ IconButton
32
36
  };
@@ -3,3 +3,4 @@ export type IconBaseProps = React.SVGProps<SVGSVGElement> & {
3
3
  label?: string;
4
4
  };
5
5
  export declare const IconBase: React.FC<IconBaseProps>;
6
+ //# sourceMappingURL=IconBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../src/components/icons/IconBase.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkB5C,CAAC"}
@@ -1,11 +1,26 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // src/components/icons/IconBase.tsx
1
+ import { jsx } from "react/jsx-runtime";
3
2
  import { AccessibleIcon } from "@radix-ui/react-accessible-icon";
4
- import * as React from "react";
5
3
  import { cn, tv } from "tailwind-variants";
6
4
  const iconStyles = tv({
7
- base: ["w-4", "h-4"],
5
+ base: ["w-4", "h-4"]
8
6
  });
9
- export const IconBase = ({ label = "", children, className, ...props }) => {
10
- return (_jsx(AccessibleIcon, { label: label, children: _jsx("svg", { className: cn(iconStyles(), className), fill: "currentColor", viewBox: props.viewBox || "0 0 16 16", ...props, children: children }) }));
7
+ const IconBase = ({
8
+ label = "",
9
+ children,
10
+ className,
11
+ ...props
12
+ }) => {
13
+ return /* @__PURE__ */ jsx(AccessibleIcon, { label, children: /* @__PURE__ */ jsx(
14
+ "svg",
15
+ {
16
+ className: cn(iconStyles(), className),
17
+ fill: "currentColor",
18
+ viewBox: props.viewBox || "0 0 16 16",
19
+ ...props,
20
+ children
21
+ }
22
+ ) });
23
+ };
24
+ export {
25
+ IconBase
11
26
  };
@@ -1,3 +1,4 @@
1
+ import { IconBase } from '../IconBase';
1
2
  import * as React from "react";
2
- import { IconBase } from "../IconBase";
3
3
  export declare const ArrowDown: (props: React.ComponentProps<typeof IconBase>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ArrowDown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowDown.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/generated/ArrowDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,4CAcrE,CAAC"}
@@ -1,4 +1,15 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { IconBase } from "../IconBase";
4
- export const ArrowDown = (props) => (_jsxs(IconBase, { label: "ArrowDown", ...props, children: [_jsx("g", { clipPath: "url(#a)", children: _jsx("path", { fill: "currentColor", d: "M12 9H9V1a1 1 0 0 0-2 0v8H4a1 1 0 0 0-.78 1.625l4 5a1 1 0 0 0 1.561 0l4-5A1 1 0 0 0 12.001 9" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })] }));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { IconBase } from "../IconBase.js";
3
+ const ArrowDown = (props) => /* @__PURE__ */ jsxs(IconBase, { label: "ArrowDown", ...props, children: [
4
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ fill: "currentColor",
8
+ d: "M12 9H9V1a1 1 0 0 0-2 0v8H4a1 1 0 0 0-.78 1.625l4 5a1 1 0 0 0 1.561 0l4-5A1 1 0 0 0 12.001 9"
9
+ }
10
+ ) }),
11
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })
12
+ ] });
13
+ export {
14
+ ArrowDown
15
+ };
@@ -1,3 +1,4 @@
1
+ import { IconBase } from '../IconBase';
1
2
  import * as React from "react";
2
- import { IconBase } from "../IconBase";
3
3
  export declare const ArrowLeft: (props: React.ComponentProps<typeof IconBase>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ArrowLeft.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowLeft.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/generated/ArrowLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,4CAcrE,CAAC"}
@@ -1,4 +1,15 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { IconBase } from "../IconBase";
4
- export const ArrowLeft = (props) => (_jsxs(IconBase, { label: "ArrowLeft", ...props, children: [_jsx("g", { clipPath: "url(#a)", children: _jsx("path", { fill: "currentColor", d: "M15 7H7V4a1 1 0 0 0-1.625-.781l-5 4a1 1 0 0 0 0 1.562l5 4A1 1 0 0 0 7 12V9h8a1 1 0 0 0 0-2" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })] }));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { IconBase } from "../IconBase.js";
3
+ const ArrowLeft = (props) => /* @__PURE__ */ jsxs(IconBase, { label: "ArrowLeft", ...props, children: [
4
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ fill: "currentColor",
8
+ d: "M15 7H7V4a1 1 0 0 0-1.625-.781l-5 4a1 1 0 0 0 0 1.562l5 4A1 1 0 0 0 7 12V9h8a1 1 0 0 0 0-2"
9
+ }
10
+ ) }),
11
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })
12
+ ] });
13
+ export {
14
+ ArrowLeft
15
+ };
@@ -1,3 +1,4 @@
1
+ import { IconBase } from '../IconBase';
1
2
  import * as React from "react";
2
- import { IconBase } from "../IconBase";
3
3
  export declare const ArrowRight: (props: React.ComponentProps<typeof IconBase>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ArrowRight.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowRight.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/generated/ArrowRight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,4CActE,CAAC"}
@@ -1,4 +1,15 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { IconBase } from "../IconBase";
4
- export const ArrowRight = (props) => (_jsxs(IconBase, { label: "ArrowRight", ...props, children: [_jsx("g", { clipPath: "url(#a)", children: _jsx("path", { fill: "currentColor", d: "M10.625 3.219A1 1 0 0 0 9 3.999v3H1a1 1 0 1 0 0 2h8v3a1 1 0 0 0 1.625.782l5-4a1 1 0 0 0 0-1.562z" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })] }));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { IconBase } from "../IconBase.js";
3
+ const ArrowRight = (props) => /* @__PURE__ */ jsxs(IconBase, { label: "ArrowRight", ...props, children: [
4
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ fill: "currentColor",
8
+ d: "M10.625 3.219A1 1 0 0 0 9 3.999v3H1a1 1 0 1 0 0 2h8v3a1 1 0 0 0 1.625.782l5-4a1 1 0 0 0 0-1.562z"
9
+ }
10
+ ) }),
11
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })
12
+ ] });
13
+ export {
14
+ ArrowRight
15
+ };
@@ -1,3 +1,4 @@
1
+ import { IconBase } from '../IconBase';
1
2
  import * as React from "react";
2
- import { IconBase } from "../IconBase";
3
3
  export declare const ArrowUp: (props: React.ComponentProps<typeof IconBase>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=ArrowUp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrowUp.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/generated/ArrowUp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,4CAcnE,CAAC"}
@@ -1,4 +1,15 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import * as React from "react";
3
- import { IconBase } from "../IconBase";
4
- export const ArrowUp = (props) => (_jsxs(IconBase, { label: "ArrowUp", ...props, children: [_jsx("g", { clipPath: "url(#a)", children: _jsx("path", { fill: "currentColor", d: "M8.781.375a1.036 1.036 0 0 0-1.562 0l-4 5A1 1 0 0 0 4 7h3v8a1 1 0 1 0 2 0V7h3a1 1 0 0 0 .781-1.625z" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })] }));
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { IconBase } from "../IconBase.js";
3
+ const ArrowUp = (props) => /* @__PURE__ */ jsxs(IconBase, { label: "ArrowUp", ...props, children: [
4
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ fill: "currentColor",
8
+ d: "M8.781.375a1.036 1.036 0 0 0-1.562 0l-4 5A1 1 0 0 0 4 7h3v8a1 1 0 1 0 2 0V7h3a1 1 0 0 0 .781-1.625z"
9
+ }
10
+ ) }),
11
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })
12
+ ] });
13
+ export {
14
+ ArrowUp
15
+ };
@@ -1,3 +1,4 @@
1
+ import { IconBase } from '../IconBase';
1
2
  import * as React from "react";
2
- import { IconBase } from "../IconBase";
3
3
  export declare const Calendar: (props: React.ComponentProps<typeof IconBase>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=Calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/generated/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,eAAO,MAAM,QAAQ,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,4CAcpE,CAAC"}