@learncard/react 2.7.5 → 2.7.7

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.
Files changed (56) hide show
  1. package/dist/cjs/{CertificateDisplayCard-8ded38ec.js → CertificateDisplayCard-67970993.js} +5 -5
  2. package/dist/{esm/CertificateDisplayCard-3b19363c.js.map → cjs/CertificateDisplayCard-67970993.js.map} +1 -1
  3. package/dist/cjs/{VCCard-72db0270.js → VCCard-6a5c1b74.js} +4 -4
  4. package/dist/cjs/{VCCard-72db0270.js.map → VCCard-6a5c1b74.js.map} +1 -1
  5. package/dist/cjs/{VCDisplayBackFace-a3cd6ad2.js → VCDisplayBackFace-dc2d4cd8.js} +3 -3
  6. package/dist/cjs/{VCDisplayBackFace-a3cd6ad2.js.map → VCDisplayBackFace-dc2d4cd8.js.map} +1 -1
  7. package/dist/cjs/{VCDisplayCard-f0783ca4.js → VCDisplayCard-738d9e74.js} +3 -3
  8. package/dist/cjs/{VCDisplayCard-f0783ca4.js.map → VCDisplayCard-738d9e74.js.map} +1 -1
  9. package/dist/cjs/{VCDisplayCard2-6c386dbd.js → VCDisplayCard2-4748c924.js} +4 -4
  10. package/dist/cjs/VCDisplayCard2-4748c924.js.map +1 -0
  11. package/dist/cjs/{VCVerificationPill-43201cac.js → VCVerificationPill-fb2ad16b.js} +2 -2
  12. package/dist/cjs/{VCVerificationPill-43201cac.js.map → VCVerificationPill-fb2ad16b.js.map} +1 -1
  13. package/dist/cjs/{credential.helpers-ccf9ea86.js → credential.helpers-07221424.js} +2 -2
  14. package/dist/cjs/{credential.helpers-ccf9ea86.js.map → credential.helpers-07221424.js.map} +1 -1
  15. package/dist/cjs/index.js +8 -8
  16. package/dist/cjs/index13.js +8 -8
  17. package/dist/cjs/index36.js +8 -8
  18. package/dist/cjs/index37.js +4 -4
  19. package/dist/cjs/index38.js +5 -5
  20. package/dist/cjs/index39.js +4 -4
  21. package/dist/cjs/index40.js +1 -1
  22. package/dist/cjs/index43.js +2 -2
  23. package/dist/cjs/index6.js +3 -3
  24. package/dist/cjs/{types.esm-2ec4fa7e.js → types.esm-e15a100d.js} +9 -3
  25. package/dist/cjs/types.esm-e15a100d.js.map +1 -0
  26. package/dist/esm/{CertificateDisplayCard-3b19363c.js → CertificateDisplayCard-59dd435e.js} +5 -5
  27. package/dist/{cjs/CertificateDisplayCard-8ded38ec.js.map → esm/CertificateDisplayCard-59dd435e.js.map} +1 -1
  28. package/dist/esm/{VCCard-b98daea4.js → VCCard-ac8f4fe5.js} +4 -4
  29. package/dist/esm/{VCCard-b98daea4.js.map → VCCard-ac8f4fe5.js.map} +1 -1
  30. package/dist/esm/{VCDisplayBackFace-1a581f1c.js → VCDisplayBackFace-d7597ab2.js} +3 -3
  31. package/dist/esm/{VCDisplayBackFace-1a581f1c.js.map → VCDisplayBackFace-d7597ab2.js.map} +1 -1
  32. package/dist/esm/{VCDisplayCard-ac914ce3.js → VCDisplayCard-0593b168.js} +3 -3
  33. package/dist/esm/{VCDisplayCard-ac914ce3.js.map → VCDisplayCard-0593b168.js.map} +1 -1
  34. package/dist/esm/{VCDisplayCard2-55b4930f.js → VCDisplayCard2-b00aa398.js} +4 -4
  35. package/dist/esm/VCDisplayCard2-b00aa398.js.map +1 -0
  36. package/dist/esm/{VCVerificationPill-3e38a718.js → VCVerificationPill-7e5c5fbe.js} +2 -2
  37. package/dist/esm/{VCVerificationPill-3e38a718.js.map → VCVerificationPill-7e5c5fbe.js.map} +1 -1
  38. package/dist/esm/{credential.helpers-c06a1aa8.js → credential.helpers-e8fe0001.js} +2 -2
  39. package/dist/esm/{credential.helpers-c06a1aa8.js.map → credential.helpers-e8fe0001.js.map} +1 -1
  40. package/dist/esm/index.js +8 -8
  41. package/dist/esm/index13.js +8 -8
  42. package/dist/esm/index36.js +8 -8
  43. package/dist/esm/index37.js +4 -4
  44. package/dist/esm/index38.js +5 -5
  45. package/dist/esm/index39.js +4 -4
  46. package/dist/esm/index40.js +1 -1
  47. package/dist/esm/index43.js +2 -2
  48. package/dist/esm/index6.js +3 -3
  49. package/dist/esm/{types.esm-8f6a5623.js → types.esm-099d2f24.js} +9 -3
  50. package/dist/esm/types.esm-099d2f24.js.map +1 -0
  51. package/dist/index.d.ts +62 -62
  52. package/package.json +2 -3
  53. package/dist/cjs/VCDisplayCard2-6c386dbd.js.map +0 -1
  54. package/dist/cjs/types.esm-2ec4fa7e.js.map +0 -1
  55. package/dist/esm/VCDisplayCard2-55b4930f.js.map +0 -1
  56. package/dist/esm/types.esm-8f6a5623.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import React, { useState, useEffect } from 'react';
