@learncard/react 2.4.0 → 2.5.1

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 (215) hide show
  1. package/dist/base.css +1 -1
  2. package/dist/base.js +1 -1
  3. package/dist/cjs/BoostSmallCard-c5b7cb24.js +110 -0
  4. package/dist/cjs/BoostSmallCard-c5b7cb24.js.map +1 -0
  5. package/dist/cjs/CaretRightFilled.svg +3 -0
  6. package/dist/cjs/{FlippyCard-2cbe2dbe.js → FlippyCard-209549c5.js} +2 -2
  7. package/dist/cjs/FlippyCard-209549c5.js.map +1 -0
  8. package/dist/cjs/{GenericCard-346b55ab.js → GenericCard-c3a42a6c.js} +2 -2
  9. package/dist/cjs/GenericCard-c3a42a6c.js.map +1 -0
  10. package/dist/cjs/{Notification-10b40c07.js → Notification-28ace54f.js} +50 -16
  11. package/dist/cjs/Notification-28ace54f.js.map +1 -0
  12. package/dist/cjs/SchoolIDCard-1baf77e8.js.map +1 -1
  13. package/dist/cjs/{VCCard-32c759a8.js → VCCard-8515516c.js} +3 -3
  14. package/dist/cjs/{VCCard-32c759a8.js.map → VCCard-8515516c.js.map} +1 -1
  15. package/dist/cjs/{VCDisplayBackFace-128b5cb2.js → VCDisplayBackFace-8c10fe7d.js} +3 -3
  16. package/dist/cjs/{VCDisplayBackFace-128b5cb2.js.map → VCDisplayBackFace-8c10fe7d.js.map} +1 -1
  17. package/dist/cjs/{VCDisplayCard-77133b71.js → VCDisplayCard-2356076d.js} +5 -5
  18. package/dist/cjs/VCDisplayCard-2356076d.js.map +1 -0
  19. package/dist/cjs/{VCDisplayCard2-a0a66aa6.js → VCDisplayCard2-721684cf.js} +55 -18
  20. package/dist/cjs/VCDisplayCard2-721684cf.js.map +1 -0
  21. package/dist/cjs/{VCVerificationPill-66e2a90f.js → VCVerificationPill-3ef39509.js} +2 -2
  22. package/dist/cjs/{VCVerificationPill-66e2a90f.js.map → VCVerificationPill-3ef39509.js.map} +1 -1
  23. package/dist/cjs/addawardlight.svg +8 -0
  24. package/dist/cjs/badge.png +0 -0
  25. package/dist/cjs/{constants-82581ffe.js → constants-00935dd2.js} +9 -4
  26. package/dist/cjs/constants-00935dd2.js.map +1 -0
  27. package/dist/cjs/{credential.helpers-7f7b9b02.js → credential.helpers-80101c51.js} +2 -2
  28. package/dist/cjs/{credential.helpers-7f7b9b02.js.map → credential.helpers-80101c51.js.map} +1 -1
  29. package/dist/cjs/index-6b34c190.js.map +1 -1
  30. package/dist/cjs/index.js +17 -12
  31. package/dist/cjs/index.js.map +1 -1
  32. package/dist/cjs/index10.js +4 -108
  33. package/dist/cjs/index10.js.map +1 -1
  34. package/dist/cjs/index11.js +134 -1
  35. package/dist/cjs/index11.js.map +1 -1
  36. package/dist/cjs/index12.js +3 -15
  37. package/dist/cjs/index12.js.map +1 -1
  38. package/dist/cjs/index13.js +15 -3
  39. package/dist/cjs/index13.js.map +1 -1
  40. package/dist/cjs/index14.js +3 -5
  41. package/dist/cjs/index14.js.map +1 -1
  42. package/dist/cjs/index15.js +5 -14
  43. package/dist/cjs/index15.js.map +1 -1
  44. package/dist/cjs/index16.js +14 -2
  45. package/dist/cjs/index16.js.map +1 -1
  46. package/dist/cjs/index17.js +2 -3
  47. package/dist/cjs/index17.js.map +1 -1
  48. package/dist/cjs/index18.js +3 -5
  49. package/dist/cjs/index18.js.map +1 -1
  50. package/dist/cjs/index19.js +6 -3
  51. package/dist/cjs/index19.js.map +1 -1
  52. package/dist/cjs/index20.js +3 -15
  53. package/dist/cjs/index20.js.map +1 -1
  54. package/dist/cjs/index21.js +4 -19
  55. package/dist/cjs/index21.js.map +1 -1
  56. package/dist/cjs/index22.js +31 -2
  57. package/dist/cjs/index22.js.map +1 -1
  58. package/dist/cjs/index23.js +2 -3
  59. package/dist/cjs/index23.js.map +1 -1
  60. package/dist/cjs/index24.js +3 -3
  61. package/dist/cjs/index25.js +3 -16
  62. package/dist/cjs/index25.js.map +1 -1
  63. package/dist/cjs/index26.js +16 -3
  64. package/dist/cjs/index26.js.map +1 -1
  65. package/dist/cjs/index27.js +3 -3
  66. package/dist/cjs/index28.js +3 -13
  67. package/dist/cjs/index28.js.map +1 -1
  68. package/dist/cjs/index29.js +13 -21
  69. package/dist/cjs/index29.js.map +1 -1
  70. package/dist/cjs/index3.js +30 -2
  71. package/dist/cjs/index3.js.map +1 -1
  72. package/dist/cjs/index30.js +14 -6
  73. package/dist/cjs/index30.js.map +1 -1
  74. package/dist/cjs/index31.js +6 -10
  75. package/dist/cjs/index31.js.map +1 -1
  76. package/dist/cjs/index32.js +13 -6
  77. package/dist/cjs/index32.js.map +1 -1
  78. package/dist/cjs/index33.js +12 -3
  79. package/dist/cjs/index33.js.map +1 -1
  80. package/dist/cjs/index34.js +4 -7
  81. package/dist/cjs/index34.js.map +1 -1
  82. package/dist/cjs/index35.js +4 -6
  83. package/dist/cjs/index35.js.map +1 -1
  84. package/dist/cjs/index36.js +6 -6
  85. package/dist/cjs/index37.js +15 -0
  86. package/dist/cjs/index37.js.map +1 -0
  87. package/dist/cjs/index4.js +2 -15
  88. package/dist/cjs/index4.js.map +1 -1
  89. package/dist/cjs/index5.js +4 -4
  90. package/dist/cjs/index6.js +14 -5
  91. package/dist/cjs/index6.js.map +1 -1
  92. package/dist/cjs/index7.js +2 -14
  93. package/dist/cjs/index7.js.map +1 -1
  94. package/dist/cjs/index8.js +18 -2
  95. package/dist/cjs/index8.js.map +1 -1
  96. package/dist/cjs/index9.js +2 -27
  97. package/dist/cjs/index9.js.map +1 -1
  98. package/dist/cjs/{types.esm-034454a2.js → types.esm-fa693b17.js} +695 -107
  99. package/dist/cjs/types.esm-fa693b17.js.map +1 -0
  100. package/dist/esm/BoostSmallCard-0f4fec3b.js +101 -0
  101. package/dist/esm/BoostSmallCard-0f4fec3b.js.map +1 -0
  102. package/dist/esm/CaretRightFilled.svg +3 -0
  103. package/dist/esm/{FlippyCard-f4f0b3f8.js → FlippyCard-a2de5cf1.js} +2 -2
  104. package/dist/esm/FlippyCard-a2de5cf1.js.map +1 -0
  105. package/dist/esm/{GenericCard-446f46e0.js → GenericCard-c2d91e3c.js} +3 -3
  106. package/dist/esm/GenericCard-c2d91e3c.js.map +1 -0
  107. package/dist/esm/{Notification-ac50790d.js → Notification-60c43061.js} +51 -17
  108. package/dist/esm/Notification-60c43061.js.map +1 -0
  109. package/dist/esm/SchoolIDCard-3b746226.js.map +1 -1
  110. package/dist/esm/{VCCard-c4096573.js → VCCard-c71cfd7f.js} +3 -3
  111. package/dist/esm/{VCCard-c4096573.js.map → VCCard-c71cfd7f.js.map} +1 -1
  112. package/dist/esm/{VCDisplayBackFace-853b8fdf.js → VCDisplayBackFace-2949e56d.js} +3 -3
  113. package/dist/esm/{VCDisplayBackFace-853b8fdf.js.map → VCDisplayBackFace-2949e56d.js.map} +1 -1
  114. package/dist/esm/{VCDisplayCard-be496708.js → VCDisplayCard-c23f431e.js} +5 -5
  115. package/dist/esm/VCDisplayCard-c23f431e.js.map +1 -0
  116. package/dist/esm/{VCDisplayCard2-c8e96ce8.js → VCDisplayCard2-33a1dc1d.js} +55 -18
  117. package/dist/esm/VCDisplayCard2-33a1dc1d.js.map +1 -0
  118. package/dist/esm/{VCVerificationPill-fc7b53d0.js → VCVerificationPill-8e2a3850.js} +2 -2
  119. package/dist/esm/{VCVerificationPill-fc7b53d0.js.map → VCVerificationPill-8e2a3850.js.map} +1 -1
  120. package/dist/esm/addawardlight.svg +8 -0
  121. package/dist/esm/badge.png +0 -0
  122. package/dist/esm/{constants-c0a08298.js → constants-6bb0dc94.js} +8 -4
  123. package/dist/esm/constants-6bb0dc94.js.map +1 -0
  124. package/dist/esm/{credential.helpers-78d3c24a.js → credential.helpers-5929133d.js} +2 -2
  125. package/dist/esm/{credential.helpers-78d3c24a.js.map → credential.helpers-5929133d.js.map} +1 -1
  126. package/dist/esm/index-52cf2d17.js.map +1 -1
  127. package/dist/esm/index.js +16 -12
  128. package/dist/esm/index.js.map +1 -1
  129. package/dist/esm/index10.js +4 -57
  130. package/dist/esm/index10.js.map +1 -1
  131. package/dist/esm/index11.js +82 -1
  132. package/dist/esm/index11.js.map +1 -1
  133. package/dist/esm/index12.js +2 -13
  134. package/dist/esm/index12.js.map +1 -1
  135. package/dist/esm/index13.js +13 -2
  136. package/dist/esm/index13.js.map +1 -1
  137. package/dist/esm/index14.js +2 -4
  138. package/dist/esm/index14.js.map +1 -1
  139. package/dist/esm/index15.js +4 -13
  140. package/dist/esm/index15.js.map +1 -1
  141. package/dist/esm/index16.js +13 -1
  142. package/dist/esm/index16.js.map +1 -1
  143. package/dist/esm/index17.js +1 -2
  144. package/dist/esm/index17.js.map +1 -1
  145. package/dist/esm/index18.js +2 -3
  146. package/dist/esm/index18.js.map +1 -1
  147. package/dist/esm/index19.js +4 -2
  148. package/dist/esm/index19.js.map +1 -1
  149. package/dist/esm/index20.js +2 -13
  150. package/dist/esm/index20.js.map +1 -1
  151. package/dist/esm/index21.js +2 -14
  152. package/dist/esm/index21.js.map +1 -1
  153. package/dist/esm/index22.js +26 -1
  154. package/dist/esm/index22.js.map +1 -1
  155. package/dist/esm/index23.js +1 -1
  156. package/dist/esm/index24.js +1 -2
  157. package/dist/esm/index24.js.map +1 -1
  158. package/dist/esm/index25.js +2 -15
  159. package/dist/esm/index25.js.map +1 -1
  160. package/dist/esm/index26.js +15 -2
  161. package/dist/esm/index26.js.map +1 -1
  162. package/dist/esm/index27.js +2 -2
  163. package/dist/esm/index28.js +2 -4
  164. package/dist/esm/index28.js.map +1 -1
  165. package/dist/esm/index29.js +4 -20
  166. package/dist/esm/index29.js.map +1 -1
  167. package/dist/esm/index3.js +29 -1
  168. package/dist/esm/index3.js.map +1 -1
  169. package/dist/esm/index30.js +13 -5
  170. package/dist/esm/index30.js.map +1 -1
  171. package/dist/esm/index31.js +5 -9
  172. package/dist/esm/index31.js.map +1 -1
  173. package/dist/esm/index32.js +12 -5
  174. package/dist/esm/index32.js.map +1 -1
  175. package/dist/esm/index33.js +7 -3
  176. package/dist/esm/index33.js.map +1 -1
  177. package/dist/esm/index34.js +4 -2
  178. package/dist/esm/index34.js.map +1 -1
  179. package/dist/esm/index35.js +3 -3
  180. package/dist/esm/index36.js +3 -5
  181. package/dist/esm/index36.js.map +1 -1
  182. package/dist/esm/index37.js +7 -0
  183. package/dist/esm/index37.js.map +1 -0
  184. package/dist/esm/index4.js +1 -14
  185. package/dist/esm/index4.js.map +1 -1
  186. package/dist/esm/index5.js +3 -2
  187. package/dist/esm/index5.js.map +1 -1
  188. package/dist/esm/index6.js +12 -4
  189. package/dist/esm/index6.js.map +1 -1
  190. package/dist/esm/index7.js +1 -13
  191. package/dist/esm/index7.js.map +1 -1
  192. package/dist/esm/index8.js +17 -1
  193. package/dist/esm/index8.js.map +1 -1
  194. package/dist/esm/index9.js +1 -26
  195. package/dist/esm/index9.js.map +1 -1
  196. package/dist/esm/{types.esm-9db3d858.js → types.esm-877355bb.js} +695 -107
  197. package/dist/esm/types.esm-877355bb.js.map +1 -0
  198. package/dist/index.d.ts +153 -171
  199. package/dist/main.css +1 -1
  200. package/dist/main.js +1 -1
  201. package/package.json +6 -6
  202. package/dist/cjs/FlippyCard-2cbe2dbe.js.map +0 -1
  203. package/dist/cjs/GenericCard-346b55ab.js.map +0 -1
  204. package/dist/cjs/Notification-10b40c07.js.map +0 -1
  205. package/dist/cjs/VCDisplayCard-77133b71.js.map +0 -1
  206. package/dist/cjs/VCDisplayCard2-a0a66aa6.js.map +0 -1
  207. package/dist/cjs/constants-82581ffe.js.map +0 -1
  208. package/dist/cjs/types.esm-034454a2.js.map +0 -1
  209. package/dist/esm/FlippyCard-f4f0b3f8.js.map +0 -1
  210. package/dist/esm/GenericCard-446f46e0.js.map +0 -1
  211. package/dist/esm/Notification-ac50790d.js.map +0 -1
  212. package/dist/esm/VCDisplayCard-be496708.js.map +0 -1
  213. package/dist/esm/VCDisplayCard2-c8e96ce8.js.map +0 -1
  214. package/dist/esm/constants-c0a08298.js.map +0 -1
  215. package/dist/esm/types.esm-9db3d858.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import * as React$1 from 'react';
