@learncard/react 2.10.1 → 2.10.2
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/{BoostGenericCard-f2f66b1c.js → BoostGenericCard-52b35509.js} +2 -2
- package/dist/cjs/{BoostGenericCard-f2f66b1c.js.map → BoostGenericCard-52b35509.js.map} +1 -1
- package/dist/cjs/{CertificateDisplayCard-ca865915.js → CertificateDisplayCard-2c6f5a4b.js} +4 -4
- package/dist/cjs/{CertificateDisplayCard-ca865915.js.map → CertificateDisplayCard-2c6f5a4b.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-c2f39f1f.js → MeritBadgeDisplayCard-62ac8ad6.js} +4 -4
- package/dist/cjs/{MeritBadgeDisplayCard-c2f39f1f.js.map → MeritBadgeDisplayCard-62ac8ad6.js.map} +1 -1
- package/dist/cjs/{MeritBadgeSkillsCount-1120813b.js → MeritBadgeSkillsCount-65786c6c.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-1120813b.js.map → MeritBadgeSkillsCount-65786c6c.js.map} +1 -1
- package/dist/cjs/{SchoolIDCard-e22d0d80.js → SchoolIDCard-dddb3b1d.js} +3 -1184
- package/dist/cjs/SchoolIDCard-dddb3b1d.js.map +1 -0
- package/dist/cjs/{VCCard-f0735377.js → VCCard-46e4212e.js} +3 -3
- package/dist/cjs/{VCCard-f0735377.js.map → VCCard-46e4212e.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-be7d1e31.js → VCDisplayBackFace-bcaeae1c.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-be7d1e31.js.map → VCDisplayBackFace-bcaeae1c.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-e50b4801.js → VCDisplayCard-ce16bd9e.js} +3 -3
- package/dist/cjs/{VCDisplayCard-e50b4801.js.map → VCDisplayCard-ce16bd9e.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-e14da0aa.js → VCDisplayCard2-e8e84f7e.js} +7 -6
- package/dist/{esm/VCDisplayCard2-5003e0c8.js.map → cjs/VCDisplayCard2-e8e84f7e.js.map} +1 -1
- package/dist/cjs/{VCVerificationPill-93260164.js → VCVerificationPill-40c09268.js} +2 -2
- package/dist/cjs/{VCVerificationPill-93260164.js.map → VCVerificationPill-40c09268.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-db71ebb2.js → VerifierStateBadgeAndText-db7a1881.js} +12 -5
- package/dist/cjs/{VerifierStateBadgeAndText-db71ebb2.js.map → VerifierStateBadgeAndText-db7a1881.js.map} +1 -1
- package/dist/cjs/{credential.helpers-a11b14f1.js → credential.helpers-62edac8a.js} +2 -2
- package/dist/cjs/{credential.helpers-a11b14f1.js.map → credential.helpers-62edac8a.js.map} +1 -1
- package/dist/cjs/index-838fa72c.js +1186 -0
- package/dist/cjs/index-838fa72c.js.map +1 -0
- package/dist/cjs/index.js +14 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index14.js +14 -13
- package/dist/cjs/index14.js.map +1 -1
- package/dist/cjs/index22.js +5 -5
- package/dist/cjs/index31.js +2 -1
- package/dist/cjs/index31.js.map +1 -1
- package/dist/cjs/index39.js +11 -10
- 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 +7 -6
- 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 +4 -4
- package/dist/cjs/{types.esm-4d399274.js → types.esm-60d3a9fc.js} +11 -4
- package/dist/cjs/types.esm-60d3a9fc.js.map +1 -0
- package/dist/esm/{BoostGenericCard-fbf76c2c.js → BoostGenericCard-18e140ec.js} +2 -2
- package/dist/esm/{BoostGenericCard-fbf76c2c.js.map → BoostGenericCard-18e140ec.js.map} +1 -1
- package/dist/esm/{CertificateDisplayCard-8f3f43b4.js → CertificateDisplayCard-d49f9c9c.js} +4 -4
- package/dist/esm/{CertificateDisplayCard-8f3f43b4.js.map → CertificateDisplayCard-d49f9c9c.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-1b080902.js → MeritBadgeDisplayCard-f72efa12.js} +4 -4
- package/dist/esm/{MeritBadgeDisplayCard-1b080902.js.map → MeritBadgeDisplayCard-f72efa12.js.map} +1 -1
- package/dist/esm/{MeritBadgeSkillsCount-7871d74f.js → MeritBadgeSkillsCount-395deb31.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-7871d74f.js.map → MeritBadgeSkillsCount-395deb31.js.map} +1 -1
- package/dist/esm/{SchoolIDCard-8b151cd3.js → SchoolIDCard-4e51671c.js} +2 -1183
- package/dist/esm/SchoolIDCard-4e51671c.js.map +1 -0
- package/dist/esm/{VCCard-dcf5ef3d.js → VCCard-5153f069.js} +3 -3
- package/dist/esm/{VCCard-dcf5ef3d.js.map → VCCard-5153f069.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-fbb3235f.js → VCDisplayBackFace-986b439b.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-fbb3235f.js.map → VCDisplayBackFace-986b439b.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-8463d18d.js → VCDisplayCard-eaa782c4.js} +3 -3
- package/dist/esm/{VCDisplayCard-8463d18d.js.map → VCDisplayCard-eaa782c4.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-5003e0c8.js → VCDisplayCard2-006e7a8c.js} +7 -6
- package/dist/{cjs/VCDisplayCard2-e14da0aa.js.map → esm/VCDisplayCard2-006e7a8c.js.map} +1 -1
- package/dist/esm/{VCVerificationPill-a412a211.js → VCVerificationPill-80c774e2.js} +2 -2
- package/dist/esm/{VCVerificationPill-a412a211.js.map → VCVerificationPill-80c774e2.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-f878973e.js → VerifierStateBadgeAndText-a1bd5f0c.js} +12 -5
- package/dist/esm/{VerifierStateBadgeAndText-f878973e.js.map → VerifierStateBadgeAndText-a1bd5f0c.js.map} +1 -1
- package/dist/esm/{credential.helpers-108b5fb6.js → credential.helpers-b6acd108.js} +2 -2
- package/dist/esm/{credential.helpers-108b5fb6.js.map → credential.helpers-b6acd108.js.map} +1 -1
- package/dist/esm/index-4fa491c1.js +1184 -0
- package/dist/esm/index-4fa491c1.js.map +1 -0
- package/dist/esm/index.js +14 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index14.js +14 -13
- package/dist/esm/index14.js.map +1 -1
- package/dist/esm/index22.js +5 -5
- package/dist/esm/index31.js +2 -1
- package/dist/esm/index31.js.map +1 -1
- package/dist/esm/index39.js +11 -10
- 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 +7 -6
- 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 +4 -4
- package/dist/esm/{types.esm-aa0345d0.js → types.esm-59c23f9b.js} +11 -4
- package/dist/esm/types.esm-59c23f9b.js.map +1 -0
- package/package.json +3 -3
- package/dist/cjs/SchoolIDCard-e22d0d80.js.map +0 -1
- package/dist/cjs/types.esm-4d399274.js.map +0 -1
- package/dist/esm/SchoolIDCard-8b151cd3.js.map +0 -1
- package/dist/esm/types.esm-aa0345d0.js.map +0 -1
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-a1bd5f0c.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-eae3ca64.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 } from './VCDisplayCard2-006e7a8c.js';
|
|
14
|
+
import './types.esm-59c23f9b.js';
|
|
15
15
|
import './CaretRightFilled.svg';
|
|
16
16
|
import './id-sleeve.png';
|
|
17
17
|
import './PuzzlePiece-a3d9cc62.js';
|
|
18
|
+
import './index-4fa491c1.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-b6acd108.js';
|
|
23
24
|
import './index-28917993.js';
|
|
24
25
|
import './User-f5ea0f01.js';
|
|
25
26
|
import './Trophy-fc7fdec4.js';
|
|
26
27
|
import './Lightbox-f0338a0c.js';
|
|
27
28
|
import 'react-dom';
|
|
28
|
-
import './CertificateDisplayCard-
|
|
29
|
+
import './CertificateDisplayCard-d49f9c9c.js';
|
|
29
30
|
import './DotsThreeOutline.svg';
|
|
30
31
|
import './QRCodeIcon-8eef4f7c.js';
|
|
31
|
-
import './MeritBadgeDisplayCard-
|
|
32
|
+
import './MeritBadgeDisplayCard-f72efa12.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-80c774e2.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './types.esm-
|
|
3
|
+
import './types.esm-59c23f9b.js';
|
|
4
4
|
import './RedXCircle.svg';
|
|
5
5
|
import './GreenCheckCircle.svg';
|
|
6
6
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index7.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import './CaretRightFilled.svg';
|
|
3
|
-
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-
|
|
3
|
+
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-d49f9c9c.js';
|
|
4
4
|
import './index-eae3ca64.js';
|
|
5
|
-
import './types.esm-
|
|
6
|
-
export { V as VERIFIER_STATES } from './VerifierStateBadgeAndText-
|
|
7
|
-
import './credential.helpers-
|
|
5
|
+
import './types.esm-59c23f9b.js';
|
|
6
|
+
export { V as VERIFIER_STATES } from './VerifierStateBadgeAndText-a1bd5f0c.js';
|
|
7
|
+
import './credential.helpers-b6acd108.js';
|
|
8
8
|
import './index-28917993.js';
|
|
9
9
|
import './PuzzlePiece-a3d9cc62.js';
|
|
10
10
|
import './User-f5ea0f01.js';
|
|
@@ -4479,6 +4479,13 @@ var parseRegexString = /* @__PURE__ */ __name((regexStr) => {
|
|
|
4479
4479
|
if (!match) throw new Error("Invalid RegExp string format");
|
|
4480
4480
|
return { pattern: match[1], flags: match[2] };
|
|
4481
4481
|
}, "parseRegexString");
|
|
4482
|
+
var withStringOverride = /* @__PURE__ */ __name((schema) => {
|
|
4483
|
+
const metaSchema = schema;
|
|
4484
|
+
if (typeof metaSchema.meta === "function") {
|
|
4485
|
+
return metaSchema.meta({ override: { type: "string" } });
|
|
4486
|
+
}
|
|
4487
|
+
return schema;
|
|
4488
|
+
}, "withStringOverride");
|
|
4482
4489
|
var RegExpStringValidator = string().refine(
|
|
4483
4490
|
(str) => {
|
|
4484
4491
|
try {
|
|
@@ -4498,9 +4505,9 @@ var RegExpStringValidator = string().refine(
|
|
|
4498
4505
|
} catch (error) {
|
|
4499
4506
|
throw new Error(`Invalid RegExp: ${error.message}`);
|
|
4500
4507
|
}
|
|
4501
|
-
})
|
|
4502
|
-
var RegExpValidator = _instanceof(RegExp).
|
|
4503
|
-
var BaseStringQuery = string().or(object({ $in: string().array() })).or(object({ $regex: RegExpValidator
|
|
4508
|
+
});
|
|
4509
|
+
var RegExpValidator = withStringOverride(_instanceof(RegExp).or(RegExpStringValidator));
|
|
4510
|
+
var BaseStringQuery = string().or(object({ $in: string().array() })).or(object({ $regex: RegExpValidator }));
|
|
4504
4511
|
var StringQuery = union([
|
|
4505
4512
|
BaseStringQuery,
|
|
4506
4513
|
object({
|
|
@@ -5880,4 +5887,4 @@ object({
|
|
|
5880
5887
|
}).default({});
|
|
5881
5888
|
|
|
5882
5889
|
export { VerificationStatusEnum as V, literal as l, number as n, object as o, string as s, union as u };
|
|
5883
|
-
//# sourceMappingURL=types.esm-
|
|
5890
|
+
//# sourceMappingURL=types.esm-59c23f9b.js.map
|