@krrli/cm-designsystem 1.32.2 → 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 (141) hide show
  1. package/dist/components/accessible-button/AccessibleButton.d.ts +33 -0
  2. package/dist/components/accessible-button/AccessibleButton.d.ts.map +1 -0
  3. package/dist/components/avatar/Avatar.d.ts +119 -0
  4. package/dist/components/avatar/Avatar.d.ts.map +1 -0
  5. package/dist/components/branding/BrandingGallery.d.ts +2 -0
  6. package/dist/components/branding/BrandingGallery.d.ts.map +1 -0
  7. package/dist/components/button/Button.d.ts +67 -0
  8. package/dist/components/button/Button.d.ts.map +1 -0
  9. package/dist/components/color/ColorDoc.d.ts +5 -0
  10. package/dist/components/color/ColorDoc.d.ts.map +1 -0
  11. package/dist/components/file-upload/FileUpload.d.ts +84 -0
  12. package/dist/components/file-upload/FileUpload.d.ts.map +1 -0
  13. package/dist/components/form/Form.d.ts +55 -0
  14. package/dist/components/form/Form.d.ts.map +1 -0
  15. package/dist/components/icon-button/IconButton.d.ts +70 -0
  16. package/dist/components/icon-button/IconButton.d.ts.map +1 -0
  17. package/dist/components/icons/IconBase.d.ts +6 -0
  18. package/dist/components/icons/IconBase.d.ts.map +1 -0
  19. package/dist/components/icons/generated/ArrowDown.d.ts +4 -0
  20. package/dist/components/icons/generated/ArrowDown.d.ts.map +1 -0
  21. package/dist/components/icons/generated/ArrowLeft.d.ts +4 -0
  22. package/dist/components/icons/generated/ArrowLeft.d.ts.map +1 -0
  23. package/dist/components/icons/generated/ArrowRight.d.ts +4 -0
  24. package/dist/components/icons/generated/ArrowRight.d.ts.map +1 -0
  25. package/dist/components/icons/generated/ArrowUp.d.ts +4 -0
  26. package/dist/components/icons/generated/ArrowUp.d.ts.map +1 -0
  27. package/dist/components/icons/generated/Calendar.d.ts +4 -0
  28. package/dist/components/icons/generated/Calendar.d.ts.map +1 -0
  29. package/dist/components/icons/generated/Cancel.d.ts +4 -0
  30. package/dist/components/icons/generated/Cancel.d.ts.map +1 -0
  31. package/dist/components/icons/generated/Checkmark.d.ts +4 -0
  32. package/dist/components/icons/generated/Checkmark.d.ts.map +1 -0
  33. package/dist/components/icons/generated/Edit.d.ts +4 -0
  34. package/dist/components/icons/generated/Edit.d.ts.map +1 -0
  35. package/dist/components/icons/generated/Eye.d.ts +4 -0
  36. package/dist/components/icons/generated/Eye.d.ts.map +1 -0
  37. package/dist/components/icons/generated/Fullscreen.d.ts +4 -0
  38. package/dist/components/icons/generated/Fullscreen.d.ts.map +1 -0
  39. package/dist/components/icons/generated/HeartFilled.d.ts +4 -0
  40. package/dist/components/icons/generated/HeartFilled.d.ts.map +1 -0
  41. package/dist/components/icons/generated/HeartOutline.d.ts +4 -0
  42. package/dist/components/icons/generated/HeartOutline.d.ts.map +1 -0
  43. package/dist/components/icons/generated/Location.d.ts +4 -0
  44. package/dist/components/icons/generated/Location.d.ts.map +1 -0
  45. package/dist/components/icons/generated/LogOut.d.ts +4 -0
  46. package/dist/components/icons/generated/LogOut.d.ts.map +1 -0
  47. package/dist/components/icons/generated/Mumble.d.ts +4 -0
  48. package/dist/components/icons/generated/Mumble.d.ts.map +1 -0
  49. package/dist/components/icons/generated/Profile.d.ts +4 -0
  50. package/dist/components/icons/generated/Profile.d.ts.map +1 -0
  51. package/dist/components/icons/generated/ReplyFilled.d.ts +4 -0
  52. package/dist/components/icons/generated/ReplyFilled.d.ts.map +1 -0
  53. package/dist/components/icons/generated/ReplyOutline.d.ts +4 -0
  54. package/dist/components/icons/generated/ReplyOutline.d.ts.map +1 -0
  55. package/dist/components/icons/generated/Repost.d.ts +4 -0
  56. package/dist/components/icons/generated/Repost.d.ts.map +1 -0
  57. package/dist/components/icons/generated/Send.d.ts +4 -0
  58. package/dist/components/icons/generated/Send.d.ts.map +1 -0
  59. package/dist/components/icons/generated/Settings.d.ts +4 -0
  60. package/dist/components/icons/generated/Settings.d.ts.map +1 -0
  61. package/dist/components/icons/generated/Share.d.ts +4 -0
  62. package/dist/components/icons/generated/Share.d.ts.map +1 -0
  63. package/dist/components/icons/generated/Time.d.ts +4 -0
  64. package/dist/components/icons/generated/Time.d.ts.map +1 -0
  65. package/dist/components/icons/generated/Upload.d.ts +4 -0
  66. package/dist/components/icons/generated/Upload.d.ts.map +1 -0
  67. package/dist/components/icons/generated/index.d.ts +25 -0
  68. package/dist/components/icons/generated/index.d.ts.map +1 -0
  69. package/dist/components/index.d.ts +28 -0
  70. package/dist/components/index.d.ts.map +1 -0
  71. package/dist/components/input/Input.d.ts +62 -0
  72. package/dist/components/input/Input.d.ts.map +1 -0
  73. package/dist/components/like-toggle/LikeToggle.d.ts +98 -0
  74. package/dist/components/like-toggle/LikeToggle.d.ts.map +1 -0
  75. package/dist/components/logo-link/LogoLink.d.ts +12 -0
  76. package/dist/components/logo-link/LogoLink.d.ts.map +1 -0
  77. package/dist/components/modal/Modal.d.ts +76 -0
  78. package/dist/components/modal/Modal.d.ts.map +1 -0
  79. package/dist/components/navi-button/NaviButton.d.ts +50 -0
  80. package/dist/components/navi-button/NaviButton.d.ts.map +1 -0
  81. package/dist/components/navi-user-button/NaviUserButton.d.ts +45 -0
  82. package/dist/components/navi-user-button/NaviUserButton.d.ts.map +1 -0
  83. package/dist/components/round-button/RoundButton.d.ts +45 -0
  84. package/dist/components/round-button/RoundButton.d.ts.map +1 -0
  85. package/dist/components/tabs/TabItem.d.ts +12 -0
  86. package/dist/components/tabs/TabItem.d.ts.map +1 -0
  87. package/dist/components/tabs/Tabs.d.ts +68 -0
  88. package/dist/components/tabs/Tabs.d.ts.map +1 -0
  89. package/dist/components/text-link/TextLink.d.ts +10 -0
  90. package/dist/components/text-link/TextLink.d.ts.map +1 -0
  91. package/dist/components/textarea/Textarea.d.ts +49 -0
  92. package/dist/components/textarea/Textarea.d.ts.map +1 -0
  93. package/dist/components/timed-button/TimedButton.d.ts +80 -0
  94. package/dist/components/timed-button/TimedButton.d.ts.map +1 -0
  95. package/dist/components/toggle/Toggle.d.ts +63 -0
  96. package/dist/components/toggle/Toggle.d.ts.map +1 -0
  97. package/dist/components/typography/AccessibleTypography.d.ts +34 -0
  98. package/dist/components/typography/AccessibleTypography.d.ts.map +1 -0
  99. package/dist/components/typography/Heading.d.ts +25 -0
  100. package/dist/components/typography/Heading.d.ts.map +1 -0
  101. package/dist/components/typography/Label.d.ts +23 -0
  102. package/dist/components/typography/Label.d.ts.map +1 -0
  103. package/dist/components/typography/Paragraph.d.ts +23 -0
  104. package/dist/components/typography/Paragraph.d.ts.map +1 -0
  105. package/dist/components/typography/Placeholder.d.ts +18 -0
  106. package/dist/components/typography/Placeholder.d.ts.map +1 -0
  107. package/dist/components/typography/ValidationMessage.d.ts +23 -0
  108. package/dist/components/typography/ValidationMessage.d.ts.map +1 -0
  109. package/dist/components/typography/styles.d.ts +75 -0
  110. package/dist/components/typography/styles.d.ts.map +1 -0
  111. package/dist/compositions/image-banner/ImageBanner.d.ts +55 -0
  112. package/dist/compositions/image-banner/ImageBanner.d.ts.map +1 -0
  113. package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts +16 -0
  114. package/dist/compositions/image-upload-modal/ImageUploadModal.d.ts.map +1 -0
  115. package/dist/compositions/index.d.ts +12 -0
  116. package/dist/compositions/index.d.ts.map +1 -0
  117. package/dist/compositions/post/Post.d.ts +76 -0
  118. package/dist/compositions/post/Post.d.ts.map +1 -0
  119. package/dist/compositions/post-base/PostBase.d.ts +42 -0
  120. package/dist/compositions/post-base/PostBase.d.ts.map +1 -0
  121. package/dist/compositions/post-creator/PostCreator.d.ts +70 -0
  122. package/dist/compositions/post-creator/PostCreator.d.ts.map +1 -0
  123. package/dist/compositions/profile-banner/ProfileBanner.d.ts +83 -0
  124. package/dist/compositions/profile-banner/ProfileBanner.d.ts.map +1 -0
  125. package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts +55 -0
  126. package/dist/compositions/profile-banner-image/ProfileBannerImage.d.ts.map +1 -0
  127. package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts +93 -0
  128. package/dist/compositions/profile-banner-info/ProfileBannerInfo.d.ts.map +1 -0
  129. package/dist/compositions/response/Response.d.ts +76 -0
  130. package/dist/compositions/response/Response.d.ts.map +1 -0
  131. package/dist/compositions/response-creator/ResponseCreator.d.ts +64 -0
  132. package/dist/compositions/response-creator/ResponseCreator.d.ts.map +1 -0
  133. package/dist/compositions/user-info/UserInfo.d.ts +76 -0
  134. package/dist/compositions/user-info/UserInfo.d.ts.map +1 -0
  135. package/dist/compositions/user-recommendation/UserRecommendation.d.ts +64 -0
  136. package/dist/compositions/user-recommendation/UserRecommendation.d.ts.map +1 -0
  137. package/dist/index.d.ts +3 -0
  138. package/dist/index.d.ts.map +1 -0
  139. package/dist/setupTests.d.ts +1 -0
  140. package/dist/setupTests.d.ts.map +1 -0
  141. package/package.json +3 -3
