@learncard/react 2.12.11 → 3.0.0

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 (269) hide show
  1. package/README.md +23 -5
  2. package/dist/base.css +2 -1
  3. package/dist/base.js +1 -1
  4. package/dist/cjs/{AchievementCard-f6bdb95c.js → AchievementCard-6ef39c2b.js} +3 -3
  5. package/dist/cjs/{AchievementCard-f6bdb95c.js.map → AchievementCard-6ef39c2b.js.map} +1 -1
  6. package/dist/cjs/{BoostGenericCard-e3fd4feb.js → BoostGenericCard-8767d920.js} +7 -7
  7. package/dist/cjs/BoostGenericCard-8767d920.js.map +1 -0
  8. package/dist/cjs/{BoostSmallCard-507de790.js → BoostSmallCard-214f91a5.js} +3 -3
  9. package/dist/cjs/BoostSmallCard-214f91a5.js.map +1 -0
  10. package/dist/cjs/{Button-9ebe120c.js → Button-d3a8a860.js} +2 -2
  11. package/dist/cjs/Button-d3a8a860.js.map +1 -0
  12. package/dist/cjs/{CertificateDisplayCard-9a7ced55.js → CertificateDisplayCard-1d4bca84.js} +20 -14
  13. package/dist/cjs/CertificateDisplayCard-1d4bca84.js.map +1 -0
  14. package/dist/cjs/{CircleCheckButton-05f58196.js → CircleCheckButton-1d10936b.js} +2 -2
  15. package/dist/cjs/{CircleCheckButton-05f58196.js.map → CircleCheckButton-1d10936b.js.map} +1 -1
  16. package/dist/cjs/{CourseVerticalCard-0d046145.js → CourseVerticalCard-3c538a36.js} +3 -3
  17. package/dist/cjs/{CourseVerticalCard-0d046145.js.map → CourseVerticalCard-3c538a36.js.map} +1 -1
  18. package/dist/cjs/{GenericCard-e2faac81.js → GenericCard-f962750a.js} +2 -2
  19. package/dist/cjs/{GenericCard-e2faac81.js.map → GenericCard-f962750a.js.map} +1 -1
  20. package/dist/cjs/{JobHistoryCard-e9ac7a1a.js → JobHistoryCard-54f40e2b.js} +3 -3
  21. package/dist/cjs/JobHistoryCard-54f40e2b.js.map +1 -0
  22. package/dist/cjs/{JobListCard-a90be136.js → JobListCard-a48c6cac.js} +3 -3
  23. package/dist/cjs/{JobListCard-a90be136.js.map → JobListCard-a48c6cac.js.map} +1 -1
  24. package/dist/cjs/{LearnCardCreditCardBackFace-62330eea.js → LearnCardCreditCardBackFace-92a1818e.js} +2 -2
  25. package/dist/{esm/LearnCardCreditCardBackFace-56642837.js.map → cjs/LearnCardCreditCardBackFace-92a1818e.js.map} +1 -1
  26. package/dist/cjs/{LearnCardCreditCardFrontFace-75fb4e44.js → LearnCardCreditCardFrontFace-a4c209e3.js} +2 -2
  27. package/dist/cjs/LearnCardCreditCardFrontFace-a4c209e3.js.map +1 -0
  28. package/dist/cjs/{MeritBadgeDisplayCard-a45003f4.js → MeritBadgeDisplayCard-0b5241e4.js} +14 -14
  29. package/dist/cjs/MeritBadgeDisplayCard-0b5241e4.js.map +1 -0
  30. package/dist/cjs/{MeritBadgeSkillsCount-1baf2200.js → MeritBadgeSkillsCount-0bd63bcd.js} +3 -3
  31. package/dist/cjs/{MeritBadgeSkillsCount-1baf2200.js.map → MeritBadgeSkillsCount-0bd63bcd.js.map} +1 -1
  32. package/dist/cjs/{MiniVCThumbnail-9c510f51.js → MiniVCThumbnail-39058b8e.js} +2 -2
  33. package/dist/cjs/MiniVCThumbnail-39058b8e.js.map +1 -0
  34. package/dist/cjs/{Notification-24d4de25.js → Notification-09bf74b7.js} +2 -2
  35. package/dist/cjs/{Notification-24d4de25.js.map → Notification-09bf74b7.js.map} +1 -1
  36. package/dist/cjs/{NotificationBoostCard-04dd2405.js → NotificationBoostCard-e6a2824f.js} +4 -4
  37. package/dist/cjs/NotificationBoostCard-e6a2824f.js.map +1 -0
  38. package/dist/cjs/{NotificationUserAcceptedBoostCard-1c6d1e33.js → NotificationUserAcceptedBoostCard-e88fc1af.js} +2 -2
  39. package/dist/cjs/{NotificationUserAcceptedBoostCard-1c6d1e33.js.map → NotificationUserAcceptedBoostCard-e88fc1af.js.map} +1 -1
  40. package/dist/cjs/{NotificationUserCard-4364506c.js → NotificationUserCard-89a0b8ba.js} +2 -2
  41. package/dist/cjs/{NotificationUserCard-4364506c.js.map → NotificationUserCard-89a0b8ba.js.map} +1 -1
  42. package/dist/cjs/{PuzzlePiece-e64f4596.js → PuzzlePiece-48ee8924.js} +3 -3
  43. package/dist/cjs/PuzzlePiece-48ee8924.js.map +1 -0
  44. package/dist/cjs/{RoundedPill-542ecd7a.js → RoundedPill-5862fa48.js} +3 -3
  45. package/dist/cjs/RoundedPill-5862fa48.js.map +1 -0
  46. package/dist/cjs/{SchoolIDCard-10796199.js → SchoolIDCard-0462e21c.js} +2 -2
  47. package/dist/cjs/{SchoolIDCard-10796199.js.map → SchoolIDCard-0462e21c.js.map} +1 -1
  48. package/dist/cjs/{SkillTabCard-353cc2d1.js → SkillTabCard-f913aaf7.js} +3 -3
  49. package/dist/cjs/{SkillTabCard-353cc2d1.js.map → SkillTabCard-f913aaf7.js.map} +1 -1
  50. package/dist/cjs/{VCCard-6462d6c7.js → VCCard-c4767894.js} +3 -3
  51. package/dist/cjs/{VCCard-6462d6c7.js.map → VCCard-c4767894.js.map} +1 -1
  52. package/dist/cjs/{VCDisplayBackFace-47066c07.js → VCDisplayBackFace-c73ce3f6.js} +7 -7
  53. package/dist/cjs/VCDisplayBackFace-c73ce3f6.js.map +1 -0
  54. package/dist/cjs/{VCDisplayCard-ac1d4efb.js → VCDisplayCard-7832f605.js} +4 -4
  55. package/dist/cjs/VCDisplayCard-7832f605.js.map +1 -0
  56. package/dist/cjs/{VCDisplayCard2-d7d3288b.js → VCDisplayCard2-7ae4e64b.js} +26 -20
  57. package/dist/cjs/VCDisplayCard2-7ae4e64b.js.map +1 -0
  58. package/dist/cjs/{VCVerificationPill-7d4dd936.js → VCVerificationPill-0f27e8e0.js} +3 -3
  59. package/dist/cjs/VCVerificationPill-0f27e8e0.js.map +1 -0
  60. package/dist/cjs/{VerifierStateBadgeAndText-3d7977c9.js → VerifierStateBadgeAndText-6bc07df3.js} +2 -2
  61. package/dist/cjs/{VerifierStateBadgeAndText-3d7977c9.js.map → VerifierStateBadgeAndText-6bc07df3.js.map} +1 -1
  62. package/dist/cjs/{credential.helpers-e6e353a6.js → credential.helpers-da94e829.js} +3 -3
  63. package/dist/cjs/{credential.helpers-e6e353a6.js.map → credential.helpers-da94e829.js.map} +1 -1
  64. package/dist/cjs/index.js +34 -34
  65. package/dist/cjs/index.js.map +1 -1
  66. package/dist/cjs/index11.js +3 -3
  67. package/dist/cjs/index13.js +3 -3
  68. package/dist/cjs/index14.js +32 -32
  69. package/dist/cjs/index15.js +1 -1
  70. package/dist/cjs/index16.js +1 -1
  71. package/dist/cjs/index17.js +1 -1
  72. package/dist/cjs/index18.js +1 -1
  73. package/dist/cjs/index2.js +3 -3
  74. package/dist/cjs/index22.js +6 -6
  75. package/dist/cjs/index23.js +1 -1
  76. package/dist/cjs/index24.js +3 -3
  77. package/dist/cjs/index25.js +3 -3
  78. package/dist/cjs/index26.js +1 -1
  79. package/dist/cjs/index27.js +1 -1
  80. package/dist/cjs/index29.js +1 -1
  81. package/dist/cjs/index31.js +1 -1
  82. package/dist/cjs/index34.js +3 -3
  83. package/dist/cjs/index39.js +11 -11
  84. package/dist/cjs/index4.js +6 -6
  85. package/dist/cjs/index40.js +5 -5
  86. package/dist/cjs/index41.js +6 -6
  87. package/dist/cjs/index42.js +7 -7
  88. package/dist/cjs/index43.js +1 -1
  89. package/dist/cjs/index46.js +2 -2
  90. package/dist/cjs/index5.js +3 -3
  91. package/dist/cjs/index6.js +1 -1
  92. package/dist/cjs/index7.js +5 -5
  93. package/dist/cjs/index8.js +2 -2
  94. package/dist/cjs/{types-91d0677b.js → types-8a7d08fe.js} +2 -2
  95. package/dist/cjs/{types-91d0677b.js.map → types-8a7d08fe.js.map} +1 -1
  96. package/dist/cjs/{types.esm-57b8934f.js → types.esm-ad9cf6de.js} +13 -1
  97. package/dist/cjs/types.esm-ad9cf6de.js.map +1 -0
  98. package/dist/esm/{AchievementCard-d0cf882f.js → AchievementCard-c8df0ca4.js} +3 -3
  99. package/dist/esm/{AchievementCard-d0cf882f.js.map → AchievementCard-c8df0ca4.js.map} +1 -1
  100. package/dist/esm/{BoostGenericCard-3481b47c.js → BoostGenericCard-fec5d413.js} +7 -7
  101. package/dist/esm/BoostGenericCard-fec5d413.js.map +1 -0
  102. package/dist/esm/{BoostSmallCard-3f5d83b9.js → BoostSmallCard-538e22e7.js} +3 -3
  103. package/dist/esm/BoostSmallCard-538e22e7.js.map +1 -0
  104. package/dist/esm/{Button-70eedbf6.js → Button-866044a8.js} +2 -2
  105. package/dist/esm/Button-866044a8.js.map +1 -0
  106. package/dist/esm/{CertificateDisplayCard-fbd123d1.js → CertificateDisplayCard-c0748577.js} +20 -14
  107. package/dist/esm/CertificateDisplayCard-c0748577.js.map +1 -0
  108. package/dist/esm/{CircleCheckButton-50702ec6.js → CircleCheckButton-cb929fad.js} +2 -2
  109. package/dist/esm/{CircleCheckButton-50702ec6.js.map → CircleCheckButton-cb929fad.js.map} +1 -1
  110. package/dist/esm/{CourseVerticalCard-2544cfbb.js → CourseVerticalCard-34d0cc89.js} +3 -3
  111. package/dist/esm/{CourseVerticalCard-2544cfbb.js.map → CourseVerticalCard-34d0cc89.js.map} +1 -1
  112. package/dist/esm/{GenericCard-31644ac4.js → GenericCard-dfa014c7.js} +2 -2
  113. package/dist/esm/{GenericCard-31644ac4.js.map → GenericCard-dfa014c7.js.map} +1 -1
  114. package/dist/esm/{JobHistoryCard-e71ab2c7.js → JobHistoryCard-74f98642.js} +3 -3
  115. package/dist/esm/JobHistoryCard-74f98642.js.map +1 -0
  116. package/dist/esm/{JobListCard-4fc7fbe4.js → JobListCard-498d59b7.js} +3 -3
  117. package/dist/esm/{JobListCard-4fc7fbe4.js.map → JobListCard-498d59b7.js.map} +1 -1
  118. package/dist/esm/{LearnCardCreditCardBackFace-56642837.js → LearnCardCreditCardBackFace-8e2f494a.js} +2 -2
  119. package/dist/{cjs/LearnCardCreditCardBackFace-62330eea.js.map → esm/LearnCardCreditCardBackFace-8e2f494a.js.map} +1 -1
  120. package/dist/esm/{LearnCardCreditCardFrontFace-13d29504.js → LearnCardCreditCardFrontFace-73c3d537.js} +2 -2
  121. package/dist/esm/LearnCardCreditCardFrontFace-73c3d537.js.map +1 -0
  122. package/dist/esm/{MeritBadgeDisplayCard-2621d029.js → MeritBadgeDisplayCard-0433ad9d.js} +14 -14
  123. package/dist/esm/MeritBadgeDisplayCard-0433ad9d.js.map +1 -0
  124. package/dist/esm/{MeritBadgeSkillsCount-b3e3985a.js → MeritBadgeSkillsCount-434bc6ed.js} +3 -3
  125. package/dist/esm/{MeritBadgeSkillsCount-b3e3985a.js.map → MeritBadgeSkillsCount-434bc6ed.js.map} +1 -1
  126. package/dist/esm/{MiniVCThumbnail-cc05e1f8.js → MiniVCThumbnail-3800ee40.js} +2 -2
  127. package/dist/esm/MiniVCThumbnail-3800ee40.js.map +1 -0
  128. package/dist/esm/{Notification-279ba207.js → Notification-39590182.js} +2 -2
  129. package/dist/esm/{Notification-279ba207.js.map → Notification-39590182.js.map} +1 -1
  130. package/dist/esm/{NotificationBoostCard-73efea2d.js → NotificationBoostCard-ff5ec0d7.js} +4 -4
  131. package/dist/esm/NotificationBoostCard-ff5ec0d7.js.map +1 -0
  132. package/dist/esm/{NotificationUserAcceptedBoostCard-89fe2317.js → NotificationUserAcceptedBoostCard-f515321d.js} +2 -2
  133. package/dist/esm/{NotificationUserAcceptedBoostCard-89fe2317.js.map → NotificationUserAcceptedBoostCard-f515321d.js.map} +1 -1
  134. package/dist/esm/{NotificationUserCard-2c29c86a.js → NotificationUserCard-d4fd260e.js} +2 -2
  135. package/dist/esm/{NotificationUserCard-2c29c86a.js.map → NotificationUserCard-d4fd260e.js.map} +1 -1
  136. package/dist/esm/{PuzzlePiece-a3d9cc62.js → PuzzlePiece-9c313d93.js} +3 -3
  137. package/dist/esm/PuzzlePiece-9c313d93.js.map +1 -0
  138. package/dist/esm/{RoundedPill-8e97b9e3.js → RoundedPill-ef06f4b8.js} +3 -3
  139. package/dist/esm/RoundedPill-ef06f4b8.js.map +1 -0
  140. package/dist/esm/{SchoolIDCard-f82e40bc.js → SchoolIDCard-de65b2bd.js} +2 -2
  141. package/dist/esm/{SchoolIDCard-f82e40bc.js.map → SchoolIDCard-de65b2bd.js.map} +1 -1
  142. package/dist/esm/{SkillTabCard-a3f601e8.js → SkillTabCard-4c7bb40f.js} +3 -3
  143. package/dist/esm/{SkillTabCard-a3f601e8.js.map → SkillTabCard-4c7bb40f.js.map} +1 -1
  144. package/dist/esm/{VCCard-cd14261b.js → VCCard-c8816edc.js} +3 -3
  145. package/dist/esm/{VCCard-cd14261b.js.map → VCCard-c8816edc.js.map} +1 -1
  146. package/dist/esm/{VCDisplayBackFace-d8bdf84b.js → VCDisplayBackFace-b6451634.js} +7 -7
  147. package/dist/esm/VCDisplayBackFace-b6451634.js.map +1 -0
  148. package/dist/esm/{VCDisplayCard-213afce8.js → VCDisplayCard-31a8f581.js} +4 -4
  149. package/dist/esm/VCDisplayCard-31a8f581.js.map +1 -0
  150. package/dist/esm/{VCDisplayCard2-f6beca34.js → VCDisplayCard2-8ef4a6b6.js} +26 -20
  151. package/dist/esm/VCDisplayCard2-8ef4a6b6.js.map +1 -0
  152. package/dist/esm/{VCVerificationPill-f4a587a5.js → VCVerificationPill-bd76c5bc.js} +3 -3
  153. package/dist/esm/VCVerificationPill-bd76c5bc.js.map +1 -0
  154. package/dist/esm/{VerifierStateBadgeAndText-f2bbd9fd.js → VerifierStateBadgeAndText-12066b2a.js} +2 -2
  155. package/dist/esm/{VerifierStateBadgeAndText-f2bbd9fd.js.map → VerifierStateBadgeAndText-12066b2a.js.map} +1 -1
  156. package/dist/esm/{credential.helpers-30adeb2d.js → credential.helpers-f55a4962.js} +3 -3
  157. package/dist/esm/{credential.helpers-30adeb2d.js.map → credential.helpers-f55a4962.js.map} +1 -1
  158. package/dist/esm/index.js +34 -34
  159. package/dist/esm/index.js.map +1 -1
  160. package/dist/esm/index11.js +3 -3
  161. package/dist/esm/index13.js +3 -3
  162. package/dist/esm/index14.js +32 -32
  163. package/dist/esm/index15.js +1 -1
  164. package/dist/esm/index16.js +1 -1
  165. package/dist/esm/index17.js +1 -1
  166. package/dist/esm/index18.js +1 -1
  167. package/dist/esm/index2.js +3 -3
  168. package/dist/esm/index22.js +6 -6
  169. package/dist/esm/index23.js +1 -1
  170. package/dist/esm/index24.js +3 -3
  171. package/dist/esm/index25.js +3 -3
  172. package/dist/esm/index26.js +1 -1
  173. package/dist/esm/index27.js +1 -1
  174. package/dist/esm/index29.js +1 -1
  175. package/dist/esm/index31.js +1 -1
  176. package/dist/esm/index34.js +3 -3
  177. package/dist/esm/index39.js +11 -11
  178. package/dist/esm/index4.js +6 -6
  179. package/dist/esm/index40.js +5 -5
  180. package/dist/esm/index41.js +6 -6
  181. package/dist/esm/index42.js +7 -7
  182. package/dist/esm/index43.js +1 -1
  183. package/dist/esm/index46.js +2 -2
  184. package/dist/esm/index5.js +3 -3
  185. package/dist/esm/index6.js +1 -1
  186. package/dist/esm/index7.js +5 -5
  187. package/dist/esm/index8.js +2 -2
  188. package/dist/esm/{types-c765e2a4.js → types-23b696f1.js} +2 -2
  189. package/dist/esm/{types-c765e2a4.js.map → types-23b696f1.js.map} +1 -1
  190. package/dist/esm/{types.esm-9d538f63.js → types.esm-383b69a5.js} +13 -1
  191. package/dist/esm/types.esm-383b69a5.js.map +1 -0
  192. package/dist/main.css +2 -1
  193. package/dist/main.js +1 -1
  194. package/package.json +8 -8
  195. package/src/assets/styles/base.css +18 -2
  196. package/src/assets/styles/main.css +1 -3
  197. package/src/assets/styles/theme.css +94 -0
  198. package/src/assets/styles/theme.test.ts +67 -0
  199. package/src/components/BoostGenericCard/BoostGenericCard.tsx +3 -3
  200. package/src/components/BoostSmallCard/BoostSmallCard.tsx +1 -1
  201. package/src/components/Button/Button.tsx +1 -1
  202. package/src/components/CertificateDisplayCard/CertificateBackFace.tsx +1 -3
  203. package/src/components/CertificateDisplayCard/CertificateCornerIcon.tsx +1 -1
  204. package/src/components/CertificateDisplayCard/CertificateFrontFace.tsx +8 -6
  205. package/src/components/CertificateDisplayCard/CertificateProfileImageDisplay.tsx +1 -1
  206. package/src/components/CertificateDisplayCard/MediaAttachmentsBox.tsx +1 -1
  207. package/src/components/CertificateDisplayCard/VerificationRow.tsx +1 -1
  208. package/src/components/JobHistoryCard/JobHistoryCard.tsx +2 -2
  209. package/src/components/JobListCard/JobListCard.tsx +2 -5
  210. package/src/components/LearnCardCreditCardBackFace/LearnCardCreditCardBackFace.tsx +1 -1
  211. package/src/components/LearnCardCreditCardFrontFace/LearnCardCreditCardFrontFace.tsx +1 -1
  212. package/src/components/MeritBadgeDisplayCard/MediaAttachmentsBox.tsx +1 -1
  213. package/src/components/MeritBadgeDisplayCard/MeritBadgeBackFace.tsx +1 -3
  214. package/src/components/MeritBadgeDisplayCard/MeritBadgeCornerIcon.tsx +4 -4
  215. package/src/components/MeritBadgeDisplayCard/MeritBadgeFrontFace.tsx +4 -4
  216. package/src/components/MeritBadgeDisplayCard/MeritBadgeProfileImageDisplay.tsx +1 -1
  217. package/src/components/MeritBadgeDisplayCard/VerificationRow.tsx +1 -1
  218. package/src/components/MiniVCThumbnail/MiniVCThumbnail.tsx +1 -1
  219. package/src/components/NotificationBoostCard/NotificationBoostCard.tsx +2 -2
  220. package/src/components/NotificationUserAcceptedBoostCard/NotificationUserAcceptedBoostCard.tsx +1 -1
  221. package/src/components/NotificationUserCard/NotificationUserCard.tsx +1 -1
  222. package/src/components/RoundedPill/RoundedPill.tsx +2 -2
  223. package/src/components/SchoolIdCard/SchoolIDCard.tsx +1 -1
  224. package/src/components/VCDisplayBackFace/VCDisplayBackFace.tsx +4 -4
  225. package/src/components/VCDisplayCard/VCDisplayCard.stories.tsx +2 -2
  226. package/src/components/VCDisplayCard2/IssueHistoryBox.tsx +1 -1
  227. package/src/components/VCDisplayCard2/MediaAttachmentsBox.tsx +10 -5
  228. package/src/components/VCDisplayCard2/VC2FrontFaceInfo.tsx +6 -6
  229. package/src/components/VCDisplayCard2/VCDisplayCard2.tsx +1 -1
  230. package/src/components/VCDisplayCard2/VCDisplayCard2AvatarFallbacks.stories.tsx +4 -4
  231. package/src/components/VCDisplayCard2/VCIDDisplayFrontFace.tsx +7 -7
  232. package/src/components/VCDisplayCard2/VerificationRow.tsx +1 -1
  233. package/src/components/VCDisplayCard2/__tests__/VC2FrontFaceInfo.test.tsx +1 -1
  234. package/src/components/VCDisplayFrontFace/VCDisplayFrontFace.tsx +1 -1
  235. package/src/components/VCVerificationPill/VCVerificationPill.tsx +1 -1
  236. package/src/components/svgs/PuzzlePiece.tsx +3 -3
  237. package/src/helpers/useScrollBorders.ts +2 -2
  238. package/dist/cjs/BoostGenericCard-e3fd4feb.js.map +0 -1
  239. package/dist/cjs/BoostSmallCard-507de790.js.map +0 -1
  240. package/dist/cjs/Button-9ebe120c.js.map +0 -1
  241. package/dist/cjs/CertificateDisplayCard-9a7ced55.js.map +0 -1
  242. package/dist/cjs/JobHistoryCard-e9ac7a1a.js.map +0 -1
  243. package/dist/cjs/LearnCardCreditCardFrontFace-75fb4e44.js.map +0 -1
  244. package/dist/cjs/MeritBadgeDisplayCard-a45003f4.js.map +0 -1
  245. package/dist/cjs/MiniVCThumbnail-9c510f51.js.map +0 -1
  246. package/dist/cjs/NotificationBoostCard-04dd2405.js.map +0 -1
  247. package/dist/cjs/PuzzlePiece-e64f4596.js.map +0 -1
  248. package/dist/cjs/RoundedPill-542ecd7a.js.map +0 -1
  249. package/dist/cjs/VCDisplayBackFace-47066c07.js.map +0 -1
  250. package/dist/cjs/VCDisplayCard-ac1d4efb.js.map +0 -1
  251. package/dist/cjs/VCDisplayCard2-d7d3288b.js.map +0 -1
  252. package/dist/cjs/VCVerificationPill-7d4dd936.js.map +0 -1
  253. package/dist/cjs/types.esm-57b8934f.js.map +0 -1
  254. package/dist/esm/BoostGenericCard-3481b47c.js.map +0 -1
  255. package/dist/esm/BoostSmallCard-3f5d83b9.js.map +0 -1
  256. package/dist/esm/Button-70eedbf6.js.map +0 -1
  257. package/dist/esm/CertificateDisplayCard-fbd123d1.js.map +0 -1
  258. package/dist/esm/JobHistoryCard-e71ab2c7.js.map +0 -1
  259. package/dist/esm/LearnCardCreditCardFrontFace-13d29504.js.map +0 -1
  260. package/dist/esm/MeritBadgeDisplayCard-2621d029.js.map +0 -1
  261. package/dist/esm/MiniVCThumbnail-cc05e1f8.js.map +0 -1
  262. package/dist/esm/NotificationBoostCard-73efea2d.js.map +0 -1
  263. package/dist/esm/PuzzlePiece-a3d9cc62.js.map +0 -1
  264. package/dist/esm/RoundedPill-8e97b9e3.js.map +0 -1
  265. package/dist/esm/VCDisplayBackFace-d8bdf84b.js.map +0 -1
  266. package/dist/esm/VCDisplayCard-213afce8.js.map +0 -1
  267. package/dist/esm/VCDisplayCard2-f6beca34.js.map +0 -1
  268. package/dist/esm/VCVerificationPill-f4a587a5.js.map +0 -1
  269. package/dist/esm/types.esm-9d538f63.js.map +0 -1