2
- import { g as getTotalCountOfSkills, c as categorizeSkills, a as getColorForVerificationStatus, b as getInfoFromCredential, d as getCategoryDarkColor, e as getCategoryLightColor, f as getCategoryIcon, h as getNameFromProfile, i as getImageFromProfile } from './credential.helpers-c06a1aa8.js';
2
+ import { g as getTotalCountOfSkills, c as categorizeSkills, a as getColorForVerificationStatus, b as getInfoFromCredential, d as getCategoryDarkColor, e as getCategoryLightColor, f as getCategoryIcon, h as getNameFromProfile, i as getImageFromProfile } from './credential.helpers-e8fe0001.js';
3
3
  import { P as PuzzlePiece } from './PuzzlePiece-1fb12c2e.js';
4
4
  import { a as LCCategoryEnum } from './index-43f63ea7.js';
5
- import { V as VerificationStatusEnum } from './types.esm-8f6a5623.js';
5
+ import { V as VerificationStatusEnum } from './types.esm-099d2f24.js';
6
6
  import CaretRightFilled from './CaretRightFilled.svg';
7
7
  import { L as Lightbox } from './Lightbox-a1aab9ea.js';
8
8
  import Athletics from './athletics.svg';
@@ -3037,9 +3037,9 @@ const CertificateFrontFace = ({
3037
3037
  className: "text-[14px] text-grayscale-800 flex flex-col items-center w-full"
3038
3038
  }, /* @__PURE__ */ React.createElement("span", {
3039
3039
  className: "font-jacques flex gap-[5px] items-center w-full overflow-ellipsis whitespace-nowrap overflow-hidden justify-center"
3040
- }, "Awarded to ", issueeName || /* @__PURE__ */ React.createElement(Line, {
3040
+ }, issueeName === "0 person" ? "Not yet awarded" : /* @__PURE__ */ React.createElement(React.Fragment, null, "Awarded to ", issueeName || /* @__PURE__ */ React.createElement(Line, {
3041
3041
  width: "60"
3042
- })), !hideIssueDate && /* @__PURE__ */ React.createElement("span", {
3042
+ }))), !hideIssueDate && /* @__PURE__ */ React.createElement("span", {
3043
3043
  className: "font-jacques"
3044
3044
  }, "on ", createdAt)), /* @__PURE__ */ React.createElement("div", {
3045
3045
  className: "flex flex-col gap-[10px] items-center"
@@ -3162,4 +3162,4 @@ const CertificateDisplayCard = ({
3162
3162
  };
3163
3163
 
3164
3164
  export { AcuteCheckmark as A, CertDisplayCardSkillsCount as C, ExclamationPoint as E, GenericDocumentIcon as G, InfoIcon as I, LinkIcon as L, PersonBadge as P, RedFlag as R, SelectedSkills as S, UnknownVerifierBadge as U, VERIFIER_STATES as V, X, CertificateBackFace as a, CertificateDisplayCard as b, CertificateFrontFace as c, VideoIcon as d, Camera as e, capitalize as f, getBaseUrl as g, LeftArrow as h, SkillsBox as i, AlignmentsBox as j, VerifierStateBadgeAndText as k, VerifiedBadge as l, prettyBytes as p, truncateWithEllipsis as t };
3165
- //# sourceMappingURL=CertificateDisplayCard-3b19363c.js.map
3165
+ //# sourceMappingURL=CertificateDisplayCard-59dd435e.js.map