@learncard/react 2.7.5 → 2.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{CertificateDisplayCard-8ded38ec.js → CertificateDisplayCard-f38596e0.js} +3 -3
- package/dist/cjs/{CertificateDisplayCard-8ded38ec.js.map → CertificateDisplayCard-f38596e0.js.map} +1 -1
- package/dist/cjs/{VCCard-72db0270.js → VCCard-bdb37ce9.js} +4 -4
- package/dist/cjs/{VCCard-72db0270.js.map → VCCard-bdb37ce9.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-a3cd6ad2.js → VCDisplayBackFace-dc2d4cd8.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-a3cd6ad2.js.map → VCDisplayBackFace-dc2d4cd8.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-f0783ca4.js → VCDisplayCard-738d9e74.js} +3 -3
- package/dist/cjs/{VCDisplayCard-f0783ca4.js.map → VCDisplayCard-738d9e74.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-6c386dbd.js → VCDisplayCard2-f9825226.js} +4 -4
- package/dist/cjs/VCDisplayCard2-f9825226.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-43201cac.js → VCVerificationPill-fb2ad16b.js} +2 -2
- package/dist/cjs/{VCVerificationPill-43201cac.js.map → VCVerificationPill-fb2ad16b.js.map} +1 -1
- package/dist/cjs/{credential.helpers-ccf9ea86.js → credential.helpers-07221424.js} +2 -2
- package/dist/cjs/{credential.helpers-ccf9ea86.js.map → credential.helpers-07221424.js.map} +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/index13.js +8 -8
- package/dist/cjs/index36.js +8 -8
- package/dist/cjs/index37.js +4 -4
- package/dist/cjs/index38.js +5 -5
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index40.js +1 -1
- package/dist/cjs/index43.js +2 -2
- package/dist/cjs/index6.js +3 -3
- package/dist/cjs/{types.esm-2ec4fa7e.js → types.esm-e15a100d.js} +9 -3
- package/dist/cjs/types.esm-e15a100d.js.map +1 -0
- package/dist/esm/{CertificateDisplayCard-3b19363c.js → CertificateDisplayCard-39337edc.js} +3 -3
- package/dist/esm/{CertificateDisplayCard-3b19363c.js.map → CertificateDisplayCard-39337edc.js.map} +1 -1
- package/dist/esm/{VCCard-b98daea4.js → VCCard-c4729e93.js} +4 -4
- package/dist/esm/{VCCard-b98daea4.js.map → VCCard-c4729e93.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-1a581f1c.js → VCDisplayBackFace-d7597ab2.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-1a581f1c.js.map → VCDisplayBackFace-d7597ab2.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-ac914ce3.js → VCDisplayCard-0593b168.js} +3 -3
- package/dist/esm/{VCDisplayCard-ac914ce3.js.map → VCDisplayCard-0593b168.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-55b4930f.js → VCDisplayCard2-c84df859.js} +4 -4
- package/dist/esm/VCDisplayCard2-c84df859.js.map +1 -0
- package/dist/esm/{VCVerificationPill-3e38a718.js → VCVerificationPill-7e5c5fbe.js} +2 -2
- package/dist/esm/{VCVerificationPill-3e38a718.js.map → VCVerificationPill-7e5c5fbe.js.map} +1 -1
- package/dist/esm/{credential.helpers-c06a1aa8.js → credential.helpers-e8fe0001.js} +2 -2
- package/dist/esm/{credential.helpers-c06a1aa8.js.map → credential.helpers-e8fe0001.js.map} +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index13.js +8 -8
- package/dist/esm/index36.js +8 -8
- package/dist/esm/index37.js +4 -4
- package/dist/esm/index38.js +5 -5
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index40.js +1 -1
- package/dist/esm/index43.js +2 -2
- package/dist/esm/index6.js +3 -3
- package/dist/esm/{types.esm-8f6a5623.js → types.esm-099d2f24.js} +9 -3
- package/dist/esm/types.esm-099d2f24.js.map +1 -0
- package/dist/index.d.ts +62 -62
- package/package.json +2 -3
- package/dist/cjs/VCDisplayCard2-6c386dbd.js.map +0 -1
- package/dist/cjs/types.esm-2ec4fa7e.js.map +0 -1
- package/dist/esm/VCDisplayCard2-55b4930f.js.map +0 -1
- package/dist/esm/types.esm-8f6a5623.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ declare enum WalletCategoryTypes {
|
|
|
38
38
|
ids = "ids",
|
|
39
39
|
currency = "currency"
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
type VCDisplayCardProps = {
|
|
42
42
|
title?: string;
|
|
43
43
|
createdAt?: string;
|
|
44
44
|
issuer?: Profile;
|
|
@@ -58,7 +58,7 @@ declare type VCDisplayCardProps = {
|
|
|
58
58
|
overrideCardImageComponent?: React$1.ReactNode;
|
|
59
59
|
customHeaderComponent?: React$1.ReactNode;
|
|
60
60
|
};
|
|
61
|
-
|
|
61
|
+
type SmallAchievementCardProps = {
|
|
62
62
|
title?: string;
|
|
63
63
|
thumbImgSrc?: string;
|
|
64
64
|
showStatus?: boolean;
|
|
@@ -66,7 +66,7 @@ declare type SmallAchievementCardProps = {
|
|
|
66
66
|
date?: string;
|
|
67
67
|
onClick?: () => void;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
type AchievementCardProps = {
|
|
70
70
|
title?: string;
|
|
71
71
|
thumbImgSrc?: string;
|
|
72
72
|
showStatus?: boolean;
|
|
@@ -78,7 +78,7 @@ declare type AchievementCardProps = {
|
|
|
78
78
|
onCheckClick?: () => void;
|
|
79
79
|
onClick?: () => void;
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
type CourseCardProps = {
|
|
82
82
|
status?: string;
|
|
83
83
|
title?: string;
|
|
84
84
|
semester?: string;
|
|
@@ -91,7 +91,7 @@ declare type CourseCardProps = {
|
|
|
91
91
|
achievementCount: string | number;
|
|
92
92
|
onClick?: () => void;
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
type CourseCardVerticalProps = {
|
|
95
95
|
title?: string;
|
|
96
96
|
className?: string;
|
|
97
97
|
thumbImgSrc?: string;
|
|
@@ -106,7 +106,7 @@ declare type CourseCardVerticalProps = {
|
|
|
106
106
|
onCheckClick?: () => void;
|
|
107
107
|
onClick?: () => void;
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
type SkillsCardProps = {
|
|
110
110
|
count?: number;
|
|
111
111
|
title?: string;
|
|
112
112
|
level?: string;
|
|
@@ -116,18 +116,18 @@ declare type SkillsCardProps = {
|
|
|
116
116
|
onClick?: () => void;
|
|
117
117
|
className?: string;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
type SkillStat = {
|
|
120
120
|
name?: string;
|
|
121
121
|
percent: number | string;
|
|
122
122
|
className?: string;
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
type SkillsStatsCardProps = {
|
|
125
125
|
totalCount?: string | number;
|
|
126
126
|
skills?: SkillStat[];
|
|
127
127
|
className?: string;
|
|
128
128
|
onClick?: () => void;
|
|
129
129
|
};
|
|
130
|
-
|
|
130
|
+
type SkillVerticalCardProps = {
|
|
131
131
|
title: string;
|
|
132
132
|
completed?: number;
|
|
133
133
|
total?: number;
|
|
@@ -135,22 +135,22 @@ declare type SkillVerticalCardProps = {
|
|
|
135
135
|
onClick?: () => void;
|
|
136
136
|
className?: string;
|
|
137
137
|
};
|
|
138
|
-
|
|
138
|
+
type RoundedPillProps = {
|
|
139
139
|
statusText?: string;
|
|
140
140
|
type?: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill | 'locked';
|
|
141
141
|
onClick?: () => void;
|
|
142
142
|
showCheckmark?: boolean;
|
|
143
143
|
};
|
|
144
|
-
|
|
144
|
+
type JobQualificationsCount = {
|
|
145
145
|
fulfilledCount: number;
|
|
146
146
|
totalRequiredCount: number;
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
type JobQualificationDisplay = {
|
|
149
149
|
skills?: JobQualificationsCount;
|
|
150
150
|
achievements?: JobQualificationsCount;
|
|
151
151
|
courses?: JobQualificationsCount;
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
type JobListCardProps = {
|
|
154
154
|
title?: string;
|
|
155
155
|
customButtonComponent?: React$1.ReactNode;
|
|
156
156
|
company?: string;
|
|
@@ -167,18 +167,18 @@ declare type JobListCardProps = {
|
|
|
167
167
|
onBookmark?: () => void;
|
|
168
168
|
onClick?: () => void;
|
|
169
169
|
};
|
|
170
|
-
|
|
170
|
+
type LearnPillProps = {
|
|
171
171
|
count: number | string;
|
|
172
172
|
type: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill;
|
|
173
173
|
className?: string;
|
|
174
174
|
};
|
|
175
|
-
|
|
175
|
+
type CircleCheckButtonProps = {
|
|
176
176
|
onClick?: () => void;
|
|
177
177
|
className?: string;
|
|
178
178
|
bgColor?: string;
|
|
179
179
|
checked?: boolean;
|
|
180
180
|
};
|
|
181
|
-
|
|
181
|
+
type SkillTabCardProps = {
|
|
182
182
|
title?: string;
|
|
183
183
|
description?: string;
|
|
184
184
|
checked?: boolean;
|
|
@@ -188,7 +188,7 @@ declare type SkillTabCardProps = {
|
|
|
188
188
|
onCheckClicked?: () => void;
|
|
189
189
|
onClick?: () => void;
|
|
190
190
|
};
|
|
191
|
-
|
|
191
|
+
type JobHistoryCardProps = {
|
|
192
192
|
title?: string;
|
|
193
193
|
company?: string;
|
|
194
194
|
description?: string;
|
|
@@ -198,7 +198,7 @@ declare type JobHistoryCardProps = {
|
|
|
198
198
|
showArrow?: boolean;
|
|
199
199
|
onClick?: () => void;
|
|
200
200
|
};
|
|
201
|
-
|
|
201
|
+
type GenericCardProps = {
|
|
202
202
|
title?: string;
|
|
203
203
|
className?: string;
|
|
204
204
|
type?: WalletCategoryTypes;
|
|
@@ -210,13 +210,13 @@ declare type GenericCardProps = {
|
|
|
210
210
|
onClick?: () => void;
|
|
211
211
|
flipped?: boolean;
|
|
212
212
|
};
|
|
213
|
-
|
|
213
|
+
type IssueHistory = {
|
|
214
214
|
id?: string | number;
|
|
215
215
|
name?: string;
|
|
216
216
|
thumb?: string;
|
|
217
217
|
date?: string;
|
|
218
218
|
};
|
|
219
|
-
|
|
219
|
+
type BoostSmallCardProps = {
|
|
220
220
|
title?: string;
|
|
221
221
|
customTitle?: React$1.ReactNode | string | null;
|
|
222
222
|
className?: string;
|
|
@@ -238,7 +238,7 @@ declare type BoostSmallCardProps = {
|
|
|
238
238
|
issueHistory?: IssueHistory[];
|
|
239
239
|
bgImgSrc?: string;
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
type BoostGenericCardProps = {
|
|
242
242
|
title?: string;
|
|
243
243
|
customTitle?: React$1.ReactNode | string | null;
|
|
244
244
|
className?: string;
|
|
@@ -259,12 +259,12 @@ declare type BoostGenericCardProps = {
|
|
|
259
259
|
customDateDisplay?: React$1.ReactNode | string | null;
|
|
260
260
|
verifierBadge?: React$1.ReactNode;
|
|
261
261
|
};
|
|
262
|
-
|
|
262
|
+
type Attachment = {
|
|
263
263
|
title: string;
|
|
264
264
|
url: string;
|
|
265
265
|
type: 'photo' | 'document' | 'video' | 'link';
|
|
266
266
|
};
|
|
267
|
-
|
|
267
|
+
type BoostAchievementCredential = AchievementCredential & {
|
|
268
268
|
display?: {
|
|
269
269
|
backgroundImage?: string;
|
|
270
270
|
backgroundColor?: string;
|
|
@@ -272,12 +272,12 @@ declare type BoostAchievementCredential = AchievementCredential & {
|
|
|
272
272
|
image: string;
|
|
273
273
|
attachments: Attachment[];
|
|
274
274
|
};
|
|
275
|
-
|
|
275
|
+
type MediaMetadata = {
|
|
276
276
|
fileExtension?: string;
|
|
277
277
|
sizeInBytes?: number;
|
|
278
278
|
numberOfPages?: number;
|
|
279
279
|
};
|
|
280
|
-
|
|
280
|
+
type VideoMetadata = {
|
|
281
281
|
title?: string;
|
|
282
282
|
videoLength?: string;
|
|
283
283
|
imageUrl?: string;
|
|
@@ -289,7 +289,7 @@ declare const BoostGenericCard: React$1.FC<BoostGenericCardProps>;
|
|
|
289
289
|
|
|
290
290
|
declare const BoostSmallCard: React$1.FC<BoostSmallCardProps>;
|
|
291
291
|
|
|
292
|
-
|
|
292
|
+
type ButtonProps = {
|
|
293
293
|
text?: string;
|
|
294
294
|
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
295
295
|
className?: string;
|
|
@@ -305,7 +305,7 @@ declare const CertDisplayCardSkillsCount: React$1.FC<{
|
|
|
305
305
|
onClick?: () => void;
|
|
306
306
|
}>;
|
|
307
307
|
|
|
308
|
-
|
|
308
|
+
type CertificateBackFaceProps = {
|
|
309
309
|
isFront?: boolean;
|
|
310
310
|
credential: VC | BoostAchievementCredential;
|
|
311
311
|
categoryType?: LCCategoryEnum;
|
|
@@ -320,7 +320,7 @@ declare type CertificateBackFaceProps = {
|
|
|
320
320
|
};
|
|
321
321
|
declare const CertificateBackFace: React$1.FC<CertificateBackFaceProps>;
|
|
322
322
|
|
|
323
|
-
|
|
323
|
+
type CertificateDisplayCardProps = {
|
|
324
324
|
credential: VC | BoostAchievementCredential;
|
|
325
325
|
categoryType?: LCCategoryEnum;
|
|
326
326
|
verificationItems: VerificationItem[];
|
|
@@ -346,7 +346,7 @@ declare type CertificateDisplayCardProps = {
|
|
|
346
346
|
};
|
|
347
347
|
declare const CertificateDisplayCard: React$1.FC<CertificateDisplayCardProps>;
|
|
348
348
|
|
|
349
|
-
|
|
349
|
+
type CertificateFrontFaceProps = {
|
|
350
350
|
isFront?: boolean;
|
|
351
351
|
credential: VC | BoostAchievementCredential;
|
|
352
352
|
categoryType?: LCCategoryEnum;
|
|
@@ -368,11 +368,11 @@ declare const VERIFIER_STATES: {
|
|
|
368
368
|
readonly unknownVerifier: "Unknown Verifier";
|
|
369
369
|
readonly untrustedVerifier: "Untrusted Verifier";
|
|
370
370
|
};
|
|
371
|
-
|
|
371
|
+
type VerifierState = (typeof VERIFIER_STATES)[keyof typeof VERIFIER_STATES];
|
|
372
372
|
|
|
373
373
|
declare const CircleCheckButton: React$1.FC<CircleCheckButtonProps>;
|
|
374
374
|
|
|
375
|
-
|
|
375
|
+
type CircleIconProps = {
|
|
376
376
|
iconSrc?: string;
|
|
377
377
|
count?: string | number;
|
|
378
378
|
onClick?: () => void;
|
|
@@ -383,7 +383,7 @@ declare type CircleIconProps = {
|
|
|
383
383
|
loading?: boolean;
|
|
384
384
|
iconCircleClass?: string;
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
type CountCircleProps = {
|
|
387
387
|
size?: string;
|
|
388
388
|
count?: string | number;
|
|
389
389
|
innerPadding?: string;
|
|
@@ -399,7 +399,7 @@ declare const CourseCard: React$1.FC<CourseCardProps>;
|
|
|
399
399
|
|
|
400
400
|
declare const CourseVerticalCard: React$1.FC<CourseCardVerticalProps>;
|
|
401
401
|
|
|
402
|
-
|
|
402
|
+
type FlippyCardProps = {
|
|
403
403
|
children: React$1.ReactChild[];
|
|
404
404
|
flipState?: 'front' | 'back' | string;
|
|
405
405
|
};
|
|
@@ -409,7 +409,7 @@ declare const GenericCard: React$1.FC<GenericCardProps>;
|
|
|
409
409
|
|
|
410
410
|
declare const JobHistoryCard: React$1.FC<JobHistoryCardProps>;
|
|
411
411
|
|
|
412
|
-
|
|
412
|
+
type JobListingBubbleProps = {
|
|
413
413
|
count: number | string | undefined;
|
|
414
414
|
type: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill;
|
|
415
415
|
className?: string;
|
|
@@ -417,7 +417,7 @@ declare type JobListingBubbleProps = {
|
|
|
417
417
|
declare const JobListingBubble: React$1.FC<JobListingBubbleProps>;
|
|
418
418
|
declare const JobListCard: React$1.FC<JobListCardProps>;
|
|
419
419
|
|
|
420
|
-
|
|
420
|
+
type LearnCardCreditCardBackFaceProps = {
|
|
421
421
|
/**
|
|
422
422
|
* custom className
|
|
423
423
|
* @type {string}
|
|
@@ -426,7 +426,7 @@ declare type LearnCardCreditCardBackFaceProps = {
|
|
|
426
426
|
user: LearnCardCreditCardUserProps;
|
|
427
427
|
card: LearnCardCreditCardProps;
|
|
428
428
|
};
|
|
429
|
-
|
|
429
|
+
type LearnCardCreditCardUserProps = {
|
|
430
430
|
/**
|
|
431
431
|
* unique user handle / username
|
|
432
432
|
* @type {string}
|
|
@@ -438,7 +438,7 @@ declare type LearnCardCreditCardUserProps = {
|
|
|
438
438
|
*/
|
|
439
439
|
fullName: string;
|
|
440
440
|
};
|
|
441
|
-
|
|
441
|
+
type LearnCardCreditCardProps = {
|
|
442
442
|
/**
|
|
443
443
|
* card number
|
|
444
444
|
* @type {number}
|
|
@@ -463,7 +463,7 @@ declare type LearnCardCreditCardProps = {
|
|
|
463
463
|
|
|
464
464
|
declare const LearnCardCreditCardBackFace: React$1.FC<LearnCardCreditCardBackFaceProps>;
|
|
465
465
|
|
|
466
|
-
|
|
466
|
+
type LearnCardCreditCardFrontFaceProps = {
|
|
467
467
|
/**
|
|
468
468
|
* user image
|
|
469
469
|
* @type {string}
|
|
@@ -508,19 +508,19 @@ declare const LearnCardCreditCardFrontFace: React$1.FC<LearnCardCreditCardFrontF
|
|
|
508
508
|
|
|
509
509
|
declare const LearnPill: React$1.FC<LearnPillProps>;
|
|
510
510
|
|
|
511
|
-
|
|
512
|
-
|
|
511
|
+
type LightboxItemType = 'photo' | 'video';
|
|
512
|
+
type LightboxItem = {
|
|
513
513
|
url: string;
|
|
514
514
|
type: LightboxItemType;
|
|
515
515
|
};
|
|
516
|
-
|
|
516
|
+
type LightboxImage = LightboxItem & {
|
|
517
517
|
type: 'photo';
|
|
518
518
|
alt?: string;
|
|
519
519
|
};
|
|
520
|
-
|
|
520
|
+
type LightboxVideo = LightboxItem & {
|
|
521
521
|
type: 'video';
|
|
522
522
|
};
|
|
523
|
-
|
|
523
|
+
type LightboxProps = {
|
|
524
524
|
items: LightboxItem[];
|
|
525
525
|
currentUrl: string | undefined;
|
|
526
526
|
setCurrentUrl: (url: string | undefined) => void;
|
|
@@ -531,7 +531,7 @@ declare enum CircleLoadingState {
|
|
|
531
531
|
spin = 0,
|
|
532
532
|
stop = 1
|
|
533
533
|
}
|
|
534
|
-
|
|
534
|
+
type CircleSpinnerProps = {
|
|
535
535
|
size?: number;
|
|
536
536
|
thickness?: number;
|
|
537
537
|
color?: string;
|
|
@@ -539,7 +539,7 @@ declare type CircleSpinnerProps = {
|
|
|
539
539
|
marginOffset?: number;
|
|
540
540
|
};
|
|
541
541
|
|
|
542
|
-
|
|
542
|
+
type MiniVCThumbnailProps = {
|
|
543
543
|
/**
|
|
544
544
|
* thumbnail title
|
|
545
545
|
* @type {string}
|
|
@@ -588,7 +588,7 @@ declare enum UserNotificationTypeEnum {
|
|
|
588
588
|
AcceptedBoost = "acceptedBoost"
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
|
|
591
|
+
type NotificationProps = {
|
|
592
592
|
notificationType: NotificationTypeEnum;
|
|
593
593
|
title: string;
|
|
594
594
|
issuerImage?: string;
|
|
@@ -619,7 +619,7 @@ interface NotificationIssuerMeta {
|
|
|
619
619
|
profileId?: string;
|
|
620
620
|
displayName?: string;
|
|
621
621
|
}
|
|
622
|
-
|
|
622
|
+
type NotificationBoostCardProps = {
|
|
623
623
|
className?: string;
|
|
624
624
|
thumbImage?: string;
|
|
625
625
|
customThumbComponent?: React.ReactNode;
|
|
@@ -638,7 +638,7 @@ declare type NotificationBoostCardProps = {
|
|
|
638
638
|
|
|
639
639
|
declare const NotificationBoostCard: React$1.FC<NotificationBoostCardProps>;
|
|
640
640
|
|
|
641
|
-
|
|
641
|
+
type NotificationUserAcceptedBoostCardProps = {
|
|
642
642
|
className?: string;
|
|
643
643
|
thumbImage?: string;
|
|
644
644
|
customThumbComponent?: React.ReactNode;
|
|
@@ -652,7 +652,7 @@ declare type NotificationUserAcceptedBoostCardProps = {
|
|
|
652
652
|
|
|
653
653
|
declare const NotificationUserAcceptedBoostCard: React$1.FC<NotificationUserAcceptedBoostCardProps>;
|
|
654
654
|
|
|
655
|
-
|
|
655
|
+
type NotificationUserCardProps = {
|
|
656
656
|
className?: string;
|
|
657
657
|
thumbImage?: string;
|
|
658
658
|
customThumbComponent?: React.ReactNode;
|
|
@@ -678,7 +678,7 @@ declare const UserNotificationTypeStyles: {
|
|
|
678
678
|
|
|
679
679
|
declare const NotificationUserCard: React$1.FC<NotificationUserCardProps>;
|
|
680
680
|
|
|
681
|
-
|
|
681
|
+
type QRCodeCardProps = {
|
|
682
682
|
/**
|
|
683
683
|
* user handle
|
|
684
684
|
* @type {string}
|
|
@@ -703,14 +703,14 @@ declare type QRCodeCardProps = {
|
|
|
703
703
|
|
|
704
704
|
declare const QRCodeCard: React$1.FC<QRCodeCardProps>;
|
|
705
705
|
|
|
706
|
-
|
|
706
|
+
type InlineSVGProps = {
|
|
707
707
|
color?: string;
|
|
708
708
|
size?: string | number;
|
|
709
709
|
};
|
|
710
710
|
declare const CheckmarkSvg: React$1.FC<InlineSVGProps>;
|
|
711
711
|
declare const RoundedPill: React$1.FC<RoundedPillProps>;
|
|
712
712
|
|
|
713
|
-
|
|
713
|
+
type RoundedSquareProps = {
|
|
714
714
|
title?: string;
|
|
715
715
|
description?: string;
|
|
716
716
|
type?: WalletCategoryTypes;
|
|
@@ -745,7 +745,7 @@ declare const TYPE_TO_WALLET_COLOR: {
|
|
|
745
745
|
[x: string]: string;
|
|
746
746
|
};
|
|
747
747
|
|
|
748
|
-
|
|
748
|
+
type SchoolIDCardProps = {
|
|
749
749
|
/**
|
|
750
750
|
* student image
|
|
751
751
|
* @type {string}
|
|
@@ -792,7 +792,7 @@ declare const SkillTabCard: React$1.FC<SkillTabCardProps>;
|
|
|
792
792
|
|
|
793
793
|
declare const SkillVerticalCard: React$1.FC<SkillVerticalCardProps>;
|
|
794
794
|
|
|
795
|
-
|
|
795
|
+
type SkillsMeterSegmentProps = {
|
|
796
796
|
filled?: boolean;
|
|
797
797
|
className?: string;
|
|
798
798
|
skillColor?: string;
|
|
@@ -1107,11 +1107,11 @@ declare const SelectedSkills: React$1.FC<{
|
|
|
1107
1107
|
};
|
|
1108
1108
|
}>;
|
|
1109
1109
|
|
|
1110
|
-
|
|
1110
|
+
type CredentialIconType = {
|
|
1111
1111
|
image?: React$1.ReactNode;
|
|
1112
1112
|
color?: string;
|
|
1113
1113
|
};
|
|
1114
|
-
|
|
1114
|
+
type VCDisplayCard2Props = {
|
|
1115
1115
|
categoryType?: LCCategoryEnum;
|
|
1116
1116
|
credential: VC | BoostAchievementCredential;
|
|
1117
1117
|
verificationItems: VerificationItem[];
|
|
@@ -1162,7 +1162,7 @@ declare const VCDisplayCardSkillsCount: React$1.FC<{
|
|
|
1162
1162
|
onClick?: () => void;
|
|
1163
1163
|
}>;
|
|
1164
1164
|
|
|
1165
|
-
|
|
1165
|
+
type VCIDDisplayCardProps = {
|
|
1166
1166
|
credential: VC | BoostAchievementCredential;
|
|
1167
1167
|
verificationItems: VerificationItem[];
|
|
1168
1168
|
getFileMetadata?: (url: string) => MediaMetadata;
|
|
@@ -1188,7 +1188,7 @@ declare type VCIDDisplayCardProps = {
|
|
|
1188
1188
|
};
|
|
1189
1189
|
declare const VCIDDisplayCard: React$1.FC<VCIDDisplayCardProps>;
|
|
1190
1190
|
|
|
1191
|
-
|
|
1191
|
+
type VCCardProps = {
|
|
1192
1192
|
credential: VC;
|
|
1193
1193
|
issueeOverride?: Profile;
|
|
1194
1194
|
className?: string;
|
|
@@ -1204,7 +1204,7 @@ declare const VCCard: React$1.FC<VCCardProps>;
|
|
|
1204
1204
|
|
|
1205
1205
|
declare const VCDisplayBackFace: React$1.FC<VCDisplayCardProps>;
|
|
1206
1206
|
|
|
1207
|
-
|
|
1207
|
+
type VCDisplayCardPropsReal = {
|
|
1208
1208
|
credential: VC | AchievementCredential;
|
|
1209
1209
|
issueeOverride?: Profile;
|
|
1210
1210
|
issuerOverride?: Profile;
|
|
@@ -1221,7 +1221,7 @@ declare type VCDisplayCardPropsReal = {
|
|
|
1221
1221
|
};
|
|
1222
1222
|
declare const VCDisplayCard: React$1.FC<VCDisplayCardPropsReal>;
|
|
1223
1223
|
|
|
1224
|
-
|
|
1224
|
+
type VCThumbnailProps = {
|
|
1225
1225
|
/**
|
|
1226
1226
|
* thumbnail title
|
|
1227
1227
|
* @type {string}
|
|
@@ -1268,7 +1268,7 @@ declare type VCThumbnailProps = {
|
|
|
1268
1268
|
|
|
1269
1269
|
declare const VCThumbnail: React$1.FC<VCThumbnailProps>;
|
|
1270
1270
|
|
|
1271
|
-
|
|
1271
|
+
type VCVerificationCheckProps = {
|
|
1272
1272
|
size?: string | number;
|
|
1273
1273
|
loading?: boolean;
|
|
1274
1274
|
};
|
|
@@ -1282,7 +1282,7 @@ declare const VCVerificationCheckWithText: React$1.FC<VCVerificationCheckProps &
|
|
|
1282
1282
|
spinnerSize?: string;
|
|
1283
1283
|
}>;
|
|
1284
1284
|
|
|
1285
|
-
|
|
1285
|
+
type VerifiableStateIndicatorProps = {
|
|
1286
1286
|
status: VerificationStatus;
|
|
1287
1287
|
};
|
|
1288
1288
|
declare const ValidationStateIndicator: React$1.FC<VerifiableStateIndicatorProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@learncard/react",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
"storybook": "^7.0.18",
|
|
56
56
|
"style-loader": "^3.3.1",
|
|
57
57
|
"tailwindcss": "^3.0.24",
|
|
58
|
-
"typescript": "^4.5.4",
|
|
59
58
|
"@learncard/types": "5.5.1"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
@@ -66,7 +65,7 @@
|
|
|
66
65
|
"react-barcode": "^1.4.5",
|
|
67
66
|
"react-flip-toolkit": "^7.1.0",
|
|
68
67
|
"tailwind-scrollbar-hide": "^1.1.7",
|
|
69
|
-
"@learncard/init": "1.2.
|
|
68
|
+
"@learncard/init": "1.2.29"
|
|
70
69
|
},
|
|
71
70
|
"peerDependencies": {
|
|
72
71
|
"react": "^18.0.0",
|