@learncard/react 2.10.3 → 2.10.4
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/README.md +10 -10
- package/dist/base.css +1 -1
- package/dist/base.js +1 -1
- package/dist/cjs/{BoostGenericCard-0f68947f.js → BoostGenericCard-5a07339f.js} +2 -2
- package/dist/cjs/{BoostGenericCard-0f68947f.js.map → BoostGenericCard-5a07339f.js.map} +1 -1
- package/dist/cjs/{CertificateDisplayCard-6c30f6e6.js → CertificateDisplayCard-a7940558.js} +4 -4
- package/dist/cjs/{CertificateDisplayCard-6c30f6e6.js.map → CertificateDisplayCard-a7940558.js.map} +1 -1
- package/dist/cjs/CircleIcon-f0fa68c7.js.map +1 -1
- package/dist/cjs/{LearnCardCreditCardFrontFace-aca1b7bc.js → LearnCardCreditCardFrontFace-75fb4e44.js} +2 -2
- package/dist/cjs/{LearnCardCreditCardFrontFace-aca1b7bc.js.map → LearnCardCreditCardFrontFace-75fb4e44.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-535853f5.js → MeritBadgeDisplayCard-1c614da9.js} +4 -4
- package/dist/cjs/{MeritBadgeDisplayCard-535853f5.js.map → MeritBadgeDisplayCard-1c614da9.js.map} +1 -1
- package/dist/cjs/{MeritBadgeSkillsCount-5cc7d16e.js → MeritBadgeSkillsCount-4dabf982.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-5cc7d16e.js.map → MeritBadgeSkillsCount-4dabf982.js.map} +1 -1
- package/dist/cjs/{QRCodeCard-f0079bd9.js → QRCodeCard-2378411e.js} +2 -2
- package/dist/cjs/{QRCodeCard-f0079bd9.js.map → QRCodeCard-2378411e.js.map} +1 -1
- package/dist/cjs/{SchoolIDCard-e22d0d80.js → SchoolIDCard-2d3cbb2c.js} +13 -1189
- package/dist/cjs/SchoolIDCard-2d3cbb2c.js.map +1 -0
- package/dist/cjs/{VCCard-deabc204.js → VCCard-5bb95d29.js} +3 -3
- package/dist/cjs/{VCCard-deabc204.js.map → VCCard-5bb95d29.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-a15d5252.js → VCDisplayBackFace-864c35d5.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-a15d5252.js.map → VCDisplayBackFace-864c35d5.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-a64fa405.js → VCDisplayCard-15af27c6.js} +3 -3
- package/dist/cjs/{VCDisplayCard-a64fa405.js.map → VCDisplayCard-15af27c6.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-6c87eade.js → VCDisplayCard2-f3f5c6c4.js} +28 -22
- package/dist/cjs/VCDisplayCard2-f3f5c6c4.js.map +1 -0
- package/dist/cjs/{VCVerificationPill-e1cc6be2.js → VCVerificationPill-20ed4d3c.js} +2 -2
- package/dist/cjs/{VCVerificationPill-e1cc6be2.js.map → VCVerificationPill-20ed4d3c.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-5229da1a.js → VerifierStateBadgeAndText-de5bd85f.js} +9 -11
- package/dist/cjs/VerifierStateBadgeAndText-de5bd85f.js.map +1 -0
- package/dist/cjs/{credential.helpers-473e89c5.js → credential.helpers-b4d27c8a.js} +3 -3
- package/dist/cjs/credential.helpers-b4d27c8a.js.map +1 -0
- package/dist/cjs/{index-ec1d26f1.js → index-330dcb9c.js} +1 -1
- package/dist/cjs/index-330dcb9c.js.map +1 -0
- package/dist/cjs/index-47efbf5b.js +1186 -0
- package/dist/cjs/index-47efbf5b.js.map +1 -0
- package/dist/cjs/{index-0cac2c5b.js → index-da255c9a.js} +1 -1
- package/dist/cjs/index-da255c9a.js.map +1 -0
- package/dist/cjs/index.js +18 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index14.js +18 -17
- package/dist/cjs/index14.js.map +1 -1
- package/dist/cjs/index18.js +2 -2
- package/dist/cjs/index22.js +6 -6
- package/dist/cjs/index28.js +2 -2
- package/dist/cjs/index31.js +2 -1
- package/dist/cjs/index31.js.map +1 -1
- package/dist/cjs/index39.js +12 -11
- package/dist/cjs/index39.js.map +1 -1
- package/dist/cjs/index4.js +4 -4
- package/dist/cjs/index40.js +5 -5
- package/dist/cjs/index41.js +6 -6
- package/dist/cjs/index42.js +8 -7
- package/dist/cjs/index42.js.map +1 -1
- package/dist/cjs/index43.js +2 -2
- package/dist/cjs/index46.js +2 -2
- package/dist/cjs/index7.js +5 -5
- package/dist/cjs/{types.esm-12bb5eed.js → types.esm-40b77196.js} +3 -2
- package/dist/cjs/types.esm-40b77196.js.map +1 -0
- package/dist/esm/{BoostGenericCard-b332a829.js → BoostGenericCard-997af0f5.js} +2 -2
- package/dist/esm/{BoostGenericCard-b332a829.js.map → BoostGenericCard-997af0f5.js.map} +1 -1
- package/dist/esm/{CertificateDisplayCard-fc148ca0.js → CertificateDisplayCard-d764151e.js} +4 -4
- package/dist/esm/{CertificateDisplayCard-fc148ca0.js.map → CertificateDisplayCard-d764151e.js.map} +1 -1
- package/dist/esm/CircleIcon-abd5ff06.js.map +1 -1
- package/dist/esm/{LearnCardCreditCardFrontFace-b7c917f5.js → LearnCardCreditCardFrontFace-13d29504.js} +2 -2
- package/dist/esm/{LearnCardCreditCardFrontFace-b7c917f5.js.map → LearnCardCreditCardFrontFace-13d29504.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-da9de0b8.js → MeritBadgeDisplayCard-907627ed.js} +4 -4
- package/dist/esm/{MeritBadgeDisplayCard-da9de0b8.js.map → MeritBadgeDisplayCard-907627ed.js.map} +1 -1
- package/dist/esm/{MeritBadgeSkillsCount-01e2756e.js → MeritBadgeSkillsCount-9474bd51.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-01e2756e.js.map → MeritBadgeSkillsCount-9474bd51.js.map} +1 -1
- package/dist/esm/{QRCodeCard-8f29c3c7.js → QRCodeCard-3abf9f33.js} +2 -2
- package/dist/esm/{QRCodeCard-8f29c3c7.js.map → QRCodeCard-3abf9f33.js.map} +1 -1
- package/dist/esm/{SchoolIDCard-8b151cd3.js → SchoolIDCard-fbd1cf6c.js} +12 -1188
- package/dist/esm/SchoolIDCard-fbd1cf6c.js.map +1 -0
- package/dist/esm/{VCCard-94dbe6bf.js → VCCard-ce4b451d.js} +3 -3
- package/dist/esm/{VCCard-94dbe6bf.js.map → VCCard-ce4b451d.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-9c5b383f.js → VCDisplayBackFace-e347145c.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-9c5b383f.js.map → VCDisplayBackFace-e347145c.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-bd4d15e1.js → VCDisplayCard-3002776b.js} +3 -3
- package/dist/esm/{VCDisplayCard-bd4d15e1.js.map → VCDisplayCard-3002776b.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-c6a81e42.js → VCDisplayCard2-db880bbb.js} +28 -22
- package/dist/esm/VCDisplayCard2-db880bbb.js.map +1 -0
- package/dist/esm/{VCVerificationPill-d073557c.js → VCVerificationPill-5a05423b.js} +2 -2
- package/dist/esm/{VCVerificationPill-d073557c.js.map → VCVerificationPill-5a05423b.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-6946e820.js → VerifierStateBadgeAndText-bd1b0131.js} +9 -11
- package/dist/esm/VerifierStateBadgeAndText-bd1b0131.js.map +1 -0
- package/dist/esm/{credential.helpers-ff461699.js → credential.helpers-26e1a359.js} +3 -3
- package/dist/esm/credential.helpers-26e1a359.js.map +1 -0
- package/dist/esm/{index-2ef835bd.js → index-bc6b8b0b.js} +1 -1
- package/dist/{cjs/index-ec1d26f1.js.map → esm/index-bc6b8b0b.js.map} +1 -1
- package/dist/esm/{index-eae3ca64.js → index-cb3a593b.js} +1 -1
- package/dist/esm/index-cb3a593b.js.map +1 -0
- package/dist/esm/index-cbd2e9db.js +1184 -0
- package/dist/esm/index-cbd2e9db.js.map +1 -0
- package/dist/esm/index.js +18 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index14.js +18 -17
- package/dist/esm/index14.js.map +1 -1
- package/dist/esm/index18.js +2 -2
- package/dist/esm/index22.js +6 -6
- package/dist/esm/index28.js +2 -2
- package/dist/esm/index31.js +2 -1
- package/dist/esm/index31.js.map +1 -1
- package/dist/esm/index39.js +12 -11
- package/dist/esm/index39.js.map +1 -1
- package/dist/esm/index4.js +4 -4
- package/dist/esm/index40.js +5 -5
- package/dist/esm/index41.js +6 -6
- package/dist/esm/index42.js +8 -7
- package/dist/esm/index42.js.map +1 -1
- package/dist/esm/index43.js +2 -2
- package/dist/esm/index46.js +2 -2
- package/dist/esm/index7.js +5 -5
- package/dist/esm/{types.esm-f32fc00a.js → types.esm-13bb929b.js} +3 -2
- package/dist/esm/types.esm-13bb929b.js.map +1 -0
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +102 -87
- package/src/assets/icons/accommodationsIcon.svg +5 -0
- package/src/assets/icons/accomplishmentsIcon.svg +4 -0
- package/src/assets/icons/achievementsIcon.svg +7 -0
- package/src/assets/icons/coursesIcon.svg +5 -0
- package/src/assets/icons/eventsIcon.svg +6 -0
- package/src/assets/icons/experiencesIcon.svg +4 -0
- package/src/assets/icons/goalsIcon.svg +5 -0
- package/src/assets/icons/idIcon.svg +4 -0
- package/src/assets/icons/membershipsIcon.svg +4 -0
- package/src/assets/icons/relationshipsIcon.svg +6 -0
- package/src/assets/icons/skillsIcon.svg +3 -0
- package/src/assets/icons/socialBadgesIcon.svg +7 -0
- package/src/assets/images/Accommodation-Hands.png +0 -0
- package/src/assets/images/ArrowArcLeft.svg +4 -0
- package/src/assets/images/ArrowArcRight.svg +4 -0
- package/src/assets/images/CaretRight.svg +3 -0
- package/src/assets/images/CaretRightFilled.svg +3 -0
- package/src/assets/images/DotsThreeOutline.svg +5 -0
- package/src/assets/images/GreenCheckCircle.svg +4 -0
- package/src/assets/images/RedXCircle.svg +5 -0
- package/src/assets/images/X.svg +4 -0
- package/src/assets/images/YellowWarningCircle.svg +4 -0
- package/src/assets/images/addawardlight.svg +8 -0
- package/src/assets/images/agriculture.png +0 -0
- package/src/assets/images/apple.png +0 -0
- package/src/assets/images/athletics.png +0 -0
- package/src/assets/images/award.svg +3 -0
- package/src/assets/images/backpack.png +0 -0
- package/src/assets/images/badge.png +0 -0
- package/src/assets/images/briefcase.svg +6 -0
- package/src/assets/images/business.png +0 -0
- package/src/assets/images/card-chip.svg +26 -0
- package/src/assets/images/check.svg +17 -0
- package/src/assets/images/coins.svg +3 -0
- package/src/assets/images/contactless-symbol.svg +3 -0
- package/src/assets/images/creative.png +0 -0
- package/src/assets/images/digital.png +0 -0
- package/src/assets/images/durable.png +0 -0
- package/src/assets/images/emptystate-death.png +0 -0
- package/src/assets/images/emptystate-dinocandle.png +0 -0
- package/src/assets/images/emptystate-ghost1.png +0 -0
- package/src/assets/images/eventsGraphic.png +0 -0
- package/src/assets/images/experience-mountain.png +0 -0
- package/src/assets/images/goals-target.png +0 -0
- package/src/assets/images/gradcaplight.svg +3 -0
- package/src/assets/images/graduation.svg +3 -0
- package/src/assets/images/icon.green.fat-arrow.png +0 -0
- package/src/assets/images/id-purple.png +0 -0
- package/src/assets/images/id-sleeve.png +0 -0
- package/src/assets/images/key-icon.svg +4 -0
- package/src/assets/images/lhplaceholder.png +0 -0
- package/src/assets/images/lightbulb.svg +3 -0
- package/src/assets/images/loveyou-icon.svg +5 -0
- package/src/assets/images/master-card-logo.svg +20 -0
- package/src/assets/images/medical.png +0 -0
- package/src/assets/images/membership-graphic.png +0 -0
- package/src/assets/images/membership-key.svg +9 -0
- package/src/assets/images/minigradcapcolored.svg +3 -0
- package/src/assets/images/minijob.svg +5 -0
- package/src/assets/images/minipuzzle.svg +3 -0
- package/src/assets/images/minipuzzlecolored.svg +3 -0
- package/src/assets/images/minitrophy.svg +3 -0
- package/src/assets/images/minitrophycolored.svg +3 -0
- package/src/assets/images/motlow-buckcard-bg.svg +32 -0
- package/src/assets/images/mountains-icon.svg +4 -0
- package/src/assets/images/photoplaceholder.png +0 -0
- package/src/assets/images/puzzle-icon.svg +3 -0
- package/src/assets/images/relationships-cats.png +0 -0
- package/src/assets/images/sample-badge.png +0 -0
- package/src/assets/images/skillgraph.svg +29 -0
- package/src/assets/images/skillplaceholder.png +0 -0
- package/src/assets/images/social-badge-2.png +0 -0
- package/src/assets/images/social-badge.png +0 -0
- package/src/assets/images/social-icon.svg +7 -0
- package/src/assets/images/social.png +0 -0
- package/src/assets/images/stem.png +0 -0
- package/src/assets/images/target-icon.svg +5 -0
- package/src/assets/images/trade.png +0 -0
- package/src/assets/images/trophy.svg +3 -0
- package/src/assets/images/user.svg +4 -0
- package/src/assets/images/users-icon.svg +6 -0
- package/src/assets/images/vc.check.svg +10 -0
- package/src/assets/images/verified-check.png +0 -0
- package/src/assets/images/walletTrophy.png +0 -0
- package/src/assets/images/walletcurrency.webp +0 -0
- package/src/assets/images/walletids.webp +0 -0
- package/src/assets/images/walletjobhistory.webp +0 -0
- package/src/assets/images/walletskills.webp +0 -0
- package/src/assets/styles/base.css +2 -0
- package/src/assets/styles/main.css +475 -0
- package/src/components/AchievementCard/AchievementCard.stories.tsx +31 -0
- package/src/components/AchievementCard/AchievementCard.tsx +88 -0
- package/src/components/AchievementCard/index.ts +5 -0
- package/src/components/BadgeThumbnailImg/BadgeThumbnailImg.test.tsx +47 -0
- package/src/components/BadgeThumbnailImg/BadgeThumbnailImg.tsx +72 -0
- package/src/components/BadgeThumbnailImg/index.ts +5 -0
- package/src/components/BoostGenericCard/AlignmentSkillsCount.tsx +54 -0
- package/src/components/BoostGenericCard/BoostGenericCard.stories.tsx +39 -0
- package/src/components/BoostGenericCard/BoostGenericCard.tsx +177 -0
- package/src/components/BoostGenericCard/index.ts +6 -0
- package/src/components/BoostSmallCard/BoostSmallCard.stories.tsx +57 -0
- package/src/components/BoostSmallCard/BoostSmallCard.tsx +178 -0
- package/src/components/BoostSmallCard/index.ts +5 -0
- package/src/components/Button/Button.stories.tsx +20 -0
- package/src/components/Button/Button.test.tsx +15 -0
- package/src/components/Button/Button.tsx +21 -0
- package/src/components/Button/index.ts +5 -0
- package/src/components/CertificateDisplayCard/AlignmentRow.tsx +26 -0
- package/src/components/CertificateDisplayCard/AlignmentsBox.tsx +70 -0
- package/src/components/CertificateDisplayCard/CertDisplayCardSkillsCount.tsx +66 -0
- package/src/components/CertificateDisplayCard/CertificateBackFace.tsx +130 -0
- package/src/components/CertificateDisplayCard/CertificateCornerIcon.tsx +48 -0
- package/src/components/CertificateDisplayCard/CertificateDisplayCard.stories.tsx +21 -0
- package/src/components/CertificateDisplayCard/CertificateDisplayCard.tsx +180 -0
- package/src/components/CertificateDisplayCard/CertificateFrontFace.tsx +308 -0
- package/src/components/CertificateDisplayCard/CertificateImageDisplay.test.tsx +43 -0
- package/src/components/CertificateDisplayCard/CertificateImageDisplay.tsx +68 -0
- package/src/components/CertificateDisplayCard/CertificateProfileImageDisplay.test.tsx +66 -0
- package/src/components/CertificateDisplayCard/CertificateProfileImageDisplay.tsx +64 -0
- package/src/components/CertificateDisplayCard/CertificateRibbon.tsx +43 -0
- package/src/components/CertificateDisplayCard/InfoBox.tsx +30 -0
- package/src/components/CertificateDisplayCard/MediaAttachmentsBox.tsx +347 -0
- package/src/components/CertificateDisplayCard/TruncateTextBox.tsx +73 -0
- package/src/components/CertificateDisplayCard/VerificationRow.tsx +67 -0
- package/src/components/CertificateDisplayCard/VerificationsBox.tsx +44 -0
- package/src/components/CertificateDisplayCard/VerifierStateBadgeAndText.tsx +100 -0
- package/src/components/CertificateDisplayCard/index.ts +20 -0
- package/src/components/CircleCheckButton/CircleCheckButton.stories.tsx +21 -0
- package/src/components/CircleCheckButton/CircleCheckButton.tsx +28 -0
- package/src/components/CircleCheckButton/index.ts +5 -0
- package/src/components/CircleIcon/CircleIcon.tsx +90 -0
- package/src/components/CircleIcon/__tests__/CircleIcon.test.tsx +38 -0
- package/src/components/CircleIcon/ci new +0 -0
- package/src/components/CircleIcon/index.ts +5 -0
- package/src/components/CourseCard/CourseCard.stories.tsx +23 -0
- package/src/components/CourseCard/CourseCard.tsx +94 -0
- package/src/components/CourseCard/index.ts +5 -0
- package/src/components/CourseVerticalCard/CourseVerticalCard.stories.tsx +31 -0
- package/src/components/CourseVerticalCard/CourseVerticalCard.tsx +118 -0
- package/src/components/CourseVerticalCard/index.ts +5 -0
- package/src/components/FlippyCard/FlippyCard.tsx +34 -0
- package/src/components/FlippyCard/__tests__/FlippyCard.test.tsx +41 -0
- package/src/components/FlippyCard/index.ts +5 -0
- package/src/components/GenericCard/GenericCard.stories.tsx +22 -0
- package/src/components/GenericCard/GenericCard.tsx +72 -0
- package/src/components/GenericCard/index.ts +5 -0
- package/src/components/JobHistoryCard/JobHistoryCard.stories.tsx +26 -0
- package/src/components/JobHistoryCard/JobHistoryCard.tsx +44 -0
- package/src/components/JobHistoryCard/index.ts +5 -0
- package/src/components/JobListCard/JobListCard.stories.tsx +54 -0
- package/src/components/JobListCard/JobListCard.tsx +162 -0
- package/src/components/JobListCard/index.ts +5 -0
- package/src/components/LearnCardCreditCardBackFace/LearnCardCreditCardBackFace.stories.tsx +31 -0
- package/src/components/LearnCardCreditCardBackFace/LearnCardCreditCardBackFace.tsx +104 -0
- package/src/components/LearnCardCreditCardBackFace/__tests__/LearnCardCreditCardBackFace.test.tsx +64 -0
- package/src/components/LearnCardCreditCardBackFace/index.ts +6 -0
- package/src/components/LearnCardCreditCardBackFace/types.ts +45 -0
- package/src/components/LearnCardCreditCardFrontFace/LearnCardCreditCardFrontFace.stories.tsx +28 -0
- package/src/components/LearnCardCreditCardFrontFace/LearnCardCreditCardFrontFace.tsx +102 -0
- package/src/components/LearnCardCreditCardFrontFace/__tests__/LearnCardCreditCardFrontFace.test.tsx +48 -0
- package/src/components/LearnCardCreditCardFrontFace/index.ts +6 -0
- package/src/components/LearnCardCreditCardFrontFace/types.ts +42 -0
- package/src/components/LearnPill/LearnPill.stories.tsx +20 -0
- package/src/components/LearnPill/LearnPill.tsx +35 -0
- package/src/components/LearnPill/index.ts +5 -0
- package/src/components/Lightbox/Lightbox.tsx +133 -0
- package/src/components/Lightbox/index.ts +5 -0
- package/src/components/Loading/CircleSpinner.tsx +52 -0
- package/src/components/Loading/index.ts +5 -0
- package/src/components/MeritBadgeDisplayCard/AlignmentRow.tsx +26 -0
- package/src/components/MeritBadgeDisplayCard/AlignmentsBox.tsx +70 -0
- package/src/components/MeritBadgeDisplayCard/InfoBox.tsx +30 -0
- package/src/components/MeritBadgeDisplayCard/MediaAttachmentsBox.tsx +347 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeBackFace.tsx +130 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeCornerIcon.tsx +46 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeDisplayCard.tsx +177 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeFrontFace.tsx +292 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeImageDisplay.tsx +22 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeProfileImageDisplay.test.tsx +70 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeProfileImageDisplay.tsx +66 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeRibbon.tsx +185 -0
- package/src/components/MeritBadgeDisplayCard/MeritBadgeSkillsCount.tsx +47 -0
- package/src/components/MeritBadgeDisplayCard/TruncateTextBox.tsx +73 -0
- package/src/components/MeritBadgeDisplayCard/VerificationRow.tsx +67 -0
- package/src/components/MeritBadgeDisplayCard/VerificationsBox.tsx +44 -0
- package/src/components/MeritBadgeDisplayCard/VerifierStateBadgeAndText.tsx +57 -0
- package/src/components/MeritBadgeDisplayCard/index.ts +20 -0
- package/src/components/MiniVCThumbnail/ MiniVCThumbnail.css +18 -0
- package/src/components/MiniVCThumbnail/ MiniVCThumbnail.stories.tsx +24 -0
- package/src/components/MiniVCThumbnail/MiniVCThumbnail.tsx +83 -0
- package/src/components/MiniVCThumbnail/__tests__/MiniVCThumbnail.test.tsx +59 -0
- package/src/components/MiniVCThumbnail/index.ts +6 -0
- package/src/components/MiniVCThumbnail/types.ts +32 -0
- package/src/components/Notification/Notification.stories.tsx +25 -0
- package/src/components/Notification/Notification.tsx +115 -0
- package/src/components/Notification/__tests__/Notification.test.tsx +111 -0
- package/src/components/Notification/index.ts +6 -0
- package/src/components/Notification/types.ts +97 -0
- package/src/components/NotificationBoostCard/NotificationBoostCard.stories.tsx +54 -0
- package/src/components/NotificationBoostCard/NotificationBoostCard.tsx +153 -0
- package/src/components/NotificationBoostCard/index.ts +6 -0
- package/src/components/NotificationBoostCard/types.ts +25 -0
- package/src/components/NotificationUserAcceptedBoostCard/NotificationUserAcceptedBoostCard.stories.tsx +28 -0
- package/src/components/NotificationUserAcceptedBoostCard/NotificationUserAcceptedBoostCard.tsx +96 -0
- package/src/components/NotificationUserAcceptedBoostCard/index.ts +6 -0
- package/src/components/NotificationUserAcceptedBoostCard/types.ts +13 -0
- package/src/components/NotificationUserCard/NotificationUserCard.stories.tsx +26 -0
- package/src/components/NotificationUserCard/NotificationUserCard.tsx +121 -0
- package/src/components/NotificationUserCard/index.ts +6 -0
- package/src/components/NotificationUserCard/types.ts +43 -0
- package/src/components/QRCodeCard/QRCodeCard.stories.tsx +26 -0
- package/src/components/QRCodeCard/QRCodeCard.tsx +54 -0
- package/src/components/QRCodeCard/__tests__/QRCodeCard.test.tsx +31 -0
- package/src/components/QRCodeCard/index.ts +6 -0
- package/src/components/QRCodeCard/types.ts +22 -0
- package/src/components/RoundedPill/RoundedPill.stories.tsx +21 -0
- package/src/components/RoundedPill/RoundedPill.tsx +137 -0
- package/src/components/RoundedPill/index.ts +5 -0
- package/src/components/RoundedSquare/RoundedSquare.stories.tsx +28 -0
- package/src/components/RoundedSquare/RoundedSquare.tsx +69 -0
- package/src/components/RoundedSquare/__tests__/RoundedSquare.test.tsx +35 -0
- package/src/components/RoundedSquare/constants.ts +63 -0
- package/src/components/RoundedSquare/index.ts +6 -0
- package/src/components/RoundedSquare/roudnedquarenew +0 -0
- package/src/components/SchoolIdCard/SchoolIDCard.stories.tsx +30 -0
- package/src/components/SchoolIdCard/SchoolIDCard.tsx +81 -0
- package/src/components/SchoolIdCard/index.ts +6 -0
- package/src/components/SchoolIdCard/types.ts +42 -0
- package/src/components/SkillTabCard/SkillTabCard.stories.tsx +25 -0
- package/src/components/SkillTabCard/SkillTabCard.tsx +44 -0
- package/src/components/SkillTabCard/index.ts +5 -0
- package/src/components/SkillVerticalCard/SkillVerticalCard.stories.tsx +20 -0
- package/src/components/SkillVerticalCard/SkillVerticalCard.tsx +32 -0
- package/src/components/SkillVerticalCard/index.ts +5 -0
- package/src/components/SkillsCard/SkillsCard.stories.tsx +24 -0
- package/src/components/SkillsCard/SkillsCard.tsx +68 -0
- package/src/components/SkillsCard/index.ts +5 -0
- package/src/components/SkillsStatsCard/SkillsStatsCard.stories.tsx +63 -0
- package/src/components/SkillsStatsCard/SkillsStatsCard.tsx +92 -0
- package/src/components/SkillsStatsCard/index.ts +5 -0
- package/src/components/SmallAchievementCard/SmallAchievementCard.stories.tsx +23 -0
- package/src/components/SmallAchievementCard/SmallAchievementCard.tsx +50 -0
- package/src/components/SmallAchievementCard/index.ts +5 -0
- package/src/components/UserProfilePicture/UserProfilePicture.test.tsx +44 -0
- package/src/components/UserProfilePicture/UserProfilePicture.tsx +119 -0
- package/src/components/UserProfilePicture/index.ts +5 -0
- package/src/components/VCCard/VCCard.stories.tsx +64 -0
- package/src/components/VCCard/VCCard.tsx +84 -0
- package/src/components/VCCard/index.ts +5 -0
- package/src/components/VCDisplayBackFace/VCDisplayBackFace.tsx +112 -0
- package/src/components/VCDisplayBackFace/index.ts +5 -0
- package/src/components/VCDisplayCard/VCDisplayCard.stories.tsx +167 -0
- package/src/components/VCDisplayCard/VCDisplayCard.tsx +98 -0
- package/src/components/VCDisplayCard/index.ts +5 -0
- package/src/components/VCDisplayCard2/FitText.tsx +85 -0
- package/src/components/VCDisplayCard2/InfoBox.tsx +30 -0
- package/src/components/VCDisplayCard2/IssueHistoryBox.tsx +50 -0
- package/src/components/VCDisplayCard2/MediaAttachmentsBox.tsx +306 -0
- package/src/components/VCDisplayCard2/RibbonEnd.tsx +67 -0
- package/src/components/VCDisplayCard2/SelectedSkills.tsx +70 -0
- package/src/components/VCDisplayCard2/SkillsBox.tsx +53 -0
- package/src/components/VCDisplayCard2/Subskill.tsx +50 -0
- package/src/components/VCDisplayCard2/TopLevelSkill.tsx +63 -0
- package/src/components/VCDisplayCard2/TruncateTextBox.tsx +89 -0
- package/src/components/VCDisplayCard2/VC2BackFace.tsx +185 -0
- package/src/components/VCDisplayCard2/VC2FrontFaceInfo.tsx +279 -0
- package/src/components/VCDisplayCard2/VCDisplayCard2.stories.tsx +191 -0
- package/src/components/VCDisplayCard2/VCDisplayCard2.tsx +526 -0
- package/src/components/VCDisplayCard2/VCDisplayCard2AvatarFallbacks.stories.tsx +312 -0
- package/src/components/VCDisplayCard2/VCDisplayCardCategoryType.tsx +19 -0
- package/src/components/VCDisplayCard2/VCDisplayCardSkillsCount.tsx +46 -0
- package/src/components/VCDisplayCard2/VCIDDIsplayCard.tsx +159 -0
- package/src/components/VCDisplayCard2/VCIDDisplayFrontFace.tsx +213 -0
- package/src/components/VCDisplayCard2/VerificationRow.tsx +69 -0
- package/src/components/VCDisplayCard2/VerificationsBox.tsx +44 -0
- package/src/components/VCDisplayCard2/__tests__/VC2FrontFaceInfo.test.tsx +134 -0
- package/src/components/VCDisplayCard2/index.ts +23 -0
- package/src/components/VCDisplayFrontFace/VCDisplayFrontFace.tsx +143 -0
- package/src/components/VCDisplayFrontFace/index.ts +5 -0
- package/src/components/VCThumbnail/VCThumbnail.stories.tsx +32 -0
- package/src/components/VCThumbnail/VCThumbnail.tsx +182 -0
- package/src/components/VCThumbnail/__tests__/VCThumbnail.test.tsx +114 -0
- package/src/components/VCThumbnail/index.ts +6 -0
- package/src/components/VCThumbnail/types.ts +46 -0
- package/src/components/VCVerificationCheck/VCVerificationCheck.tsx +89 -0
- package/src/components/VCVerificationCheck/index.ts +5 -0
- package/src/components/VCVerificationPill/VCVerificationPill.tsx +85 -0
- package/src/components/VCVerificationPill/index.ts +5 -0
- package/src/components/index.ts +48 -0
- package/src/components/svgs/AccommodationsIcon.tsx +38 -0
- package/src/components/svgs/AccomplishmentsIcon.tsx +34 -0
- package/src/components/svgs/AchievementWithTitle.tsx +137 -0
- package/src/components/svgs/AcuteCheckmark.tsx +25 -0
- package/src/components/svgs/AwardDisplayIcon.tsx +37 -0
- package/src/components/svgs/AwardRibbon.tsx +29 -0
- package/src/components/svgs/BadgeDisplayIcon.tsx +31 -0
- package/src/components/svgs/Briefcase.tsx +48 -0
- package/src/components/svgs/Camera.tsx +25 -0
- package/src/components/svgs/CertificateDisplayIcon.tsx +56 -0
- package/src/components/svgs/Checkmark.tsx +59 -0
- package/src/components/svgs/CircleWithText.tsx +36 -0
- package/src/components/svgs/Coins.tsx +14 -0
- package/src/components/svgs/CourseDisplayIcon.tsx +43 -0
- package/src/components/svgs/DownRightArrow.tsx +29 -0
- package/src/components/svgs/ExclamationPoint.tsx +25 -0
- package/src/components/svgs/ExperienceIcon.tsx +34 -0
- package/src/components/svgs/FatArrow.tsx +44 -0
- package/src/components/svgs/GenericArrow.tsx +29 -0
- package/src/components/svgs/GenericDocumentIcon.tsx +26 -0
- package/src/components/svgs/Graduation.tsx +24 -0
- package/src/components/svgs/IDDisplayIcon.tsx +63 -0
- package/src/components/svgs/IDIcon.tsx +59 -0
- package/src/components/svgs/IDSleeve.tsx +21 -0
- package/src/components/svgs/InfoIcon.tsx +26 -0
- package/src/components/svgs/IssuerSeal.tsx +26 -0
- package/src/components/svgs/KeyIcon.tsx +31 -0
- package/src/components/svgs/LeftArrow.tsx +27 -0
- package/src/components/svgs/Lightbulb.tsx +14 -0
- package/src/components/svgs/Line.tsx +22 -0
- package/src/components/svgs/LinkIcon.tsx +35 -0
- package/src/components/svgs/PdfIcon.tsx +38 -0
- package/src/components/svgs/PersonBadge.tsx +55 -0
- package/src/components/svgs/PuzzlePiece.tsx +89 -0
- package/src/components/svgs/QRCodeIcon.tsx +21 -0
- package/src/components/svgs/RedFlag.tsx +41 -0
- package/src/components/svgs/RoundedCorner.tsx +28 -0
- package/src/components/svgs/RoundedX.tsx +35 -0
- package/src/components/svgs/ScoutsLogo.tsx +41 -0
- package/src/components/svgs/ScoutsPledge.tsx +33 -0
- package/src/components/svgs/ShieldChevron.tsx +24 -0
- package/src/components/svgs/Smiley.tsx +43 -0
- package/src/components/svgs/SocialBadgesIcon.tsx +43 -0
- package/src/components/svgs/ThreeDotVertical.tsx +41 -0
- package/src/components/svgs/Trophy.tsx +25 -0
- package/src/components/svgs/UnknownVerifierBadge.tsx +25 -0
- package/src/components/svgs/User.tsx +34 -0
- package/src/components/svgs/VerifiedBadge.tsx +37 -0
- package/src/components/svgs/VideoIcon.tsx +28 -0
- package/src/components/svgs/X.tsx +35 -0
- package/src/components/svgs/index.ts +54 -0
- package/src/constants/icons.ts +87 -0
- package/src/constants/index.ts +109 -0
- package/src/constants/notifications.ts +14 -0
- package/src/constants/skills.ts +2202 -0
- package/src/declaration.d.ts +21 -0
- package/src/helpers/__tests__/credentialFormat.helpers.test.ts +100 -0
- package/src/helpers/color.helpers.ts +35 -0
- package/src/helpers/credential.helpers.test.ts +108 -0
- package/src/helpers/credential.helpers.tsx +249 -0
- package/src/helpers/credentialFormat.helpers.ts +68 -0
- package/src/helpers/did-display.helpers.ts +230 -0
- package/src/helpers/display.helpers.ts +53 -0
- package/src/helpers/string.helpers.ts +7 -0
- package/src/helpers/test.helpers.ts +680 -0
- package/src/helpers/url.helpers.ts +3 -0
- package/src/helpers/useHorizontalPages.ts +130 -0
- package/src/helpers/useOnMomentumScrollEnd.ts +28 -0
- package/src/helpers/useScrollBorders.ts +59 -0
- package/src/helpers/video.helpers.ts +125 -0
- package/src/hooks/useCredentialFormat.tsx +23 -0
- package/src/hooks/useParsedSdJwtVc.tsx +64 -0
- package/src/index.ts +16 -0
- package/src/types/index.ts +390 -0
- package/LICENSE +0 -21
- package/dist/cjs/SchoolIDCard-e22d0d80.js.map +0 -1
- package/dist/cjs/VCDisplayCard2-6c87eade.js.map +0 -1
- package/dist/cjs/VerifierStateBadgeAndText-5229da1a.js.map +0 -1
- package/dist/cjs/credential.helpers-473e89c5.js.map +0 -1
- package/dist/cjs/index-0cac2c5b.js.map +0 -1
- package/dist/cjs/types.esm-12bb5eed.js.map +0 -1
- package/dist/esm/SchoolIDCard-8b151cd3.js.map +0 -1
- package/dist/esm/VCDisplayCard2-c6a81e42.js.map +0 -1
- package/dist/esm/VerifierStateBadgeAndText-6946e820.js.map +0 -1
- package/dist/esm/credential.helpers-ff461699.js.map +0 -1
- package/dist/esm/index-2ef835bd.js.map +0 -1
- package/dist/esm/index-eae3ca64.js.map +0 -1
- package/dist/esm/types.esm-f32fc00a.js.map +0 -1
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VerificationItem,
|
|
3
|
+
AchievementCredential,
|
|
4
|
+
Profile,
|
|
5
|
+
CredentialSubject,
|
|
6
|
+
VC,
|
|
7
|
+
} from '@learncard/types';
|
|
8
|
+
import React, { ReactNode } from 'react';
|
|
9
|
+
import { DisplayTypeEnum } from '../helpers/display.helpers';
|
|
10
|
+
|
|
11
|
+
export enum Icons {
|
|
12
|
+
coinsIcon,
|
|
13
|
+
userIcon,
|
|
14
|
+
trophyIcon,
|
|
15
|
+
briefcaseIcon,
|
|
16
|
+
graduationIcon,
|
|
17
|
+
lightbulbIcon,
|
|
18
|
+
gradcaplight,
|
|
19
|
+
trophylight,
|
|
20
|
+
puzzlelight,
|
|
21
|
+
award,
|
|
22
|
+
keyIcon,
|
|
23
|
+
|
|
24
|
+
// new icons
|
|
25
|
+
coursesIcon,
|
|
26
|
+
socialBagesIcon,
|
|
27
|
+
achievementsIcon,
|
|
28
|
+
accomplishmentsIcon,
|
|
29
|
+
skillsIcon,
|
|
30
|
+
experiencesIcon,
|
|
31
|
+
relationshipsIcon,
|
|
32
|
+
accommodationsIcon,
|
|
33
|
+
membershipsIcon,
|
|
34
|
+
goalsIcon,
|
|
35
|
+
eventsIcon,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export enum LCCategoryEnum {
|
|
39
|
+
socialBadge = 'Social Badge',
|
|
40
|
+
achievement = 'Achievement',
|
|
41
|
+
course = 'Course',
|
|
42
|
+
job = 'Job',
|
|
43
|
+
id = 'ID',
|
|
44
|
+
workHistory = 'Work History',
|
|
45
|
+
currency = 'Currency',
|
|
46
|
+
learningHistory = 'Learning History',
|
|
47
|
+
skill = 'Skill',
|
|
48
|
+
membership = 'Membership',
|
|
49
|
+
event = 'Event',
|
|
50
|
+
|
|
51
|
+
accommodations = 'Accommodation',
|
|
52
|
+
accomplishments = 'Accomplishment',
|
|
53
|
+
|
|
54
|
+
meritBadge = 'Merit Badge',
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export enum LCSubtypes {
|
|
58
|
+
job = 'job',
|
|
59
|
+
achievement = 'achievement',
|
|
60
|
+
skill = 'skill',
|
|
61
|
+
course = 'course',
|
|
62
|
+
locked = 'locked',
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// courses(learningHistory - ladder), social badges, achievements, accomplishments,
|
|
66
|
+
// skills, experiences, relationships, accommodations
|
|
67
|
+
// todo - memberships, goals
|
|
68
|
+
// deprecated - ids, currency
|
|
69
|
+
export enum WalletCategoryTypes {
|
|
70
|
+
achievements = 'achievements',
|
|
71
|
+
jobHistory = 'jobhistory',
|
|
72
|
+
learningHistory = 'learningHistory',
|
|
73
|
+
skills = 'skills',
|
|
74
|
+
socialBadge = 'socialBadge',
|
|
75
|
+
|
|
76
|
+
// new
|
|
77
|
+
relationships = 'relationships',
|
|
78
|
+
accommodations = 'accommodations',
|
|
79
|
+
accomplishments = 'accomplishments',
|
|
80
|
+
events = 'events',
|
|
81
|
+
|
|
82
|
+
// todo
|
|
83
|
+
membership = 'membership',
|
|
84
|
+
goals = 'goals',
|
|
85
|
+
|
|
86
|
+
// deprecated
|
|
87
|
+
ids = 'ids',
|
|
88
|
+
currency = 'currency',
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type CredentialInfo = {
|
|
92
|
+
title?: string;
|
|
93
|
+
imageUrl?: string;
|
|
94
|
+
createdAt?: string;
|
|
95
|
+
issuer?: Profile;
|
|
96
|
+
issuee?: Profile;
|
|
97
|
+
credentialSubject?: CredentialSubject;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export type VCDisplayCardProps = {
|
|
101
|
+
title?: string;
|
|
102
|
+
createdAt?: string;
|
|
103
|
+
issuer?: Profile;
|
|
104
|
+
issuee?: Profile;
|
|
105
|
+
subjectImageComponent?: React.ReactNode;
|
|
106
|
+
issuerImageComponent?: React.ReactNode;
|
|
107
|
+
hideProfileBubbles?: boolean;
|
|
108
|
+
userImage?: string;
|
|
109
|
+
className?: string;
|
|
110
|
+
credentialSubject?: CredentialSubject;
|
|
111
|
+
onClick?: () => void;
|
|
112
|
+
loading?: boolean;
|
|
113
|
+
verification?: VerificationItem[];
|
|
114
|
+
handleClick?: () => void;
|
|
115
|
+
overrideDetailsComponent?: React.ReactNode;
|
|
116
|
+
overrideCardTitle?: string;
|
|
117
|
+
overrideCardImageComponent?: React.ReactNode;
|
|
118
|
+
customHeaderComponent?: React.ReactNode;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export type RoundedSquareProps = {
|
|
122
|
+
title?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
iconSrc?: string;
|
|
125
|
+
count?: string | number;
|
|
126
|
+
onClick?: () => void;
|
|
127
|
+
bgColor?: string;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export type SmallAchievementCardProps = {
|
|
131
|
+
title?: string;
|
|
132
|
+
thumbImgSrc?: string;
|
|
133
|
+
showStatus?: boolean;
|
|
134
|
+
showSkills?: boolean;
|
|
135
|
+
date?: string;
|
|
136
|
+
onClick?: () => void;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type AchievementCardProps = {
|
|
140
|
+
title?: string;
|
|
141
|
+
thumbImgSrc?: string;
|
|
142
|
+
showStatus?: boolean;
|
|
143
|
+
claimStatus?: boolean;
|
|
144
|
+
showSkills?: boolean;
|
|
145
|
+
skillCount?: number;
|
|
146
|
+
showChecked?: boolean;
|
|
147
|
+
checked?: boolean;
|
|
148
|
+
onCheckClick?: () => void;
|
|
149
|
+
onClick?: () => void;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export type CourseCardProps = {
|
|
153
|
+
status?: string;
|
|
154
|
+
title?: string;
|
|
155
|
+
semester?: string;
|
|
156
|
+
skillCount?: string | number;
|
|
157
|
+
thumbSrc?: string;
|
|
158
|
+
jobCount?: string | number;
|
|
159
|
+
className?: string;
|
|
160
|
+
hideHeader?: boolean;
|
|
161
|
+
check?: boolean;
|
|
162
|
+
achievementCount: string | number;
|
|
163
|
+
onClick?: () => void;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export type CourseCardVerticalProps = {
|
|
167
|
+
title?: string;
|
|
168
|
+
className?: string;
|
|
169
|
+
thumbImgSrc?: string;
|
|
170
|
+
showStatus?: boolean;
|
|
171
|
+
claimStatus?: boolean;
|
|
172
|
+
achievementCount?: number;
|
|
173
|
+
skillCount?: number;
|
|
174
|
+
date?: string;
|
|
175
|
+
checked?: boolean;
|
|
176
|
+
showChecked?: boolean;
|
|
177
|
+
showSubCount?: boolean;
|
|
178
|
+
onCheckClick?: () => void;
|
|
179
|
+
onClick?: () => void;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type SkillsCardProps = {
|
|
183
|
+
count?: number;
|
|
184
|
+
title?: string;
|
|
185
|
+
level?: string;
|
|
186
|
+
category?: string;
|
|
187
|
+
levelCount?: number;
|
|
188
|
+
skillColor?: string;
|
|
189
|
+
onClick?: () => void;
|
|
190
|
+
className?: string;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export type SkillStat = {
|
|
194
|
+
name?: string;
|
|
195
|
+
percent: number | string;
|
|
196
|
+
className?: string;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export type SkillsStatsCardProps = {
|
|
200
|
+
totalCount?: string | number;
|
|
201
|
+
skills?: SkillStat[];
|
|
202
|
+
className?: string;
|
|
203
|
+
onClick?: () => void;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export type SkillVerticalCardProps = {
|
|
207
|
+
title: string;
|
|
208
|
+
completed?: number;
|
|
209
|
+
total?: number;
|
|
210
|
+
thumbImg?: string;
|
|
211
|
+
onClick?: () => void;
|
|
212
|
+
className?: string;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export type RoundedPillProps = {
|
|
216
|
+
statusText?: string;
|
|
217
|
+
type?: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill | 'locked';
|
|
218
|
+
onClick?: () => void;
|
|
219
|
+
showCheckmark?: boolean;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export type JobQualificationsCount = {
|
|
223
|
+
fulfilledCount: number;
|
|
224
|
+
totalRequiredCount: number;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
export type JobQualificationDisplay = {
|
|
228
|
+
skills?: JobQualificationsCount;
|
|
229
|
+
achievements?: JobQualificationsCount;
|
|
230
|
+
courses?: JobQualificationsCount;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
export type JobListCardProps = {
|
|
234
|
+
title?: string;
|
|
235
|
+
customButtonComponent?: React.ReactNode;
|
|
236
|
+
company?: string;
|
|
237
|
+
compensation?: string;
|
|
238
|
+
location?: string;
|
|
239
|
+
locationRequirement?: string;
|
|
240
|
+
timeRequirement?: string;
|
|
241
|
+
qualificationDisplay?: JobQualificationDisplay;
|
|
242
|
+
percentQualifiedDisplay?: string;
|
|
243
|
+
postDateDisplay?: string;
|
|
244
|
+
imgThumb?: string;
|
|
245
|
+
isBookmarked?: boolean;
|
|
246
|
+
className?: string;
|
|
247
|
+
onBookmark?: () => void;
|
|
248
|
+
onClick?: () => void;
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
export type LearnPillProps = {
|
|
252
|
+
count: number | string;
|
|
253
|
+
type: LCSubtypes.course | LCSubtypes.achievement | LCSubtypes.skill;
|
|
254
|
+
className?: string;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export type CircleCheckButtonProps = {
|
|
258
|
+
onClick?: () => void;
|
|
259
|
+
className?: string;
|
|
260
|
+
bgColor?: string;
|
|
261
|
+
checked?: boolean;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
export type SkillTabCardProps = {
|
|
265
|
+
title?: string;
|
|
266
|
+
description?: string;
|
|
267
|
+
checked?: boolean;
|
|
268
|
+
showChecked?: boolean;
|
|
269
|
+
showStatus?: boolean;
|
|
270
|
+
className?: string;
|
|
271
|
+
onCheckClicked?: () => void;
|
|
272
|
+
onClick?: () => void;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export type JobHistoryCardProps = {
|
|
276
|
+
title?: string;
|
|
277
|
+
company?: string;
|
|
278
|
+
description?: string;
|
|
279
|
+
dateRange?: string;
|
|
280
|
+
jobType?: string;
|
|
281
|
+
className?: string;
|
|
282
|
+
showArrow?: boolean;
|
|
283
|
+
onClick?: () => void;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type GenericCardProps = {
|
|
287
|
+
title?: string;
|
|
288
|
+
className?: string;
|
|
289
|
+
type?: WalletCategoryTypes;
|
|
290
|
+
thumbImgSrc?: string;
|
|
291
|
+
customThumbClass?: string;
|
|
292
|
+
customHeaderClass?: string;
|
|
293
|
+
showChecked?: boolean;
|
|
294
|
+
checkStatus?: boolean;
|
|
295
|
+
onClick?: () => void;
|
|
296
|
+
flipped?: boolean;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export type IssueHistory = {
|
|
300
|
+
id?: string | number;
|
|
301
|
+
name?: string;
|
|
302
|
+
thumb?: string;
|
|
303
|
+
date?: string;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
export type BoostSmallCardProps = {
|
|
307
|
+
title?: string;
|
|
308
|
+
customTitle?: React.ReactNode | string | null;
|
|
309
|
+
className?: string;
|
|
310
|
+
type?: WalletCategoryTypes;
|
|
311
|
+
thumbImgSrc?: string;
|
|
312
|
+
customThumbClass?: string;
|
|
313
|
+
customHeaderClass?: string;
|
|
314
|
+
customBodyClass?: string;
|
|
315
|
+
showChecked?: boolean;
|
|
316
|
+
checkStatus?: boolean;
|
|
317
|
+
customButtonComponent?: React.ReactNode;
|
|
318
|
+
customThumbComponent?: React.ReactNode;
|
|
319
|
+
customBodyComponent?: React.ReactNode;
|
|
320
|
+
customDraftComponent?: React.ReactNode;
|
|
321
|
+
arrowOnClick?: () => void;
|
|
322
|
+
buttonOnClick?: () => void;
|
|
323
|
+
onCheckClick?: () => void;
|
|
324
|
+
innerOnClick?: () => void;
|
|
325
|
+
optionsTriggerOnClick?: () => void;
|
|
326
|
+
issueHistory?: IssueHistory[];
|
|
327
|
+
bgImgSrc?: string;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
export type BoostGenericCardProps = {
|
|
331
|
+
title?: string;
|
|
332
|
+
customTitle?: React.ReactNode | string | null;
|
|
333
|
+
className?: string;
|
|
334
|
+
type?: WalletCategoryTypes;
|
|
335
|
+
thumbImgSrc?: string;
|
|
336
|
+
customThumbClass?: string;
|
|
337
|
+
customHeaderClass?: string;
|
|
338
|
+
showChecked?: boolean;
|
|
339
|
+
checkStatus?: boolean;
|
|
340
|
+
onCheckClick?: () => void;
|
|
341
|
+
customThumbComponent?: React.ReactNode;
|
|
342
|
+
innerOnClick?: () => void;
|
|
343
|
+
bgImgSrc?: string;
|
|
344
|
+
issuerName?: string;
|
|
345
|
+
customIssuerName?: React.ReactNode | string | null;
|
|
346
|
+
optionsTriggerOnClick?: () => void;
|
|
347
|
+
dateDisplay?: string;
|
|
348
|
+
customDateDisplay?: React.ReactNode | string | null;
|
|
349
|
+
verifierBadge?: React.ReactNode;
|
|
350
|
+
credential?: VC;
|
|
351
|
+
isInSkillsModal?: boolean;
|
|
352
|
+
displayType?: DisplayTypeEnum | string;
|
|
353
|
+
linkedCredentialsCount?: number;
|
|
354
|
+
linkedCredentialsClassName?: string;
|
|
355
|
+
checkBtnClass?: string;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
export type Attachment = {
|
|
359
|
+
title: string;
|
|
360
|
+
url: string;
|
|
361
|
+
type: 'photo' | 'document' | 'video' | 'link';
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
export type BoostAchievementCredential = AchievementCredential & {
|
|
365
|
+
display?: { backgroundImage?: string; backgroundColor?: string };
|
|
366
|
+
image: string;
|
|
367
|
+
attachments: Attachment[];
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
export type MediaMetadata = {
|
|
371
|
+
fileExtension?: string;
|
|
372
|
+
sizeInBytes?: number;
|
|
373
|
+
numberOfPages?: number;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
export type VideoMetadata = {
|
|
377
|
+
title?: string;
|
|
378
|
+
videoLength?: string;
|
|
379
|
+
imageUrl?: string;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
export type KnownDIDRegistryType = {
|
|
383
|
+
source: string;
|
|
384
|
+
results:
|
|
385
|
+
| {
|
|
386
|
+
matchingIssuers: any[];
|
|
387
|
+
uncheckedRegistries: any[];
|
|
388
|
+
}
|
|
389
|
+
| {};
|
|
390
|
+
};
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Learning Economy Foundation <sdk@learningeconomy.io>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|