@@ -0,0 +1,68 @@
1
+ import { default as React } from 'react';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import { TabItemProps } from './TabItem';
4
+ declare const tabStyles: import('tailwind-variants').TVReturnType<{
5
+ selected: {
6
+ false: {
7
+ trigger: string[];
8
+ };
9
+ true: {
10
+ trigger: string[];
11
+ };
12
+ };
13
+ effect: {
14
+ first: {};
15
+ middle: {};
16
+ last: {};
17
+ };
18
+ }, {
19
+ list: string[];
20
+ trigger: string[];
21
+ }, undefined, {
22
+ selected: {
23
+ false: {
24
+ trigger: string[];
25
+ };
26
+ true: {
27
+ trigger: string[];
28
+ };
29
+ };
30
+ effect: {
31
+ first: {};
32
+ middle: {};
33
+ last: {};
34
+ };
35
+ }, {
36
+ list: string[];
37
+ trigger: string[];
38
+ }, import('tailwind-variants').TVReturnType<{
39
+ selected: {
40
+ false: {
41
+ trigger: string[];
42
+ };
43
+ true: {
44
+ trigger: string[];
45
+ };
46
+ };
47
+ effect: {
48
+ first: {};
49
+ middle: {};
50
+ last: {};
51
+ };
52
+ }, {
53
+ list: string[];
54
+ trigger: string[];
55
+ }, undefined, unknown, unknown, undefined>>;
56
+ type TabVariants = VariantProps<typeof tabStyles>;
57
+ export interface TabLabelProps {
58
+ value: string;
59
+ label: string;
60
+ }
61
+ export interface TabProps extends TabVariants {
62
+ value: string;
63
+ onChange?: (value: string) => void;
64
+ children: React.ReactElement<TabItemProps>[];
65
+ }
66
+ export declare const Tabs: (props: TabProps) => import("react/jsx-runtime").JSX.Element;
67
+ export {};
68
+ //# sourceMappingURL=Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA2Cb,CAAC;AAEH,KAAK,WAAW,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,CAAC;CAC9C;AAED,eAAO,MAAM,IAAI,GAAI,OAAO,QAAQ,4CAsCnC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const textLinkStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
3
+ type TextLinkVariants = VariantProps<typeof textLinkStyles>;
4
+ interface TextLinkProps extends TextLinkVariants {
5
+ href: string;
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const TextLink: (props: TextLinkProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=TextLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextLink.d.ts","sourceRoot":"","sources":["../../../src/components/text-link/TextLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,QAAA,MAAM,cAAc,sMAQlB,CAAC;AAEH,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,4CAQ5C,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const textareaStyles: import('tailwind-variants').TVReturnType<{
3
+ [key: string]: {
4
+ [key: string]: import('tailwind-merge').ClassNameValue | {
5
+ base?: import('tailwind-merge').ClassNameValue;
6
+ control?: import('tailwind-merge').ClassNameValue;
7
+ message?: import('tailwind-merge').ClassNameValue;
8
+ };
9
+ };
10
+ } | {
11
+ [x: string]: {
12
+ [x: string]: import('tailwind-merge').ClassNameValue | {
13
+ base?: import('tailwind-merge').ClassNameValue;
14
+ control?: import('tailwind-merge').ClassNameValue;
15
+ message?: import('tailwind-merge').ClassNameValue;
16
+ };
17
+ };
18
+ } | {}, {
19
+ base: string[];
20
+ control: string[];
21
+ message: string[];
22
+ }, undefined, {
23
+ [key: string]: {
24
+ [key: string]: import('tailwind-merge').ClassNameValue | {
25
+ base?: import('tailwind-merge').ClassNameValue;
26
+ control?: import('tailwind-merge').ClassNameValue;
27
+ message?: import('tailwind-merge').ClassNameValue;
28
+ };
29
+ };
30
+ } | {}, {
31
+ base: string[];
32
+ control: string[];
33
+ message: string[];
34
+ }, import('tailwind-variants').TVReturnType<unknown, {
35
+ base: string[];
36
+ control: string[];
37
+ message: string[];
38
+ }, undefined, unknown, unknown, undefined>>;
39
+ type TextareaVariants = VariantProps<typeof textareaStyles>;
40
+ interface TextareaProps extends TextareaVariants {
41
+ name: string;
42
+ placeholder: string;
43
+ label?: string;
44
+ isRequired?: boolean;
45
+ onChange: (value: string) => void;
46
+ }
47
+ export declare const Textarea: ({ isRequired, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
48
+ export {};
49
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/Textarea.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAiClB,CAAC;AAEH,KAAK,gBAAgB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,UAAU,aAAc,SAAQ,gBAAgB;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,QAAQ,GAAI,0BAAkC,aAAa,4CAoCvE,CAAC"}
@@ -0,0 +1,80 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { BaseAccessibleButtonProps } from '../accessible-button/AccessibleButton';
3
+ import { IconBaseProps } from '../icons/IconBase';
4
+ declare const timedButtonStyles: import('tailwind-variants').TVReturnType<{
5
+ pressed: {
6
+ false: {};
7
+ true: {
8
+ base: string[];
9
+ };
10
+ };
11
+ animating: {
12
+ true: {};
13
+ false: {};
14
+ };
15
+ }, {
16
+ base: string[];
17
+ icon: string[];
18
+ label: string[];
19
+ }, undefined, {
20
+ pressed: {
21
+ false: {};
22
+ true: {
23
+ base: string[];
24
+ };
25
+ };
26
+ animating: {
27
+ true: {};
28
+ false: {};
29
+ };
30
+ }, {
31
+ base: string[];
32
+ icon: string[];
33
+ label: string[];
34
+ }, import('tailwind-variants').TVReturnType<{
35
+ pressed: {
36
+ false: {};
37
+ true: {
38
+ base: string[];
39
+ };
40
+ };
41
+ animating: {
42
+ true: {};
43
+ false: {};
44
+ };
45
+ }, {
46
+ base: string[];
47
+ icon: string[];
48
+ label: string[];
49
+ }, undefined, unknown, unknown, undefined>>;
50
+ type TimedButtonVariants = VariantProps<typeof timedButtonStyles>;
51
+ /**
52
+ * Props for the TimedButton component.
53
+ *
54
+ * @inheritdoc BaseAccessibleButtonProps
55
+ * @inheritdoc TimedButtonVariants
56
+ */
57
+ interface TimedButtonProps extends TimedButtonVariants, BaseAccessibleButtonProps {
58
+ /**
59
+ * Optional icon element rendered alongside the button label.
60
+ */
61
+ icon?: React.ComponentType<IconBaseProps>;
62
+ /**
63
+ * Default label displayed on the button.
64
+ *
65
+ * This is the visible text before the button is clicked or activated.
66
+ */
67
+ label: string;
68
+ /**
69
+ * Active label displayed temporarily after the button is clicked.
70
+ *
71
+ * Typically used to show feedback, e.g., `"Link copied!"`.
72
+ */
73
+ labelActive: string;
74
+ }
75
+ /**
76
+ * A button component that temporarily changes its label when pressed.
77
+ */
78
+ export declare const TimedButton: React.FC<TimedButtonProps>;
79
+ export {};
80
+ //# sourceMappingURL=TimedButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimedButton.d.ts","sourceRoot":"","sources":["../../../src/components/timed-button/TimedButton.tsx"],"names":[],"mappings":"AACA,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,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAoErB,CAAC;AAEH,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;;;GAKG;AACH,UAAU,gBACR,SAAQ,mBAAmB,EAAE,yBAAyB;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAE1C;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwDlD,CAAC"}
@@ -0,0 +1,63 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const toggleStyles: import('tailwind-variants').TVReturnType<{
3
+ pressed: {
4
+ true: {
5
+ base: string[];
6
+ icon: string[];
7
+ label: string[];
8
+ };
9
+ false: {
10
+ base: string[];
11
+ icon: string[];
12
+ label: string[];
13
+ };
14
+ };
15
+ }, {
16
+ base: string[];
17
+ icon: string[];
18
+ label: never[];
19
+ }, undefined, {
20
+ pressed: {
21
+ true: {
22
+ base: string[];
23
+ icon: string[];
24
+ label: string[];
25
+ };
26
+ false: {
27
+ base: string[];
28
+ icon: string[];
29
+ label: string[];
30
+ };
31
+ };
32
+ }, {
33
+ base: string[];
34
+ icon: string[];
35
+ label: never[];
36
+ }, import('tailwind-variants').TVReturnType<{
37
+ pressed: {
38
+ true: {
39
+ base: string[];
40
+ icon: string[];
41
+ label: string[];
42
+ };
43
+ false: {
44
+ base: string[];
45
+ icon: string[];
46
+ label: string[];
47
+ };
48
+ };
49
+ }, {
50
+ base: string[];
51
+ icon: string[];
52
+ label: never[];
53
+ }, undefined, unknown, unknown, undefined>>;
54
+ type ToggleVariants = VariantProps<typeof toggleStyles>;
55
+ interface ToggleProps extends ToggleVariants {
56
+ ariaLabel: string;
57
+ labelText: string;
58
+ pressed?: boolean;
59
+ onToggle: (toggled: boolean) => void;
60
+ }
61
+ export declare const Toggle: ({ ariaLabel, labelText, pressed, onToggle, }: ToggleProps) => import("react/jsx-runtime").JSX.Element;
62
+ export {};
63
+ //# sourceMappingURL=Toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/toggle/Toggle.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA0DhB,CAAC;AACH,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,UAAU,WAAY,SAAQ,cAAc;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,MAAM,GAAI,8CAKpB,WAAW,4CAwBb,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { JSX } from 'react';
2
+ /**
3
+ * Props for the Typography component.
4
+ */
5
+ export interface AccessibleTypographyProps {
6
+ /**
7
+ * The HTML tag to render (e.g., "p", "h1", "span").
8
+ * Determines the semantic element used for the text.
9
+ */
10
+ as?: keyof JSX.IntrinsicElements;
11
+ /**
12
+ * Additional Tailwind or custom class names to apply.
13
+ */
14
+ className?: string;
15
+ /**
16
+ * Defines the ARIA role of the element.
17
+ */
18
+ role?: string;
19
+ /**
20
+ * The accessible label associated with this element.
21
+ * Useful when the visible text isn’t descriptive enough.
22
+ */
23
+ ariaLabel?: string;
24
+ /**
25
+ * The content to be rendered inside the element.
26
+ */
27
+ children: React.ReactNode;
28
+ }
29
+ /**
30
+ * A flexible, semantic, accessible typography component that allows you
31
+ * to set the HTML tag and optionally make it clickable.
32
+ */
33
+ export declare const AccessibleTypography: React.FC<AccessibleTypographyProps>;
34
+ //# sourceMappingURL=AccessibleTypography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessibleTypography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/AccessibleTypography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAWpE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { AccessibleTypographyProps } from './AccessibleTypography';
3
+ import { headingStyles } from './styles';
4
+ import { JSX } from 'react';
5
+ type HeadingVariants = VariantProps<typeof headingStyles>;
6
+ type HeadingSize = "1" | "2" | "3" | "4";
7
+ /**
8
+ * Heading component props.
9
+ *
10
+ * @inheritDoc TypographyProps
11
+ * @inheritDoc HeadingVariants
12
+ */
13
+ interface HeadingProps extends HeadingVariants, AccessibleTypographyProps {
14
+ as: keyof JSX.IntrinsicElements;
15
+ /**
16
+ * Controls the visual size of the heading.
17
+ */
18
+ size: HeadingSize;
19
+ }
20
+ /**
21
+ * A semantic, accessible Heading component built on top of the AccessibleTypography component.
22
+ */
23
+ export declare const Heading: React.FC<HeadingProps>;
24
+ export {};
25
+ //# sourceMappingURL=Heading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,KAAK,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEzC;;;;;GAKG;AACH,UAAU,YAAa,SAAQ,eAAe,EAAE,yBAAyB;IACvE,EAAE,EAAE,MAAM,GAAG,CAAC,iBAAiB,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAO1C,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { AccessibleTypographyProps } from './AccessibleTypography';
3
+ import { labelStyles } from './styles';
4
+ type LabelVariants = VariantProps<typeof labelStyles>;
5
+ export type LabelSize = "xl" | "lg" | "md" | "sm";
6
+ /**
7
+ * Label component props.
8
+ *
9
+ * @inheritDoc TypographyProps
10
+ * @inheritDoc LabelVariants
11
+ */
12
+ interface LabelProps extends LabelVariants, AccessibleTypographyProps {
13
+ /**
14
+ * Controls the visual size of the label.
15
+ */
16
+ size: LabelSize;
17
+ }
18
+ /**
19
+ * A semantic, accessible Label component built on top of the AccessibleTypography component.
20
+ */
21
+ export declare const Label: React.FC<LabelProps>;
22
+ export {};
23
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD;;;;;GAKG;AACH,UAAU,UAAW,SAAQ,aAAa,EAAE,yBAAyB;IACnE;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAOtC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { AccessibleTypographyProps } from './AccessibleTypography';
3
+ import { paragraphStyles } from './styles';
4
+ type ParagraphVariants = VariantProps<typeof paragraphStyles>;
5
+ type ParagraphSize = "lg" | "md";
6
+ /**
7
+ * Paragraph component props.
8
+ *
9
+ * @inheritDoc TypographyProps
10
+ * @inheritDoc ParagraphVariants
11
+ */
12
+ interface ParagraphProps extends ParagraphVariants, AccessibleTypographyProps {
13
+ /**
14
+ * Controls the visual size of the paragraph.
15
+ */
16
+ size: ParagraphSize;
17
+ }
18
+ /**
19
+ * A semantic, accessible Paragraph component built on top of the AccessibleTypography component.
20
+ */
21
+ export declare const Paragraph: React.FC<ParagraphProps>;
22
+ export {};
23
+ //# sourceMappingURL=Paragraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,KAAK,iBAAiB,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,KAAK,aAAa,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjC;;;;;GAKG;AACH,UAAU,cAAe,SAAQ,iBAAiB,EAAE,yBAAyB;IAC3E;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAO9C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { AccessibleTypographyProps } from './AccessibleTypography';
3
+ import { placeholderStyles } from './styles';
4
+ type PlaceholderVariants = VariantProps<typeof placeholderStyles>;
5
+ /**
6
+ * Placeholder component props.
7
+ *
8
+ * @inheritDoc TypographyProps
9
+ * @inheritDoc PlaceholderVariants
10
+ */
11
+ interface PlaceholderProps extends PlaceholderVariants, AccessibleTypographyProps {
12
+ }
13
+ /**
14
+ * A semantic, accessible Placeholder component built on top of the AccessibleTypography component.
15
+ */
16
+ export declare const Placeholder: React.FC<PlaceholderProps>;
17
+ export {};
18
+ //# sourceMappingURL=Placeholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/typography/Placeholder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;;;GAKG;AACH,UAAU,gBACR,SAAQ,mBAAmB,EAAE,yBAAyB;CAAG;AAE3D;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAOlD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ import { AccessibleTypographyProps } from './AccessibleTypography';
3
+ import { validationMessageStyles } from './styles';
4
+ type ValidationMessageVariants = VariantProps<typeof validationMessageStyles>;
5
+ type ValidationMessageType = "error";
6
+ /**
7
+ * ValidationMessage component props.
8
+ *
9
+ * @inheritDoc TypographyProps
10
+ * @inheritDoc ValidationMessageVariants
11
+ */
12
+ interface ValidationMessageProps extends ValidationMessageVariants, AccessibleTypographyProps {
13
+ /**
14
+ * Controls the visual variant of the validation message.
15
+ */
16
+ type?: ValidationMessageType;
17
+ }
18
+ /**
19
+ * A semantic, accessible ValidationMessage component built on top of the AccessibleTypography component.
20
+ */
21
+ export declare const ValidationMessage: React.FC<ValidationMessageProps>;
22
+ export {};
23
+ //# sourceMappingURL=ValidationMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValidationMessage.d.ts","sourceRoot":"","sources":["../../../src/components/typography/ValidationMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD,KAAK,yBAAyB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC9E,KAAK,qBAAqB,GAAG,OAAO,CAAC;AAErC;;;;;GAKG;AACH,UAAU,sBACR,SAAQ,yBAAyB,EAAE,yBAAyB;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAQ9D,CAAC"}
@@ -0,0 +1,75 @@
1
+ export declare const headingStyles: import('tailwind-variants').TVReturnType<{
2
+ size: {
3
+ "1": string[];
4
+ "2": string[];
5
+ "3": string[];
6
+ "4": string[];
7
+ };
8
+ }, undefined, string[], {
9
+ size: {
10
+ "1": string[];
11
+ "2": string[];
12
+ "3": string[];
13
+ "4": string[];
14
+ };
15
+ }, undefined, import('tailwind-variants').TVReturnType<{
16
+ size: {
17
+ "1": string[];
18
+ "2": string[];
19
+ "3": string[];
20
+ "4": string[];
21
+ };
22
+ }, undefined, string[], unknown, unknown, undefined>>;
23
+ export declare const paragraphStyles: import('tailwind-variants').TVReturnType<{
24
+ size: {
25
+ lg: string[];
26
+ md: string[];
27
+ };
28
+ }, undefined, string[], {
29
+ size: {
30
+ lg: string[];
31
+ md: string[];
32
+ };
33
+ }, undefined, import('tailwind-variants').TVReturnType<{
34
+ size: {
35
+ lg: string[];
36
+ md: string[];
37
+ };
38
+ }, undefined, string[], unknown, unknown, undefined>>;
39
+ export declare const labelStyles: import('tailwind-variants').TVReturnType<{
40
+ size: {
41
+ xl: string[];
42
+ lg: string[];
43
+ md: string[];
44
+ sm: string[];
45
+ };
46
+ }, undefined, string[], {
47
+ size: {
48
+ xl: string[];
49
+ lg: string[];
50
+ md: string[];
51
+ sm: string[];
52
+ };
53
+ }, undefined, import('tailwind-variants').TVReturnType<{
54
+ size: {
55
+ xl: string[];
56
+ lg: string[];
57
+ md: string[];
58
+ sm: string[];
59
+ };
60
+ }, undefined, string[], unknown, unknown, undefined>>;
61
+ export declare const placeholderStyles: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
62
+ export declare const validationMessageStyles: import('tailwind-variants').TVReturnType<{
63
+ type: {
64
+ error: string[];
65
+ };
66
+ }, undefined, string[], {
67
+ type: {
68
+ error: string[];
69
+ };
70
+ }, undefined, import('tailwind-variants').TVReturnType<{
71
+ type: {
72
+ error: string[];
73
+ };
74
+ }, undefined, string[], unknown, unknown, undefined>>;
75
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/typography/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;qDAUxB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;qDAQ1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;qDAUtB,CAAC;AAEH,eAAO,MAAM,iBAAiB,sMAW5B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;qDAOlC,CAAC"}
@@ -0,0 +1,55 @@
1
+ import { VariantProps } from 'tailwind-variants';
2
+ declare const ImageBannerStyles: import('tailwind-variants').TVReturnType<{
3
+ isFallback: {
4
+ true: {
5
+ image: string[];
6
+ };
7
+ };
8
+ }, {
9
+ base: string[];
10
+ image: string[];
11
+ overlay: string[];
12
+ icon: string[];
13
+ }, undefined, {
14
+ isFallback: {
15
+ true: {
16
+ image: string[];
17
+ };
18
+ };
19
+ }, {
20
+ base: string[];
21
+ image: string[];
22
+ overlay: string[];
23
+ icon: string[];
24
+ }, import('tailwind-variants').TVReturnType<{
25
+ isFallback: {
26
+ true: {
27
+ image: string[];
28
+ };
29
+ };
30
+ }, {
31
+ base: string[];
32
+ image: string[];
33
+ overlay: string[];
34
+ icon: string[];
35
+ }, undefined, unknown, unknown, undefined>>;
36
+ type ImageBannerVariants = VariantProps<typeof ImageBannerStyles>;
37
+ interface ImageBannerProps extends ImageBannerVariants {
38
+ /** Avatar image URL */
39
+ src: string;
40
+ /**
41
+ * Alternative text for the image, used for accessibility.
42
+ */
43
+ alt: string;
44
+ /** Click handler for the whole ImageBanner component */
45
+ onClick: () => void;
46
+ }
47
+ /**
48
+ * ImageBanner 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 declare const ImageBanner: React.FC<ImageBannerProps>;
54
+ export {};
55
+ //# sourceMappingURL=ImageBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageBanner.d.ts","sourceRoot":"","sources":["../../../src/compositions/image-banner/ImageBanner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG9D,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAiCrB,CAAC;AAEH,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,UAAU,gBAAiB,SAAQ,mBAAmB;IACpD,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ,wDAAwD;IACxD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0BlD,CAAC"}
@@ -0,0 +1,16 @@
1
+ interface ImageUploadModalProps {
2
+ /** Callback fired when the user selects a file. `null` is passed if no file is selected. */
3
+ onFileChange: (file: File | null) => void;
4
+ }
5
+ export type ImageUploadModalRef = {
6
+ /** Function that opens or closes the modal. Pass `true` to open, `false` to close. */
7
+ openModal: (open: boolean) => void;
8
+ };
9
+ /**
10
+ * ImageUploadModal component
11
+ *
12
+ * Renders a post creation component.
13
+ */
14
+ export declare const ImageUploadModal: import('react').ForwardRefExoticComponent<ImageUploadModalProps & import('react').RefAttributes<ImageUploadModalRef>>;
15
+ export {};
16
+ //# sourceMappingURL=ImageUploadModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageUploadModal.d.ts","sourceRoot":"","sources":["../../../src/compositions/image-upload-modal/ImageUploadModal.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,4FAA4F;IAC5F,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,sFAAsF;IACtF,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,uHAwC3B,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from './image-banner/ImageBanner';
2
+ export * from './image-upload-modal/ImageUploadModal';
3
+ export * from './post/Post';
4
+ export * from './post-creator/PostCreator';
5
+ export * from './profile-banner/ProfileBanner';
6
+ export * from './profile-banner-image/ProfileBannerImage';
7
+ export * from './profile-banner-info/ProfileBannerInfo';
8
+ export * from './response/Response';
9
+ export * from './response-creator/ResponseCreator';
10
+ export * from './user-info/UserInfo';
11
+ export * from './user-recommendation/UserRecommendation';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compositions/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oCAAoC,CAAC;AACnD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0CAA0C,CAAC"}