@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,20 +1,20 @@
1
- import { type VariantProps } from "tailwind-variants";
2
- declare const ProfileBannerStyles: import("tailwind-variants").TVReturnType<{
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const ProfileBannerStyles: import('tailwind-variants').TVReturnType<{
3
3
  [key: string]: {
4
- [key: string]: import("tailwind-merge").ClassNameValue | {
5
- base?: import("tailwind-merge").ClassNameValue;
6
- avatar?: import("tailwind-merge").ClassNameValue;
7
- info?: import("tailwind-merge").ClassNameValue;
8
- description?: import("tailwind-merge").ClassNameValue;
4
+ [key: string]: import('tailwind-merge').ClassNameValue | {
5
+ base?: import('tailwind-merge').ClassNameValue;
6
+ avatar?: import('tailwind-merge').ClassNameValue;
7
+ info?: import('tailwind-merge').ClassNameValue;
8
+ description?: import('tailwind-merge').ClassNameValue;
9
9
  };
10
10
  };
11
11
  } | {
12
12
  [x: string]: {
13
- [x: string]: import("tailwind-merge").ClassNameValue | {
14
- base?: import("tailwind-merge").ClassNameValue;
15
- avatar?: import("tailwind-merge").ClassNameValue;
16
- info?: import("tailwind-merge").ClassNameValue;
17
- description?: import("tailwind-merge").ClassNameValue;
13
+ [x: string]: import('tailwind-merge').ClassNameValue | {
14
+ base?: import('tailwind-merge').ClassNameValue;
15
+ avatar?: import('tailwind-merge').ClassNameValue;
16
+ info?: import('tailwind-merge').ClassNameValue;
17
+ description?: import('tailwind-merge').ClassNameValue;
18
18
  };
19
19
  };
20
20
  } | {}, {
@@ -24,11 +24,11 @@ declare const ProfileBannerStyles: import("tailwind-variants").TVReturnType<{
24
24
  description: string[];
25
25
  }, undefined, {
26
26
  [key: string]: {
27
- [key: string]: import("tailwind-merge").ClassNameValue | {
28
- base?: import("tailwind-merge").ClassNameValue;
29
- avatar?: import("tailwind-merge").ClassNameValue;
30
- info?: import("tailwind-merge").ClassNameValue;
31
- description?: import("tailwind-merge").ClassNameValue;
27
+ [key: string]: import('tailwind-merge').ClassNameValue | {
28
+ base?: import('tailwind-merge').ClassNameValue;
29
+ avatar?: import('tailwind-merge').ClassNameValue;
30
+ info?: import('tailwind-merge').ClassNameValue;
31
+ description?: import('tailwind-merge').ClassNameValue;
32
32
  };
33
33
  };
34
34
  } | {}, {
@@ -36,7 +36,7 @@ declare const ProfileBannerStyles: import("tailwind-variants").TVReturnType<{
36
36
  avatar: string[];
37
37
  info: string[];
38
38
  description: string[];
39
- }, import("tailwind-variants").TVReturnType<unknown, {
39
+ }, import('tailwind-variants').TVReturnType<unknown, {
40
40
  base: string[];
41
41
  avatar: string[];
42
42
  info: string[];
@@ -80,3 +80,4 @@ interface ProfileBannerProps extends ProfileBannerVariants {
80
80
  */
81
81
  export declare const ProfileBanner: React.FC<ProfileBannerProps>;
82
82
  export {};
83
+ //# sourceMappingURL=ProfileBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileBanner.d.ts","sourceRoot":"","sources":["../../../src/compositions/profile-banner/ProfileBanner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAS1D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAOvB,CAAC;AAEH,KAAK,qBAAqB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,UAAU,kBAAmB,SAAQ,qBAAqB;IACxD,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAElB,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAElB,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;IAEjB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IAEjB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IAEpB,kCAAkC;IAClC,QAAQ,EAAE,MAAM,CAAC;IAEjB,kCAAkC;IAClC,QAAQ,EAAE,MAAM,CAAC;IAEjB,iCAAiC;IACjC,eAAe,EAAE,IAAI,CAAC;IAEtB,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IAEpB,sEAAsE;IACtE,aAAa,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAEnD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CACnD;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoDtD,CAAC"}
@@ -1,26 +1,76 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useRef } from "react";
3
3
  import { tv } from "tailwind-variants";
4
- import { Avatar, Paragraph } from "../../components";
5
- import { ImageUploadModal, } from "../image-upload-modal/ImageUploadModal";
6
- import { ProfileBannerImage } from "../profile-banner-image/ProfileBannerImage";
7
- import { ProfileBannerInfo } from "../profile-banner-info/ProfileBannerInfo";
4
+ import { ImageUploadModal } from "../image-upload-modal/ImageUploadModal.js";
5
+ import { ProfileBannerImage } from "../profile-banner-image/ProfileBannerImage.js";
6
+ import { ProfileBannerInfo } from "../profile-banner-info/ProfileBannerInfo.js";
7
+ import { Avatar } from "../../components/avatar/Avatar.js";
8
+ import { Paragraph } from "../../components/typography/Paragraph.js";
8
9
  const ProfileBannerStyles = tv({
9
- slots: {
10
- base: ["flex", "flex-col", "gap-6", "w-170", "h-80", "relative"],
11
- avatar: ["absolute", "-bottom-20", "right-6"],
12
- info: ["flex", "flex-col", "gap-3"],
13
- description: ["text-slate-500"],
14
- },
10
+ slots: {
11
+ base: ["flex", "flex-col", "gap-6", "w-170", "h-80", "relative"],
12
+ avatar: ["absolute", "-bottom-20", "right-6"],
13
+ info: ["flex", "flex-col", "gap-3"],
14
+ description: ["text-slate-500"]
15
+ }
15
16
  });
16
- /**
17
- * Profile banner component for displaying user profile info.
18
- */
19
- export const ProfileBanner = (props) => {
20
- const { base, avatar, info, description } = ProfileBannerStyles(props);
21
- const profileImageUploadModalRef = useRef(null);
22
- const avatarImageUploadModalRef = useRef(null);
23
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: base(), children: [_jsx(ProfileBannerImage, { src: props.imageSrc, alt: props.imageAlt, onClick: () => profileImageUploadModalRef.current?.openModal(true) }), _jsx("div", { className: avatar(), children: _jsx(Avatar, { src: props.avatarSrc, alt: props.avatarAlt, size: "xl", onActionClick: props.isCurrentUser
24
- ? () => avatarImageUploadModalRef.current?.openModal(true)
25
- : undefined }) }), _jsxs("div", { className: info(), children: [_jsx(ProfileBannerInfo, { isCurrentUser: props.isCurrentUser, displayName: props.displayName, userName: props.userName, location: props.location, joinedTimestamp: props.joinedTimestamp, onProfileClick: () => { } }), _jsx(Paragraph, { size: "md", className: description(), children: props.description })] })] }), _jsx(ImageUploadModal, { ref: profileImageUploadModalRef, onFileChange: props.onProfileImageChange ?? (() => { }) }), _jsx(ImageUploadModal, { ref: avatarImageUploadModalRef, onFileChange: props.onAvatarImageChange ?? (() => { }) })] }));
17
+ const ProfileBanner = (props) => {
18
+ const { base, avatar, info, description } = ProfileBannerStyles(props);
19
+ const profileImageUploadModalRef = useRef(null);
20
+ const avatarImageUploadModalRef = useRef(null);
21
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
22
+ /* @__PURE__ */ jsxs("div", { className: base(), children: [
23
+ /* @__PURE__ */ jsx(
24
+ ProfileBannerImage,
25
+ {
26
+ src: props.imageSrc,
27
+ alt: props.imageAlt,
28
+ onClick: () => profileImageUploadModalRef.current?.openModal(true)
29
+ }
30
+ ),
31
+ /* @__PURE__ */ jsx("div", { className: avatar(), children: /* @__PURE__ */ jsx(
32
+ Avatar,
33
+ {
34
+ src: props.avatarSrc,
35
+ alt: props.avatarAlt,
36
+ size: "xl",
37
+ onActionClick: props.isCurrentUser ? () => avatarImageUploadModalRef.current?.openModal(true) : void 0
38
+ }
39
+ ) }),
40
+ /* @__PURE__ */ jsxs("div", { className: info(), children: [
41
+ /* @__PURE__ */ jsx(
42
+ ProfileBannerInfo,
43
+ {
44
+ isCurrentUser: props.isCurrentUser,
45
+ displayName: props.displayName,
46
+ userName: props.userName,
47
+ location: props.location,
48
+ joinedTimestamp: props.joinedTimestamp,
49
+ onProfileClick: () => {
50
+ }
51
+ }
52
+ ),
53
+ /* @__PURE__ */ jsx(Paragraph, { size: "md", className: description(), children: props.description })
54
+ ] })
55
+ ] }),
56
+ /* @__PURE__ */ jsx(
57
+ ImageUploadModal,
58
+ {
59
+ ref: profileImageUploadModalRef,
60
+ onFileChange: props.onProfileImageChange ?? (() => {
61
+ })
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(
65
+ ImageUploadModal,
66
+ {
67
+ ref: avatarImageUploadModalRef,
68
+ onFileChange: props.onAvatarImageChange ?? (() => {
69
+ })
70
+ }
71
+ )
72
+ ] });
73
+ };
74
+ export {
75
+ ProfileBanner
26
76
  };
@@ -1,5 +1,5 @@
1
- import { type VariantProps } from "tailwind-variants";
2
- declare const ProfileBannerImageStyles: import("tailwind-variants").TVReturnType<{
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const ProfileBannerImageStyles: import('tailwind-variants').TVReturnType<{
3
3
  isFallback: {
4
4
  true: {
5
5
  image: string[];
@@ -21,7 +21,7 @@ declare const ProfileBannerImageStyles: import("tailwind-variants").TVReturnType
21
21
  image: string[];
22
22
  overlay: string[];
23
23
  icon: string[];
24
- }, import("tailwind-variants").TVReturnType<{
24
+ }, import('tailwind-variants').TVReturnType<{
25
25
  isFallback: {
26
26
  true: {
27
27
  image: string[];
@@ -52,3 +52,4 @@ interface ProfileBannerImageProps extends ProfileBannerImageVariants {
52
52
  */
53
53
  export declare const ProfileBannerImage: React.FC<ProfileBannerImageProps>;
54
54
  export {};
55
+ //# sourceMappingURL=ProfileBannerImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileBannerImage.d.ts","sourceRoot":"","sources":["../../../src/compositions/profile-banner-image/ProfileBannerImage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG9D,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAwC5B,CAAC;AAEH,KAAK,0BAA0B,GAAG,YAAY,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,UAAU,uBAAwB,SAAQ,0BAA0B;IAClE,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ,+DAA+D;IAC/D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA0BhE,CAAC"}
@@ -1,57 +1,65 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import * as AspectRatio from "@radix-ui/react-aspect-ratio";
3
3
  import { useState } from "react";
4
- import { cn, tv } from "tailwind-variants";
5
- import { Edit } from "../../components/icons/generated";
4
+ import { tv, cn } from "tailwind-variants";
5
+ import { Edit } from "../../components/icons/generated/Edit.js";
6
6
  const ProfileBannerImageStyles = tv({
7
- slots: {
8
- base: ["w-170", "h-80"],
9
- image: [
10
- "h-full",
11
- "w-full",
12
- "cursor-pointer",
13
- "rounded-2xl",
14
- "object-cover",
15
- ],
16
- overlay: [
17
- "group",
18
- "absolute",
19
- "flex",
20
- "items-center",
21
- "justify-center",
22
- "text-white",
23
- "inset-0",
24
- "bg-violet-600/0",
25
- "hover:bg-violet-600/50",
26
- "transition",
27
- "duration-500",
28
- "ease-in-out",
29
- ],
30
- icon: [
31
- "w-8",
32
- "h-8",
33
- "opacity-0",
34
- "group-hover:opacity-100",
35
- "transition",
36
- "duration-500",
37
- "rotate-15",
38
- "group-hover:rotate-0",
39
- ],
40
- },
41
- variants: {
42
- isFallback: {
43
- true: { image: ["bg-violet-200"] },
44
- },
45
- },
7
+ slots: {
8
+ base: ["w-170", "h-80"],
9
+ image: [
10
+ "h-full",
11
+ "w-full",
12
+ "cursor-pointer",
13
+ "rounded-2xl",
14
+ "object-cover"
15
+ ],
16
+ overlay: [
17
+ "group",
18
+ "absolute",
19
+ "flex",
20
+ "items-center",
21
+ "justify-center",
22
+ "text-white",
23
+ "inset-0",
24
+ "bg-violet-600/0",
25
+ "hover:bg-violet-600/50",
26
+ "transition",
27
+ "duration-500",
28
+ "ease-in-out"
29
+ ],
30
+ icon: [
31
+ "w-8",
32
+ "h-8",
33
+ "opacity-0",
34
+ "group-hover:opacity-100",
35
+ "transition",
36
+ "duration-500",
37
+ "rotate-15",
38
+ "group-hover:rotate-0"
39
+ ]
40
+ },
41
+ variants: {
42
+ isFallback: {
43
+ true: { image: ["bg-violet-200"] }
44
+ }
45
+ }
46
46
  });
47
- /**
48
- * ProfileBannerImage component
49
- *
50
- * Displays a banner image with a fixed aspect ratio (17:8) and an optional overlay icon.
51
- * If the image fails to load, a fallback element is displayed instead.
52
- */
53
- export const ProfileBannerImage = (props) => {
54
- const { base, image, overlay, icon } = ProfileBannerImageStyles(props);
55
- const [src, setSrc] = useState(props.src);
56
- return (_jsx("div", { className: base(), children: src ? (_jsxs(AspectRatio.Root, { ratio: 17 / 8, children: [_jsx("img", { className: image(), src: src, alt: props.alt, onError: () => setSrc("") }), _jsx("button", { className: cn(image(), overlay()), onClick: props.onClick, children: _jsx(Edit, { className: icon() }) })] })) : (_jsx("div", { className: image({ isFallback: true }) })) }));
47
+ const ProfileBannerImage = (props) => {
48
+ const { base, image, overlay, icon } = ProfileBannerImageStyles(props);
49
+ const [src, setSrc] = useState(props.src);
50
+ return /* @__PURE__ */ jsx("div", { className: base(), children: src ? /* @__PURE__ */ jsxs(AspectRatio.Root, { ratio: 17 / 8, children: [
51
+ /* @__PURE__ */ jsx(
52
+ "img",
53
+ {
54
+ className: image(),
55
+ src,
56
+ alt: props.alt,
57
+ onError: () => setSrc("")
58
+ }
59
+ ),
60
+ /* @__PURE__ */ jsx("button", { className: cn(image(), overlay()), onClick: props.onClick, children: /* @__PURE__ */ jsx(Edit, { className: icon() }) })
61
+ ] }) : /* @__PURE__ */ jsx("div", { className: image({ isFallback: true }) }) });
62
+ };
63
+ export {
64
+ ProfileBannerImage
57
65
  };
@@ -1,24 +1,24 @@
1
- import { type VariantProps } from "tailwind-variants";
2
- declare const profileBannerInfoStyles: import("tailwind-variants").TVReturnType<{
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const profileBannerInfoStyles: import('tailwind-variants').TVReturnType<{
3
3
  [key: string]: {
4
- [key: string]: import("tailwind-merge").ClassNameValue | {
5
- displayName?: import("tailwind-merge").ClassNameValue;
6
- base?: import("tailwind-merge").ClassNameValue;
7
- title?: import("tailwind-merge").ClassNameValue;
8
- icon?: import("tailwind-merge").ClassNameValue;
9
- detailInfo?: import("tailwind-merge").ClassNameValue;
10
- secondaryInfo?: import("tailwind-merge").ClassNameValue;
4
+ [key: string]: import('tailwind-merge').ClassNameValue | {
5
+ displayName?: import('tailwind-merge').ClassNameValue;
6
+ base?: import('tailwind-merge').ClassNameValue;
7
+ title?: import('tailwind-merge').ClassNameValue;
8
+ icon?: import('tailwind-merge').ClassNameValue;
9
+ detailInfo?: import('tailwind-merge').ClassNameValue;
10
+ secondaryInfo?: import('tailwind-merge').ClassNameValue;
11
11
  };
12
12
  };
13
13
  } | {
14
14
  [x: string]: {
15
- [x: string]: import("tailwind-merge").ClassNameValue | {
16
- displayName?: import("tailwind-merge").ClassNameValue;
17
- base?: import("tailwind-merge").ClassNameValue;
18
- title?: import("tailwind-merge").ClassNameValue;
19
- icon?: import("tailwind-merge").ClassNameValue;
20
- detailInfo?: import("tailwind-merge").ClassNameValue;
21
- secondaryInfo?: import("tailwind-merge").ClassNameValue;
15
+ [x: string]: import('tailwind-merge').ClassNameValue | {
16
+ displayName?: import('tailwind-merge').ClassNameValue;
17
+ base?: import('tailwind-merge').ClassNameValue;
18
+ title?: import('tailwind-merge').ClassNameValue;
19
+ icon?: import('tailwind-merge').ClassNameValue;
20
+ detailInfo?: import('tailwind-merge').ClassNameValue;
21
+ secondaryInfo?: import('tailwind-merge').ClassNameValue;
22
22
  };
23
23
  };
24
24
  } | {}, {
@@ -30,13 +30,13 @@ declare const profileBannerInfoStyles: import("tailwind-variants").TVReturnType<
30
30
  secondaryInfo: string[];
31
31
  }, undefined, {
32
32
  [key: string]: {
33
- [key: string]: import("tailwind-merge").ClassNameValue | {
34
- displayName?: import("tailwind-merge").ClassNameValue;
35
- base?: import("tailwind-merge").ClassNameValue;
36
- title?: import("tailwind-merge").ClassNameValue;
37
- icon?: import("tailwind-merge").ClassNameValue;
38
- detailInfo?: import("tailwind-merge").ClassNameValue;
39
- secondaryInfo?: import("tailwind-merge").ClassNameValue;
33
+ [key: string]: import('tailwind-merge').ClassNameValue | {
34
+ displayName?: import('tailwind-merge').ClassNameValue;
35
+ base?: import('tailwind-merge').ClassNameValue;
36
+ title?: import('tailwind-merge').ClassNameValue;
37
+ icon?: import('tailwind-merge').ClassNameValue;
38
+ detailInfo?: import('tailwind-merge').ClassNameValue;
39
+ secondaryInfo?: import('tailwind-merge').ClassNameValue;
40
40
  };
41
41
  };
42
42
  } | {}, {
@@ -46,7 +46,7 @@ declare const profileBannerInfoStyles: import("tailwind-variants").TVReturnType<
46
46
  displayName: string[];
47
47
  detailInfo: string[];
48
48
  secondaryInfo: string[];
49
- }, import("tailwind-variants").TVReturnType<unknown, {
49
+ }, import('tailwind-variants').TVReturnType<unknown, {
50
50
  base: string[];
51
51
  title: string[];
52
52
  icon: string[];
@@ -90,3 +90,4 @@ interface ProfileBannerInfoProps extends ProfileBannerInfoVariants {
90
90
  */
91
91
  export declare const ProfileBannerInfo: React.FC<ProfileBannerInfoProps>;
92
92
  export {};
93
+ //# sourceMappingURL=ProfileBannerInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileBannerInfo.d.ts","sourceRoot":"","sources":["../../../src/compositions/profile-banner-info/ProfileBannerInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAU1D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAS3B,CAAC;AAEH,KAAK,yBAAyB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,UAAU,sBAAuB,SAAQ,yBAAyB;IAChE,sEAAsE;IACtE,aAAa,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,eAAe,EAAE,IAAI,CAAC;IAEtB;;;OAGG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAE3B,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAwBD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgD9D,CAAC"}
@@ -1,47 +1,79 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { tv } from "tailwind-variants";
3
- import { IconButton } from "../../components/icon-button/IconButton";
4
- import { Profile, Location, Calendar, Settings, } from "../../components/icons/generated";
5
- import { Label } from "../../components/typography/Label";
3
+ import { IconButton } from "../../components/icon-button/IconButton.js";
4
+ import { Label } from "../../components/typography/Label.js";
5
+ import { Settings } from "../../components/icons/generated/Settings.js";
6
+ import { Location } from "../../components/icons/generated/Location.js";
7
+ import { Calendar } from "../../components/icons/generated/Calendar.js";
8
+ import { Profile } from "../../components/icons/generated/Profile.js";
6
9
  const profileBannerInfoStyles = tv({
7
- slots: {
8
- base: ["flex", "flex-col", "gap-2", "items-start"],
9
- title: ["flex", "gap-1", "items-center", "**:cursor-pointer"],
10
- icon: ["text-violet-600", "-mt-0.5"],
11
- displayName: ["text-slate-900"],
12
- detailInfo: ["flex", "gap-4"],
13
- secondaryInfo: ["text-slate-500"],
14
- },
10
+ slots: {
11
+ base: ["flex", "flex-col", "gap-2", "items-start"],
12
+ title: ["flex", "gap-1", "items-center", "**:cursor-pointer"],
13
+ icon: ["text-violet-600", "-mt-0.5"],
14
+ displayName: ["text-slate-900"],
15
+ detailInfo: ["flex", "gap-4"],
16
+ secondaryInfo: ["text-slate-500"]
17
+ }
15
18
  });
16
19
  function timeSince(timestamp) {
17
- const now = new Date();
18
- const past = timestamp instanceof Date ? timestamp : new Date(timestamp);
19
- const diffMs = now.getTime() - past.getTime();
20
- const seconds = Math.floor(diffMs / 1000);
21
- const minutes = Math.floor(seconds / 60);
22
- const hours = Math.floor(minutes / 60);
23
- const days = Math.floor(hours / 24);
24
- const months = Math.floor(days / 30); // approximate
25
- const years = Math.floor(days / 365); // approximate
26
- if (years > 0)
27
- return years === 1 ? "1 year" : `${years} years`;
28
- if (months > 0)
29
- return months === 1 ? "1 month" : `${months} months`;
30
- if (days > 0)
31
- return days === 1 ? "1 day" : `${days} days`;
32
- if (hours > 0)
33
- return hours === 1 ? "1 hour" : `${hours} hours`;
34
- if (minutes > 0)
35
- return minutes === 1 ? "1 minute" : `${minutes} minutes`;
36
- return seconds <= 1 ? "just now" : `${seconds} seconds`;
20
+ const now = /* @__PURE__ */ new Date();
21
+ const past = timestamp instanceof Date ? timestamp : new Date(timestamp);
22
+ const diffMs = now.getTime() - past.getTime();
23
+ const seconds = Math.floor(diffMs / 1e3);
24
+ const minutes = Math.floor(seconds / 60);
25
+ const hours = Math.floor(minutes / 60);
26
+ const days = Math.floor(hours / 24);
27
+ const months = Math.floor(days / 30);
28
+ const years = Math.floor(days / 365);
29
+ if (years > 0) return years === 1 ? "1 year" : `${years} years`;
30
+ if (months > 0) return months === 1 ? "1 month" : `${months} months`;
31
+ if (days > 0) return days === 1 ? "1 day" : `${days} days`;
32
+ if (hours > 0) return hours === 1 ? "1 hour" : `${hours} hours`;
33
+ if (minutes > 0) return minutes === 1 ? "1 minute" : `${minutes} minutes`;
34
+ return seconds <= 1 ? "just now" : `${seconds} seconds`;
37
35
  }
38
36
  const memberSincePrefix = "Member since ";
39
- /**
40
- * ProfileBannerInfo Component
41
- *
42
- * Renders profile information used in a user profile banner
43
- */
44
- export const ProfileBannerInfo = (props) => {
45
- const { base, title, icon, displayName, detailInfo, secondaryInfo } = profileBannerInfoStyles(props);
46
- return (_jsxs("div", { className: base(), children: [_jsxs("div", { className: title(), children: [_jsx("button", { onClick: props.onProfileClick, className: displayName(), children: _jsx(Label, { size: "xl", children: props.displayName }) }), props.isCurrentUser && (_jsx("button", { onClick: props.onSettingsClick, children: _jsx(Settings, { className: icon() }) }))] }), _jsxs("div", { className: detailInfo(), children: [_jsx(IconButton, { intent: "secondary", icon: Profile, onClick: props.onProfileClick, children: props.userName }), _jsx(IconButton, { intent: "primary", icon: Location, onClick: props.onProfileClick, className: secondaryInfo(), children: props.location }), _jsx(IconButton, { intent: "primary", icon: Calendar, onClick: props.onProfileClick, className: secondaryInfo(), children: memberSincePrefix + timeSince(props.joinedTimestamp) })] })] }));
37
+ const ProfileBannerInfo = (props) => {
38
+ const { base, title, icon, displayName, detailInfo, secondaryInfo } = profileBannerInfoStyles(props);
39
+ return /* @__PURE__ */ jsxs("div", { className: base(), children: [
40
+ /* @__PURE__ */ jsxs("div", { className: title(), children: [
41
+ /* @__PURE__ */ jsx("button", { onClick: props.onProfileClick, className: displayName(), children: /* @__PURE__ */ jsx(Label, { size: "xl", children: props.displayName }) }),
42
+ props.isCurrentUser && /* @__PURE__ */ jsx("button", { onClick: props.onSettingsClick, children: /* @__PURE__ */ jsx(Settings, { className: icon() }) })
43
+ ] }),
44
+ /* @__PURE__ */ jsxs("div", { className: detailInfo(), children: [
45
+ /* @__PURE__ */ jsx(
46
+ IconButton,
47
+ {
48
+ intent: "secondary",
49
+ icon: Profile,
50
+ onClick: props.onProfileClick,
51
+ children: props.userName
52
+ }
53
+ ),
54
+ /* @__PURE__ */ jsx(
55
+ IconButton,
56
+ {
57
+ intent: "primary",
58
+ icon: Location,
59
+ onClick: props.onProfileClick,
60
+ className: secondaryInfo(),
61
+ children: props.location
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(
65
+ IconButton,
66
+ {
67
+ intent: "primary",
68
+ icon: Calendar,
69
+ onClick: props.onProfileClick,
70
+ className: secondaryInfo(),
71
+ children: memberSincePrefix + timeSince(props.joinedTimestamp)
72
+ }
73
+ )
74
+ ] })
75
+ ] });
76
+ };
77
+ export {
78
+ ProfileBannerInfo
47
79
  };
@@ -1,20 +1,20 @@
1
- import { type VariantProps } from "tailwind-variants";
2
- declare const ResponseStyles: import("tailwind-variants").TVReturnType<{
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const ResponseStyles: import('tailwind-variants').TVReturnType<{
3
3
  [key: string]: {
4
- [key: string]: import("tailwind-merge").ClassNameValue | {
5
- base?: import("tailwind-merge").ClassNameValue;
6
- text?: import("tailwind-merge").ClassNameValue;
7
- action?: import("tailwind-merge").ClassNameValue;
8
- content?: import("tailwind-merge").ClassNameValue;
4
+ [key: string]: import('tailwind-merge').ClassNameValue | {
5
+ base?: import('tailwind-merge').ClassNameValue;
6
+ text?: import('tailwind-merge').ClassNameValue;
7
+ action?: import('tailwind-merge').ClassNameValue;
8
+ content?: import('tailwind-merge').ClassNameValue;
9
9
  };
10
10
  };
11
11
  } | {
12
12
  [x: string]: {
13
- [x: string]: import("tailwind-merge").ClassNameValue | {
14
- base?: import("tailwind-merge").ClassNameValue;
15
- text?: import("tailwind-merge").ClassNameValue;
16
- action?: import("tailwind-merge").ClassNameValue;
17
- content?: import("tailwind-merge").ClassNameValue;
13
+ [x: string]: import('tailwind-merge').ClassNameValue | {
14
+ base?: import('tailwind-merge').ClassNameValue;
15
+ text?: import('tailwind-merge').ClassNameValue;
16
+ action?: import('tailwind-merge').ClassNameValue;
17
+ content?: import('tailwind-merge').ClassNameValue;
18
18
  };
19
19
  };
20
20
  } | {}, {
@@ -24,11 +24,11 @@ declare const ResponseStyles: import("tailwind-variants").TVReturnType<{
24
24
  action: string[];
25
25
  }, undefined, {
26
26
  [key: string]: {
27
- [key: string]: import("tailwind-merge").ClassNameValue | {
28
- base?: import("tailwind-merge").ClassNameValue;
29
- text?: import("tailwind-merge").ClassNameValue;
30
- action?: import("tailwind-merge").ClassNameValue;
31
- content?: import("tailwind-merge").ClassNameValue;
27
+ [key: string]: import('tailwind-merge').ClassNameValue | {
28
+ base?: import('tailwind-merge').ClassNameValue;
29
+ text?: import('tailwind-merge').ClassNameValue;
30
+ action?: import('tailwind-merge').ClassNameValue;
31
+ content?: import('tailwind-merge').ClassNameValue;
32
32
  };
33
33
  };
34
34
  } | {}, {
@@ -36,7 +36,7 @@ declare const ResponseStyles: import("tailwind-variants").TVReturnType<{
36
36
  content: string[];
37
37
  text: string[];
38
38
  action: string[];
39
- }, import("tailwind-variants").TVReturnType<unknown, {
39
+ }, import('tailwind-variants').TVReturnType<unknown, {
40
40
  base: never[];
41
41
  content: string[];
42
42
  text: string[];
@@ -73,3 +73,4 @@ interface ResponseProps extends ResponseVariants {
73
73
  */
74
74
  export declare const Response: React.FC<ResponseProps>;
75
75
  export {};
76
+ //# sourceMappingURL=Response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../src/compositions/response/Response.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAO1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAOlB,CAAC;AAEH,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;IAEpB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IAEjB,uDAAuD;IACvD,SAAS,EAAE,IAAI,CAAC;IAEhB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IAEb,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IAEZ,4CAA4C;IAC5C,aAAa,EAAE,MAAM,IAAI,CAAC;IAE1B,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,yDAAyD;IACzD,cAAc,EAAE,MAAM,IAAI,CAAC;IAE3B,sDAAsD;IACtD,WAAW,EAAE,MAAM,IAAI,CAAC;IAExB,uDAAuD;IACvD,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyC5C,CAAC"}