2
- import React__default, { MouseEventHandler } from 'react';
1
+ import React$1, { MouseEventHandler } from 'react';
3
2
  import { Profile, CredentialSubject, VerificationItem, AchievementCredential, VC, VerificationStatus } from '@learncard/types';
4
3
 
5
4
  declare enum LCSubtypes {
@@ -18,13 +17,13 @@ declare enum WalletCategoryTypes {
18
17
  skills = "skills",
19
18
  socialBadge = "socialBadge"
20
19
  }
21
- declare type VCDisplayCardProps = {
20
+ type VCDisplayCardProps = {
22
21
  title?: string;
23
22
  createdAt?: string;
24
23
  issuer?: Profile;
25
24
  issuee?: Profile;
26
- subjectImageComponent?: React__default.ReactNode;
27
- issuerImageComponent?: React__default.ReactNode;
25
+ subjectImageComponent?: React$1.ReactNode;
26
+ issuerImageComponent?: React$1.ReactNode;
28
27
  hideProfileBubbles?: boolean;
29
28
  userImage?: string;
30
29
  className?: string;
@@ -33,12 +32,12 @@ declare type VCDisplayCardProps = {
33
32
  loading?: boolean;
34
33
  verification?: VerificationItem[];
35
34
  handleClick?: () => void;
36
- overrideDetailsComponent?: React__default.ReactNode;
35
+ overrideDetailsComponent?: React$1.ReactNode;
37
36
  overrideCardTitle?: string;
38
- overrideCardImageComponent?: React__default.ReactNode;
39
- customHeaderComponent?: React__default.ReactNode;
37
+ overrideCardImageComponent?: React$1.ReactNode;
38
+ customHeaderComponent?: React$1.ReactNode;
40
39
  };
41
- declare type SmallAchievementCardProps = {
40
+ type SmallAchievementCardProps = {
42
41
  title?: string;
43
42
  thumbImgSrc?: string;
44
43
  showStatus?: boolean;
@@ -46,7 +45,7 @@ declare type SmallAchievementCardProps = {
46
45
  date?: string;
47
46
  onClick?: () => void;
48
47
  };
49
- declare type AchievementCardProps = {
48
+ type AchievementCardProps = {
50
49
  title?: string;
51
50
  thumbImgSrc?: string;
52
51
  showStatus?: boolean;
@@ -58,7 +57,7 @@ declare type AchievementCardProps = {
58
57
  onCheckClick?: () => void;
59
58
  onClick?: () => void;
60
59
  };
61
- declare type CourseCardProps = {
60
+ type CourseCardProps = {
62
61
  status?: string;
63
62
  title?: string;
64
63
  semester?: string;
@@ -71,7 +70,7 @@ declare type CourseCardProps = {
71
70
  achievementCount: string | number;
72
71
  onClick?: () => void;
73
72
  };
74
- declare type CourseCardVerticalProps = {
73
+ type CourseCardVerticalProps = {
75
74
  title?: string;
76
75
  className?: string;
77
76
  thumbImgSrc?: string;
@@ -86,7 +85,7 @@ declare type CourseCardVerticalProps = {
86
85
  onCheckClick?: () => void;
87
86
  onClick?: () => void;
88
87
  };
89
- declare type SkillsCardProps = {
88
+ type SkillsCardProps = {
90
89
  count?: number;
91
90
  title?: string;
92
91
  level?: string;
@@ -96,18 +95,18 @@ declare type SkillsCardProps = {
96
95
  onClick?: () => void;
97
96
  className?: string;
98
97
  };
99
- declare type SkillStat = {
98
+ type SkillStat = {
100
99
  name?: string;
101
100
  percent: number | string;
102
101
  className?: string;
103
102
  };
104
- declare type SkillsStatsCardProps = {
103
+ type SkillsStatsCardProps = {
105
104
  totalCount?: string | number;
106
105
  skills?: SkillStat[];
107
106
  className?: string;
108
107
  onClick?: () => void;
109
108
  };
110
- declare type SkillVerticalCardProps = {
109
+ type SkillVerticalCardProps = {
111
110
  title: string;
112
111
  completed?: number;
113
112
  total?: number;
@@ -115,24 +114,24 @@ declare type SkillVerticalCardProps = {
115
114
  onClick?: () => void;
116
115
  className?: string;
117
116
  };
118
- declare type RoundedPillProps = {
117
+ type RoundedPillProps = {
119
118
  statusText?: string;
120
119
  type?: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill | 'locked';
121
120
  onClick?: () => void;
122
121
  showCheckmark?: boolean;
123
122
  };
124
- declare type JobQualificationsCount = {
123
+ type JobQualificationsCount = {
125
124
  fulfilledCount: number;
126
125
  totalRequiredCount: number;
127
126
  };
128
- declare type JobQualificationDisplay = {
127
+ type JobQualificationDisplay = {
129
128
  skills?: JobQualificationsCount;
130
129
  achievements?: JobQualificationsCount;
131
130
  courses?: JobQualificationsCount;
132
131
  };
133
- declare type JobListCardProps = {
132
+ type JobListCardProps = {
134
133
  title?: string;
135
- customButtonComponent?: React__default.ReactNode;
134
+ customButtonComponent?: React$1.ReactNode;
136
135
  company?: string;
137
136
  compensation?: string;
138
137
  location?: string;
@@ -147,18 +146,18 @@ declare type JobListCardProps = {
147
146
  onBookmark?: () => void;
148
147
  onClick?: () => void;
149
148
  };
150
- declare type LearnPillProps = {
149
+ type LearnPillProps = {
151
150
  count: number | string;
152
151
  type: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill;
153
152
  className?: string;
154
153
  };
155
- declare type CircleCheckButtonProps = {
154
+ type CircleCheckButtonProps = {
156
155
  onClick?: () => void;
157
156
  className?: string;
158
157
  bgColor?: string;
159
158
  checked?: boolean;
160
159
  };
161
- declare type SkillTabCardProps = {
160
+ type SkillTabCardProps = {
162
161
  title?: string;
163
162
  description?: string;
164
163
  checked?: boolean;
@@ -168,7 +167,7 @@ declare type SkillTabCardProps = {
168
167
  onCheckClicked?: () => void;
169
168
  onClick?: () => void;
170
169
  };
171
- declare type JobHistoryCardProps = {
170
+ type JobHistoryCardProps = {
172
171
  title?: string;
173
172
  company?: string;
174
173
  description?: string;
@@ -178,7 +177,7 @@ declare type JobHistoryCardProps = {
178
177
  showArrow?: boolean;
179
178
  onClick?: () => void;
180
179
  };
181
- declare type GenericCardProps = {
180
+ type GenericCardProps = {
182
181
  title?: string;
183
182
  className?: string;
184
183
  type?: WalletCategoryTypes;
@@ -190,12 +189,37 @@ declare type GenericCardProps = {
190
189
  onClick?: () => void;
191
190
  flipped?: boolean;
192
191
  };
193
- declare type Attachment = {
192
+ type IssueHistory = {
193
+ id?: string | number;
194
+ name?: string;
195
+ thumb?: string;
196
+ date?: string;
197
+ };
198
+ type BoostSmallCardProps = {
199
+ title?: string;
200
+ className?: string;
201
+ type?: WalletCategoryTypes;
202
+ thumbImgSrc?: string;
203
+ customThumbClass?: string;
204
+ customHeaderClass?: string;
205
+ customBodyClass?: string;
206
+ showChecked?: boolean;
207
+ checkStatus?: boolean;
208
+ customButtonComponent?: React$1.ReactNode;
209
+ customThumbComponent?: React$1.ReactNode;
210
+ customBodyComponent?: React$1.ReactNode;
211
+ arrowOnClick?: () => void;
212
+ buttonOnClick?: () => void;
213
+ onCheckClick?: () => void;
214
+ innerOnClick?: () => void;
215
+ issueHistory: IssueHistory[];
216
+ };
217
+ type Attachment = {
194
218
  title: string;
195
219
  url: string;
196
220
  type: 'photo' | 'document' | 'video' | 'link';
197
221
  };
198
- declare type BoostAchievementCredential = AchievementCredential & {
222
+ type BoostAchievementCredential = AchievementCredential & {
199
223
  display?: {
200
224
  backgroundImage?: string;
201
225
  backgroundColor?: string;
@@ -204,18 +228,20 @@ declare type BoostAchievementCredential = AchievementCredential & {
204
228
  attachments: Attachment[];
205
229
  };
206
230
 
207
- declare const AchievementCard: React__default.FC<AchievementCardProps>;
231
+ declare const AchievementCard: React$1.FC<AchievementCardProps>;
232
+
233
+ declare const BoostSmallCard: React$1.FC<BoostSmallCardProps>;
208
234
 
209
- declare type ButtonProps = {
235
+ type ButtonProps = {
210
236
  text?: string;
211
237
  onClick: MouseEventHandler<HTMLButtonElement>;
212
238
  className?: string;
213
239
  };
214
- declare const Button: React__default.FC<ButtonProps>;
240
+ declare const Button: React$1.FC<ButtonProps>;
215
241
 
216
- declare const CircleCheckButton: React__default.FC<CircleCheckButtonProps>;
242
+ declare const CircleCheckButton: React$1.FC<CircleCheckButtonProps>;
217
243
 
218
- declare type CircleIconProps = {
244
+ type CircleIconProps = {
219
245
  iconSrc?: string;
220
246
  count?: string | number;
221
247
  onClick?: () => void;
@@ -224,7 +250,7 @@ declare type CircleIconProps = {
224
250
  size?: string;
225
251
  borderColor?: string;
226
252
  };
227
- declare type CountCircleProps = {
253
+ type CountCircleProps = {
228
254
  size?: string;
229
255
  count?: string | number;
230
256
  innerPadding?: string;
@@ -232,32 +258,32 @@ declare type CountCircleProps = {
232
258
  bgColor?: string;
233
259
  className?: string;
234
260
  };
235
- declare const CountCircle: React__default.FC<CountCircleProps>;
236
- declare const CircleIcon: React__default.FC<CircleIconProps>;
261
+ declare const CountCircle: React$1.FC<CountCircleProps>;
262
+ declare const CircleIcon: React$1.FC<CircleIconProps>;
237
263
 
238
- declare const CourseCard: React__default.FC<CourseCardProps>;
264
+ declare const CourseCard: React$1.FC<CourseCardProps>;
239
265
 
240
- declare const CourseVerticalCard: React__default.FC<CourseCardVerticalProps>;
266
+ declare const CourseVerticalCard: React$1.FC<CourseCardVerticalProps>;
241
267
 
242
- declare type FlippyCardProps = {
243
- children: React__default.ReactChild[];
244
- flipState?: 'front' | 'back' | undefined | string;
268
+ type FlippyCardProps = {
269
+ children: React$1.ReactChild[];
270
+ flipState?: 'front' | 'back' | string;
245
271
  };
246
- declare const FlippyCard: React__default.FC<FlippyCardProps>;
272
+ declare const FlippyCard: React$1.FC<FlippyCardProps>;
247
273
 
248
- declare const GenericCard: React__default.FC<GenericCardProps>;
274
+ declare const GenericCard: React$1.FC<GenericCardProps>;
249
275
 
250
- declare const JobHistoryCard: React__default.FC<JobHistoryCardProps>;
276
+ declare const JobHistoryCard: React$1.FC<JobHistoryCardProps>;
251
277
 
252
- declare type JobListingBubbleProps = {
278
+ type JobListingBubbleProps = {
253
279
  count: number | string | undefined;
254
280
  type: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill;
255
281
  className?: string;
256
282
  };
257
- declare const JobListingBubble: React__default.FC<JobListingBubbleProps>;
258
- declare const JobListCard: React__default.FC<JobListCardProps>;
283
+ declare const JobListingBubble: React$1.FC<JobListingBubbleProps>;
284
+ declare const JobListCard: React$1.FC<JobListCardProps>;
259
285
 
260
- declare type LearnCardCreditCardBackFaceProps = {
286
+ type LearnCardCreditCardBackFaceProps = {
261
287
  /**
262
288
  * custom className
263
289
  * @type {string}
@@ -266,7 +292,7 @@ declare type LearnCardCreditCardBackFaceProps = {
266
292
  user: LearnCardCreditCardUserProps;
267
293
  card: LearnCardCreditCardProps;
268
294
  };
269
- declare type LearnCardCreditCardUserProps = {
295
+ type LearnCardCreditCardUserProps = {
270
296
  /**
271
297
  * unique user handle / username
272
298
  * @type {string}
@@ -278,7 +304,7 @@ declare type LearnCardCreditCardUserProps = {
278
304
  */
279
305
  fullName: string;
280
306
  };
281
- declare type LearnCardCreditCardProps = {
307
+ type LearnCardCreditCardProps = {
282
308
  /**
283
309
  * card number
284
310
  * @type {number}
@@ -301,9 +327,9 @@ declare type LearnCardCreditCardProps = {
301
327
  cardSecurityCode?: string;
302
328
  };
303
329
 
304
- declare const LearnCardCreditCardBackFace: React__default.FC<LearnCardCreditCardBackFaceProps>;
330
+ declare const LearnCardCreditCardBackFace: React$1.FC<LearnCardCreditCardBackFaceProps>;
305
331
 
306
- declare type LearnCardCreditCardFrontFaceProps = {
332
+ type LearnCardCreditCardFrontFaceProps = {
307
333
  /**
308
334
  * user image
309
335
  * @type {string}
@@ -344,15 +370,15 @@ declare type LearnCardCreditCardFrontFaceProps = {
344
370
  onClick?: () => void;
345
371
  };
346
372
 
347
- declare const LearnCardCreditCardFrontFace: React__default.FC<LearnCardCreditCardFrontFaceProps>;
373
+ declare const LearnCardCreditCardFrontFace: React$1.FC<LearnCardCreditCardFrontFaceProps>;
348
374
 
349
- declare const LearnPill: React__default.FC<LearnPillProps>;
375
+ declare const LearnPill: React$1.FC<LearnPillProps>;
350
376
 
351
377
  declare enum CircleLoadingState {
352
378
  spin = 0,
353
379
  stop = 1
354
380
  }
355
- declare type CircleSpinnerProps = {
381
+ type CircleSpinnerProps = {
356
382
  size?: number;
357
383
  thickness?: number;
358
384
  color?: string;
@@ -360,7 +386,7 @@ declare type CircleSpinnerProps = {
360
386
  marginOffset?: number;
361
387
  };
362
388
 
363
- declare type MiniVCThumbnailProps = {
389
+ type MiniVCThumbnailProps = {
364
390
  /**
365
391
  * thumbnail title
366
392
  * @type {string}
@@ -393,7 +419,7 @@ declare type MiniVCThumbnailProps = {
393
419
  onClick?: () => void;
394
420
  };
395
421
 
396
- declare const MiniVCThumbnail: React__default.FC<MiniVCThumbnailProps>;
422
+ declare const MiniVCThumbnail: React$1.FC<MiniVCThumbnailProps>;
397
423
 
398
424
  declare enum NotificationTypeEnum {
399
425
  Currency = "currency",
@@ -401,84 +427,36 @@ declare enum NotificationTypeEnum {
401
427
  Achievement = "achievement",
402
428
  Skill = "skill",
403
429
  Job = "job",
404
- Learning = "learning"
430
+ Learning = "learning",
431
+ SocialBadges = "socialBadge"
405
432
  }
406
433
 
407
- declare type NotificationProps = {
434
+ type NotificationProps = {
408
435
  notificationType: NotificationTypeEnum;
409
436
  title: string;
410
437
  issuerImage?: string;
411
438
  issueDate: string;
412
439
  className?: string;
413
- onClick: () => void;
440
+ handleViewOnClick: () => void;
441
+ claimStatus: boolean;
442
+ handleClaimOnClick: () => void;
443
+ loadingState: boolean;
414
444
  };
415
445
  declare const NotificationTypeStyles: {
416
- currency: {
417
- viewButtonStyles: string;
418
- unclaimedButtonStyles: string;
419
- claimedButtonStyles: string;
420
- textStyles: string;
421
- iconCircleStyles: string;
422
- IconComponent: React$1.FC<{
423
- className?: string | undefined;
424
- }>;
425
- };
426
- id: {
427
- viewButtonStyles: string;
428
- unclaimedButtonStyles: string;
429
- claimedButtonStyles: string;
430
- textStyles: string;
431
- iconCircleStyles: string;
432
- IconComponent: React$1.FC<{
433
- className?: string | undefined;
434
- }>;
435
- };
436
- achievement: {
437
- viewButtonStyles: string;
438
- unclaimedButtonStyles: string;
439
- claimedButtonStyles: string;
440
- textStyles: string;
441
- iconCircleStyles: string;
442
- IconComponent: React$1.FC<{
443
- className?: string | undefined;
444
- color?: string | undefined;
445
- }>;
446
- };
447
- skill: {
448
- viewButtonStyles: string;
449
- unclaimedButtonStyles: string;
450
- claimedButtonStyles: string;
451
- textStyles: string;
452
- iconCircleStyles: string;
453
- IconComponent: React$1.FC<{
454
- className?: string | undefined;
455
- }>;
456
- };
457
- job: {
458
- viewButtonStyles: string;
459
- unclaimedButtonStyles: string;
460
- claimedButtonStyles: string;
461
- textStyles: string;
462
- iconCircleStyles: string;
463
- IconComponent: React$1.FC<{
464
- className?: string | undefined;
465
- }>;
466
- };
467
- learning: {
446
+ [key: NotificationTypeEnum | string]: {
468
447
  viewButtonStyles: string;
469
448
  unclaimedButtonStyles: string;
470
449
  claimedButtonStyles: string;
471
450
  textStyles: string;
472
451
  iconCircleStyles: string;
473
- IconComponent: React$1.FC<{
474
- className?: string | undefined;
475
- }>;
452
+ IconComponent: any;
453
+ typeText: string;
476
454
  };
477
455
  };
478
456
 
479
- declare const Notification: React__default.FC<NotificationProps>;
457
+ declare const Notification: React$1.FC<NotificationProps>;
480
458
 
481
- declare type QRCodeCardProps = {
459
+ type QRCodeCardProps = {
482
460
  /**
483
461
  * user handle
484
462
  * @type {string}
@@ -501,16 +479,16 @@ declare type QRCodeCardProps = {
501
479
  className?: string;
502
480
  };
503
481
 
504
- declare const QRCodeCard: React__default.FC<QRCodeCardProps>;
482
+ declare const QRCodeCard: React$1.FC<QRCodeCardProps>;
505
483
 
506
- declare type InlineSVGProps = {
484
+ type InlineSVGProps = {
507
485
  color?: string;
508
486
  size?: string | number;
509
487
  };
510
- declare const CheckmarkSvg: React__default.FC<InlineSVGProps>;
511
- declare const RoundedPill: React__default.FC<RoundedPillProps>;
488
+ declare const CheckmarkSvg: React$1.FC<InlineSVGProps>;
489
+ declare const RoundedPill: React$1.FC<RoundedPillProps>;
512
490
 
513
- declare type RoundedSquareProps = {
491
+ type RoundedSquareProps = {
514
492
  title?: string;
515
493
  description?: string;
516
494
  type?: WalletCategoryTypes;
@@ -521,7 +499,7 @@ declare type RoundedSquareProps = {
521
499
  bgColor?: string;
522
500
  iconCircleClass?: string;
523
501
  };
524
- declare const RoundedSquare: React__default.FC<RoundedSquareProps>;
502
+ declare const RoundedSquare: React$1.FC<RoundedSquareProps>;
525
503
 
526
504
  declare const TYPE_TO_MINI_ICON: any;
527
505
  declare const WALLET_SUBTYPES: {
@@ -531,6 +509,7 @@ declare const WALLET_SUBTYPES: {
531
509
  CURRENCIES: string;
532
510
  LEARNING_HISTORY: string;
533
511
  SKILLS: string;
512
+ SOCIAL_BADGES: string;
534
513
  };
535
514
  declare const TYPE_TO_IMG_SRC: {
536
515
  [x: string]: any;
@@ -539,7 +518,7 @@ declare const TYPE_TO_WALLET_COLOR: {
539
518
  [x: string]: string;
540
519
  };
541
520
 
542
- declare type SchoolIDCardProps = {
521
+ type SchoolIDCardProps = {
543
522
  /**
544
523
  * student image
545
524
  * @type {string}
@@ -554,7 +533,7 @@ declare type SchoolIDCardProps = {
554
533
  * text to display below the student name
555
534
  * @type {React.ReactNode | string | undefined}
556
535
  */
557
- text?: React__default.ReactNode | string | undefined;
536
+ text?: React$1.ReactNode | string | undefined;
558
537
  /**
559
538
  * extra text to display on the ID card
560
539
  * @type {React.ReactNode | string | undefined}
@@ -580,72 +559,75 @@ declare type SchoolIDCardProps = {
580
559
  subjectInitialsClass?: string;
581
560
  };
582
561
 
583
- declare const SchoolIDCard: React__default.FC<SchoolIDCardProps>;
562
+ declare const SchoolIDCard: React$1.FC<SchoolIDCardProps>;
584
563
 
585
- declare const SkillTabCard: React__default.FC<SkillTabCardProps>;
564
+ declare const SkillTabCard: React$1.FC<SkillTabCardProps>;
586
565
 
587
- declare const SkillVerticalCard: React__default.FC<SkillVerticalCardProps>;
566
+ declare const SkillVerticalCard: React$1.FC<SkillVerticalCardProps>;
588
567
 
589
- declare type SkillsMeterSegmentProps = {
568
+ type SkillsMeterSegmentProps = {
590
569
  filled?: boolean;
591
570
  className?: string;
592
571
  skillColor?: string;
593
572
  };
594
- declare const SkillsMeterSegment: React__default.FC<SkillsMeterSegmentProps>;
595
- declare const SkillsCard: React__default.FC<SkillsCardProps>;
573
+ declare const SkillsMeterSegment: React$1.FC<SkillsMeterSegmentProps>;
574
+ declare const SkillsCard: React$1.FC<SkillsCardProps>;
596
575
 
597
- declare const SkillsStatsCard: React__default.FC<SkillsStatsCardProps>;
576
+ declare const SkillsStatsCard: React$1.FC<SkillsStatsCardProps>;
598
577
 
599
- declare const SmallAchievementCard: React__default.FC<SmallAchievementCardProps>;
578
+ declare const SmallAchievementCard: React$1.FC<SmallAchievementCardProps>;
600
579
 
601
- declare type MediaMetadata = {
580
+ type MediaMetadata = {
602
581
  fileExtension?: string;
603
582
  sizeInBytes?: number;
604
583
  numberOfPages?: number;
605
584
  };
606
- declare type VideoMetadata = {
585
+ type VideoMetadata = {
607
586
  title?: string;
608
587
  videoLength?: string;
609
588
  imageUrl?: string;
610
589
  };
611
590
 
612
- declare type CredentialIconType = {
613
- image?: React__default.ReactNode;
591
+ type CredentialIconType = {
592
+ image?: React$1.ReactNode;
614
593
  color?: string;
615
594
  };
616
- declare type VCDisplayCard2Props = {
595
+ type VCDisplayCard2Props = {
617
596
  credential: VC | BoostAchievementCredential;
618
597
  verificationItems: VerificationItem[];
619
598
  issueeOverride?: Profile;
620
599
  issuerOverride?: Profile;
621
- subjectImageComponent?: React__default.ReactNode;
622
- issuerImageComponent?: React__default.ReactNode;
600
+ subjectImageComponent?: React$1.ReactNode;
601
+ issuerImageComponent?: React$1.ReactNode;
623
602
  verificationInProgress?: boolean;
624
603
  handleXClick?: () => void;
625
604
  getFileMetadata?: (url: string) => MediaMetadata;
626
605
  getVideoMetadata?: (url: string) => VideoMetadata;
627
606
  onMediaAttachmentClick?: (url: string) => void;
628
607
  bottomRightIcon?: CredentialIconType;
608
+ customFooterComponent?: React$1.ReactNode;
609
+ customBodyCardComponent?: React$1.ReactNode;
610
+ issueHistory?: IssueHistory[];
629
611
  };
630
- declare const VCDisplayCard2: React__default.FC<VCDisplayCard2Props>;
612
+ declare const VCDisplayCard2: React$1.FC<VCDisplayCard2Props>;
631
613
 
632
- declare type VCCardProps = {
614
+ type VCCardProps = {
633
615
  credential: VC;
634
616
  issueeOverride?: Profile;
635
617
  className?: string;
636
618
  version?: '1' | '2';
637
- subjectImageComponent?: React__default.ReactNode;
619
+ subjectImageComponent?: React$1.ReactNode;
638
620
  handleXClick?: () => void;
639
621
  getFileMetadata?: (url: string) => MediaMetadata;
640
622
  getVideoMetadata?: (url: string) => VideoMetadata;
641
623
  onMediaAttachmentClick?: (url: string) => void;
642
624
  bottomRightIcon?: CredentialIconType;
643
625
  };
644
- declare const VCCard: React__default.FC<VCCardProps>;
626
+ declare const VCCard: React$1.FC<VCCardProps>;
645
627
 
646
- declare const VCDisplayBackFace: React__default.FC<VCDisplayCardProps>;
628
+ declare const VCDisplayBackFace: React$1.FC<VCDisplayCardProps>;
647
629
 
648
- declare type VCDisplayCardPropsReal = {
630
+ type VCDisplayCardPropsReal = {
649
631
  credential: VC | AchievementCredential;
650
632
  issueeOverride?: Profile;
651
633
  issuerOverride?: Profile;
@@ -653,16 +635,16 @@ declare type VCDisplayCardPropsReal = {
653
635
  hideProfileBubbles?: boolean;
654
636
  loading?: boolean;
655
637
  verification?: VerificationItem[];
656
- subjectImageComponent?: React__default.ReactNode;
657
- issuerImageComponent?: React__default.ReactNode;
658
- overrideDetailsComponent?: React__default.ReactNode;
638
+ subjectImageComponent?: React$1.ReactNode;
639
+ issuerImageComponent?: React$1.ReactNode;
640
+ overrideDetailsComponent?: React$1.ReactNode;
659
641
  overrideCardTitle?: string;
660
- overrideCardImageComponent?: React__default.ReactNode;
661
- customHeaderComponent?: React__default.ReactNode;
642
+ overrideCardImageComponent?: React$1.ReactNode;
643
+ customHeaderComponent?: React$1.ReactNode;
662
644
  };
663
- declare const VCDisplayCard: React__default.FC<VCDisplayCardPropsReal>;
645
+ declare const VCDisplayCard: React$1.FC<VCDisplayCardPropsReal>;
664
646
 
665
- declare type VCThumbnailProps = {
647
+ type VCThumbnailProps = {
666
648
  /**
667
649
  * thumbnail title
668
650
  * @type {string}
@@ -683,7 +665,7 @@ declare type VCThumbnailProps = {
683
665
  * @type {string}
684
666
  */
685
667
  userImage?: string;
686
- userImageComponent?: React__default.ReactNode;
668
+ userImageComponent?: React$1.ReactNode;
687
669
  /**
688
670
  * badge image
689
671
  * @type {string}
@@ -707,65 +689,65 @@ declare type VCThumbnailProps = {
707
689
  onClick?: () => void;
708
690
  };
709
691
 
710
- declare const VCThumbnail: React__default.FC<VCThumbnailProps>;
692
+ declare const VCThumbnail: React$1.FC<VCThumbnailProps>;
711
693
 
712
- declare type VCVerificationCheckProps = {
694
+ type VCVerificationCheckProps = {
713
695
  size?: string | number;
714
696
  loading?: boolean;
715
697
  };
716
- declare const VCVerificationCheck: React__default.FC<VCVerificationCheckProps>;
698
+ declare const VCVerificationCheck: React$1.FC<VCVerificationCheckProps>;
717
699
 
718
- declare const VCVerificationCheckWithSpinner: React__default.FC<VCVerificationCheckProps & {
700
+ declare const VCVerificationCheckWithSpinner: React$1.FC<VCVerificationCheckProps & {
719
701
  spinnerSize?: string;
720
702
  withBorder?: boolean;
721
703
  }>;
722
- declare const VCVerificationCheckWithText: React__default.FC<VCVerificationCheckProps & {
704
+ declare const VCVerificationCheckWithText: React$1.FC<VCVerificationCheckProps & {
723
705
  spinnerSize?: string;
724
706
  }>;
725
707
 
726
- declare type VerifiableStateIndicatorProps = {
708
+ type VerifiableStateIndicatorProps = {
727
709
  status: VerificationStatus;
728
710
  };
729
- declare const ValidationStateIndicator: React__default.FC<VerifiableStateIndicatorProps>;
711
+ declare const ValidationStateIndicator: React$1.FC<VerifiableStateIndicatorProps>;
730
712
 
731
- declare const AwardRibbon: React__default.FC<{
713
+ declare const AwardRibbon: React$1.FC<{
732
714
  className?: string;
733
715
  }>;
734
716
 
735
- declare const Briefcase: React__default.FC<{
717
+ declare const Briefcase: React$1.FC<{
736
718
  className?: string;
737
719
  }>;
738
720
 
739
- declare const Checkmark: React__default.FC<{
721
+ declare const Checkmark: React$1.FC<{
740
722
  className?: string;
741
723
  }>;
742
724
 
743
- declare const Coins: React__default.FC<{
725
+ declare const Coins: React$1.FC<{
744
726
  className?: string;
745
727
  }>;
746
728
 
747
- declare const GenericArrow: React__default.FC<{
729
+ declare const GenericArrow: React$1.FC<{
748
730
  className?: string;
749
731
  color?: string;
750
732
  width?: string;
751
733
  height?: string;
752
734
  }>;
753
735
 
754
- declare const Graduation: React__default.FC<{
736
+ declare const Graduation: React$1.FC<{
755
737
  className?: string;
756
738
  }>;
757
739
 
758
- declare const Lightbulb: React__default.FC<{
740
+ declare const Lightbulb: React$1.FC<{
759
741
  className?: string;
760
742
  }>;
761
743
 
762
- declare const Trophy: React__default.FC<{
744
+ declare const Trophy: React$1.FC<{
763
745
  className?: string;
764
746
  color?: string;
765
747
  }>;
766
748
 
767
- declare const User: React__default.FC<{
749
+ declare const User: React$1.FC<{
768
750
  className?: string;
769
751
  }>;
770
752
 
771
- export { AchievementCard, AwardRibbon, Briefcase, Button, ButtonProps, Checkmark, CheckmarkSvg, CircleCheckButton, CircleIcon, CircleIconProps, CircleLoadingState, CircleSpinnerProps, Coins, CountCircle, CountCircleProps, CourseCard, CourseVerticalCard, CredentialIconType, FlippyCard, FlippyCardProps, GenericArrow, GenericCard, Graduation, JobHistoryCard, JobListCard, JobListingBubble, LearnCardCreditCardBackFace, LearnCardCreditCardBackFaceProps, LearnCardCreditCardFrontFace, LearnCardCreditCardFrontFaceProps, LearnCardCreditCardProps, LearnCardCreditCardUserProps, LearnPill, Lightbulb, MediaMetadata, MiniVCThumbnail, MiniVCThumbnailProps, Notification, NotificationProps, NotificationTypeStyles, QRCodeCard, QRCodeCardProps, RoundedPill, RoundedSquare, RoundedSquareProps, SchoolIDCard, SchoolIDCardProps, SkillTabCard, SkillVerticalCard, SkillsCard, SkillsMeterSegment, SkillsStatsCard, SmallAchievementCard, TYPE_TO_IMG_SRC, TYPE_TO_MINI_ICON, TYPE_TO_WALLET_COLOR, Trophy, User, VCCard, VCCardProps, VCDisplayBackFace, VCDisplayCard, VCDisplayCard2, VCDisplayCard2Props, VCDisplayCardPropsReal, VCThumbnail, VCThumbnailProps, VCVerificationCheck, VCVerificationCheckProps, VCVerificationCheckWithSpinner, VCVerificationCheckWithText, ValidationStateIndicator, VideoMetadata, WALLET_SUBTYPES };
753
+ export { AchievementCard, AwardRibbon, BoostSmallCard, Briefcase, Button, ButtonProps, Checkmark, CheckmarkSvg, CircleCheckButton, CircleIcon, CircleIconProps, CircleLoadingState, CircleSpinnerProps, Coins, CountCircle, CountCircleProps, CourseCard, CourseVerticalCard, CredentialIconType, FlippyCard, FlippyCardProps, GenericArrow, GenericCard, Graduation, JobHistoryCard, JobListCard, JobListingBubble, LearnCardCreditCardBackFace, LearnCardCreditCardBackFaceProps, LearnCardCreditCardFrontFace, LearnCardCreditCardFrontFaceProps, LearnCardCreditCardProps, LearnCardCreditCardUserProps, LearnPill, Lightbulb, MediaMetadata, MiniVCThumbnail, MiniVCThumbnailProps, Notification, NotificationProps, NotificationTypeStyles, QRCodeCard, QRCodeCardProps, RoundedPill, RoundedSquare, RoundedSquareProps, SchoolIDCard, SchoolIDCardProps, SkillTabCard, SkillVerticalCard, SkillsCard, SkillsMeterSegment, SkillsStatsCard, SmallAchievementCard, TYPE_TO_IMG_SRC, TYPE_TO_MINI_ICON, TYPE_TO_WALLET_COLOR, Trophy, User, VCCard, VCCardProps, VCDisplayBackFace, VCDisplayCard, VCDisplayCard2, VCDisplayCard2Props, VCDisplayCardPropsReal, VCThumbnail, VCThumbnailProps, VCVerificationCheck, VCVerificationCheckProps, VCVerificationCheckWithSpinner, VCVerificationCheckWithText, ValidationStateIndicator, VideoMetadata, WALLET_SUBTYPES };