@learncard/react 2.9.25 → 2.9.27
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-a7715516.js → BoostGenericCard-3d532b12.js} +2 -2
- package/dist/cjs/{BoostGenericCard-a7715516.js.map → BoostGenericCard-3d532b12.js.map} +1 -1
- package/dist/cjs/{BoostSmallCard-2141fdd9.js → BoostSmallCard-4e200046.js} +2 -2
- package/dist/cjs/{BoostSmallCard-2141fdd9.js.map → BoostSmallCard-4e200046.js.map} +1 -1
- package/dist/cjs/{CertificateDisplayCard-068acbdd.js → CertificateDisplayCard-1b498a9f.js} +48 -19
- package/dist/cjs/CertificateDisplayCard-1b498a9f.js.map +1 -0
- package/dist/cjs/{MeritBadgeDisplayCard-889bdf99.js → MeritBadgeDisplayCard-8f843a99.js} +40 -74
- package/dist/cjs/MeritBadgeDisplayCard-8f843a99.js.map +1 -0
- package/dist/cjs/{MeritBadgeSkillsCount-63c3b095.js → MeritBadgeSkillsCount-e4f0676c.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-63c3b095.js.map → MeritBadgeSkillsCount-e4f0676c.js.map} +1 -1
- package/dist/cjs/{NotificationBoostCard-c4679a33.js → NotificationBoostCard-80dbf681.js} +2 -2
- package/dist/cjs/{NotificationBoostCard-c4679a33.js.map → NotificationBoostCard-80dbf681.js.map} +1 -1
- package/dist/cjs/{SchoolIDCard-dddb3b1d.js → SchoolIDCard-e22d0d80.js} +1184 -3
- package/dist/cjs/SchoolIDCard-e22d0d80.js.map +1 -0
- package/dist/cjs/UserProfilePicture-22944d8f.js +98 -0
- package/dist/cjs/UserProfilePicture-22944d8f.js.map +1 -0
- package/dist/cjs/{VCCard-1474c40a.js → VCCard-630441d8.js} +3 -3
- package/dist/cjs/{VCCard-1474c40a.js.map → VCCard-630441d8.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-cf35d92f.js → VCDisplayBackFace-138a501e.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-cf35d92f.js.map → VCDisplayBackFace-138a501e.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-0eeef4fa.js → VCDisplayCard-f1ef9eba.js} +4 -4
- package/dist/cjs/{VCDisplayCard-0eeef4fa.js.map → VCDisplayCard-f1ef9eba.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-88ac119d.js → VCDisplayCard2-6eab7a9c.js} +32 -18
- package/dist/cjs/VCDisplayCard2-6eab7a9c.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-9f71e54c.js → VCVerificationPill-f36b8355.js} +2 -2
- package/dist/cjs/{VCVerificationPill-9f71e54c.js.map → VCVerificationPill-f36b8355.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-880406af.js → VerifierStateBadgeAndText-568d8e5a.js} +211 -23
- package/dist/cjs/VerifierStateBadgeAndText-568d8e5a.js.map +1 -0
- package/dist/cjs/{credential.helpers-446ef2ea.js → credential.helpers-5069379a.js} +2 -2
- package/dist/cjs/{credential.helpers-446ef2ea.js.map → credential.helpers-5069379a.js.map} +1 -1
- package/dist/cjs/index.js +16 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index13.js +16 -17
- package/dist/cjs/index13.js.map +1 -1
- package/dist/cjs/index21.js +6 -6
- package/dist/cjs/index24.js +2 -2
- package/dist/cjs/index3.js +3 -3
- package/dist/cjs/index30.js +1 -2
- package/dist/cjs/index30.js.map +1 -1
- package/dist/cjs/index37.js +1 -1
- package/dist/cjs/index38.js +11 -12
- package/dist/cjs/index38.js.map +1 -1
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index4.js +2 -2
- package/dist/cjs/index40.js +6 -6
- package/dist/cjs/index41.js +7 -8
- package/dist/cjs/index41.js.map +1 -1
- package/dist/cjs/index42.js +1 -1
- package/dist/cjs/index45.js +2 -2
- package/dist/cjs/index6.js +5 -5
- package/dist/cjs/{types.esm-9618781d.js → types.esm-9c4dc522.js} +74 -3
- package/dist/cjs/types.esm-9c4dc522.js.map +1 -0
- package/dist/esm/{BoostGenericCard-b427f2aa.js → BoostGenericCard-43c1b5dc.js} +2 -2
- package/dist/esm/{BoostGenericCard-b427f2aa.js.map → BoostGenericCard-43c1b5dc.js.map} +1 -1
- package/dist/esm/{BoostSmallCard-f2192dc1.js → BoostSmallCard-6d63f0b3.js} +2 -2
- package/dist/esm/{BoostSmallCard-f2192dc1.js.map → BoostSmallCard-6d63f0b3.js.map} +1 -1
- package/dist/esm/{CertificateDisplayCard-62416984.js → CertificateDisplayCard-9edb38cd.js} +48 -19
- package/dist/esm/CertificateDisplayCard-9edb38cd.js.map +1 -0
- package/dist/esm/{MeritBadgeDisplayCard-b41cfcd5.js → MeritBadgeDisplayCard-634e16d9.js} +40 -74
- package/dist/esm/MeritBadgeDisplayCard-634e16d9.js.map +1 -0
- package/dist/esm/{MeritBadgeSkillsCount-31d1f453.js → MeritBadgeSkillsCount-c3ba45be.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-31d1f453.js.map → MeritBadgeSkillsCount-c3ba45be.js.map} +1 -1
- package/dist/esm/{NotificationBoostCard-fa82a58d.js → NotificationBoostCard-fdfa0cf4.js} +2 -2
- package/dist/esm/{NotificationBoostCard-fa82a58d.js.map → NotificationBoostCard-fdfa0cf4.js.map} +1 -1
- package/dist/esm/{SchoolIDCard-4e51671c.js → SchoolIDCard-8b151cd3.js} +1183 -2
- package/dist/esm/SchoolIDCard-8b151cd3.js.map +1 -0
- package/dist/esm/UserProfilePicture-7e131f5d.js +92 -0
- package/dist/esm/UserProfilePicture-7e131f5d.js.map +1 -0
- package/dist/esm/{VCCard-48ece023.js → VCCard-00858a44.js} +3 -3
- package/dist/esm/{VCCard-48ece023.js.map → VCCard-00858a44.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-accc7026.js → VCDisplayBackFace-4db2ffad.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-accc7026.js.map → VCDisplayBackFace-4db2ffad.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-5b0a8f0a.js → VCDisplayCard-3b542a26.js} +4 -4
- package/dist/esm/{VCDisplayCard-5b0a8f0a.js.map → VCDisplayCard-3b542a26.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-208a1144.js → VCDisplayCard2-8504817d.js} +32 -18
- package/dist/esm/VCDisplayCard2-8504817d.js.map +1 -0
- package/dist/esm/{VCVerificationPill-6c44c9e5.js → VCVerificationPill-14a9a963.js} +2 -2
- package/dist/esm/{VCVerificationPill-6c44c9e5.js.map → VCVerificationPill-14a9a963.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-1b3a663a.js → VerifierStateBadgeAndText-c96ea8d5.js} +211 -22
- package/dist/esm/VerifierStateBadgeAndText-c96ea8d5.js.map +1 -0
- package/dist/esm/{credential.helpers-a136b2db.js → credential.helpers-f3dc0ca2.js} +3 -3
- package/dist/esm/{credential.helpers-a136b2db.js.map → credential.helpers-f3dc0ca2.js.map} +1 -1
- package/dist/esm/index.js +16 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index13.js +16 -17
- package/dist/esm/index13.js.map +1 -1
- package/dist/esm/index21.js +6 -6
- package/dist/esm/index24.js +2 -2
- package/dist/esm/index3.js +3 -3
- package/dist/esm/index30.js +1 -2
- package/dist/esm/index30.js.map +1 -1
- package/dist/esm/index37.js +1 -1
- package/dist/esm/index38.js +11 -12
- package/dist/esm/index38.js.map +1 -1
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index4.js +2 -2
- package/dist/esm/index40.js +6 -6
- package/dist/esm/index41.js +7 -8
- package/dist/esm/index41.js.map +1 -1
- package/dist/esm/index42.js +1 -1
- package/dist/esm/index45.js +2 -2
- package/dist/esm/index6.js +5 -5
- package/dist/esm/{types.esm-707b2e76.js → types.esm-3a3c23e0.js} +74 -3
- package/dist/esm/types.esm-3a3c23e0.js.map +1 -0
- package/dist/index.d.ts +6 -3
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +4 -3
- package/dist/cjs/CertificateDisplayCard-068acbdd.js.map +0 -1
- package/dist/cjs/MeritBadgeDisplayCard-889bdf99.js.map +0 -1
- package/dist/cjs/SchoolIDCard-dddb3b1d.js.map +0 -1
- package/dist/cjs/UserProfilePicture-d69fe4f0.js +0 -36
- package/dist/cjs/UserProfilePicture-d69fe4f0.js.map +0 -1
- package/dist/cjs/VCDisplayCard2-88ac119d.js.map +0 -1
- package/dist/cjs/VerifierStateBadgeAndText-880406af.js.map +0 -1
- package/dist/cjs/index-838fa72c.js +0 -1186
- package/dist/cjs/index-838fa72c.js.map +0 -1
- package/dist/cjs/types.esm-9618781d.js.map +0 -1
- package/dist/esm/CertificateDisplayCard-62416984.js.map +0 -1
- package/dist/esm/MeritBadgeDisplayCard-b41cfcd5.js.map +0 -1
- package/dist/esm/SchoolIDCard-4e51671c.js.map +0 -1
- package/dist/esm/UserProfilePicture-7b950437.js +0 -30
- package/dist/esm/UserProfilePicture-7b950437.js.map +0 -1
- package/dist/esm/VCDisplayCard2-208a1144.js.map +0 -1
- package/dist/esm/VerifierStateBadgeAndText-1b3a663a.js.map +0 -1
- package/dist/esm/index-4fa491c1.js +0 -1184
- package/dist/esm/index-4fa491c1.js.map +0 -1
- package/dist/esm/types.esm-707b2e76.js.map +0 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useRef, useEffect } from 'react';
|
|
2
2
|
export { A as AchievementCard } from './AchievementCard-c600788a.js';
|
|
3
|
-
export { B as BoostGenericCard } from './BoostGenericCard-
|
|
4
|
-
export { B as BoostSmallCard } from './BoostSmallCard-
|
|
3
|
+
export { B as BoostGenericCard } from './BoostGenericCard-43c1b5dc.js';
|
|
4
|
+
export { B as BoostSmallCard } from './BoostSmallCard-6d63f0b3.js';
|
|
5
5
|
export { B as Button } from './Button-70eedbf6.js';
|
|
6
|
-
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-
|
|
7
|
-
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-
|
|
6
|
+
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-9edb38cd.js';
|
|
7
|
+
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
8
8
|
export { C as CircleCheckButton } from './CircleCheckButton-23a9c7d4.js';
|
|
9
9
|
export { a as CircleIcon, C as CountCircle } from './CircleIcon-abd5ff06.js';
|
|
10
10
|
export { C as CourseCard } from './CourseCard-990fdc99.js';
|
|
@@ -18,32 +18,32 @@ export { L as LearnCardCreditCardFrontFace } from './LearnCardCreditCardFrontFac
|
|
|
18
18
|
export { L as LearnPill } from './LearnPill-e0720485.js';
|
|
19
19
|
export { L as Lightbox } from './Lightbox-f0338a0c.js';
|
|
20
20
|
export { C as CircleLoadingState } from './CircleSpinner-03a329fc.js';
|
|
21
|
-
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-
|
|
22
|
-
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-
|
|
21
|
+
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-634e16d9.js';
|
|
22
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-c3ba45be.js';
|
|
23
23
|
export { M as MiniVCThumbnail } from './MiniVCThumbnail-cc05e1f8.js';
|
|
24
24
|
export { N as Notification } from './Notification-279ba207.js';
|
|
25
25
|
export { N as NotificationTypeStyles } from './types-c765e2a4.js';
|
|
26
|
-
export { N as NotificationBoostCard } from './NotificationBoostCard-
|
|
26
|
+
export { N as NotificationBoostCard } from './NotificationBoostCard-fdfa0cf4.js';
|
|
27
27
|
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-89fe2317.js';
|
|
28
28
|
export { N as NotificationUserCard } from './NotificationUserCard-2c29c86a.js';
|
|
29
29
|
export { U as UserNotificationTypeStyles } from './types-b32d28d5.js';
|
|
30
30
|
export { Q as QRCodeCard } from './QRCodeCard-8f29c3c7.js';
|
|
31
31
|
export { C as CheckmarkSvg, R as RoundedPill } from './RoundedPill-50279e5d.js';
|
|
32
32
|
export { R as RoundedSquare, a as TYPE_TO_IMG_SRC, T as TYPE_TO_MINI_ICON, b as TYPE_TO_WALLET_COLOR, W as WALLET_SUBTYPES } from './constants-f1ed610c.js';
|
|
33
|
-
export { S as SchoolIDCard } from './SchoolIDCard-
|
|
33
|
+
export { S as SchoolIDCard } from './SchoolIDCard-8b151cd3.js';
|
|
34
34
|
export { S as SkillTabCard } from './SkillTabCard-f2edb3fc.js';
|
|
35
35
|
export { S as SkillVerticalCard } from './SkillVerticalCard-045169f9.js';
|
|
36
36
|
export { a as SkillsCard, S as SkillsMeterSegment } from './SkillsCard-5279aac9.js';
|
|
37
37
|
export { S as SkillsStatsCard } from './SkillsStatsCard-e0cd6137.js';
|
|
38
38
|
export { S as SmallAchievementCard } from './SmallAchievementCard-24dfa453.js';
|
|
39
|
-
export { U as UserProfilePicture } from './UserProfilePicture-
|
|
40
|
-
export { V as VCCard } from './VCCard-
|
|
41
|
-
export { V as VCDisplayBackFace } from './VCDisplayBackFace-
|
|
42
|
-
export { V as VCDisplayCard } from './VCDisplayCard-
|
|
43
|
-
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-
|
|
39
|
+
export { U as UserProfilePicture } from './UserProfilePicture-7e131f5d.js';
|
|
40
|
+
export { V as VCCard } from './VCCard-00858a44.js';
|
|
41
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-4db2ffad.js';
|
|
42
|
+
export { V as VCDisplayCard } from './VCDisplayCard-3b542a26.js';
|
|
43
|
+
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-8504817d.js';
|
|
44
44
|
export { V as VCThumbnail } from './VCThumbnail-835921dd.js';
|
|
45
45
|
export { V as VCVerificationCheck, a as VCVerificationCheckWithSpinner, b as VCVerificationCheckWithText } from './VCVerificationCheck-8b8b7a76.js';
|
|
46
|
-
export { V as ValidationStateIndicator } from './VCVerificationPill-
|
|
46
|
+
export { V as ValidationStateIndicator } from './VCVerificationPill-14a9a963.js';
|
|
47
47
|
export { A as AwardDisplayIcon, B as BadgeDisplayIcon, C as CertificateDisplayIcon, a as CourseDisplayIcon, I as IDDisplayIcon } from './IDDisplayIcon-d87174fd.js';
|
|
48
48
|
export { A as AwardRibbon, I as IDIcon, Q as QRCodeIcon } from './QRCodeIcon-8eef4f7c.js';
|
|
49
49
|
export { B as Briefcase, G as Graduation, U as User } from './User-f5ea0f01.js';
|
|
@@ -72,9 +72,9 @@ import './minigradcapcolored.svg';
|
|
|
72
72
|
import './minipuzzlecolored.svg';
|
|
73
73
|
import './index-28917993.js';
|
|
74
74
|
import './PuzzlePiece-a3d9cc62.js';
|
|
75
|
-
import './credential.helpers-
|
|
75
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
76
76
|
import './index-eae3ca64.js';
|
|
77
|
-
import './types.esm-
|
|
77
|
+
import './types.esm-3a3c23e0.js';
|
|
78
78
|
import './CaretRightFilled.svg';
|
|
79
79
|
import './addawardlight.svg';
|
|
80
80
|
import './DotsThreeOutline.svg';
|
|
@@ -124,7 +124,6 @@ import './X.svg';
|
|
|
124
124
|
import './ArrowArcLeft.svg';
|
|
125
125
|
import './walletids.webp';
|
|
126
126
|
import './membership-graphic.png';
|
|
127
|
-
import './index-4fa491c1.js';
|
|
128
127
|
import './skillplaceholder.png';
|
|
129
128
|
import './skillgraph.svg';
|
|
130
129
|
import '@learncard/init';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/helpers/useOnMomentumScrollEnd.ts","../../src/helpers/useScrollBorders.ts"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\n\nexport const useOnMomentumScrollEnd = ({\n onScroll: _onScroll,\n onMomentumScrollEnd,\n debounceTime = 305,\n}: {\n onScroll?: React.UIEventHandler;\n onMomentumScrollEnd: React.UIEventHandler;\n debounceTime?: number;\n}) => {\n const momentumScrollEndTimer = useRef<NodeJS.Timeout>();\n\n useEffect(() => () => clearTimeout(momentumScrollEndTimer.current), []);\n\n const onScroll: React.UIEventHandler = (e) => {\n _onScroll?.(e);\n\n clearTimeout(momentumScrollEndTimer.current);\n momentumScrollEndTimer.current = setTimeout(() => {\n onMomentumScrollEnd(e);\n }, debounceTime);\n };\n\n return onScroll;\n};\n\nexport default useOnMomentumScrollEnd;\n","import React, { useEffect, type RefObject } from 'react';\n\nexport const useScrollBorders = <Ref extends HTMLElement>({\n ref,\n topShowClassName = 'border-t border-t-[--color-grayscale-line]',\n topHideClassName = 'border-t border-t-transparent',\n bottomShowClassName = 'border-b border-b-[--color-grayscale-line]',\n bottomHideClassName = 'border-b border-b-transparent',\n}: {\n ref?: RefObject<Ref>;\n topShowClassName?: string;\n topHideClassName?: string;\n bottomShowClassName?: string;\n bottomHideClassName?: string;\n} = {}) => {\n const internalRef = ref ?? React.createRef<Ref>();\n\n const updateBorderClasses = () => {\n if (\n !internalRef.current ||\n internalRef.current.scrollHeight <= internalRef.current.clientHeight\n )\n return;\n\n // Top border\n if (internalRef.current.scrollTop > 0) {\n internalRef.current.classList.remove(...topHideClassName.split(' '));\n internalRef.current.classList.add(...topShowClassName.split(' '));\n } else {\n internalRef.current.classList.remove(...topShowClassName.split(' '));\n internalRef.current.classList.add(...topHideClassName.split(' '));\n }\n\n // Bottom border\n if (\n internalRef.current.scrollTop <\n internalRef.current.scrollHeight - internalRef.current.clientHeight\n ) {\n internalRef.current.classList.remove(...bottomHideClassName.split(' '));\n internalRef.current.classList.add(...bottomShowClassName.split(' '));\n } else {\n internalRef.current.classList.remove(...bottomShowClassName.split(' '));\n internalRef.current.classList.add(...bottomHideClassName.split(' '));\n }\n };\n\n useEffect(() => {\n const element = internalRef.current;\n if (element) {\n updateBorderClasses();\n\n element.addEventListener('scroll', updateBorderClasses);\n\n return () => element.removeEventListener('scroll', updateBorderClasses);\n }\n }, [internalRef]); // Re-run when ref changes\n\n return internalRef;\n};\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/helpers/useOnMomentumScrollEnd.ts","../../src/helpers/useScrollBorders.ts"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\n\nexport const useOnMomentumScrollEnd = ({\n onScroll: _onScroll,\n onMomentumScrollEnd,\n debounceTime = 305,\n}: {\n onScroll?: React.UIEventHandler;\n onMomentumScrollEnd: React.UIEventHandler;\n debounceTime?: number;\n}) => {\n const momentumScrollEndTimer = useRef<NodeJS.Timeout>();\n\n useEffect(() => () => clearTimeout(momentumScrollEndTimer.current), []);\n\n const onScroll: React.UIEventHandler = (e) => {\n _onScroll?.(e);\n\n clearTimeout(momentumScrollEndTimer.current);\n momentumScrollEndTimer.current = setTimeout(() => {\n onMomentumScrollEnd(e);\n }, debounceTime);\n };\n\n return onScroll;\n};\n\nexport default useOnMomentumScrollEnd;\n","import React, { useEffect, type RefObject } from 'react';\n\nexport const useScrollBorders = <Ref extends HTMLElement>({\n ref,\n topShowClassName = 'border-t border-t-[--color-grayscale-line]',\n topHideClassName = 'border-t border-t-transparent',\n bottomShowClassName = 'border-b border-b-[--color-grayscale-line]',\n bottomHideClassName = 'border-b border-b-transparent',\n}: {\n ref?: RefObject<Ref>;\n topShowClassName?: string;\n topHideClassName?: string;\n bottomShowClassName?: string;\n bottomHideClassName?: string;\n} = {}) => {\n const internalRef = ref ?? React.createRef<Ref>();\n\n const updateBorderClasses = () => {\n if (\n !internalRef.current ||\n internalRef.current.scrollHeight <= internalRef.current.clientHeight\n )\n return;\n\n // Top border\n if (internalRef.current.scrollTop > 0) {\n internalRef.current.classList.remove(...topHideClassName.split(' '));\n internalRef.current.classList.add(...topShowClassName.split(' '));\n } else {\n internalRef.current.classList.remove(...topShowClassName.split(' '));\n internalRef.current.classList.add(...topHideClassName.split(' '));\n }\n\n // Bottom border\n if (\n internalRef.current.scrollTop <\n internalRef.current.scrollHeight - internalRef.current.clientHeight\n ) {\n internalRef.current.classList.remove(...bottomHideClassName.split(' '));\n internalRef.current.classList.add(...bottomShowClassName.split(' '));\n } else {\n internalRef.current.classList.remove(...bottomShowClassName.split(' '));\n internalRef.current.classList.add(...bottomHideClassName.split(' '));\n }\n };\n\n useEffect(() => {\n const element = internalRef.current;\n if (element) {\n updateBorderClasses();\n\n element.addEventListener('scroll', updateBorderClasses);\n\n return () => element.removeEventListener('scroll', updateBorderClasses);\n }\n }, [internalRef]); // Re-run when ref changes\n\n return internalRef;\n};\n"],"names":[],"mappings":"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"}
|
package/dist/esm/index13.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { A as AchievementCard } from './AchievementCard-c600788a.js';
|
|
2
|
-
export { B as BoostGenericCard } from './BoostGenericCard-
|
|
3
|
-
export { B as BoostSmallCard } from './BoostSmallCard-
|
|
2
|
+
export { B as BoostGenericCard } from './BoostGenericCard-43c1b5dc.js';
|
|
3
|
+
export { B as BoostSmallCard } from './BoostSmallCard-6d63f0b3.js';
|
|
4
4
|
export { B as Button } from './Button-70eedbf6.js';
|
|
5
|
-
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-
|
|
6
|
-
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-
|
|
5
|
+
export { C as CertDisplayCardSkillsCount, a as CertificateBackFace, b as CertificateDisplayCard, c as CertificateFrontFace } from './CertificateDisplayCard-9edb38cd.js';
|
|
6
|
+
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
7
7
|
export { C as CircleCheckButton } from './CircleCheckButton-23a9c7d4.js';
|
|
8
8
|
export { a as CircleIcon, C as CountCircle } from './CircleIcon-abd5ff06.js';
|
|
9
9
|
export { C as CourseCard } from './CourseCard-990fdc99.js';
|
|
@@ -17,32 +17,32 @@ export { L as LearnCardCreditCardFrontFace } from './LearnCardCreditCardFrontFac
|
|
|
17
17
|
export { L as LearnPill } from './LearnPill-e0720485.js';
|
|
18
18
|
export { L as Lightbox } from './Lightbox-f0338a0c.js';
|
|
19
19
|
export { C as CircleLoadingState } from './CircleSpinner-03a329fc.js';
|
|
20
|
-
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-
|
|
21
|
-
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-
|
|
20
|
+
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-634e16d9.js';
|
|
21
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-c3ba45be.js';
|
|
22
22
|
export { M as MiniVCThumbnail } from './MiniVCThumbnail-cc05e1f8.js';
|
|
23
23
|
export { N as Notification } from './Notification-279ba207.js';
|
|
24
24
|
export { N as NotificationTypeStyles } from './types-c765e2a4.js';
|
|
25
|
-
export { N as NotificationBoostCard } from './NotificationBoostCard-
|
|
25
|
+
export { N as NotificationBoostCard } from './NotificationBoostCard-fdfa0cf4.js';
|
|
26
26
|
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-89fe2317.js';
|
|
27
27
|
export { N as NotificationUserCard } from './NotificationUserCard-2c29c86a.js';
|
|
28
28
|
export { U as UserNotificationTypeStyles } from './types-b32d28d5.js';
|
|
29
29
|
export { Q as QRCodeCard } from './QRCodeCard-8f29c3c7.js';
|
|
30
30
|
export { C as CheckmarkSvg, R as RoundedPill } from './RoundedPill-50279e5d.js';
|
|
31
31
|
export { R as RoundedSquare, a as TYPE_TO_IMG_SRC, T as TYPE_TO_MINI_ICON, b as TYPE_TO_WALLET_COLOR, W as WALLET_SUBTYPES } from './constants-f1ed610c.js';
|
|
32
|
-
export { S as SchoolIDCard } from './SchoolIDCard-
|
|
32
|
+
export { S as SchoolIDCard } from './SchoolIDCard-8b151cd3.js';
|
|
33
33
|
export { S as SkillTabCard } from './SkillTabCard-f2edb3fc.js';
|
|
34
34
|
export { S as SkillVerticalCard } from './SkillVerticalCard-045169f9.js';
|
|
35
35
|
export { a as SkillsCard, S as SkillsMeterSegment } from './SkillsCard-5279aac9.js';
|
|
36
36
|
export { S as SkillsStatsCard } from './SkillsStatsCard-e0cd6137.js';
|
|
37
37
|
export { S as SmallAchievementCard } from './SmallAchievementCard-24dfa453.js';
|
|
38
|
-
export { U as UserProfilePicture } from './UserProfilePicture-
|
|
39
|
-
export { V as VCCard } from './VCCard-
|
|
40
|
-
export { V as VCDisplayBackFace } from './VCDisplayBackFace-
|
|
41
|
-
export { V as VCDisplayCard } from './VCDisplayCard-
|
|
42
|
-
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-
|
|
38
|
+
export { U as UserProfilePicture } from './UserProfilePicture-7e131f5d.js';
|
|
39
|
+
export { V as VCCard } from './VCCard-00858a44.js';
|
|
40
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-4db2ffad.js';
|
|
41
|
+
export { V as VCDisplayCard } from './VCDisplayCard-3b542a26.js';
|
|
42
|
+
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-8504817d.js';
|
|
43
43
|
export { V as VCThumbnail } from './VCThumbnail-835921dd.js';
|
|
44
44
|
export { V as VCVerificationCheck, a as VCVerificationCheckWithSpinner, b as VCVerificationCheckWithText } from './VCVerificationCheck-8b8b7a76.js';
|
|
45
|
-
export { V as ValidationStateIndicator } from './VCVerificationPill-
|
|
45
|
+
export { V as ValidationStateIndicator } from './VCVerificationPill-14a9a963.js';
|
|
46
46
|
export { A as AwardDisplayIcon, B as BadgeDisplayIcon, C as CertificateDisplayIcon, a as CourseDisplayIcon, I as IDDisplayIcon } from './IDDisplayIcon-d87174fd.js';
|
|
47
47
|
export { A as AwardRibbon, I as IDIcon, Q as QRCodeIcon } from './QRCodeIcon-8eef4f7c.js';
|
|
48
48
|
export { B as Briefcase, G as Graduation, U as User } from './User-f5ea0f01.js';
|
|
@@ -72,9 +72,9 @@ import './minigradcapcolored.svg';
|
|
|
72
72
|
import './minipuzzlecolored.svg';
|
|
73
73
|
import './index-28917993.js';
|
|
74
74
|
import './PuzzlePiece-a3d9cc62.js';
|
|
75
|
-
import './credential.helpers-
|
|
75
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
76
76
|
import './index-eae3ca64.js';
|
|
77
|
-
import './types.esm-
|
|
77
|
+
import './types.esm-3a3c23e0.js';
|
|
78
78
|
import './CaretRightFilled.svg';
|
|
79
79
|
import './addawardlight.svg';
|
|
80
80
|
import './DotsThreeOutline.svg';
|
|
@@ -124,7 +124,6 @@ import './X.svg';
|
|
|
124
124
|
import './ArrowArcLeft.svg';
|
|
125
125
|
import './walletids.webp';
|
|
126
126
|
import './membership-graphic.png';
|
|
127
|
-
import './index-4fa491c1.js';
|
|
128
127
|
import './skillplaceholder.png';
|
|
129
128
|
import './skillgraph.svg';
|
|
130
129
|
import '@learncard/init';
|
package/dist/esm/index13.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index13.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index13.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index21.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import './CaretRightFilled.svg';
|
|
3
|
-
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-
|
|
3
|
+
export { M as MeritBadgeBackFace, a as MeritBadgeDisplayCard, b as MeritBadgeFrontFace } from './MeritBadgeDisplayCard-634e16d9.js';
|
|
4
4
|
import './index-eae3ca64.js';
|
|
5
|
-
import './types.esm-
|
|
6
|
-
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-
|
|
7
|
-
import './VerifierStateBadgeAndText-
|
|
5
|
+
import './types.esm-3a3c23e0.js';
|
|
6
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-c3ba45be.js';
|
|
7
|
+
import './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
8
8
|
import './athletics.png';
|
|
9
9
|
import './business.png';
|
|
10
10
|
import './creative.png';
|
|
@@ -15,11 +15,11 @@ import './social.png';
|
|
|
15
15
|
import './stem.png';
|
|
16
16
|
import './trade.png';
|
|
17
17
|
import './PuzzlePiece-a3d9cc62.js';
|
|
18
|
-
import './credential.helpers-
|
|
18
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
19
19
|
import './index-28917993.js';
|
|
20
20
|
import './User-f5ea0f01.js';
|
|
21
21
|
import './Trophy-fc7fdec4.js';
|
|
22
|
-
import './UserProfilePicture-
|
|
22
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
23
23
|
import './Lightbox-f0338a0c.js';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
import './DotsThreeOutline.svg';
|
package/dist/esm/index24.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { N as NotificationBoostCard } from './NotificationBoostCard-
|
|
1
|
+
export { N as NotificationBoostCard } from './NotificationBoostCard-fdfa0cf4.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './X.svg';
|
|
4
4
|
import './types-c765e2a4.js';
|
|
@@ -9,5 +9,5 @@ import './User-f5ea0f01.js';
|
|
|
9
9
|
import './PuzzlePiece-a3d9cc62.js';
|
|
10
10
|
import './Checkmark-724d5d17.js';
|
|
11
11
|
import './ArrowArcLeft.svg';
|
|
12
|
-
import './UserProfilePicture-
|
|
12
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
13
13
|
//# sourceMappingURL=index24.js.map
|
package/dist/esm/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import './index-eae3ca64.js';
|
|
3
|
-
import './types.esm-
|
|
4
|
-
export { B as BoostGenericCard } from './BoostGenericCard-
|
|
3
|
+
import './types.esm-3a3c23e0.js';
|
|
4
|
+
export { B as BoostGenericCard } from './BoostGenericCard-43c1b5dc.js';
|
|
5
5
|
import './index-28917993.js';
|
|
6
6
|
import './index-cbe3a76a.js';
|
|
7
7
|
import './walletcurrency.webp';
|
|
@@ -22,7 +22,7 @@ import './minigradcapcolored.svg';
|
|
|
22
22
|
import './minipuzzlecolored.svg';
|
|
23
23
|
import './IDDisplayIcon-d87174fd.js';
|
|
24
24
|
import './PuzzlePiece-a3d9cc62.js';
|
|
25
|
-
import './credential.helpers-
|
|
25
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
26
26
|
import './User-f5ea0f01.js';
|
|
27
27
|
import './Trophy-fc7fdec4.js';
|
|
28
28
|
import './ThreeDotVertical-ccbbc8ef.js';
|
package/dist/esm/index30.js
CHANGED
package/dist/esm/index30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index30.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index30.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/esm/index37.js
CHANGED
package/dist/esm/index38.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
export { V as VCCard } from './VCCard-
|
|
1
|
+
export { V as VCCard } from './VCCard-00858a44.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@learncard/init';
|
|
4
|
-
import './VCDisplayCard-
|
|
4
|
+
import './VCDisplayCard-3b542a26.js';
|
|
5
5
|
import './FlippyCard-458dc9b1.js';
|
|
6
6
|
import './icon.green.fat-arrow.png';
|
|
7
|
-
import './UserProfilePicture-
|
|
7
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
8
8
|
import './VCVerificationCheck-8b8b7a76.js';
|
|
9
9
|
import './vc.check.svg';
|
|
10
10
|
import './CircleSpinner-03a329fc.js';
|
|
11
|
-
import './credential.helpers-
|
|
11
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
12
12
|
import './index-eae3ca64.js';
|
|
13
|
-
import './types.esm-
|
|
13
|
+
import './types.esm-3a3c23e0.js';
|
|
14
14
|
import './index-28917993.js';
|
|
15
15
|
import './PuzzlePiece-a3d9cc62.js';
|
|
16
16
|
import './User-f5ea0f01.js';
|
|
17
17
|
import './Trophy-fc7fdec4.js';
|
|
18
|
-
import './VCDisplayBackFace-
|
|
19
|
-
import './VCVerificationPill-
|
|
18
|
+
import './VCDisplayBackFace-4db2ffad.js';
|
|
19
|
+
import './VCVerificationPill-14a9a963.js';
|
|
20
20
|
import './RedXCircle.svg';
|
|
21
21
|
import './GreenCheckCircle.svg';
|
|
22
22
|
import './YellowWarningCircle.svg';
|
|
23
23
|
import './ArrowArcRight.svg';
|
|
24
|
-
import './VCDisplayCard2-
|
|
25
|
-
import './
|
|
26
|
-
import './VerifierStateBadgeAndText-1b3a663a.js';
|
|
24
|
+
import './VCDisplayCard2-8504817d.js';
|
|
25
|
+
import './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
27
26
|
import './athletics.png';
|
|
28
27
|
import './business.png';
|
|
29
28
|
import './creative.png';
|
|
@@ -35,10 +34,10 @@ import './stem.png';
|
|
|
35
34
|
import './trade.png';
|
|
36
35
|
import './Lightbox-f0338a0c.js';
|
|
37
36
|
import 'react-dom';
|
|
38
|
-
import './CertificateDisplayCard-
|
|
37
|
+
import './CertificateDisplayCard-9edb38cd.js';
|
|
39
38
|
import './CaretRightFilled.svg';
|
|
40
39
|
import './DotsThreeOutline.svg';
|
|
41
40
|
import './QRCodeIcon-8eef4f7c.js';
|
|
42
41
|
import './id-sleeve.png';
|
|
43
|
-
import './MeritBadgeDisplayCard-
|
|
42
|
+
import './MeritBadgeDisplayCard-634e16d9.js';
|
|
44
43
|
//# sourceMappingURL=index38.js.map
|
package/dist/esm/index38.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index38.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index39.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { V as VCDisplayBackFace } from './VCDisplayBackFace-
|
|
1
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-4db2ffad.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './VCVerificationCheck-8b8b7a76.js';
|
|
4
4
|
import './vc.check.svg';
|
|
5
5
|
import './CircleSpinner-03a329fc.js';
|
|
6
|
-
import './VCVerificationPill-
|
|
7
|
-
import './types.esm-
|
|
6
|
+
import './VCVerificationPill-14a9a963.js';
|
|
7
|
+
import './types.esm-3a3c23e0.js';
|
|
8
8
|
import './RedXCircle.svg';
|
|
9
9
|
import './GreenCheckCircle.svg';
|
|
10
10
|
import './YellowWarningCircle.svg';
|
|
11
11
|
import './ArrowArcRight.svg';
|
|
12
|
-
import './credential.helpers-
|
|
12
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
13
13
|
import './index-eae3ca64.js';
|
|
14
14
|
import './index-28917993.js';
|
|
15
15
|
import './PuzzlePiece-a3d9cc62.js';
|
package/dist/esm/index4.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { B as BoostSmallCard } from './BoostSmallCard-
|
|
1
|
+
export { B as BoostSmallCard } from './BoostSmallCard-6d63f0b3.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './CaretRightFilled.svg';
|
|
4
4
|
import './addawardlight.svg';
|
|
5
5
|
import './ThreeDotVertical-ccbbc8ef.js';
|
|
6
|
-
import './UserProfilePicture-
|
|
6
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
7
7
|
import './index-28917993.js';
|
|
8
8
|
import './index-cbe3a76a.js';
|
|
9
9
|
import './walletcurrency.webp';
|
package/dist/esm/index40.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { V as VCDisplayCard } from './VCDisplayCard-
|
|
1
|
+
export { V as VCDisplayCard } from './VCDisplayCard-3b542a26.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './FlippyCard-458dc9b1.js';
|
|
4
4
|
import './icon.green.fat-arrow.png';
|
|
5
|
-
import './UserProfilePicture-
|
|
5
|
+
import './UserProfilePicture-7e131f5d.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-f3dc0ca2.js';
|
|
10
10
|
import './index-eae3ca64.js';
|
|
11
|
-
import './types.esm-
|
|
11
|
+
import './types.esm-3a3c23e0.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-4db2ffad.js';
|
|
17
|
+
import './VCVerificationPill-14a9a963.js';
|
|
18
18
|
import './RedXCircle.svg';
|
|
19
19
|
import './GreenCheckCircle.svg';
|
|
20
20
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index41.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { S as SelectedSkills } from './VerifierStateBadgeAndText-
|
|
2
|
+
export { S as SelectedSkills } from './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
3
3
|
import './athletics.png';
|
|
4
4
|
import './business.png';
|
|
5
5
|
import './creative.png';
|
|
@@ -10,24 +10,23 @@ 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-8504817d.js';
|
|
14
|
+
import './types.esm-3a3c23e0.js';
|
|
15
15
|
import './CaretRightFilled.svg';
|
|
16
16
|
import './id-sleeve.png';
|
|
17
17
|
import './PuzzlePiece-a3d9cc62.js';
|
|
18
|
-
import './index-4fa491c1.js';
|
|
19
18
|
import './VCVerificationCheck-8b8b7a76.js';
|
|
20
19
|
import './vc.check.svg';
|
|
21
20
|
import './CircleSpinner-03a329fc.js';
|
|
22
|
-
import './UserProfilePicture-
|
|
23
|
-
import './credential.helpers-
|
|
21
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
22
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
24
23
|
import './index-28917993.js';
|
|
25
24
|
import './User-f5ea0f01.js';
|
|
26
25
|
import './Trophy-fc7fdec4.js';
|
|
27
26
|
import './Lightbox-f0338a0c.js';
|
|
28
27
|
import 'react-dom';
|
|
29
|
-
import './CertificateDisplayCard-
|
|
28
|
+
import './CertificateDisplayCard-9edb38cd.js';
|
|
30
29
|
import './DotsThreeOutline.svg';
|
|
31
30
|
import './QRCodeIcon-8eef4f7c.js';
|
|
32
|
-
import './MeritBadgeDisplayCard-
|
|
31
|
+
import './MeritBadgeDisplayCard-634e16d9.js';
|
|
33
32
|
//# sourceMappingURL=index41.js.map
|
package/dist/esm/index41.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index42.js
CHANGED
package/dist/esm/index45.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { V as ValidationStateIndicator } from './VCVerificationPill-
|
|
1
|
+
export { V as ValidationStateIndicator } from './VCVerificationPill-14a9a963.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './types.esm-
|
|
3
|
+
import './types.esm-3a3c23e0.js';
|
|
4
4
|
import './RedXCircle.svg';
|
|
5
5
|
import './GreenCheckCircle.svg';
|
|
6
6
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index6.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-9edb38cd.js';
|
|
4
4
|
import './index-eae3ca64.js';
|
|
5
|
-
import './types.esm-
|
|
6
|
-
export { V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-
|
|
7
|
-
import './credential.helpers-
|
|
5
|
+
import './types.esm-3a3c23e0.js';
|
|
6
|
+
export { V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-c96ea8d5.js';
|
|
7
|
+
import './credential.helpers-f3dc0ca2.js';
|
|
8
8
|
import './index-28917993.js';
|
|
9
9
|
import './PuzzlePiece-a3d9cc62.js';
|
|
10
10
|
import './User-f5ea0f01.js';
|
|
11
11
|
import './Trophy-fc7fdec4.js';
|
|
12
|
-
import './UserProfilePicture-
|
|
12
|
+
import './UserProfilePicture-7e131f5d.js';
|
|
13
13
|
import './Lightbox-f0338a0c.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import './DotsThreeOutline.svg';
|
|
@@ -4036,6 +4036,19 @@ var VC2EvidenceValidator = object({
|
|
|
4036
4036
|
genre: string().optional(),
|
|
4037
4037
|
audience: string().optional()
|
|
4038
4038
|
}).catchall(any());
|
|
4039
|
+
var TemplateRenderMethodValidator = object({
|
|
4040
|
+
type: literal("TemplateRenderMethod"),
|
|
4041
|
+
renderSuite: string(),
|
|
4042
|
+
template: string(),
|
|
4043
|
+
renderProperty: array(string()).optional(),
|
|
4044
|
+
outputPreference: object({
|
|
4045
|
+
mediaType: string()
|
|
4046
|
+
}).optional()
|
|
4047
|
+
});
|
|
4048
|
+
var RenderMethodValidator = union([
|
|
4049
|
+
TemplateRenderMethodValidator,
|
|
4050
|
+
record(string(), any())
|
|
4051
|
+
]);
|
|
4039
4052
|
var UnsignedVCValidator = object({
|
|
4040
4053
|
"@context": ContextValidator,
|
|
4041
4054
|
id: string().optional(),
|
|
@@ -4059,7 +4072,8 @@ var UnsignedVCValidator = object({
|
|
|
4059
4072
|
validUntil: string().optional(),
|
|
4060
4073
|
status: CredentialStatusValidator.or(CredentialStatusValidator.array()).optional(),
|
|
4061
4074
|
termsOfUse: TermsOfUseValidator.or(TermsOfUseValidator.array()).optional(),
|
|
4062
|
-
evidence: union([VC2EvidenceValidator, array(VC2EvidenceValidator)]).optional()
|
|
4075
|
+
evidence: union([VC2EvidenceValidator, array(VC2EvidenceValidator)]).optional(),
|
|
4076
|
+
renderMethod: union([RenderMethodValidator, array(RenderMethodValidator)]).optional()
|
|
4063
4077
|
}).catchall(any());
|
|
4064
4078
|
var ProofValidator = object({
|
|
4065
4079
|
type: string(),
|
|
@@ -4367,10 +4381,45 @@ var UnsignedClrCredentialValidator = UnsignedVCValidator.extend({
|
|
|
4367
4381
|
UnsignedClrCredentialValidator.extend({
|
|
4368
4382
|
proof: ProofValidator.or(ProofValidator.array())
|
|
4369
4383
|
});
|
|
4384
|
+
var StatusCheckEntryValidator = object({
|
|
4385
|
+
/**
|
|
4386
|
+
* The `credentialStatus.type` as it appeared on the credential.
|
|
4387
|
+
* One of `BitstringStatusListEntry`, `StatusList2021Entry`,
|
|
4388
|
+
* `RevocationList2020Status`, or any future custom status type.
|
|
4389
|
+
*/
|
|
4390
|
+
entryType: string(),
|
|
4391
|
+
/**
|
|
4392
|
+
* The claimed purpose of the entry. Standard values are
|
|
4393
|
+
* `"revocation"` and `"suspension"`; the spec allows arbitrary
|
|
4394
|
+
* strings.
|
|
4395
|
+
*/
|
|
4396
|
+
statusPurpose: string(),
|
|
4397
|
+
/**
|
|
4398
|
+
* Whether the bit at the credential's index in the status list
|
|
4399
|
+
* bitstring was set.
|
|
4400
|
+
*/
|
|
4401
|
+
isSet: boolean(),
|
|
4402
|
+
/** URL of the status list credential, when known. */
|
|
4403
|
+
statusListCredential: string().optional(),
|
|
4404
|
+
/** Original (string) index within the status list. */
|
|
4405
|
+
statusListIndex: string().optional()
|
|
4406
|
+
});
|
|
4370
4407
|
object({
|
|
4371
4408
|
checks: string().array(),
|
|
4372
4409
|
warnings: string().array(),
|
|
4373
|
-
errors: string().array()
|
|
4410
|
+
errors: string().array(),
|
|
4411
|
+
/**
|
|
4412
|
+
* Per-entry results for the `credentialStatus` check, populated
|
|
4413
|
+
* by `@learncard/didkit-plugin` when the verified credential
|
|
4414
|
+
* carries one or more `credentialStatus` entries. Empty / absent
|
|
4415
|
+
* for credentials without a status entry.
|
|
4416
|
+
*
|
|
4417
|
+
* Marked `.optional()` because the underlying `ssi-ldp`
|
|
4418
|
+
* serializer omits the field when empty (`skip_serializing_if`),
|
|
4419
|
+
* so older WASM builds that pre-date the structured-status
|
|
4420
|
+
* change still validate against this schema.
|
|
4421
|
+
*/
|
|
4422
|
+
status: StatusCheckEntryValidator.array().optional()
|
|
4374
4423
|
});
|
|
4375
4424
|
var VerificationStatusValidator = _enum(["Success", "Failed", "Error"]);
|
|
4376
4425
|
var VerificationStatusEnum = VerificationStatusValidator.enum;
|
|
@@ -5773,6 +5822,28 @@ object({
|
|
|
5773
5822
|
this.name = "AuthSessionError";
|
|
5774
5823
|
}
|
|
5775
5824
|
}, __name(_a, "AuthSessionError"), _a);
|
|
5825
|
+
var BITSTRING_STATUS_PURPOSES = ["revocation", "suspension"];
|
|
5826
|
+
var BitstringStatusPurposeValidator = _enum(BITSTRING_STATUS_PURPOSES);
|
|
5827
|
+
var BitstringStatusListEntryValidator = object({
|
|
5828
|
+
id: string().optional(),
|
|
5829
|
+
type: literal("BitstringStatusListEntry"),
|
|
5830
|
+
statusPurpose: BitstringStatusPurposeValidator,
|
|
5831
|
+
statusListIndex: string(),
|
|
5832
|
+
statusListCredential: string()
|
|
5833
|
+
});
|
|
5834
|
+
BitstringStatusListEntryValidator.extend({
|
|
5835
|
+
id: string()
|
|
5836
|
+
});
|
|
5837
|
+
object({
|
|
5838
|
+
id: string().optional(),
|
|
5839
|
+
type: literal("BitstringStatusList"),
|
|
5840
|
+
statusPurpose: BitstringStatusPurposeValidator,
|
|
5841
|
+
encodedList: string()
|
|
5842
|
+
});
|
|
5843
|
+
object({
|
|
5844
|
+
statusPurposes: array(BitstringStatusPurposeValidator).optional(),
|
|
5845
|
+
listSize: number().int().positive().optional()
|
|
5846
|
+
}).default({});
|
|
5776
5847
|
|
|
5777
5848
|
export { VerificationStatusEnum as V, literal as l, number as n, object as o, string as s, union as u };
|
|
5778
|
-
//# sourceMappingURL=types.esm-
|
|
5849
|
+
//# sourceMappingURL=types.esm-3a3c23e0.js.map
|