@learncard/react 2.11.0 → 2.12.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.
- package/dist/base.css +1 -1
- package/dist/base.js +1 -1
- package/dist/cjs/{BoostGenericCard-feaf99bd.js → BoostGenericCard-71899305.js} +22 -3
- package/dist/cjs/BoostGenericCard-71899305.js.map +1 -0
- package/dist/cjs/{CertificateDisplayCard-de7d7318.js → CertificateDisplayCard-f10b46b1.js} +5 -5
- package/dist/cjs/{CertificateDisplayCard-de7d7318.js.map → CertificateDisplayCard-f10b46b1.js.map} +1 -1
- package/dist/cjs/{Lightbox-d72e19ba.js → Lightbox-e2996736.js} +100 -2
- package/dist/cjs/Lightbox-e2996736.js.map +1 -0
- package/dist/cjs/{MeritBadgeDisplayCard-6edd0a69.js → MeritBadgeDisplayCard-d50cfb5e.js} +5 -5
- package/dist/cjs/{MeritBadgeDisplayCard-6edd0a69.js.map → MeritBadgeDisplayCard-d50cfb5e.js.map} +1 -1
- package/dist/cjs/{MeritBadgeSkillsCount-7ac48ce3.js → MeritBadgeSkillsCount-e46503f5.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-7ac48ce3.js.map → MeritBadgeSkillsCount-e46503f5.js.map} +1 -1
- package/dist/cjs/{SchoolIDCard-10796199.js → SchoolIDCard-2d3cbb2c.js} +3 -1184
- package/dist/cjs/SchoolIDCard-2d3cbb2c.js.map +1 -0
- package/dist/cjs/{VCCard-0b85bc7d.js → VCCard-42479c97.js} +3 -3
- package/dist/cjs/{VCCard-0b85bc7d.js.map → VCCard-42479c97.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-45a8d94f.js → VCDisplayBackFace-d1cf9f73.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-45a8d94f.js.map → VCDisplayBackFace-d1cf9f73.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-9e43c7db.js → VCDisplayCard-cf46c224.js} +3 -3
- package/dist/cjs/{VCDisplayCard-9e43c7db.js.map → VCDisplayCard-cf46c224.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-81d04ca4.js → VCDisplayCard2-4a201a8a.js} +93 -68
- package/dist/cjs/VCDisplayCard2-4a201a8a.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-9416f420.js → VCVerificationPill-6c9dcf80.js} +2 -2
- package/dist/cjs/{VCVerificationPill-9416f420.js.map → VCVerificationPill-6c9dcf80.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-54065ad8.js → VerifierStateBadgeAndText-934239ab.js} +13 -4
- package/dist/{esm/VerifierStateBadgeAndText-2859597e.js.map → cjs/VerifierStateBadgeAndText-934239ab.js.map} +1 -1
- package/dist/cjs/{credential.helpers-cf5b7e3c.js → credential.helpers-17a10601.js} +2 -2
- package/dist/cjs/{credential.helpers-cf5b7e3c.js.map → credential.helpers-17a10601.js.map} +1 -1
- package/dist/cjs/index-47efbf5b.js +1186 -0
- package/dist/cjs/index-47efbf5b.js.map +1 -0
- package/dist/cjs/index.js +24 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index14.js +17 -14
- package/dist/cjs/index14.js.map +1 -1
- package/dist/cjs/index20.js +2 -1
- package/dist/cjs/index20.js.map +1 -1
- package/dist/cjs/index22.js +6 -6
- package/dist/cjs/index31.js +2 -1
- package/dist/cjs/index31.js.map +1 -1
- package/dist/cjs/index39.js +12 -11
- package/dist/cjs/index39.js.map +1 -1
- package/dist/cjs/index4.js +3 -3
- package/dist/cjs/index40.js +4 -4
- package/dist/cjs/index41.js +5 -5
- package/dist/cjs/index42.js +9 -7
- package/dist/cjs/index42.js.map +1 -1
- package/dist/cjs/index43.js +1 -1
- package/dist/cjs/index46.js +2 -2
- package/dist/cjs/index7.js +5 -5
- package/dist/cjs/{types.esm-e775534b.js → types.esm-73624b33.js} +12 -3
- package/dist/cjs/types.esm-73624b33.js.map +1 -0
- package/dist/esm/{BoostGenericCard-f0c9952c.js → BoostGenericCard-3b3ff784.js} +22 -3
- package/dist/esm/BoostGenericCard-3b3ff784.js.map +1 -0
- package/dist/esm/{CertificateDisplayCard-34e0b6a8.js → CertificateDisplayCard-f26ef278.js} +5 -5
- package/dist/esm/{CertificateDisplayCard-34e0b6a8.js.map → CertificateDisplayCard-f26ef278.js.map} +1 -1
- package/dist/esm/{Lightbox-f0338a0c.js → Lightbox-11f4888d.js} +95 -3
- package/dist/esm/Lightbox-11f4888d.js.map +1 -0
- package/dist/esm/{MeritBadgeDisplayCard-c6f65ac6.js → MeritBadgeDisplayCard-0d0b28c7.js} +5 -5
- package/dist/esm/{MeritBadgeDisplayCard-c6f65ac6.js.map → MeritBadgeDisplayCard-0d0b28c7.js.map} +1 -1
- package/dist/esm/{MeritBadgeSkillsCount-c51c5111.js → MeritBadgeSkillsCount-09e211fc.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-c51c5111.js.map → MeritBadgeSkillsCount-09e211fc.js.map} +1 -1
- package/dist/esm/{SchoolIDCard-f82e40bc.js → SchoolIDCard-fbd1cf6c.js} +2 -1183
- package/dist/esm/SchoolIDCard-fbd1cf6c.js.map +1 -0
- package/dist/esm/{VCCard-6c85ef2e.js → VCCard-7e5e00d7.js} +3 -3
- package/dist/esm/{VCCard-6c85ef2e.js.map → VCCard-7e5e00d7.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-211f4bfb.js → VCDisplayBackFace-ae74476d.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-211f4bfb.js.map → VCDisplayBackFace-ae74476d.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-04660178.js → VCDisplayCard-ac1f367a.js} +3 -3
- package/dist/esm/{VCDisplayCard-04660178.js.map → VCDisplayCard-ac1f367a.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-d4594742.js → VCDisplayCard2-7011596e.js} +94 -70
- package/dist/esm/VCDisplayCard2-7011596e.js.map +1 -0
- package/dist/esm/{VCVerificationPill-eafbb82e.js → VCVerificationPill-04ffdf56.js} +2 -2
- package/dist/esm/{VCVerificationPill-eafbb82e.js.map → VCVerificationPill-04ffdf56.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-2859597e.js → VerifierStateBadgeAndText-750a6c24.js} +13 -4
- package/dist/{cjs/VerifierStateBadgeAndText-54065ad8.js.map → esm/VerifierStateBadgeAndText-750a6c24.js.map} +1 -1
- package/dist/esm/{credential.helpers-845e8c09.js → credential.helpers-4fbdd8e8.js} +2 -2
- package/dist/esm/{credential.helpers-845e8c09.js.map → credential.helpers-4fbdd8e8.js.map} +1 -1
- package/dist/esm/index-cbd2e9db.js +1184 -0
- package/dist/esm/index-cbd2e9db.js.map +1 -0
- package/dist/esm/index.js +16 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index14.js +15 -14
- package/dist/esm/index14.js.map +1 -1
- package/dist/esm/index20.js +1 -1
- package/dist/esm/index22.js +6 -6
- package/dist/esm/index31.js +2 -1
- package/dist/esm/index31.js.map +1 -1
- package/dist/esm/index39.js +12 -11
- package/dist/esm/index39.js.map +1 -1
- package/dist/esm/index4.js +3 -3
- package/dist/esm/index40.js +4 -4
- package/dist/esm/index41.js +5 -5
- package/dist/esm/index42.js +8 -7
- package/dist/esm/index42.js.map +1 -1
- package/dist/esm/index43.js +1 -1
- package/dist/esm/index46.js +2 -2
- package/dist/esm/index7.js +5 -5
- package/dist/esm/{types.esm-5b5092be.js → types.esm-5f75bd4a.js} +12 -3
- package/dist/esm/types.esm-5f75bd4a.js.map +1 -0
- package/dist/index.d.ts +81 -9
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +3 -3
- package/src/assets/styles/main.css +10 -0
- package/src/components/BoostGenericCard/BoostGenericCard.tsx +9 -2
- package/src/components/BoostGenericCard/__tests__/BoostGenericCard.thumb.test.tsx +59 -0
- package/src/components/Lightbox/ExternalVideoFallback.tsx +53 -0
- package/src/components/Lightbox/Lightbox.tsx +23 -9
- package/src/components/Lightbox/__tests__/Lightbox.video.test.tsx +139 -0
- package/src/components/Lightbox/index.ts +1 -0
- package/src/components/VCDisplayCard2/FitText.tsx +75 -46
- package/src/components/VCDisplayCard2/VCDisplayCard2.tsx +59 -19
- package/src/components/VCDisplayCard2/__tests__/FitText.test.tsx +140 -0
- package/src/components/VCDisplayCard2/__tests__/VCDisplayCard2Variant.test.ts +31 -0
- package/src/helpers/externalUrl.helpers.ts +51 -0
- package/src/helpers/video.helpers.ts +41 -0
- package/src/index.ts +5 -0
- package/dist/cjs/BoostGenericCard-feaf99bd.js.map +0 -1
- package/dist/cjs/Lightbox-d72e19ba.js.map +0 -1
- package/dist/cjs/SchoolIDCard-10796199.js.map +0 -1
- package/dist/cjs/VCDisplayCard2-81d04ca4.js.map +0 -1
- package/dist/cjs/types.esm-e775534b.js.map +0 -1
- package/dist/esm/BoostGenericCard-f0c9952c.js.map +0 -1
- package/dist/esm/Lightbox-f0338a0c.js.map +0 -1
- package/dist/esm/SchoolIDCard-f82e40bc.js.map +0 -1
- package/dist/esm/VCDisplayCard2-d4594742.js.map +0 -1
- package/dist/esm/types.esm-5b5092be.js.map +0 -1
package/dist/esm/index41.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VCDisplayCard } from './VCDisplayCard-
|
|
1
|
+
export { V as VCDisplayCard } from './VCDisplayCard-ac1f367a.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './FlippyCard-458dc9b1.js';
|
|
4
4
|
import './icon.green.fat-arrow.png';
|
|
@@ -6,15 +6,15 @@ import './UserProfilePicture-50c34186.js';
|
|
|
6
6
|
import './VCVerificationCheck-8b8b7a76.js';
|
|
7
7
|
import './vc.check.svg';
|
|
8
8
|
import './CircleSpinner-03a329fc.js';
|
|
9
|
-
import './credential.helpers-
|
|
9
|
+
import './credential.helpers-4fbdd8e8.js';
|
|
10
10
|
import './index-cb3a593b.js';
|
|
11
|
-
import './types.esm-
|
|
11
|
+
import './types.esm-5f75bd4a.js';
|
|
12
12
|
import './index-28917993.js';
|
|
13
13
|
import './PuzzlePiece-a3d9cc62.js';
|
|
14
14
|
import './User-f5ea0f01.js';
|
|
15
15
|
import './Trophy-fc7fdec4.js';
|
|
16
|
-
import './VCDisplayBackFace-
|
|
17
|
-
import './VCVerificationPill-
|
|
16
|
+
import './VCDisplayBackFace-ae74476d.js';
|
|
17
|
+
import './VCVerificationPill-04ffdf56.js';
|
|
18
18
|
import './RedXCircle.svg';
|
|
19
19
|
import './GreenCheckCircle.svg';
|
|
20
20
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index42.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { S as SelectedSkills } from './VerifierStateBadgeAndText-
|
|
2
|
+
export { S as SelectedSkills } from './VerifierStateBadgeAndText-750a6c24.js';
|
|
3
3
|
import './athletics.png';
|
|
4
4
|
import './business.png';
|
|
5
5
|
import './creative.png';
|
|
@@ -10,23 +10,24 @@ import './social.png';
|
|
|
10
10
|
import './stem.png';
|
|
11
11
|
import './trade.png';
|
|
12
12
|
import './index-cb3a593b.js';
|
|
13
|
-
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-
|
|
14
|
-
import './types.esm-
|
|
13
|
+
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard, g as getVCDisplayCardVariant } from './VCDisplayCard2-7011596e.js';
|
|
14
|
+
import './types.esm-5f75bd4a.js';
|
|
15
15
|
import './i18n-08b606cb.js';
|
|
16
16
|
import './id-sleeve.png';
|
|
17
17
|
import './PuzzlePiece-a3d9cc62.js';
|
|
18
|
+
import './index-cbd2e9db.js';
|
|
18
19
|
import './VCVerificationCheck-8b8b7a76.js';
|
|
19
20
|
import './vc.check.svg';
|
|
20
21
|
import './CircleSpinner-03a329fc.js';
|
|
21
22
|
import './UserProfilePicture-50c34186.js';
|
|
22
|
-
import './credential.helpers-
|
|
23
|
+
import './credential.helpers-4fbdd8e8.js';
|
|
23
24
|
import './index-28917993.js';
|
|
24
25
|
import './User-f5ea0f01.js';
|
|
25
26
|
import './Trophy-fc7fdec4.js';
|
|
26
|
-
import './Lightbox-
|
|
27
|
+
import './Lightbox-11f4888d.js';
|
|
27
28
|
import 'react-dom';
|
|
28
|
-
import './CertificateDisplayCard-
|
|
29
|
+
import './CertificateDisplayCard-f26ef278.js';
|
|
29
30
|
import './DotsThreeOutline.svg';
|
|
30
31
|
import './QRCodeIcon-8eef4f7c.js';
|
|
31
|
-
import './MeritBadgeDisplayCard-
|
|
32
|
+
import './MeritBadgeDisplayCard-0d0b28c7.js';
|
|
32
33
|
//# sourceMappingURL=index42.js.map
|
package/dist/esm/index42.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index42.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index42.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index43.js
CHANGED
package/dist/esm/index46.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { V as ValidationStateIndicator } from './VCVerificationPill-
|
|
1
|
+
export { V as ValidationStateIndicator } from './VCVerificationPill-04ffdf56.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './types.esm-
|
|
3
|
+
import './types.esm-5f75bd4a.js';
|
|
4
4
|
import './RedXCircle.svg';
|
|
5
5
|
import './GreenCheckCircle.svg';
|
|
6
6
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index7.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-
|
|
2
|
+
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-f26ef278.js';
|
|
3
3
|
import './index-cb3a593b.js';
|
|
4
|
-
import './types.esm-
|
|
5
|
-
export { V as VERIFIER_STATES } from './VerifierStateBadgeAndText-
|
|
6
|
-
import './credential.helpers-
|
|
4
|
+
import './types.esm-5f75bd4a.js';
|
|
5
|
+
export { V as VERIFIER_STATES } from './VerifierStateBadgeAndText-750a6c24.js';
|
|
6
|
+
import './credential.helpers-4fbdd8e8.js';
|
|
7
7
|
import './index-28917993.js';
|
|
8
8
|
import './PuzzlePiece-a3d9cc62.js';
|
|
9
9
|
import './User-f5ea0f01.js';
|
|
10
10
|
import './Trophy-fc7fdec4.js';
|
|
11
11
|
import './UserProfilePicture-50c34186.js';
|
|
12
|
-
import './Lightbox-
|
|
12
|
+
import './Lightbox-11f4888d.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import './DotsThreeOutline.svg';
|
|
15
15
|
import './athletics.png';
|
|
@@ -7484,7 +7484,7 @@ var ProfileValidator = string().or(
|
|
|
7484
7484
|
}).catchall(any())
|
|
7485
7485
|
);
|
|
7486
7486
|
var CredentialSubjectValidator = object({ id: string().optional() }).catchall(any());
|
|
7487
|
-
var CredentialStatusValidator = object({ type: string(), id: string() }).catchall(any());
|
|
7487
|
+
var CredentialStatusValidator = object({ type: string(), id: string().optional() }).catchall(any());
|
|
7488
7488
|
var CredentialSchemaValidator = object({ id: string(), type: string() }).catchall(any());
|
|
7489
7489
|
var RefreshServiceValidator = object({ id: string().optional(), type: string() }).catchall(any());
|
|
7490
7490
|
var TermsOfUseValidator = object({ type: string(), id: string().optional() }).catchall(any());
|
|
@@ -7878,8 +7878,17 @@ var StatusCheckEntryValidator = object({
|
|
|
7878
7878
|
statusListIndex: string().optional()
|
|
7879
7879
|
});
|
|
7880
7880
|
object({
|
|
7881
|
+
/**
|
|
7882
|
+
* Checks that completed successfully. This does not imply that warnings can be ignored.
|
|
7883
|
+
*/
|
|
7881
7884
|
checks: string().array(),
|
|
7885
|
+
/**
|
|
7886
|
+
* Security-relevant conditions that did not prevent the requested cryptographic checks from
|
|
7887
|
+
* completing. In particular, a non-DID issuer warning means the signature is valid but the
|
|
7888
|
+
* named URL issuer's authorization of that signing key was not established.
|
|
7889
|
+
*/
|
|
7882
7890
|
warnings: string().array(),
|
|
7891
|
+
/** Verification failures that prevented one or more requested checks from succeeding. */
|
|
7883
7892
|
errors: string().array(),
|
|
7884
7893
|
/**
|
|
7885
7894
|
* Per-entry results for the `credentialStatus` check, populated
|
|
@@ -9334,7 +9343,7 @@ var BitstringStatusListEntryValidator = object({
|
|
|
9334
9343
|
id: string().optional(),
|
|
9335
9344
|
type: literal("BitstringStatusListEntry"),
|
|
9336
9345
|
statusPurpose: BitstringStatusPurposeValidator,
|
|
9337
|
-
statusListIndex: string(),
|
|
9346
|
+
statusListIndex: string().or(number().int().nonnegative()),
|
|
9338
9347
|
statusListCredential: string()
|
|
9339
9348
|
});
|
|
9340
9349
|
BitstringStatusListEntryValidator.extend({
|
|
@@ -9438,4 +9447,4 @@ object({
|
|
|
9438
9447
|
}).passthrough();
|
|
9439
9448
|
|
|
9440
9449
|
export { VerificationStatusEnum as V, literal as l, number as n, object as o, string as s, union as u };
|
|
9441
|
-
//# sourceMappingURL=types.esm-
|
|
9450
|
+
//# sourceMappingURL=types.esm-5f75bd4a.js.map
|