@learncard/react 2.9.7 → 2.9.11
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-8bfbd19d.js → BoostGenericCard-2bfa7b3b.js} +2 -2
- package/dist/cjs/{BoostGenericCard-8bfbd19d.js.map → BoostGenericCard-2bfa7b3b.js.map} +1 -1
- package/dist/cjs/{BoostSmallCard-3e303698.js → BoostSmallCard-2141fdd9.js} +2 -2
- package/dist/cjs/BoostSmallCard-2141fdd9.js.map +1 -0
- package/dist/cjs/{CertificateDisplayCard-3629a31d.js → CertificateDisplayCard-a4cd56d5.js} +7 -6
- package/dist/cjs/{CertificateDisplayCard-3629a31d.js.map → CertificateDisplayCard-a4cd56d5.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-6909f9c4.js → MeritBadgeDisplayCard-f19999c1.js} +7 -6
- package/dist/cjs/MeritBadgeDisplayCard-f19999c1.js.map +1 -0
- package/dist/cjs/{MeritBadgeSkillsCount-6ab76512.js → MeritBadgeSkillsCount-9c81b0b7.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-6ab76512.js.map → MeritBadgeSkillsCount-9c81b0b7.js.map} +1 -1
- package/dist/cjs/{NotificationBoostCard-abb23722.js → NotificationBoostCard-c4679a33.js} +2 -2
- package/dist/cjs/NotificationBoostCard-c4679a33.js.map +1 -0
- package/dist/cjs/{NotificationUserAcceptedBoostCard-31d8a89e.js → NotificationUserAcceptedBoostCard-1c6d1e33.js} +2 -2
- package/dist/cjs/NotificationUserAcceptedBoostCard-1c6d1e33.js.map +1 -0
- package/dist/cjs/{NotificationUserCard-59431df3.js → NotificationUserCard-4364506c.js} +2 -2
- package/dist/cjs/NotificationUserCard-4364506c.js.map +1 -0
- package/dist/cjs/{SchoolIDCard-dddb3b1d.js → SchoolIDCard-e22d0d80.js} +1184 -3
- package/dist/cjs/SchoolIDCard-e22d0d80.js.map +1 -0
- package/dist/cjs/{VCCard-71a11dcb.js → VCCard-947544a7.js} +3 -3
- package/dist/cjs/{VCCard-71a11dcb.js.map → VCCard-947544a7.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-a1d472dd.js → VCDisplayBackFace-4304cfe1.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-a1d472dd.js.map → VCDisplayBackFace-4304cfe1.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-b401b6cb.js → VCDisplayCard-21e8aaa2.js} +3 -3
- package/dist/cjs/{VCDisplayCard-b401b6cb.js.map → VCDisplayCard-21e8aaa2.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-7e83002e.js → VCDisplayCard2-ef69b767.js} +15 -13
- package/dist/cjs/VCDisplayCard2-ef69b767.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-9ab86092.js → VCVerificationPill-438983db.js} +2 -2
- package/dist/cjs/{VCVerificationPill-9ab86092.js.map → VCVerificationPill-438983db.js.map} +1 -1
- package/dist/cjs/VerifierStateBadgeAndText-0c8bc9bf.js +19357 -0
- package/dist/cjs/VerifierStateBadgeAndText-0c8bc9bf.js.map +1 -0
- package/dist/cjs/{credential.helpers-a8529046.js → credential.helpers-e3ba7ad4.js} +2 -2
- package/dist/cjs/{credential.helpers-a8529046.js.map → credential.helpers-e3ba7ad4.js.map} +1 -1
- package/dist/cjs/index.js +17 -18
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index13.js +17 -18
- package/dist/cjs/index13.js.map +1 -1
- package/dist/cjs/index21.js +5 -5
- package/dist/cjs/index24.js +1 -1
- package/dist/cjs/index25.js +1 -1
- package/dist/cjs/index26.js +1 -1
- 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/index38.js +10 -11
- package/dist/cjs/index38.js.map +1 -1
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index4.js +1 -1
- package/dist/cjs/index40.js +5 -5
- package/dist/cjs/index41.js +6 -7
- 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 +4 -4
- package/dist/cjs/{types.esm-15986537.js → types.esm-901fe9bd.js} +21 -2
- package/dist/{esm/types.esm-adb59560.js.map → cjs/types.esm-901fe9bd.js.map} +1 -1
- package/dist/esm/{BoostGenericCard-46743965.js → BoostGenericCard-23ec21c9.js} +2 -2
- package/dist/esm/{BoostGenericCard-46743965.js.map → BoostGenericCard-23ec21c9.js.map} +1 -1
- package/dist/esm/{BoostSmallCard-ddefe808.js → BoostSmallCard-f2192dc1.js} +2 -2
- package/dist/esm/BoostSmallCard-f2192dc1.js.map +1 -0
- package/dist/esm/{CertificateDisplayCard-bba13104.js → CertificateDisplayCard-5cf493af.js} +7 -6
- package/dist/esm/{CertificateDisplayCard-bba13104.js.map → CertificateDisplayCard-5cf493af.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-e212372b.js → MeritBadgeDisplayCard-f4461df0.js} +7 -6
- package/dist/esm/MeritBadgeDisplayCard-f4461df0.js.map +1 -0
- package/dist/esm/{MeritBadgeSkillsCount-44a3cd70.js → MeritBadgeSkillsCount-ccac3d3e.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-44a3cd70.js.map → MeritBadgeSkillsCount-ccac3d3e.js.map} +1 -1
- package/dist/esm/{NotificationBoostCard-cf11d747.js → NotificationBoostCard-fa82a58d.js} +2 -2
- package/dist/esm/NotificationBoostCard-fa82a58d.js.map +1 -0
- package/dist/esm/{NotificationUserAcceptedBoostCard-a1269382.js → NotificationUserAcceptedBoostCard-89fe2317.js} +2 -2
- package/dist/esm/NotificationUserAcceptedBoostCard-89fe2317.js.map +1 -0
- package/dist/esm/{NotificationUserCard-c109c442.js → NotificationUserCard-2c29c86a.js} +2 -2
- package/dist/esm/NotificationUserCard-2c29c86a.js.map +1 -0
- package/dist/esm/{SchoolIDCard-4e51671c.js → SchoolIDCard-8b151cd3.js} +1183 -2
- package/dist/esm/SchoolIDCard-8b151cd3.js.map +1 -0
- package/dist/esm/{VCCard-e29637d6.js → VCCard-7f3b725e.js} +3 -3
- package/dist/esm/{VCCard-e29637d6.js.map → VCCard-7f3b725e.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-2a9a838b.js → VCDisplayBackFace-17106134.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-2a9a838b.js.map → VCDisplayBackFace-17106134.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-3a8c0544.js → VCDisplayCard-5ff2037c.js} +3 -3
- package/dist/esm/{VCDisplayCard-3a8c0544.js.map → VCDisplayCard-5ff2037c.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-f02476ef.js → VCDisplayCard2-cb81b527.js} +15 -13
- package/dist/esm/VCDisplayCard2-cb81b527.js.map +1 -0
- package/dist/esm/{VCVerificationPill-2c293962.js → VCVerificationPill-ac60e855.js} +2 -2
- package/dist/esm/{VCVerificationPill-2c293962.js.map → VCVerificationPill-ac60e855.js.map} +1 -1
- package/dist/esm/VerifierStateBadgeAndText-6185da81.js +19318 -0
- package/dist/esm/VerifierStateBadgeAndText-6185da81.js.map +1 -0
- package/dist/esm/{credential.helpers-ac4e6c0f.js → credential.helpers-2a0afd7e.js} +2 -2
- package/dist/esm/{credential.helpers-ac4e6c0f.js.map → credential.helpers-2a0afd7e.js.map} +1 -1
- package/dist/esm/index.js +17 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index13.js +17 -18
- package/dist/esm/index13.js.map +1 -1
- package/dist/esm/index21.js +5 -5
- package/dist/esm/index24.js +1 -1
- package/dist/esm/index25.js +1 -1
- package/dist/esm/index26.js +1 -1
- 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/index38.js +10 -11
- package/dist/esm/index38.js.map +1 -1
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index40.js +5 -5
- package/dist/esm/index41.js +6 -7
- 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 +4 -4
- package/dist/esm/{types.esm-adb59560.js → types.esm-52881edf.js} +17 -3
- package/dist/{cjs/types.esm-15986537.js.map → esm/types.esm-52881edf.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/BoostSmallCard-3e303698.js.map +0 -1
- package/dist/cjs/MeritBadgeDisplayCard-6909f9c4.js.map +0 -1
- package/dist/cjs/NotificationBoostCard-abb23722.js.map +0 -1
- package/dist/cjs/NotificationUserAcceptedBoostCard-31d8a89e.js.map +0 -1
- package/dist/cjs/NotificationUserCard-59431df3.js.map +0 -1
- package/dist/cjs/SchoolIDCard-dddb3b1d.js.map +0 -1
- package/dist/cjs/VCDisplayCard2-7e83002e.js.map +0 -1
- package/dist/cjs/VerifierStateBadgeAndText-103557ca.js +0 -2447
- package/dist/cjs/VerifierStateBadgeAndText-103557ca.js.map +0 -1
- package/dist/cjs/index-838fa72c.js +0 -1186
- package/dist/cjs/index-838fa72c.js.map +0 -1
- package/dist/esm/BoostSmallCard-ddefe808.js.map +0 -1
- package/dist/esm/MeritBadgeDisplayCard-e212372b.js.map +0 -1
- package/dist/esm/NotificationBoostCard-cf11d747.js.map +0 -1
- package/dist/esm/NotificationUserAcceptedBoostCard-a1269382.js.map +0 -1
- package/dist/esm/NotificationUserCard-c109c442.js.map +0 -1
- package/dist/esm/SchoolIDCard-4e51671c.js.map +0 -1
- package/dist/esm/VCDisplayCard2-f02476ef.js.map +0 -1
- package/dist/esm/VerifierStateBadgeAndText-796c26ac.js +0 -2409
- package/dist/esm/VerifierStateBadgeAndText-796c26ac.js.map +0 -1
- package/dist/esm/index-4fa491c1.js +0 -1184
- package/dist/esm/index-4fa491c1.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-e80836dd.js';
|
|
3
|
-
export { B as BoostGenericCard } from './BoostGenericCard-
|
|
4
|
-
export { B as BoostSmallCard } from './BoostSmallCard-
|
|
3
|
+
export { B as BoostGenericCard } from './BoostGenericCard-23ec21c9.js';
|
|
4
|
+
export { B as BoostSmallCard } from './BoostSmallCard-f2192dc1.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-5cf493af.js';
|
|
7
|
+
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-6185da81.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-f4461df0.js';
|
|
22
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-ccac3d3e.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-
|
|
27
|
-
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-
|
|
28
|
-
export { N as NotificationUserCard } from './NotificationUserCard-
|
|
26
|
+
export { N as NotificationBoostCard } from './NotificationBoostCard-fa82a58d.js';
|
|
27
|
+
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-89fe2317.js';
|
|
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
39
|
export { U as UserProfilePicture } from './UserProfilePicture-7b950437.js';
|
|
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-
|
|
40
|
+
export { V as VCCard } from './VCCard-7f3b725e.js';
|
|
41
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-17106134.js';
|
|
42
|
+
export { V as VCDisplayCard } from './VCDisplayCard-5ff2037c.js';
|
|
43
|
+
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-cb81b527.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-ac60e855.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-2a0afd7e.js';
|
|
76
76
|
import './index-eae3ca64.js';
|
|
77
|
-
import './types.esm-
|
|
77
|
+
import './types.esm-52881edf.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-e80836dd.js';
|
|
2
|
-
export { B as BoostGenericCard } from './BoostGenericCard-
|
|
3
|
-
export { B as BoostSmallCard } from './BoostSmallCard-
|
|
2
|
+
export { B as BoostGenericCard } from './BoostGenericCard-23ec21c9.js';
|
|
3
|
+
export { B as BoostSmallCard } from './BoostSmallCard-f2192dc1.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-5cf493af.js';
|
|
6
|
+
export { S as SelectedSkills, V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-6185da81.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-f4461df0.js';
|
|
21
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-ccac3d3e.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-
|
|
26
|
-
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-
|
|
27
|
-
export { N as NotificationUserCard } from './NotificationUserCard-
|
|
25
|
+
export { N as NotificationBoostCard } from './NotificationBoostCard-fa82a58d.js';
|
|
26
|
+
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-89fe2317.js';
|
|
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
38
|
export { U as UserProfilePicture } from './UserProfilePicture-7b950437.js';
|
|
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-
|
|
39
|
+
export { V as VCCard } from './VCCard-7f3b725e.js';
|
|
40
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-17106134.js';
|
|
41
|
+
export { V as VCDisplayCard } from './VCDisplayCard-5ff2037c.js';
|
|
42
|
+
export { V as VCDisplayCard2, a as VCDisplayCardSkillsCount, b as VCIDDisplayCard } from './VCDisplayCard2-cb81b527.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-ac60e855.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-2a0afd7e.js';
|
|
76
76
|
import './index-eae3ca64.js';
|
|
77
|
-
import './types.esm-
|
|
77
|
+
import './types.esm-52881edf.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-f4461df0.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-52881edf.js';
|
|
6
|
+
export { M as MeritBadgeSkillsCount } from './MeritBadgeSkillsCount-ccac3d3e.js';
|
|
7
|
+
import './VerifierStateBadgeAndText-6185da81.js';
|
|
8
8
|
import './athletics.png';
|
|
9
9
|
import './business.png';
|
|
10
10
|
import './creative.png';
|
|
@@ -15,7 +15,7 @@ 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-2a0afd7e.js';
|
|
19
19
|
import './index-28917993.js';
|
|
20
20
|
import './User-f5ea0f01.js';
|
|
21
21
|
import './Trophy-fc7fdec4.js';
|
package/dist/esm/index24.js
CHANGED
package/dist/esm/index25.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-
|
|
1
|
+
export { N as NotificationUserAcceptedBoostCard } from './NotificationUserAcceptedBoostCard-89fe2317.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './X.svg';
|
|
4
4
|
import './types-b32d28d5.js';
|
package/dist/esm/index26.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { N as NotificationUserCard } from './NotificationUserCard-
|
|
1
|
+
export { N as NotificationUserCard } from './NotificationUserCard-2c29c86a.js';
|
|
2
2
|
export { U as UserNotificationTypeStyles } from './types-b32d28d5.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './X.svg';
|
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-52881edf.js';
|
|
4
|
+
export { B as BoostGenericCard } from './BoostGenericCard-23ec21c9.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-2a0afd7e.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/index38.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
export { V as VCCard } from './VCCard-
|
|
1
|
+
export { V as VCCard } from './VCCard-7f3b725e.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@learncard/init';
|
|
4
|
-
import './VCDisplayCard-
|
|
4
|
+
import './VCDisplayCard-5ff2037c.js';
|
|
5
5
|
import './FlippyCard-458dc9b1.js';
|
|
6
6
|
import './icon.green.fat-arrow.png';
|
|
7
7
|
import './UserProfilePicture-7b950437.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-2a0afd7e.js';
|
|
12
12
|
import './index-eae3ca64.js';
|
|
13
|
-
import './types.esm-
|
|
13
|
+
import './types.esm-52881edf.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-17106134.js';
|
|
19
|
+
import './VCVerificationPill-ac60e855.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-796c26ac.js';
|
|
24
|
+
import './VCDisplayCard2-cb81b527.js';
|
|
25
|
+
import './VerifierStateBadgeAndText-6185da81.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-5cf493af.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-f4461df0.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-17106134.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-ac60e855.js';
|
|
7
|
+
import './types.esm-52881edf.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-2a0afd7e.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
package/dist/esm/index40.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { V as VCDisplayCard } from './VCDisplayCard-
|
|
1
|
+
export { V as VCDisplayCard } from './VCDisplayCard-5ff2037c.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-7b950437.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-2a0afd7e.js';
|
|
10
10
|
import './index-eae3ca64.js';
|
|
11
|
-
import './types.esm-
|
|
11
|
+
import './types.esm-52881edf.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-17106134.js';
|
|
17
|
+
import './VCVerificationPill-ac60e855.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-6185da81.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-cb81b527.js';
|
|
14
|
+
import './types.esm-52881edf.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
21
|
import './UserProfilePicture-7b950437.js';
|
|
23
|
-
import './credential.helpers-
|
|
22
|
+
import './credential.helpers-2a0afd7e.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-5cf493af.js';
|
|
30
29
|
import './DotsThreeOutline.svg';
|
|
31
30
|
import './QRCodeIcon-8eef4f7c.js';
|
|
32
|
-
import './MeritBadgeDisplayCard-
|
|
31
|
+
import './MeritBadgeDisplayCard-f4461df0.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-ac60e855.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './types.esm-
|
|
3
|
+
import './types.esm-52881edf.js';
|
|
4
4
|
import './RedXCircle.svg';
|
|
5
5
|
import './GreenCheckCircle.svg';
|
|
6
6
|
import './YellowWarningCircle.svg';
|
package/dist/esm/index6.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-5cf493af.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-52881edf.js';
|
|
6
|
+
export { V as VERIFIER_STATES, a as VerifierStateBadgeAndText } from './VerifierStateBadgeAndText-6185da81.js';
|
|
7
|
+
import './credential.helpers-2a0afd7e.js';
|
|
8
8
|
import './index-28917993.js';
|
|
9
9
|
import './PuzzlePiece-a3d9cc62.js';
|
|
10
10
|
import './User-f5ea0f01.js';
|
|
@@ -4873,6 +4873,7 @@ PaginationResponseValidator.extend({
|
|
|
4873
4873
|
});
|
|
4874
4874
|
var LCNNotificationTypeEnumValidator = _enum([
|
|
4875
4875
|
"CONNECTION_REQUEST",
|
|
4876
|
+
"CONNECTION_REQUEST_EXPIRED_INVITE",
|
|
4876
4877
|
"CONNECTION_ACCEPTED",
|
|
4877
4878
|
"CREDENTIAL_RECEIVED",
|
|
4878
4879
|
"CREDENTIAL_ACCEPTED",
|
|
@@ -5131,7 +5132,9 @@ object({
|
|
|
5131
5132
|
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
5132
5133
|
configuration: object({
|
|
5133
5134
|
publishableKey: string(),
|
|
5134
|
-
signingAuthorityName: string().optional()
|
|
5135
|
+
signingAuthorityName: string().optional(),
|
|
5136
|
+
listingId: string().optional(),
|
|
5137
|
+
listingSlug: string().optional()
|
|
5135
5138
|
}).optional()
|
|
5136
5139
|
});
|
|
5137
5140
|
var LCNDomainOrOriginValidator = union([
|
|
@@ -5229,6 +5232,17 @@ union([
|
|
|
5229
5232
|
}),
|
|
5230
5233
|
BaseSkillQueryValidator
|
|
5231
5234
|
]);
|
|
5235
|
+
object({
|
|
5236
|
+
text: string().min(1),
|
|
5237
|
+
frameworkId: string().optional(),
|
|
5238
|
+
limit: number().int().min(1).max(200).default(50)
|
|
5239
|
+
});
|
|
5240
|
+
var SkillSemanticSearchResultItemValidator = SkillValidator.extend({
|
|
5241
|
+
score: number()
|
|
5242
|
+
});
|
|
5243
|
+
object({
|
|
5244
|
+
records: SkillSemanticSearchResultItemValidator.array()
|
|
5245
|
+
});
|
|
5232
5246
|
var SkillFrameworkStatusEnum = _enum(["active", "archived"]);
|
|
5233
5247
|
var SkillFrameworkValidator = object({
|
|
5234
5248
|
id: string(),
|
|
@@ -5507,5 +5521,5 @@ object({
|
|
|
5507
5521
|
claimRate: number()
|
|
5508
5522
|
});
|
|
5509
5523
|
|
|
5510
|
-
export { VerificationStatusEnum as V };
|
|
5511
|
-
//# sourceMappingURL=types.esm-
|
|
5524
|
+
export { VerificationStatusEnum as V, literal as l, number as n, object as o, string as s, union as u };
|
|
5525
|
+
//# sourceMappingURL=types.esm-52881edf.js.map
|