@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.
- package/dist/assets/fallback.png.js +4 -0
- package/dist/cm-designsystem.css +1944 -1
- package/dist/components/accessible-button/AccessibleButton.d.ts +1 -0
- package/dist/components/accessible-button/AccessibleButton.d.ts.map +1 -0
- package/dist/components/accessible-button/AccessibleButton.js +29 -11
- package/dist/components/avatar/Avatar.d.ts +4 -3
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.js +91 -65
- package/dist/components/branding/BrandingGallery.d.ts +1 -0
- package/dist/components/branding/BrandingGallery.d.ts.map +1 -0
- package/dist/components/branding/BrandingGallery.js +212 -145
- package/dist/components/branding/app-icon-gradient.svg.js +4 -0
- package/dist/components/branding/app-icon-white.svg.js +4 -0
- package/dist/components/branding/hover-logo-default.svg.js +4 -0
- package/dist/components/branding/hover-logo-hovered.svg.js +4 -0
- package/dist/components/branding/logo-inline-gradient.svg.js +4 -0
- package/dist/components/branding/logo-inline-violet.svg.js +4 -0
- package/dist/components/branding/logo-inline-white.svg.js +4 -0
- package/dist/components/branding/logo-stacked-gradient.svg.js +4 -0
- package/dist/components/branding/logo-stacked-violet.svg.js +4 -0
- package/dist/components/branding/logo-stacked-white.svg.js +4 -0
- package/dist/components/branding/superzeichen.svg.js +4 -0
- package/dist/components/button/Button.d.ts +6 -5
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/Button.js +61 -55
- package/dist/components/color/ColorDoc.d.ts +1 -0
- package/dist/components/color/ColorDoc.d.ts.map +1 -0
- package/dist/components/color/ColorDoc.js +26 -7
- package/dist/components/file-upload/FileUpload.d.ts +34 -33
- package/dist/components/file-upload/FileUpload.d.ts.map +1 -0
- package/dist/components/file-upload/FileUpload.js +129 -66
- package/dist/components/form/Form.d.ts +14 -13
- package/dist/components/form/Form.d.ts.map +1 -0
- package/dist/components/form/Form.js +33 -26
- package/dist/components/icon-button/IconButton.d.ts +7 -6
- package/dist/components/icon-button/IconButton.d.ts.map +1 -0
- package/dist/components/icon-button/IconButton.js +33 -29
- package/dist/components/icons/IconBase.d.ts +1 -0
- package/dist/components/icons/IconBase.d.ts.map +1 -0
- package/dist/components/icons/IconBase.js +21 -6
- package/dist/components/icons/generated/ArrowDown.d.ts +2 -1
- package/dist/components/icons/generated/ArrowDown.d.ts.map +1 -0
- package/dist/components/icons/generated/ArrowDown.js +15 -4
- package/dist/components/icons/generated/ArrowLeft.d.ts +2 -1
- package/dist/components/icons/generated/ArrowLeft.d.ts.map +1 -0
- package/dist/components/icons/generated/ArrowLeft.js +15 -4
- package/dist/components/icons/generated/ArrowRight.d.ts +2 -1
- package/dist/components/icons/generated/ArrowRight.d.ts.map +1 -0
- package/dist/components/icons/generated/ArrowRight.js +15 -4
- package/dist/components/icons/generated/ArrowUp.d.ts +2 -1
- package/dist/components/icons/generated/ArrowUp.d.ts.map +1 -0
- package/dist/components/icons/generated/ArrowUp.js +15 -4
- package/dist/components/icons/generated/Calendar.d.ts +2 -1
- package/dist/components/icons/generated/Calendar.d.ts.map +1 -0
- package/dist/components/icons/generated/Calendar.js +15 -4
- package/dist/components/icons/generated/Cancel.d.ts +2 -1
- package/dist/components/icons/generated/Cancel.d.ts.map +1 -0
- package/dist/components/icons/generated/Cancel.js +12 -4
- package/dist/components/icons/generated/Checkmark.d.ts +2 -1
- package/dist/components/icons/generated/Checkmark.d.ts.map +1 -0
- package/dist/components/icons/generated/Checkmark.js +12 -4
- package/dist/components/icons/generated/Edit.d.ts +2 -1
- package/dist/components/icons/generated/Edit.d.ts.map +1 -0
- package/dist/components/icons/generated/Edit.js +9 -4
- package/dist/components/icons/generated/Eye.d.ts +2 -1
- package/dist/components/icons/generated/Eye.d.ts.map +1 -0
- package/dist/components/icons/generated/Eye.js +15 -4
- package/dist/components/icons/generated/Fullscreen.d.ts +2 -1
- package/dist/components/icons/generated/Fullscreen.d.ts.map +1 -0
- package/dist/components/icons/generated/Fullscreen.js +9 -4
- package/dist/components/icons/generated/HeartFilled.d.ts +2 -1
- package/dist/components/icons/generated/HeartFilled.d.ts.map +1 -0
- package/dist/components/icons/generated/HeartFilled.js +15 -4
- package/dist/components/icons/generated/HeartOutline.d.ts +2 -1
- package/dist/components/icons/generated/HeartOutline.d.ts.map +1 -0
- package/dist/components/icons/generated/HeartOutline.js +15 -4
- package/dist/components/icons/generated/Location.d.ts +2 -1
- package/dist/components/icons/generated/Location.d.ts.map +1 -0
- package/dist/components/icons/generated/Location.js +15 -4
- package/dist/components/icons/generated/LogOut.d.ts +2 -1
- package/dist/components/icons/generated/LogOut.d.ts.map +1 -0
- package/dist/components/icons/generated/LogOut.js +12 -4
- package/dist/components/icons/generated/Mumble.d.ts +2 -1
- package/dist/components/icons/generated/Mumble.d.ts.map +1 -0
- package/dist/components/icons/generated/Mumble.js +13 -4
- package/dist/components/icons/generated/Profile.d.ts +2 -1
- package/dist/components/icons/generated/Profile.d.ts.map +1 -0
- package/dist/components/icons/generated/Profile.js +12 -4
- package/dist/components/icons/generated/ReplyFilled.d.ts +2 -1
- package/dist/components/icons/generated/ReplyFilled.d.ts.map +1 -0
- package/dist/components/icons/generated/ReplyFilled.js +15 -4
- package/dist/components/icons/generated/ReplyOutline.d.ts +2 -1
- package/dist/components/icons/generated/ReplyOutline.d.ts.map +1 -0
- package/dist/components/icons/generated/ReplyOutline.js +15 -4
- package/dist/components/icons/generated/Repost.d.ts +2 -1
- package/dist/components/icons/generated/Repost.d.ts.map +1 -0
- package/dist/components/icons/generated/Repost.js +15 -4
- package/dist/components/icons/generated/Send.d.ts +2 -1
- package/dist/components/icons/generated/Send.d.ts.map +1 -0
- package/dist/components/icons/generated/Send.js +15 -4
- package/dist/components/icons/generated/Settings.d.ts +2 -1
- package/dist/components/icons/generated/Settings.d.ts.map +1 -0
- package/dist/components/icons/generated/Settings.js +15 -4
- package/dist/components/icons/generated/Share.d.ts +2 -1
- package/dist/components/icons/generated/Share.d.ts.map +1 -0
- package/dist/components/icons/generated/Share.js +12 -4
- package/dist/components/icons/generated/Time.d.ts +2 -1
- package/dist/components/icons/generated/Time.d.ts.map +1 -0
- package/dist/components/icons/generated/Time.js +12 -4
- package/dist/components/icons/generated/Upload.d.ts +2 -1
- package/dist/components/icons/generated/Upload.d.ts.map +1 -0
- package/dist/components/icons/generated/Upload.js +21 -4
- package/dist/components/icons/generated/index.d.ts +25 -24
- package/dist/components/icons/generated/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +28 -27
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/input/Input.d.ts +6 -5
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/Input.js +67 -41
- package/dist/components/like-toggle/LikeToggle.d.ts +4 -3
- package/dist/components/like-toggle/LikeToggle.d.ts.map +1 -0
- package/dist/components/like-toggle/LikeToggle.js +203 -176
- package/dist/components/logo-link/LogoLink.d.ts +1 -0
- package/dist/components/logo-link/LogoLink.d.ts.map +1 -0
- package/dist/components/logo-link/LogoLink.js +56 -34
- package/dist/components/modal/Modal.d.ts +23 -22
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/modal/Modal.js +66 -50
- package/dist/components/navi-button/NaviButton.d.ts +7 -6
- package/dist/components/navi-button/NaviButton.d.ts.map +1 -0
- package/dist/components/navi-button/NaviButton.js +42 -30
- package/dist/components/navi-user-button/NaviUserButton.d.ts +5 -4
- package/dist/components/navi-user-button/NaviUserButton.d.ts.map +1 -0
- package/dist/components/navi-user-button/NaviUserButton.js +39 -29
- package/dist/components/round-button/RoundButton.d.ts +6 -5
- package/dist/components/round-button/RoundButton.d.ts.map +1 -0
- package/dist/components/round-button/RoundButton.js +39 -29
- package/dist/components/tabs/TabItem.d.ts +4 -3
- package/dist/components/tabs/TabItem.d.ts.map +1 -0
- package/dist/components/tabs/TabItem.js +11 -8
- package/dist/components/tabs/Tabs.d.ts +6 -5
- package/dist/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/tabs/Tabs.js +74 -59
- package/dist/components/text-link/TextLink.d.ts +3 -2
- package/dist/components/text-link/TextLink.d.ts.map +1 -0
- package/dist/components/text-link/TextLink.js +14 -11
- package/dist/components/textarea/Textarea.d.ts +16 -15
- package/dist/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.js +57 -41
- package/dist/components/timed-button/TimedButton.d.ts +6 -5
- package/dist/components/timed-button/TimedButton.d.ts.map +1 -0
- package/dist/components/timed-button/TimedButton.js +116 -102
- package/dist/components/toggle/Toggle.d.ts +4 -3
- package/dist/components/toggle/Toggle.d.ts.map +1 -0
- package/dist/components/toggle/Toggle.js +91 -62
- package/dist/components/typography/AccessibleTypography.d.ts +2 -1
- package/dist/components/typography/AccessibleTypography.d.ts.map +1 -0
- package/dist/components/typography/AccessibleTypography.js +12 -9
- package/dist/components/typography/Heading.d.ts +5 -4
- package/dist/components/typography/Heading.d.ts.map +1 -0
- package/dist/components/typography/Heading.js +13 -9
- package/dist/components/typography/Label.d.ts +4 -3
- package/dist/components/typography/Label.d.ts.map +1 -0
- package/dist/components/typography/Label.js +13 -9
- package/dist/components/typography/Paragraph.d.ts +4 -3
- package/dist/components/typography/Paragraph.d.ts.map +1 -0
- package/dist/components/typography/Paragraph.js +13 -9
- package/dist/components/typography/Placeholder.d.ts +4 -3
- package/dist/components/typography/Placeholder.d.ts.map +1 -0
- package/dist/components/typography/Placeholder.js +13 -9
- package/dist/components/typography/ValidationMessage.d.ts +4 -3
- package/dist/components/typography/ValidationMessage.d.ts.map +1 -0
- package/dist/components/typography/ValidationMessage.js +14 -9
- package/dist/components/typography/styles.d.ts +10 -9
- package/dist/components/typography/styles.d.ts.map +1 -0
- package/dist/components/typography/styles.js +53 -46
- package/dist/compositions/image-banner/ImageBanner.d.ts +4 -3
- package/dist/compositions/image-banner/ImageBanner.d.ts.map +1 -0
- package/dist/compositions/image-banner/ImageBanner.js +53 -45
- package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts +2 -1
- package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts.map +1 -0
- package/dist/compositions/image-upload-modal/ImageUploadModal.js +44 -20
- package/dist/compositions/index.d.ts +12 -11
- package/dist/compositions/index.d.ts.map +1 -0
- package/dist/compositions/post/Post.d.ts +4 -3
- package/dist/compositions/post/Post.d.ts.map +1 -0
- package/dist/compositions/post/Post.js +81 -26
- package/dist/compositions/post-base/PostBase.d.ts +10 -9
- package/dist/compositions/post-base/PostBase.d.ts.map +1 -0
- package/dist/compositions/post-base/PostBase.js +23 -24
- package/dist/compositions/post-creator/PostCreator.d.ts +22 -21
- package/dist/compositions/post-creator/PostCreator.d.ts.map +1 -0
- package/dist/compositions/post-creator/PostCreator.js +72 -24
- package/dist/compositions/profile-banner/ProfileBanner.d.ts +19 -18
- package/dist/compositions/profile-banner/ProfileBanner.d.ts.map +1 -0
- package/dist/compositions/profile-banner/ProfileBanner.js +71 -21
- package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts +4 -3
- package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts.map +1 -0
- package/dist/compositions/profile-banner-image/ProfileBannerImage.js +60 -52
- package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts +25 -24
- package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts.map +1 -0
- package/dist/compositions/profile-banner-info/ProfileBannerInfo.js +72 -40
- package/dist/compositions/response/Response.d.ts +19 -18
- package/dist/compositions/response/Response.d.ts.map +1 -0
- package/dist/compositions/response/Response.js +63 -19
- package/dist/compositions/response-creator/ResponseCreator.d.ts +16 -15
- package/dist/compositions/response-creator/ResponseCreator.d.ts.map +1 -0
- package/dist/compositions/response-creator/ResponseCreator.js +67 -23
- package/dist/compositions/user-info/UserInfo.d.ts +22 -21
- package/dist/compositions/user-info/UserInfo.d.ts.map +1 -0
- package/dist/compositions/user-info/UserInfo.js +71 -52
- package/dist/compositions/user-recommendation/UserRecommendation.d.ts +16 -15
- package/dist/compositions/user-recommendation/UserRecommendation.d.ts.map +1 -0
- package/dist/compositions/user-recommendation/UserRecommendation.js +58 -30
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +129 -4
- package/dist/setupTests.d.ts +1 -1
- package/dist/setupTests.d.ts.map +1 -0
- package/package.json +16 -14
- package/dist/components/accessible-button/AccessibleButton.test.d.ts +0 -1
- package/dist/components/accessible-button/AccessibleButton.test.js +0 -28
- package/dist/components/button/Button.test.d.ts +0 -1
- package/dist/components/button/Button.test.js +0 -30
- package/dist/components/icon-button/IconButton.test.d.ts +0 -1
- package/dist/components/icon-button/IconButton.test.js +0 -22
- package/dist/components/icons/generated/index.js +0 -24
- package/dist/components/index.js +0 -27
- package/dist/components/like-toggle/LikeToggle.test.d.ts +0 -1
- package/dist/components/like-toggle/LikeToggle.test.js +0 -35
- package/dist/components/modal/Modal.test.d.ts +0 -1
- package/dist/components/modal/Modal.test.js +0 -24
- package/dist/components/navi-button/NaviButton.test.d.ts +0 -1
- package/dist/components/navi-button/NaviButton.test.js +0 -22
- package/dist/components/round-button/RoundButton.test.d.ts +0 -1
- package/dist/components/round-button/RoundButton.test.js +0 -22
- package/dist/components/tabs/Tabs.test.d.ts +0 -1
- package/dist/components/tabs/Tabs.test.js +0 -61
- package/dist/components/text-link/TextLink.test.d.ts +0 -1
- package/dist/components/text-link/TextLink.test.js +0 -14
- package/dist/components/timed-button/TimedButton.test.d.ts +0 -1
- package/dist/components/timed-button/TimedButton.test.js +0 -36
- package/dist/components/toggle/Toggle.test.d.ts +0 -1
- package/dist/components/toggle/Toggle.test.js +0 -93
- package/dist/compositions/index.js +0 -11
- package/dist/favicon.svg +0 -18
- package/dist/index.cjs.js +0 -50
- package/dist/index.es.js +0 -8343
- package/dist/logo-inline-gradient.svg +0 -43
- package/dist/setupTests.js +0 -7
|
@@ -1,70 +1,133 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
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 {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
declare const formStyles: import(
|
|
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(
|
|
6
|
-
base?: import(
|
|
7
|
-
fields?: import(
|
|
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(
|
|
13
|
-
base?: import(
|
|
14
|
-
fields?: import(
|
|
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(
|
|
23
|
-
base?: import(
|
|
24
|
-
fields?: import(
|
|
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(
|
|
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 {
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
slots: {
|
|
7
|
+
base: ["gap-16", "flex", "flex-col"],
|
|
8
|
+
fields: ["gap-4", "flex", "flex-col"]
|
|
9
|
+
}
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
+
function FormFields({ children }) {
|
|
33
|
+
return children;
|
|
32
34
|
}
|
|
33
35
|
FormAction.displayName = "ModalActions";
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
declare const iconButtonStyles: import(
|
|
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(
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
};
|
|
@@ -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
|
|
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
|
-
|
|
5
|
+
base: ["w-4", "h-4"]
|
|
8
6
|
});
|
|
9
|
-
|
|
10
|
-
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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"}
|