@@ -0,0 +1,94 @@
1
+ /* Keep utilities unlayered to preserve the existing Ionic/Sass cascade. */
2
+ @import 'tailwindcss/theme.css' layer(theme);
3
+ @import 'tailwindcss/utilities.css' source(none);
4
+ @import '../../../../learn-card-base/src/assets/styles/tailwind-v3-theme.css';
5
+ @import '../../../../learn-card-base/src/assets/styles/tailwind-v3-colors.css'
6
+ theme(inline reference);
7
+ @source "../../**/*.{js,jsx,ts,tsx}";
8
+ @source inline("bg-orange-200");
9
+ @source inline("bg-orange-300");
10
+ @source inline("bg-orange-700");
11
+ @source inline("border-orange-700");
12
+ @source inline("text-orange-700");
13
+ @source inline("text-orange-900");
14
+
15
+ @theme inline reference {
16
+ --color-grayscale-50: #fbfbfc;
17
+ --color-grayscale-100: #eff0f5;
18
+ --color-grayscale-200: #e2e3e9;
19
+ --color-grayscale-300: #c5c8d3;
20
+ --color-grayscale-400: #a8acbd;
21
+ --color-grayscale-500: #8b91a7;
22
+ --color-grayscale-600: #6f7590;
23
+ --color-grayscale-700: #52597a;
24
+ --color-grayscale-800: #353e64;
25
+ --color-grayscale-900: #18224e;
26
+ --color-emerald-50: #d6faf0;
27
+ --color-emerald-100: #bfeee1;
28
+ --color-emerald-200: #9fe5d2;
29
+ --color-emerald-300: #80e0c6;
30
+ --color-emerald-400: #34eab9;
31
+ --color-emerald-500: #40cba6;
32
+ --color-emerald-600: #20c397;
33
+ --color-emerald-700: #00ba88;
34
+ --color-emerald-800: #008b66;
35
+ --color-emerald-900: #004633;
36
+ --color-cyan-50: #e7f9fd;
37
+ --color-cyan-100: #d0f3fc;
38
+ --color-cyan-200: #a0e7f8;
39
+ --color-cyan-300: #a0e7f8;
40
+ --color-cyan-400: #88e0f7;
41
+ --color-cyan-500: #71daf5;
42
+ --color-cyan-600: #59d4f4;
43
+ --color-cyan-700: #41cef2;
44
+ --color-cyan-800: #319bb5;
45
+ --color-cyan-900: #184d5b;
46
+ --color-spice-50: #ffede7;
47
+ --color-spice-100: #ffdbcf;
48
+ --color-spice-200: #ffb7a0;
49
+ --color-spice-300: #ff9470;
50
+ --color-spice-400: #ff7040;
51
+ --color-spice-500: #ff5820;
52
+ --color-spice-600: #ff4000;
53
+ --color-spice-700: #df3800;
54
+ --color-spice-800: #bf3000;
55
+ --color-spice-900: #802000;
56
+ --color-indigo-50: #eef2ff;
57
+ --color-indigo-100: #e0e7ff;
58
+ --color-indigo-200: #c7d2fe;
59
+ --color-indigo-300: #a5b4fc;
60
+ --color-indigo-400: #818cf8;
61
+ --color-indigo-500: #6366f1;
62
+ --color-indigo-600: #4f46e5;
63
+ --color-indigo-700: #4338ca;
64
+ --color-indigo-800: #3730a3;
65
+ --color-indigo-900: #312e81;
66
+ --color-blue-light: #026bff;
67
+ --color-green-dark: #05b65d;
68
+ --color-orange-500: #ef5d35;
69
+ --color-orange-800: #9a3412;
70
+ --color-red-mastercard: #eb001b;
71
+ }
72
+
73
+ @theme static {
74
+ --shadow-bottom: 0px 4px 0px rgba(0, 0, 0, 0.25);
75
+ --shadow-3xl: 0px 0px 8px rgba(0, 0, 0, 0.25);
76
+ --shadow-card-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
77
+ --spacing-25pct: 25%;
78
+ }
79
+
80
+ /* Emit literal card font families, as V3 did. Host app tokens use the same
81
+ names and must not retroactively change utilities compiled by this package. */
82
+ @theme inline {
83
+ --font-mouse: 'Mouse Memoirs';
84
+ --font-montserrat: Montserrat, Helvetica, Serif;
85
+ --font-poppins: Poppins;
86
+ --font-jacques: 'Jacques Francois';
87
+ --font-sacramento: Sacramento;
88
+ }
89
+
90
+ @custom-variant xxsm (@media (max-width: 240px));
91
+ @custom-variant xxxsm (@media (max-width: 200px));
92
+ @utility text-shadow {
93
+ text-shadow: 1px 2px 0px rgb(0 0 0 / 35%);
94
+ }
@@ -0,0 +1,67 @@
1
+ // @vitest-environment node
2
+ import { describe, expect, it } from 'vitest';
3
+ import { compile } from '@tailwindcss/node';
4
+ import { resolve } from 'node:path';
5
+ import { rollup } from 'rollup';
6
+ import configs from '../../../rollup.config.js';
7
+
8
+ describe('published stylesheet theme contract', () => {
9
+ it('keeps palette tokens out of the actual Rollup CSS assets', async () => {
10
+ const config = configs[1];
11
+ const bundle = await rollup(config);
12
+ try {
13
+ const { output } = await bundle.generate(config.output[0]);
14
+ const styles = output.filter(
15
+ asset => asset.type === 'asset' && asset.fileName.endsWith('.css')
16
+ );
17
+ expect(styles.map(asset => asset.fileName).sort()).toEqual(['base.css', 'main.css']);
18
+ for (const asset of styles) {
19
+ if (asset.type !== 'asset') continue;
20
+ const css =
21
+ typeof asset.source === 'string'
22
+ ? asset.source
23
+ : Buffer.from(asset.source).toString('utf8');
24
+ expect(css).not.toMatch(/--color-[\w-]+\s*:/);
25
+ expect(css).not.toMatch(/--tw-border-style:\s*none/);
26
+ if (asset.fileName === 'main.css') {
27
+ expect(css).toContain('#d6faf0');
28
+ expect(css).toContain('#ef5d35');
29
+ }
30
+ }
31
+ } finally {
32
+ await bundle.close();
33
+ }
34
+ });
35
+
36
+ it('inlines the original palette and fonts without exporting host color tokens', async () => {
37
+ const compiler = await compile("@import './src/assets/styles/main.css';", {
38
+ base: resolve('.'),
39
+ onDependency: () => undefined,
40
+ });
41
+ const css = compiler.build([
42
+ 'bg-emerald-50',
43
+ 'text-orange-500',
44
+ 'bg-rose-500',
45
+ 'font-jacques',
46
+ 'text-xs',
47
+ ]);
48
+ expect(css).toMatch(/\.bg-emerald-50\s*\{\s*background-color: #d6faf0;/);
49
+ expect(css).toMatch(/\.text-orange-500\s*\{\s*color: #ef5d35;/);
50
+ expect(css).toMatch(/\.bg-rose-500\s*\{\s*background-color: #f43f5e;/);
51
+ expect(css).toMatch(/font-family: ["']?Jacques Francois["']?;/);
52
+ expect(css).not.toMatch(/--color-[\w-]+\s*:/);
53
+ expect(css).toContain('--text-xs: 0.75rem');
54
+ });
55
+
56
+ it('keeps the optional reset independent of host palette tokens', async () => {
57
+ const compiler = await compile("@import './src/assets/styles/base.css';", {
58
+ base: resolve('.'),
59
+ onDependency: () => undefined,
60
+ });
61
+ const css = compiler.build([]);
62
+ expect(css).not.toMatch(/--color-[\w-]+\s*:/);
63
+ expect(css).toContain('border-color: #e5e7eb');
64
+ expect(css).toContain('color: #9ca3af');
65
+ expect(css).not.toMatch(/--tw-border-style:\s*none/);
66
+ });
67
+ });
@@ -94,7 +94,7 @@ export const BoostGenericCard: React.FC<BoostGenericCardProps> = ({
94
94
 
95
95
  <button
96
96
  type="button"
97
- className="boost-generic-card-button z-10 flex flex-col flex-grow rounded-[20px]"
97
+ className="boost-generic-card-button z-10 flex flex-col grow rounded-[20px]"
98
98
  onClick={handleInnerClick}
99
99
  >
100
100
  {/* Thumbnail — filter on the wrapper so it desaturates a
@@ -127,7 +127,7 @@ export const BoostGenericCard: React.FC<BoostGenericCardProps> = ({
127
127
 
128
128
  {/* Details Section: grows to fill available space */}
129
129
  <section
130
- className={`flex flex-col flex-grow items-center justify-end pt-1 w-full ${
130
+ className={`flex flex-col grow items-center justify-end pt-1 w-full ${
131
131
  linkedCredentialsCount === 0 ? 'pb-[20px]' : ''
132
132
  }`}
133
133
  >
@@ -156,7 +156,7 @@ export const BoostGenericCard: React.FC<BoostGenericCardProps> = ({
156
156
 
157
157
  {/* Verifier & Issuer */}
158
158
  <div className="mt-1 w-full px-4 text-center">
159
- <span className="line-clamp-2 break-words text-[12px] leading-snug text-grayscale-700">
159
+ <span className="line-clamp-2 wrap-break-word text-[12px] leading-snug text-grayscale-700">
160
160
  {verifierBadge && (
161
161
  <span className="mr-1 inline-block align-middle">
162
162
  {verifierBadge}
@@ -52,7 +52,7 @@ export const BoostSmallCard: React.FC<BoostSmallCardProps> = ({
52
52
  return (
53
53
  <div
54
54
  key={issueItem?.id}
55
- className="profile-thumb-img border-[1px] border-white border-solid vc-issuee-image h-[35px] w-[35px] rounded-full overflow-hidden mx-[-5px]"
55
+ className="profile-thumb-img border border-white border-solid vc-issuee-image h-[35px] w-[35px] rounded-full overflow-hidden mx-[-5px]"
56
56
  >
57
57
  <UserProfilePicture
58
58
  customContainerClass={`h-full w-full object-cover ${
@@ -11,7 +11,7 @@ export const Button: React.FC<ButtonProps> = ({ text, onClick, className = '' })
11
11
  <button
12
12
  type="button"
13
13
  onClick={onClick}
14
- className={`p-4 border rounded text-gray-700 ${className}`}
14
+ className={`p-4 border rounded-sm text-gray-700 ${className}`}
15
15
  >
16
16
  {text}
17
17
  </button>
@@ -85,9 +85,7 @@ export const CertificateBackFace: React.FC<CertificateBackFaceProps> = ({
85
85
  <TruncateTextBox headerText="About" text={description}>
86
86
  <span
87
87
  className={`text-grayscale-600 font-poppins text-[12px] font-[600] w-full ${
88
- description
89
- ? 'pt-[10px] border-t-[1px] border-solid border-grayscale-200'
90
- : ''
88
+ description ? 'pt-[10px] border-t border-solid border-grayscale-200' : ''
91
89
  }`}
92
90
  >
93
91
  Awarded on {createdAt}
@@ -27,7 +27,7 @@ const CertificateCornerIcon: React.FC<CertificateCornerIconProps> = ({
27
27
  break;
28
28
  case 'bottom-left':
29
29
  iconPositionClassName = 'bottom-0 left-0';
30
- cornerPositionClassName = 'top-0 right-0 rotate-[270deg]';
30
+ cornerPositionClassName = 'top-0 right-0 rotate-270';
31
31
  break;
32
32
  case 'bottom-right':
33
33
  iconPositionClassName = 'bottom-0 right-0';
@@ -166,14 +166,14 @@ export const CertificateFrontFace: React.FC<CertificateFrontFaceProps> = ({
166
166
  </div>
167
167
 
168
168
  <div
169
- className={`flex flex-col gap-[15px] items-center px-[20px] pt-[55px] pb-[20px] border-solid border-[4px] ${borderColor} rounded-[30px]`}
169
+ className={`flex flex-col gap-[15px] items-center px-[20px] pt-[55px] pb-[20px] border-solid border-4 ${borderColor} rounded-[30px]`}
170
170
  >
171
171
  <div className="flex flex-col gap-[5px] items-center">
172
172
  <h1 className="text-grayscale-900 text-center text-[20px] font-jacques">
173
173
  {title}
174
174
  </h1>
175
175
  <div
176
- className={`${textLightColor} uppercase text-[14px] font-notoSans font-[600]`}
176
+ className={`${textLightColor} uppercase text-[14px] font-notoSans font-semibold`}
177
177
  >
178
178
  {formattedDisplayType}
179
179
  </div>
@@ -263,14 +263,14 @@ export const CertificateFrontFace: React.FC<CertificateFrontFaceProps> = ({
263
263
  Certified by
264
264
  </span>
265
265
  {issuerDisplay.isDidValue ? (
266
- <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[14px] leading-[90%] font-jacques tracking-[0.25px] border-b-[1px] border-solid border-grayscale-200 w-full text-center line-clamp-2 break-words scrollbar-hide">
267
- <span className="font-[600]">
266
+ <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[14px] leading-[90%] font-jacques tracking-[0.25px] border-b border-solid border-grayscale-200 w-full text-center line-clamp-2 wrap-break-word scrollbar-hide">
267
+ <span className="font-semibold">
268
268
  {issuerDisplay.isDidValue ? 'Digital ID: ' : ''}
269
269
  </span>
270
270
  <span className="text-grayscale-600">{issuerName}</span>
271
271
  </span>
272
272
  ) : (
273
- <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[25px] leading-[90%] font-sacramento border-b-[1px] border-solid border-grayscale-200 w-full text-center line-clamp-2 break-words scrollbar-hide">
273
+ <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[25px] leading-[90%] font-sacramento border-b border-solid border-grayscale-200 w-full text-center line-clamp-2 wrap-break-word scrollbar-hide">
274
274
  {issuerName}
275
275
  </span>
276
276
  )}
@@ -282,7 +282,9 @@ export const CertificateFrontFace: React.FC<CertificateFrontFaceProps> = ({
282
282
  />
283
283
  </div>
284
284
  {customBodyContentSlot && customBodyContentSlot}
285
- <div className={`${textLightColor} uppercase text-[14px] font-notoSans font-[600]`}>
285
+ <div
286
+ className={`${textLightColor} uppercase text-[14px] font-notoSans font-semibold`}
287
+ >
286
288
  {categoryTitle}
287
289
  </div>
288
290
  </div>
@@ -24,7 +24,7 @@ const CertificateProfileImageDisplay: React.FC<CertificateProfileImageDisplayPro
24
24
  avatarFallbackVariant = 'initial',
25
25
  }) => {
26
26
  const imageClassName =
27
- 'h-[50px] w-[50px] rounded-full overflow-hidden border-[2px] border-solid border-grayscale-200';
27
+ 'h-[50px] w-[50px] rounded-full overflow-hidden border-2 border-solid border-grayscale-200';
28
28
  const fingerprintClassName = isIssuer ? 'h-[38px] w-[38px]' : 'h-[36px] w-[36px]';
29
29
  const silhouetteClassName = 'h-[38px] w-[38px]';
30
30
 
@@ -221,7 +221,7 @@ const MediaAttachmentsBox: React.FC<MediaAttachmentsBoxProps> = ({
221
221
  className="flex bg-grayscale-100 items-center rounded-[15px] w-full"
222
222
  >
223
223
  <button
224
- className="relative h-[80px] w-[80px] rounded-[15px] overflow-hidden flex-shrink-0"
224
+ className="relative h-[80px] w-[80px] rounded-[15px] overflow-hidden shrink-0"
225
225
  onClick={e => {
226
226
  e.stopPropagation();
227
227
  handleMediaAttachmentClick(media.url, media.type);
@@ -39,7 +39,7 @@ const VerificationRow: React.FC<VerificationRowProps> = ({ verification }) => {
39
39
  const infoText = ''; // if we want certain verifications to have extra explanation, we can set this variable
40
40
 
41
41
  return (
42
- <div className="verification-row flex flex-col gap-[5px] font-poppins border-b-[1px] border-grayscale-200 border-solid w-full py-[10px] last:border-0 last:pb-0">
42
+ <div className="verification-row flex flex-col gap-[5px] font-poppins border-b border-grayscale-200 border-solid w-full py-[10px] last:border-0 last:pb-0">
43
43
  <span
44
44
  className="font-[700] text-[11px] uppercase flex items-center gap-[3px] select-none"
45
45
  style={{ color: statusColor }}
@@ -21,11 +21,11 @@ export const JobHistoryCard: React.FC<JobHistoryCardProps> = ({
21
21
  className={`job-history-card flex h-[88px] max-w-[335px] justify-between shadow-[0_0_8px_0px_rgba(0,0,0,0.2)] relative $ py-[10px] px-[15px] rounded-[20px] ${className}`}
22
22
  >
23
23
  {dateRange && (
24
- <div className="flex flex-shrink-0 rounded-[20px] bg-emerald-600 pl-[15px] font-bold text-grayscale-50 job-card-date-display w-[108px] h-full items-center">
24
+ <div className="flex shrink-0 rounded-[20px] bg-emerald-600 pl-[15px] font-bold text-grayscale-50 job-card-date-display w-[108px] h-full items-center">
25
25
  <p className="line-clamp-2">{dateRange}</p>
26
26
  </div>
27
27
  )}
28
- <div className="flex flex-grow flex-col job-history-details-display pl-[12px]">
28
+ <div className="flex grow flex-col job-history-details-display pl-[12px]">
29
29
  <p className="text-grayscale-900 font-bold line-clamp-1">{title}</p>
30
30
  <p className="text-grayscale-600 text-sm line-clamp-1">{company}</p>
31
31
  <p className="text-sm text-indigo-700 uppercase font-bold line-clamp-1">
@@ -112,15 +112,12 @@ export const JobListCard: React.FC<JobListCardProps> = ({
112
112
  {topText}
113
113
  </div>
114
114
  </div>
115
- <p className="text-grayscale-500 text-xs line-clamp-1 flex-shrink-0">
116
- {' '}
117
- {postDateDisplay}
118
- </p>
115
+ <p className="text-grayscale-500 text-xs line-clamp-1 shrink-0"> {postDateDisplay}</p>
119
116
 
120
117
  <div className="job-listing-center flex mt-[5px]">
121
118
  {imgThumb && (
122
119
  <img
123
- className="object-cover w-[80px] flex-shrink-0 items-center justify-center rounded-[15px] mr-[10px]"
120
+ className="object-cover w-[80px] shrink-0 items-center justify-center rounded-[15px] mr-[10px]"
124
121
  src={imgThumb}
125
122
  />
126
123
  )}
@@ -86,7 +86,7 @@ export const LearnCardCreditCardBackFace: React.FC<LearnCardCreditCardBackFacePr
86
86
  </div>
87
87
  </div>
88
88
  <div>
89
- <div className="h-[33px] w-[55px] rounded-[60px] bg-gradient-to-r from-[#F4F5F5] to-[#E3E5E8]" />
89
+ <div className="h-[33px] w-[55px] rounded-[60px] bg-linear-to-r/srgb from-[#F4F5F5] to-[#E3E5E8]" />
90
90
  </div>
91
91
  </div>
92
92
 
@@ -43,7 +43,7 @@ export const LearnCardCreditCardFrontFace: React.FC<LearnCardCreditCardFrontFace
43
43
  <div className="absolute top-[-40px] left-0 w-[55%] h-[140%] rounded-tr-[150px] rounded-br-[150px] bg-grayscale-900 credit-card-bubble" />
44
44
  {showActionButton && (
45
45
  <button
46
- className="absolute top-2 right-4 bg-grayscale-500 border-[2px] rounded-3xl border-solid border-color-grayscale-900 min-w-[110px] p-[2px] font-bold text-xs tracking-wide leading-snug text-center text-white"
46
+ className="absolute top-2 right-4 bg-grayscale-500 border-2 rounded-3xl border-solid border-color-grayscale-900 min-w-[110px] p-[2px] font-bold text-xs tracking-wide leading-snug text-center text-white"
47
47
  onClick={onClick}
48
48
  data-testid="credit-card-frontface-button"
49
49
  >
@@ -221,7 +221,7 @@ const MediaAttachmentsBox: React.FC<MediaAttachmentsBoxProps> = ({
221
221
  className="flex media-attachment-box bg-grayscale-100 items-center rounded-[15px] w-full"
222
222
  >
223
223
  <button
224
- className="relative h-[80px] w-[80px] rounded-[15px] overflow-hidden flex-shrink-0"
224
+ className="relative h-[80px] w-[80px] rounded-[15px] overflow-hidden shrink-0"
225
225
  onClick={e => {
226
226
  e.stopPropagation();
227
227
  handleMediaAttachmentClick(media.url, media.type);
@@ -85,9 +85,7 @@ export const MeritBadgeBackFace: React.FC<MeritBadgeBackFaceProps> = ({
85
85
  <TruncateTextBox headerText="About" text={description}>
86
86
  <span
87
87
  className={`text-grayscale-600 font-poppins text-[12px] font-[600] w-full ${
88
- description
89
- ? 'pt-[10px] border-t-[1px] border-solid border-grayscale-200'
90
- : ''
88
+ description ? 'pt-[10px] border-t border-solid border-grayscale-200' : ''
91
89
  }`}
92
90
  >
93
91
  Awarded on {createdAt}
@@ -16,20 +16,20 @@ const MeritBadgeCornerIcon: React.FC<MeritBadgeCornerIconProps> = ({ categoryTyp
16
16
  switch (position) {
17
17
  case 'top-left':
18
18
  iconPositionClassName = 'top-[3px] left-[3px] pb-[10px] pr-[10px] pl-[4px] pt-[4px]';
19
- cornerPositionClassName = 'bottom-[-1px] right-0';
19
+ cornerPositionClassName = '-bottom-px right-0';
20
20
  break;
21
21
  case 'top-right':
22
22
  iconPositionClassName = 'top-[3px] right-[3px] pl-[10px] pb-[10px] pr-[4px] pt-[4px]';
23
- cornerPositionClassName = 'bottom-[-1px] left-0 rotate-90';
23
+ cornerPositionClassName = '-bottom-px left-0 rotate-90';
24
24
  break;
25
25
  case 'bottom-left':
26
26
  iconPositionClassName = 'bottom-[3px] left-[3px] pr-[10px] pt-[10px] pl-[4px] pb-[4px]';
27
- cornerPositionClassName = 'top-0 right-0 rotate-[270deg]';
27
+ cornerPositionClassName = 'top-0 right-0 rotate-270';
28
28
  break;
29
29
  case 'bottom-right':
30
30
  iconPositionClassName =
31
31
  'bottom-[3px] right-[3px] pl-[10px] pt-[10px] pr-[4px] pb-[4px]';
32
- cornerPositionClassName = 'top-[-1px] left-0 rotate-180';
32
+ cornerPositionClassName = '-top-px left-0 rotate-180';
33
33
  break;
34
34
  }
35
35
 
@@ -155,7 +155,7 @@ export const MeritBadgeFrontFace: React.FC<MeritBadgeFrontFaceProps> = ({
155
155
  </div>
156
156
 
157
157
  <div
158
- className={`flex flex-col gap-[15px] items-center px-[20px] pt-[92px] pb-[19px] border-solid border-[4px] ${borderColor} rounded-[30px]`}
158
+ className={`flex flex-col gap-[15px] items-center px-[20px] pt-[92px] pb-[19px] border-solid border-4 ${borderColor} rounded-[30px]`}
159
159
  >
160
160
  <div className="flex flex-col gap-[5px] w-full">
161
161
  <div className="flex flex-col items-center text-grayscale-900">
@@ -204,7 +204,7 @@ export const MeritBadgeFrontFace: React.FC<MeritBadgeFrontFaceProps> = ({
204
204
  )}
205
205
  <div className="flex flex-col w-full">
206
206
  <div className="text-[14px] text-grayscale-900 flex flex-col items-center w-full mb-[10px]">
207
- <span className="font-jacques flex gap-[5px] items-center w-full overflow-ellipsis whitespace-nowrap overflow-hidden justify-center">
207
+ <span className="font-jacques flex gap-[5px] items-center w-full text-ellipsis whitespace-nowrap overflow-hidden justify-center">
208
208
  {issueeName === '0 person' ? (
209
209
  'Not yet awarded'
210
210
  ) : (
@@ -231,9 +231,9 @@ export const MeritBadgeFrontFace: React.FC<MeritBadgeFrontFaceProps> = ({
231
231
  </div> */}
232
232
 
233
233
  <div className="flex flex-col gap-[5px] items-center w-full">
234
- <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[25px] leading-[90%] font-sacramento border-b-[1px] border-solid border-grayscale-200 w-full text-center line-clamp-2 break-words scrollbar-hide">
234
+ <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[25px] leading-[90%] font-sacramento border-b border-solid border-grayscale-200 w-full text-center line-clamp-2 wrap-break-word scrollbar-hide">
235
235
  {issuerDisplay.isDidValue ? (
236
- <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[14px] leading-[90%] font-jacques tracking-[0.25px] w-full text-center line-clamp-2 break-words">
236
+ <span className="mb-[3px] pt-[3px] text-grayscale-900 text-[14px] leading-[90%] font-jacques tracking-[0.25px] w-full text-center line-clamp-2 wrap-break-word">
237
237
  <span className="font-[600]">Digital ID:</span>
238
238
  <span className="text-grayscale-600">{issuerName}</span>
239
239
  </span>
@@ -27,7 +27,7 @@ const MeritBadgeProfileImageDisplay: React.FC<MeritBadgeProfileImageDisplayProps
27
27
  }) => {
28
28
  const imageClassName = `${
29
29
  size === 'big' ? 'h-[60px] w-[60px]' : 'h-[39px] w-[39px]'
30
- } rounded-full overflow-hidden border-[2px] border-solid border-grayscale-200`;
30
+ } rounded-full overflow-hidden border-2 border-solid border-grayscale-200`;
31
31
  const silhouetteClassName = size === 'big' ? 'h-[43px] w-[43px]' : 'h-[28px] w-[28px]';
32
32
 
33
33
  const profileImage = imageComponent ? (
@@ -39,7 +39,7 @@ const VerificationRow: React.FC<VerificationRowProps> = ({ verification }) => {
39
39
  const infoText = ''; // if we want certain verifications to have extra explanation, we can set this variable
40
40
 
41
41
  return (
42
- <div className="verification-row flex flex-col gap-[5px] font-poppins border-b-[1px] border-grayscale-200 border-solid w-full py-[10px] last:border-0 last:pb-0">
42
+ <div className="verification-row flex flex-col gap-[5px] font-poppins border-b border-grayscale-200 border-solid w-full py-[10px] last:border-0 last:pb-0">
43
43
  <span
44
44
  className="font-[700] text-[11px] uppercase flex items-center gap-[3px] select-none"
45
45
  style={{ color: statusColor }}
@@ -57,7 +57,7 @@ export const MiniVCThumbnail: React.FC<MiniVCThumbnailProps> = ({
57
57
  className="flex item-center justify-center w-full -mt-3"
58
58
  data-testid="mini-vc-thumbnail-badge"
59
59
  >
60
- <div className="max-h-[80px] max-w-[80px] xxsm:h-[60px] xxsm:w-[60px] border-solid border-1 border-black bg-white z-10">
60
+ <div className="max-h-[80px] max-w-[80px] xxsm:h-[60px] xxsm:w-[60px] border-solid border border-black bg-white z-10">
61
61
  <img
62
62
  className="h-full w-full object-cover"
63
63
  src={badgeImage}
@@ -98,7 +98,7 @@ export const NotificationBoostCard: React.FC<NotificationBoostCardProps> = ({
98
98
 
99
99
  {showIssuerInfo && (
100
100
  <div className="notification-card-issuer-info flex items-center mt-[10px]">
101
- <div className="profile-thumb-img border-[2px] border-white border-solid vc-issuee-image h-[35px] w-[35px] rounded-full overflow-hidden mx-[-5px]">
101
+ <div className="profile-thumb-img border-2 border-white border-solid vc-issuee-image h-[35px] w-[35px] rounded-full overflow-hidden mx-[-5px]">
102
102
  <UserProfilePicture
103
103
  customContainerClass={`h-full w-full object-cover text-xl ${
104
104
  !issuerInfo?.image ? 'pt-[3px]' : ''
@@ -128,7 +128,7 @@ export const NotificationBoostCard: React.FC<NotificationBoostCardProps> = ({
128
128
 
129
129
  <button
130
130
  onClick={handleCancelClick}
131
- className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-[0px] tracking-wide ${viewButtonStyles}`}
131
+ className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-0 tracking-wide ${viewButtonStyles}`}
132
132
  role="button"
133
133
  name="notification-view-button"
134
134
  >
@@ -71,7 +71,7 @@ export const NotificationUserAcceptedBoostCard: React.FC<
71
71
  <div className="flex items-center justify-end w-full mt-3">
72
72
  <button
73
73
  onClick={handleCancelClick}
74
- className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-[0px] tracking-wide ${viewButtonStyles}`}
74
+ className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-0 tracking-wide ${viewButtonStyles}`}
75
75
  role="button"
76
76
  name="notification-view-button"
77
77
  >
@@ -96,7 +96,7 @@ export const NotificationUserCard: React.FC<NotificationUserCardProps> = ({
96
96
 
97
97
  <button
98
98
  onClick={handleCancelClick}
99
- className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-[0px] tracking-wide ${viewButtonStyles}`}
99
+ className={`rounded-[24px] flex items-center justify-center h-[42px] w-[42px] shadow-bottom bg-white font-semibold mr-2 p-0 tracking-wide ${viewButtonStyles}`}
100
100
  role="button"
101
101
  name="notification-view-button"
102
102
  >
@@ -87,7 +87,7 @@ export const RoundedPill: React.FC<RoundedPillProps> = ({
87
87
  }) => {
88
88
  const backgroundColor = `bg-${TYPE_TO_BG_COLOR_CLASS[type]}`;
89
89
  const iconBgColor = `bg-${TYPE_TO_FOREGROUND_COLOR[type]}`;
90
- const circleClass = `flex w-full items-center justify-center icon-display h-[40px] w-[40px] rounded-full ${iconBgColor} absolute flex-shrink-0 `;
90
+ const circleClass = `flex w-full items-center justify-center icon-display h-[40px] w-[40px] rounded-full ${iconBgColor} absolute shrink-0 `;
91
91
 
92
92
  const handleClick = () => {
93
93
  onClick?.();
@@ -108,7 +108,7 @@ export const RoundedPill: React.FC<RoundedPillProps> = ({
108
108
  {!locked && (
109
109
  <div className={circleClass}>
110
110
  <img
111
- className="h-full w-full object-cover max-h-[24px] max-w-[24px] flex-shrink-0 "
111
+ className="h-full w-full object-cover max-h-[24px] max-w-[24px] shrink-0 "
112
112
  src={iconSrc ?? ''}
113
113
  alt="Icon image"
114
114
  />
@@ -29,7 +29,7 @@ export const SchoolIDCard: React.FC<SchoolIDCardProps> = ({
29
29
  if (userImage && userImage?.trim() !== '') {
30
30
  issueeImageEl = (
31
31
  <div
32
- className="h-[80px] w-[80px] rounded-full overflow-hidden bg-no-repeat bg-cover bg-center border-solid border-[2px] border-white mr-2"
32
+ className="h-[80px] w-[80px] rounded-full overflow-hidden bg-no-repeat bg-cover bg-center border-solid border-2 border-white mr-2"
33
33
  style={{ backgroundImage: `url(${userImage})` }}
34
34
  />
35
35
  );
@@ -42,7 +42,7 @@ export const VCDisplayBackFace: React.FC<VCDisplayCardProps> = ({
42
42
  <h6 className="line-clamp-1 text-grayscale-900 font-bold uppercase text-xs tracking-wider subpixel-antialiased">
43
43
  Issuer
44
44
  </h6>
45
- <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block overflow-ellipsis break-all">
45
+ <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block text-ellipsis break-all">
46
46
  {issuerName}
47
47
  </p>
48
48
  </div>
@@ -59,10 +59,10 @@ export const VCDisplayBackFace: React.FC<VCDisplayCardProps> = ({
59
59
 
60
60
  return (
61
61
  <div
62
- className={`z-[9] vc-display-main-card-back flex overflow-hidden flex-col items-center justify-between relative max-w-[400px] h-[100%] max-h-[1100px] min-h-[600px] p-7 rounded-3xl shadow-3xl bg-emerald-700 vc-display-card-full-container ${className}`}
62
+ className={`z-[9] vc-display-main-card-back flex overflow-hidden flex-col items-center justify-between relative max-w-[400px] h-full max-h-[1100px] min-h-[600px] p-7 rounded-3xl shadow-3xl bg-emerald-700 vc-display-card-full-container ${className}`}
63
63
  >
64
64
  <section className="flex max-h-[150px] items-end bg-white rounded-bl-[50%] rounded-br-[50%] absolute top-0 w-[110%] h-[55%] min-h-[400px]"></section>
65
- <section className="flex flex-col items-center justify-center w-full z-10 text-left credential-details-container max-w-[100%] relative">
65
+ <section className="flex flex-col items-center justify-center w-full z-10 text-left credential-details-container max-w-full relative">
66
66
  <section className="flex flex-row items-start justify-start w-full line-clamp-2">
67
67
  <h3
68
68
  className="text-2xl line-clamp-2 tracking-wide leading-snug text-left text-emerald-700"
@@ -91,7 +91,7 @@ export const VCDisplayBackFace: React.FC<VCDisplayCardProps> = ({
91
91
  </span>
92
92
  </button>
93
93
 
94
- <section className="flex-col items-center justify-center checklist-container justify-center w-[100%] width-full mt-[20px]">
94
+ <section className="flex-col items-center justify-center checklist-container justify-center w-full width-full mt-[20px]">
95
95
  <VCVerificationCheckWithText loading={loading} />
96
96
  <section>
97
97
  {verification.map(item => (
@@ -47,7 +47,7 @@ const DetailsOverrideTest = (
47
47
  <h6 className="line-clamp-1 text-grayscale-900 font-bold uppercase text-xs tracking-wider subpixel-antialiased">
48
48
  Issuer
49
49
  </h6>
50
- <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block overflow-ellipsis break-all">
50
+ <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block text-ellipsis break-all">
51
51
  override details issuer override details issuer override details issuer override
52
52
  details issuer override details issuer override details issuer
53
53
  </p>
@@ -57,7 +57,7 @@ const DetailsOverrideTest = (
57
57
  <h6 className="line-clamp-1 text-grayscale-900 font-bold uppercase text-xs tracking-wider subpixel-antialiased">
58
58
  other field
59
59
  </h6>
60
- <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block overflow-ellipsis break-all">
60
+ <p className="max-w-[344px] line-clamp-1 subpixel-antialiased text-grayscale-600 text-[14px] block text-ellipsis break-all">
61
61
  override details
62
62
  </p>
63
63
  </div>
@@ -15,7 +15,7 @@ const IssueHistoryBox: React.FC<SkillsBoxProps> = ({
15
15
  let renderIssueHistory = issueHistory?.map(issueItem => {
16
16
  return (
17
17
  <div
18
- className="flex items-center issue-log-item border-b-[1px] last:border-b-0 py-[5px] border-grayscale-200 border-solid w-full"
18
+ className="flex items-center issue-log-item border-b last:border-b-0 py-[5px] border-grayscale-200 border-solid w-full"
19
19
  key={issueItem?.id}
20
20
  >
21
21
  <div className="profile-thumb-img vc-issuee-image h-[35px] w-[35px] rounded-full overflow-hidden">