@learncard/react 2.5.10 → 2.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ArrowArcLeft.svg +4 -0
- package/dist/cjs/Checkmark-f611aa4d.js +58 -0
- package/dist/cjs/Checkmark-f611aa4d.js.map +1 -0
- package/dist/cjs/{LearnCardCreditCardFrontFace-4452fd7a.js → LearnCardCreditCardFrontFace-4ce0d049.js} +2 -2
- package/dist/cjs/{LearnCardCreditCardFrontFace-4452fd7a.js.map → LearnCardCreditCardFrontFace-4ce0d049.js.map} +1 -1
- package/dist/cjs/Notification-9d230f1b.js +94 -0
- package/dist/cjs/Notification-9d230f1b.js.map +1 -0
- package/dist/cjs/NotificationBoostCard-3b3bd47d.js +121 -0
- package/dist/cjs/NotificationBoostCard-3b3bd47d.js.map +1 -0
- package/dist/cjs/NotificationUserAcceptedBoostCard-423b9320.js +74 -0
- package/dist/cjs/NotificationUserAcceptedBoostCard-423b9320.js.map +1 -0
- package/dist/cjs/NotificationUserCard-d4dab06c.js +94 -0
- package/dist/cjs/NotificationUserCard-d4dab06c.js.map +1 -0
- package/dist/cjs/{QRCodeCard-efaa58e1.js → QRCodeCard-b60c0500.js} +2 -2
- package/dist/cjs/{QRCodeCard-efaa58e1.js.map → QRCodeCard-b60c0500.js.map} +1 -1
- package/dist/cjs/SchoolIDCard-1baf77e8.js.map +1 -1
- package/dist/cjs/{User-7408bdf0.js → User-92f9cf40.js} +1 -50
- package/dist/cjs/User-92f9cf40.js.map +1 -0
- package/dist/cjs/{VCCard-4a5e06a1.js → VCCard-9e1cd423.js} +3 -3
- package/dist/cjs/{VCCard-4a5e06a1.js.map → VCCard-9e1cd423.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-ecbdb75a.js → VCDisplayBackFace-89b40163.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-ecbdb75a.js.map → VCDisplayBackFace-89b40163.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-8de5bb09.js → VCDisplayCard-129d6f10.js} +3 -3
- package/dist/cjs/{VCDisplayCard-8de5bb09.js.map → VCDisplayCard-129d6f10.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-7b58036f.js → VCDisplayCard2-59f99f6d.js} +3 -3
- package/dist/cjs/{VCDisplayCard2-7b58036f.js.map → VCDisplayCard2-59f99f6d.js.map} +1 -1
- package/dist/cjs/{VCVerificationPill-b1d50716.js → VCVerificationPill-a6f26ac9.js} +2 -2
- package/dist/cjs/{VCVerificationPill-b1d50716.js.map → VCVerificationPill-a6f26ac9.js.map} +1 -1
- package/dist/cjs/X.svg +4 -0
- package/dist/cjs/{credential.helpers-ede99a07.js → credential.helpers-2ceeae3c.js} +2 -2
- package/dist/cjs/{credential.helpers-ede99a07.js.map → credential.helpers-2ceeae3c.js.map} +1 -1
- package/dist/cjs/{index-82de573c.js → index-c340a7f0.js} +1 -1
- package/dist/{esm/index-aa1098e1.js.map → cjs/index-c340a7f0.js.map} +1 -1
- package/dist/cjs/index.js +27 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index12.js +27 -14
- package/dist/cjs/index12.js.map +1 -1
- package/dist/cjs/index16.js +2 -2
- package/dist/cjs/index20.js +6 -4
- package/dist/cjs/index20.js.map +1 -1
- package/dist/cjs/index21.js +10 -3
- package/dist/cjs/index21.js.map +1 -1
- package/dist/cjs/index22.js +6 -15
- package/dist/cjs/index22.js.map +1 -1
- package/dist/cjs/index23.js +8 -31
- package/dist/cjs/index23.js.map +1 -1
- package/dist/cjs/index24.js +3 -2
- package/dist/cjs/index24.js.map +1 -1
- package/dist/cjs/index25.js +15 -3
- package/dist/cjs/index25.js.map +1 -1
- package/dist/cjs/index26.js +31 -3
- package/dist/cjs/index26.js.map +1 -1
- package/dist/cjs/index27.js +2 -16
- package/dist/cjs/index27.js.map +1 -1
- package/dist/cjs/index28.js +3 -3
- package/dist/cjs/index29.js +3 -3
- package/dist/cjs/index30.js +16 -14
- package/dist/cjs/index30.js.map +1 -1
- package/dist/cjs/index31.js +3 -22
- package/dist/cjs/index31.js.map +1 -1
- package/dist/cjs/index32.js +3 -13
- package/dist/cjs/index32.js.map +1 -1
- package/dist/cjs/index33.js +15 -17
- package/dist/cjs/index33.js.map +1 -1
- package/dist/cjs/index34.js +16 -5
- package/dist/cjs/index34.js.map +1 -1
- package/dist/cjs/index35.js +15 -3
- package/dist/cjs/index35.js.map +1 -1
- package/dist/cjs/index36.js +16 -3
- package/dist/cjs/index36.js.map +1 -1
- package/dist/cjs/index37.js +9 -4
- package/dist/cjs/index37.js.map +1 -1
- package/dist/cjs/index38.js +5 -10
- package/dist/cjs/index38.js.map +1 -1
- package/dist/cjs/index39.js +13 -0
- package/dist/cjs/index39.js.map +1 -0
- package/dist/cjs/index40.js +15 -0
- package/dist/cjs/index40.js.map +1 -0
- package/dist/cjs/index41.js +15 -0
- package/dist/cjs/index41.js.map +1 -0
- package/dist/cjs/notifications-56c6fc94.js +21 -0
- package/dist/cjs/notifications-56c6fc94.js.map +1 -0
- package/dist/cjs/{Notification-cd651569.js → types-c83b33ec.js} +39 -111
- package/dist/cjs/types-c83b33ec.js.map +1 -0
- package/dist/cjs/types-e4d9a257.js +25 -0
- package/dist/cjs/types-e4d9a257.js.map +1 -0
- package/dist/cjs/{types.esm-a0c2e427.js → types.esm-16460488.js} +56 -3
- package/dist/{esm/types.esm-03174a81.js.map → cjs/types.esm-16460488.js.map} +1 -1
- package/dist/esm/ArrowArcLeft.svg +4 -0
- package/dist/esm/Checkmark-d8b8f43d.js +52 -0
- package/dist/esm/Checkmark-d8b8f43d.js.map +1 -0
- package/dist/esm/{LearnCardCreditCardFrontFace-cf793917.js → LearnCardCreditCardFrontFace-c221facc.js} +2 -2
- package/dist/esm/{LearnCardCreditCardFrontFace-cf793917.js.map → LearnCardCreditCardFrontFace-c221facc.js.map} +1 -1
- package/dist/esm/Notification-0f58ef6a.js +88 -0
- package/dist/esm/Notification-0f58ef6a.js.map +1 -0
- package/dist/esm/NotificationBoostCard-134edf94.js +112 -0
- package/dist/esm/NotificationBoostCard-134edf94.js.map +1 -0
- package/dist/esm/NotificationUserAcceptedBoostCard-8c13bd3f.js +66 -0
- package/dist/esm/NotificationUserAcceptedBoostCard-8c13bd3f.js.map +1 -0
- package/dist/esm/NotificationUserCard-dbcc80f9.js +86 -0
- package/dist/esm/NotificationUserCard-dbcc80f9.js.map +1 -0
- package/dist/esm/{QRCodeCard-c57e2067.js → QRCodeCard-d147d009.js} +2 -2
- package/dist/esm/{QRCodeCard-c57e2067.js.map → QRCodeCard-d147d009.js.map} +1 -1
- package/dist/esm/SchoolIDCard-3b746226.js.map +1 -1
- package/dist/esm/{User-a54607e7.js → User-fd276ad5.js} +2 -50
- package/dist/esm/User-fd276ad5.js.map +1 -0
- package/dist/esm/{VCCard-f4aa0834.js → VCCard-261f5864.js} +3 -3
- package/dist/esm/{VCCard-f4aa0834.js.map → VCCard-261f5864.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-ddb5d979.js → VCDisplayBackFace-a1801ec8.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-ddb5d979.js.map → VCDisplayBackFace-a1801ec8.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-079517c1.js → VCDisplayCard-2e5a9776.js} +3 -3
- package/dist/esm/{VCDisplayCard-079517c1.js.map → VCDisplayCard-2e5a9776.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-273a24c6.js → VCDisplayCard2-44f7f2cb.js} +3 -3
- package/dist/esm/{VCDisplayCard2-273a24c6.js.map → VCDisplayCard2-44f7f2cb.js.map} +1 -1
- package/dist/esm/{VCVerificationPill-0a2552f1.js → VCVerificationPill-e6c31a42.js} +2 -2
- package/dist/esm/{VCVerificationPill-0a2552f1.js.map → VCVerificationPill-e6c31a42.js.map} +1 -1
- package/dist/esm/X.svg +4 -0
- package/dist/esm/{credential.helpers-309b86e2.js → credential.helpers-8701c176.js} +2 -2
- package/dist/esm/{credential.helpers-309b86e2.js.map → credential.helpers-8701c176.js.map} +1 -1
- package/dist/esm/{index-aa1098e1.js → index-54ccc558.js} +1 -1
- package/dist/esm/index-54ccc558.js.map +1 -0
- package/dist/esm/index.js +21 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index12.js +21 -12
- package/dist/esm/index12.js.map +1 -1
- package/dist/esm/index16.js +2 -2
- package/dist/esm/index20.js +5 -3
- package/dist/esm/index20.js.map +1 -1
- package/dist/esm/index21.js +9 -2
- package/dist/esm/index21.js.map +1 -1
- package/dist/esm/index22.js +5 -13
- package/dist/esm/index22.js.map +1 -1
- package/dist/esm/index23.js +6 -26
- package/dist/esm/index23.js.map +1 -1
- package/dist/esm/index24.js +2 -1
- package/dist/esm/index24.js.map +1 -1
- package/dist/esm/index25.js +13 -1
- package/dist/esm/index25.js.map +1 -1
- package/dist/esm/index26.js +26 -2
- package/dist/esm/index26.js.map +1 -1
- package/dist/esm/index27.js +1 -15
- package/dist/esm/index27.js.map +1 -1
- package/dist/esm/index28.js +1 -2
- package/dist/esm/index28.js.map +1 -1
- package/dist/esm/index29.js +2 -2
- package/dist/esm/index30.js +15 -5
- package/dist/esm/index30.js.map +1 -1
- package/dist/esm/index31.js +2 -21
- package/dist/esm/index31.js.map +1 -1
- package/dist/esm/index32.js +2 -12
- package/dist/esm/index32.js.map +1 -1
- package/dist/esm/index33.js +6 -16
- package/dist/esm/index33.js.map +1 -1
- package/dist/esm/index34.js +15 -4
- package/dist/esm/index34.js.map +1 -1
- package/dist/esm/index35.js +10 -3
- package/dist/esm/index35.js.map +1 -1
- package/dist/esm/index36.js +15 -2
- package/dist/esm/index36.js.map +1 -1
- package/dist/esm/index37.js +8 -1
- package/dist/esm/index37.js.map +1 -1
- package/dist/esm/index38.js +5 -5
- package/dist/esm/index39.js +5 -0
- package/dist/esm/index39.js.map +1 -0
- package/dist/esm/index40.js +5 -0
- package/dist/esm/index40.js.map +1 -0
- package/dist/esm/index41.js +7 -0
- package/dist/esm/index41.js.map +1 -0
- package/dist/esm/notifications-009bbd80.js +18 -0
- package/dist/esm/notifications-009bbd80.js.map +1 -0
- package/dist/esm/{Notification-b7c41237.js → types-7081a9e5.js} +33 -104
- package/dist/esm/types-7081a9e5.js.map +1 -0
- package/dist/esm/types-b32d28d5.js +23 -0
- package/dist/esm/types-b32d28d5.js.map +1 -0
- package/dist/esm/{types.esm-03174a81.js → types.esm-e0b82727.js} +56 -3
- package/dist/{cjs/types.esm-a0c2e427.js.map → esm/types.esm-e0b82727.js.map} +1 -1
- package/dist/images/walletTrophy.png +0 -0
- package/dist/images/walletcurrency.png +0 -0
- package/dist/images/walletids.png +0 -0
- package/dist/images/walletjobhistory.png +0 -0
- package/dist/images/walletlearninghistory.png +0 -0
- package/dist/images/walletskills.png +0 -0
- package/dist/index.d.ts +70 -1
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/Notification-cd651569.js.map +0 -1
- package/dist/cjs/User-7408bdf0.js.map +0 -1
- package/dist/cjs/index-82de573c.js.map +0 -1
- package/dist/esm/Notification-b7c41237.js.map +0 -1
- package/dist/esm/User-a54607e7.js.map +0 -1
package/dist/esm/index31.js
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { S as SkillVerticalCard } from './SkillVerticalCard-108f49bb.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '
|
|
4
|
-
import './VCDisplayCard-079517c1.js';
|
|
5
|
-
import './FlippyCard-a2de5cf1.js';
|
|
6
|
-
import './icon.green.fat-arrow.png';
|
|
7
|
-
import './default-face.jpeg';
|
|
8
|
-
import './VCVerificationCheck-a6909b44.js';
|
|
9
|
-
import './vc.check.svg';
|
|
10
|
-
import './CircleSpinner-9b8b1a6b.js';
|
|
11
|
-
import './credential.helpers-309b86e2.js';
|
|
12
|
-
import './types.esm-03174a81.js';
|
|
13
|
-
import './index-e1f279c6.js';
|
|
14
|
-
import './VCDisplayBackFace-ddb5d979.js';
|
|
15
|
-
import './VCVerificationPill-0a2552f1.js';
|
|
16
|
-
import './RedXCircle.svg';
|
|
17
|
-
import './GreenCheckCircle.svg';
|
|
18
|
-
import './YellowWarningCircle.svg';
|
|
19
|
-
import './ArrowArcRight.svg';
|
|
20
|
-
import './VCDisplayCard2-273a24c6.js';
|
|
21
|
-
import './AwardRibbon-3e682281.js';
|
|
22
|
-
import './index-7103ad3c.js';
|
|
3
|
+
import './skillplaceholder.png';
|
|
23
4
|
//# sourceMappingURL=index31.js.map
|
package/dist/esm/index31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index31.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index31.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/esm/index32.js
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { S as SmallAchievementCard } from './SmallAchievementCard-2d87ac82.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './
|
|
4
|
-
import './vc.check.svg';
|
|
5
|
-
import './CircleSpinner-9b8b1a6b.js';
|
|
6
|
-
import './VCVerificationPill-0a2552f1.js';
|
|
7
|
-
import './types.esm-03174a81.js';
|
|
8
|
-
import './RedXCircle.svg';
|
|
9
|
-
import './GreenCheckCircle.svg';
|
|
10
|
-
import './YellowWarningCircle.svg';
|
|
11
|
-
import './ArrowArcRight.svg';
|
|
12
|
-
import './credential.helpers-309b86e2.js';
|
|
13
|
-
import './index-e1f279c6.js';
|
|
3
|
+
import './Trophy-702610b8.js';
|
|
14
4
|
//# sourceMappingURL=index32.js.map
|
package/dist/esm/index32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index32.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index32.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/esm/index33.js
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
export { V as VCDisplayCard } from './VCDisplayCard-079517c1.js';
|
|
2
1
|
import 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import './credential.helpers-309b86e2.js';
|
|
10
|
-
import './types.esm-03174a81.js';
|
|
11
|
-
import './index-e1f279c6.js';
|
|
12
|
-
import './VCDisplayBackFace-ddb5d979.js';
|
|
13
|
-
import './VCVerificationPill-0a2552f1.js';
|
|
14
|
-
import './RedXCircle.svg';
|
|
15
|
-
import './GreenCheckCircle.svg';
|
|
16
|
-
import './YellowWarningCircle.svg';
|
|
17
|
-
import './ArrowArcRight.svg';
|
|
2
|
+
export { A as AwardRibbon } from './AwardRibbon-3e682281.js';
|
|
3
|
+
export { B as Briefcase, C as Coins, G as Graduation, U as User } from './User-fd276ad5.js';
|
|
4
|
+
export { C as Checkmark } from './Checkmark-d8b8f43d.js';
|
|
5
|
+
export { G as GenericArrow } from './GenericArrow-0dba1707.js';
|
|
6
|
+
export { L as Lightbulb } from './Lightbulb-a3c1679f.js';
|
|
7
|
+
export { T as Trophy } from './Trophy-702610b8.js';
|
|
18
8
|
//# sourceMappingURL=index33.js.map
|
package/dist/esm/index33.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index33.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index33.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/esm/index34.js
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
|
+
export { V as VCCard } from './VCCard-261f5864.js';
|
|
1
2
|
import 'react';
|
|
2
|
-
|
|
3
|
+
import '@learncard/core';
|
|
4
|
+
import './VCDisplayCard-2e5a9776.js';
|
|
5
|
+
import './FlippyCard-a2de5cf1.js';
|
|
6
|
+
import './icon.green.fat-arrow.png';
|
|
3
7
|
import './default-face.jpeg';
|
|
4
|
-
import './index-e1f279c6.js';
|
|
5
|
-
import './types.esm-03174a81.js';
|
|
6
8
|
import './VCVerificationCheck-a6909b44.js';
|
|
7
9
|
import './vc.check.svg';
|
|
8
10
|
import './CircleSpinner-9b8b1a6b.js';
|
|
9
|
-
import './credential.helpers-
|
|
11
|
+
import './credential.helpers-8701c176.js';
|
|
12
|
+
import './types.esm-e0b82727.js';
|
|
13
|
+
import './index-e1f279c6.js';
|
|
14
|
+
import './VCDisplayBackFace-a1801ec8.js';
|
|
15
|
+
import './VCVerificationPill-e6c31a42.js';
|
|
16
|
+
import './RedXCircle.svg';
|
|
17
|
+
import './GreenCheckCircle.svg';
|
|
18
|
+
import './YellowWarningCircle.svg';
|
|
19
|
+
import './ArrowArcRight.svg';
|
|
20
|
+
import './VCDisplayCard2-44f7f2cb.js';
|
|
10
21
|
import './AwardRibbon-3e682281.js';
|
|
11
22
|
import './index-7103ad3c.js';
|
|
12
23
|
//# sourceMappingURL=index34.js.map
|
package/dist/esm/index34.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index34.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index34.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/index35.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
export { V as VCDisplayBackFace } from './VCDisplayBackFace-a1801ec8.js';
|
|
1
2
|
import 'react';
|
|
2
|
-
import './
|
|
3
|
-
import './default-face.jpeg';
|
|
3
|
+
import './VCVerificationCheck-a6909b44.js';
|
|
4
4
|
import './vc.check.svg';
|
|
5
|
-
import './
|
|
5
|
+
import './CircleSpinner-9b8b1a6b.js';
|
|
6
|
+
import './VCVerificationPill-e6c31a42.js';
|
|
7
|
+
import './types.esm-e0b82727.js';
|
|
8
|
+
import './RedXCircle.svg';
|
|
9
|
+
import './GreenCheckCircle.svg';
|
|
10
|
+
import './YellowWarningCircle.svg';
|
|
11
|
+
import './ArrowArcRight.svg';
|
|
12
|
+
import './credential.helpers-8701c176.js';
|
|
6
13
|
import './index-e1f279c6.js';
|
|
7
14
|
//# sourceMappingURL=index35.js.map
|
package/dist/esm/index35.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index35.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index35.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/esm/index36.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
export { V as
|
|
1
|
+
export { V as VCDisplayCard } from './VCDisplayCard-2e5a9776.js';
|
|
2
2
|
import 'react';
|
|
3
|
+
import './FlippyCard-a2de5cf1.js';
|
|
3
4
|
import './icon.green.fat-arrow.png';
|
|
4
|
-
import './
|
|
5
|
+
import './default-face.jpeg';
|
|
6
|
+
import './VCVerificationCheck-a6909b44.js';
|
|
7
|
+
import './vc.check.svg';
|
|
8
|
+
import './CircleSpinner-9b8b1a6b.js';
|
|
9
|
+
import './credential.helpers-8701c176.js';
|
|
10
|
+
import './types.esm-e0b82727.js';
|
|
11
|
+
import './index-e1f279c6.js';
|
|
12
|
+
import './VCDisplayBackFace-a1801ec8.js';
|
|
13
|
+
import './VCVerificationPill-e6c31a42.js';
|
|
14
|
+
import './RedXCircle.svg';
|
|
15
|
+
import './GreenCheckCircle.svg';
|
|
16
|
+
import './YellowWarningCircle.svg';
|
|
17
|
+
import './ArrowArcRight.svg';
|
|
5
18
|
//# sourceMappingURL=index36.js.map
|
package/dist/esm/index36.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index36.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/dist/esm/index37.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
export { V as VCVerificationCheck, a as VCVerificationCheckWithSpinner, b as VCVerificationCheckWithText } from './VCVerificationCheck-a6909b44.js';
|
|
2
1
|
import 'react';
|
|
2
|
+
export { V as VCDisplayCard2 } from './VCDisplayCard2-44f7f2cb.js';
|
|
3
|
+
import './default-face.jpeg';
|
|
4
|
+
import './index-e1f279c6.js';
|
|
5
|
+
import './types.esm-e0b82727.js';
|
|
6
|
+
import './VCVerificationCheck-a6909b44.js';
|
|
3
7
|
import './vc.check.svg';
|
|
4
8
|
import './CircleSpinner-9b8b1a6b.js';
|
|
9
|
+
import './credential.helpers-8701c176.js';
|
|
10
|
+
import './AwardRibbon-3e682281.js';
|
|
11
|
+
import './index-7103ad3c.js';
|
|
5
12
|
//# sourceMappingURL=index37.js.map
|
package/dist/esm/index37.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index37.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/esm/index38.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { V as ValidationStateIndicator } from './VCVerificationPill-0a2552f1.js';
|
|
2
1
|
import 'react';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
2
|
+
import './icon.green.fat-arrow.png';
|
|
3
|
+
import './default-face.jpeg';
|
|
4
|
+
import './vc.check.svg';
|
|
5
|
+
import './types.esm-e0b82727.js';
|
|
6
|
+
import './index-e1f279c6.js';
|
|
7
7
|
//# sourceMappingURL=index38.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index39.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index40.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { V as ValidationStateIndicator } from './VCVerificationPill-e6c31a42.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './types.esm-e0b82727.js';
|
|
4
|
+
import './RedXCircle.svg';
|
|
5
|
+
import './GreenCheckCircle.svg';
|
|
6
|
+
import './YellowWarningCircle.svg';
|
|
7
|
+
//# sourceMappingURL=index41.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var NotificationTypeEnum = /* @__PURE__ */ ((NotificationTypeEnum2) => {
|
|
2
|
+
NotificationTypeEnum2["Currency"] = "currency";
|
|
3
|
+
NotificationTypeEnum2["ID"] = "id";
|
|
4
|
+
NotificationTypeEnum2["Achievement"] = "achievement";
|
|
5
|
+
NotificationTypeEnum2["Skill"] = "skill";
|
|
6
|
+
NotificationTypeEnum2["Job"] = "job";
|
|
7
|
+
NotificationTypeEnum2["Learning"] = "learning";
|
|
8
|
+
NotificationTypeEnum2["SocialBadges"] = "socialBadge";
|
|
9
|
+
return NotificationTypeEnum2;
|
|
10
|
+
})(NotificationTypeEnum || {});
|
|
11
|
+
var UserNotificationTypeEnum = /* @__PURE__ */ ((UserNotificationTypeEnum2) => {
|
|
12
|
+
UserNotificationTypeEnum2["ConnectionRequest"] = "connection";
|
|
13
|
+
UserNotificationTypeEnum2["AcceptedBoost"] = "acceptedBoost";
|
|
14
|
+
return UserNotificationTypeEnum2;
|
|
15
|
+
})(UserNotificationTypeEnum || {});
|
|
16
|
+
|
|
17
|
+
export { NotificationTypeEnum as N, UserNotificationTypeEnum as U };
|
|
18
|
+
//# sourceMappingURL=notifications-009bbd80.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications-009bbd80.js","sources":["../../src/constants/notifications.ts"],"sourcesContent":["export enum NotificationTypeEnum {\n Currency = 'currency',\n ID = 'id',\n Achievement = 'achievement',\n Skill = 'skill',\n Job = 'job',\n Learning = 'learning',\n SocialBadges = 'socialBadge',\n}\n\nexport enum UserNotificationTypeEnum {\n ConnectionRequest = 'connection',\n AcceptedBoost = 'acceptedBoost',\n}\n"],"names":["NotificationTypeEnum","UserNotificationTypeEnum"],"mappings":"AAAY,IAAA,oBAAA,qBAAAA,qBAAL,KAAA;AACH,EAAAA,sBAAA,UAAW,CAAA,GAAA,UAAA,CAAA;AACX,EAAAA,sBAAA,IAAK,CAAA,GAAA,IAAA,CAAA;AACL,EAAAA,sBAAA,aAAc,CAAA,GAAA,aAAA,CAAA;AACd,EAAAA,sBAAA,OAAQ,CAAA,GAAA,OAAA,CAAA;AACR,EAAAA,sBAAA,KAAM,CAAA,GAAA,KAAA,CAAA;AACN,EAAAA,sBAAA,UAAW,CAAA,GAAA,UAAA,CAAA;AACX,EAAAA,sBAAA,cAAe,CAAA,GAAA,aAAA,CAAA;AAPP,EAAAA,OAAAA,qBAAAA,CAAAA;AAAA,CAAA,EAAA,oBAAA,IAAA,EAAA,EAAA;AAUA,IAAA,wBAAA,qBAAAC,yBAAL,KAAA;AACH,EAAAA,0BAAA,mBAAoB,CAAA,GAAA,YAAA,CAAA;AACpB,EAAAA,0BAAA,eAAgB,CAAA,GAAA,eAAA,CAAA;AAFR,EAAAA,OAAAA,yBAAAA,CAAAA;AAAA,CAAA,EAAA,wBAAA,IAAA,EAAA;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { N as NotificationTypeEnum } from './notifications-009bbd80.js';
|
|
2
2
|
import { T as Trophy } from './Trophy-702610b8.js';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { C as Coins, U as User, B as Briefcase, G as Graduation } from './User-fd276ad5.js';
|
|
4
|
+
import React from 'react';
|
|
5
5
|
|
|
6
6
|
const PuzzlePiece = ({ className = "" }) => {
|
|
7
7
|
return /* @__PURE__ */ React.createElement("svg", {
|
|
@@ -18,21 +18,31 @@ const PuzzlePiece = ({ className = "" }) => {
|
|
|
18
18
|
}));
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
const ShieldChevron = ({ className }) => {
|
|
22
|
+
return /* @__PURE__ */ React.createElement("svg", {
|
|
23
|
+
viewBox: "0 0 46 46",
|
|
24
|
+
fill: "none",
|
|
25
|
+
className,
|
|
26
|
+
"data-testid": "socialBadge-icon"
|
|
27
|
+
}, /* @__PURE__ */ React.createElement("path", {
|
|
28
|
+
d: "M7.53125 19.25V8.9375C7.53125 8.56454 7.67941 8.20685 7.94313 7.94313C8.20685 7.67941 8.56454 7.53125 8.9375 7.53125H37.0625C37.4355 7.53125 37.7931 7.67941 38.0569 7.94313C38.3206 8.20685 38.4688 8.56454 38.4688 8.9375V19.25C38.4688 34.0183 25.9345 38.9112 23.4318 39.7409C23.152 39.8372 22.848 39.8372 22.5682 39.7409C20.0655 38.9112 7.53125 34.0183 7.53125 19.25Z",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeWidth: "4",
|
|
31
|
+
strokeLinecap: "round",
|
|
32
|
+
strokeLinejoin: "round"
|
|
33
|
+
}), /* @__PURE__ */ React.createElement("path", {
|
|
34
|
+
d: "M36.0785 29.3425L23 20.1875L9.92139 29.3425",
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
strokeWidth: "4",
|
|
37
|
+
strokeLinecap: "round",
|
|
38
|
+
strokeLinejoin: "round"
|
|
39
|
+
}));
|
|
40
|
+
};
|
|
31
41
|
|
|
32
42
|
const NotificationTypeStyles = {
|
|
33
43
|
[NotificationTypeEnum.Currency]: {
|
|
34
44
|
viewButtonStyles: "border-cyan-400 text-cyan-400",
|
|
35
|
-
unclaimedButtonStyles: "text-white bg-cyan-400 border-cyan-400",
|
|
45
|
+
unclaimedButtonStyles: "text-white bg-cyan-400 border-cyan-400 shadow-bottom",
|
|
36
46
|
claimedButtonStyles: "text-cyan-400 bg-cyan-50 border-cyan-50",
|
|
37
47
|
textStyles: "text-cyan-400 capitalize",
|
|
38
48
|
iconCircleStyles: "bg-cyan-400",
|
|
@@ -41,16 +51,16 @@ const NotificationTypeStyles = {
|
|
|
41
51
|
},
|
|
42
52
|
[NotificationTypeEnum.SocialBadges]: {
|
|
43
53
|
viewButtonStyles: "border-cyan-400 text-cyan-400",
|
|
44
|
-
unclaimedButtonStyles: "text-white bg-cyan-400 border-cyan-400",
|
|
54
|
+
unclaimedButtonStyles: "text-white bg-cyan-400 border-cyan-400 shadow-bottom",
|
|
45
55
|
claimedButtonStyles: "text-cyan-400 bg-cyan-50 border-cyan-50",
|
|
46
56
|
textStyles: "text-cyan-400 capitalize",
|
|
47
57
|
iconCircleStyles: "bg-cyan-400",
|
|
48
|
-
IconComponent:
|
|
58
|
+
IconComponent: ShieldChevron,
|
|
49
59
|
typeText: "Social Badge"
|
|
50
60
|
},
|
|
51
61
|
[NotificationTypeEnum.ID]: {
|
|
52
62
|
viewButtonStyles: "border-yellow-400 text-yellow-400",
|
|
53
|
-
unclaimedButtonStyles: "text-white bg-yellow-400 border-yellow-400",
|
|
63
|
+
unclaimedButtonStyles: "text-white bg-yellow-400 border-yellow-400 shadow-bottom",
|
|
54
64
|
claimedButtonStyles: "text-yellow-400 bg-yellow-50 border-yellow-50",
|
|
55
65
|
textStyles: "text-yellow-400 uppercase",
|
|
56
66
|
iconCircleStyles: "bg-yellow-400",
|
|
@@ -59,7 +69,7 @@ const NotificationTypeStyles = {
|
|
|
59
69
|
},
|
|
60
70
|
[NotificationTypeEnum.Achievement]: {
|
|
61
71
|
viewButtonStyles: "border-spice-600 text-spice-400",
|
|
62
|
-
unclaimedButtonStyles: "text-white bg-spice-400 border-spice-400",
|
|
72
|
+
unclaimedButtonStyles: "text-white bg-spice-400 border-spice-400 shadow-bottom",
|
|
63
73
|
claimedButtonStyles: "text-spice-400 bg-spice-50 border-spice-50",
|
|
64
74
|
textStyles: "text-spice-400 capitalize",
|
|
65
75
|
iconCircleStyles: "bg-spice-400",
|
|
@@ -68,7 +78,7 @@ const NotificationTypeStyles = {
|
|
|
68
78
|
},
|
|
69
79
|
[NotificationTypeEnum.Skill]: {
|
|
70
80
|
viewButtonStyles: "border-indigo-400 text-indigo-400",
|
|
71
|
-
unclaimedButtonStyles: "text-white bg-indigo-400 border-indigo-400",
|
|
81
|
+
unclaimedButtonStyles: "text-white bg-indigo-400 border-indigo-400 shadow-bottom",
|
|
72
82
|
claimedButtonStyles: "text-indigo-400 bg-indigo-50 border-indigo-50",
|
|
73
83
|
textStyles: "text-indigo-400 capitalize",
|
|
74
84
|
iconCircleStyles: "bg-indigo-400",
|
|
@@ -77,7 +87,7 @@ const NotificationTypeStyles = {
|
|
|
77
87
|
},
|
|
78
88
|
[NotificationTypeEnum.Job]: {
|
|
79
89
|
viewButtonStyles: "border-rose-400 text-rose-400",
|
|
80
|
-
unclaimedButtonStyles: "text-white bg-rose-400 border-rose-400",
|
|
90
|
+
unclaimedButtonStyles: "text-white bg-rose-400 border-rose-400 shadow-bottom",
|
|
81
91
|
claimedButtonStyles: "text-rose-400 bg-rose-50 border-rose-50",
|
|
82
92
|
textStyles: "text-rose-400 capitalize",
|
|
83
93
|
iconCircleStyles: "bg-rose-400",
|
|
@@ -86,7 +96,7 @@ const NotificationTypeStyles = {
|
|
|
86
96
|
},
|
|
87
97
|
[NotificationTypeEnum.Learning]: {
|
|
88
98
|
viewButtonStyles: "border-emerald-500 text-emerald-500",
|
|
89
|
-
unclaimedButtonStyles: "text-white bg-emerald-500 border-emerald-500",
|
|
99
|
+
unclaimedButtonStyles: "text-white bg-emerald-500 border-emerald-500 shadow-bottom",
|
|
90
100
|
claimedButtonStyles: "text-emerald-500 bg-emerald-50 border-emerald-50",
|
|
91
101
|
textStyles: "text-emerald-500 capitalize",
|
|
92
102
|
iconCircleStyles: "bg-emerald-500",
|
|
@@ -95,86 +105,5 @@ const NotificationTypeStyles = {
|
|
|
95
105
|
}
|
|
96
106
|
};
|
|
97
107
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
issuerImage,
|
|
101
|
-
issueDate,
|
|
102
|
-
className,
|
|
103
|
-
notificationType = NotificationTypeEnum.Achievement,
|
|
104
|
-
handleViewOnClick = () => {
|
|
105
|
-
},
|
|
106
|
-
claimStatus = false,
|
|
107
|
-
handleClaimOnClick = () => {
|
|
108
|
-
},
|
|
109
|
-
loadingState = false
|
|
110
|
-
}) => {
|
|
111
|
-
const [isClaimed, setIsClaimed] = useState(claimStatus || false);
|
|
112
|
-
const [isLoading, setIsLoading] = useState(loadingState || false);
|
|
113
|
-
useEffect(() => {
|
|
114
|
-
setIsClaimed(claimStatus);
|
|
115
|
-
}, [claimStatus]);
|
|
116
|
-
useEffect(() => {
|
|
117
|
-
setIsLoading(loadingState);
|
|
118
|
-
}, [loadingState]);
|
|
119
|
-
const {
|
|
120
|
-
IconComponent,
|
|
121
|
-
iconCircleStyles,
|
|
122
|
-
textStyles,
|
|
123
|
-
viewButtonStyles,
|
|
124
|
-
claimedButtonStyles,
|
|
125
|
-
unclaimedButtonStyles,
|
|
126
|
-
typeText
|
|
127
|
-
} = NotificationTypeStyles[notificationType];
|
|
128
|
-
const claimButtonStyles = isClaimed ? claimedButtonStyles : unclaimedButtonStyles;
|
|
129
|
-
let buttonText = "";
|
|
130
|
-
if (isClaimed) {
|
|
131
|
-
buttonText = "Claimed";
|
|
132
|
-
} else if (!isClaimed) {
|
|
133
|
-
buttonText = "Claim";
|
|
134
|
-
}
|
|
135
|
-
return /* @__PURE__ */ React.createElement("div", {
|
|
136
|
-
className: `flex justify-center items-center relative w-full rounded-3xl shadow-2xl py-3 bg-white ${className}`
|
|
137
|
-
}, /* @__PURE__ */ React.createElement("div", {
|
|
138
|
-
className: `absolute flex items-center justify-center top-2 right-2 h-8 w-8 overflow-hidden rounded-full z-10 ${iconCircleStyles}`
|
|
139
|
-
}, /* @__PURE__ */ React.createElement(IconComponent, {
|
|
140
|
-
className: "h-4/5 text-white"
|
|
141
|
-
})), /* @__PURE__ */ React.createElement("div", {
|
|
142
|
-
className: "flex flex-col justify-center items-center relative w-11/12"
|
|
143
|
-
}, /* @__PURE__ */ React.createElement("div", {
|
|
144
|
-
className: "flex flex-row items-center justify-start w-full"
|
|
145
|
-
}, /* @__PURE__ */ React.createElement("div", {
|
|
146
|
-
className: `h-12 w-12 max-h-12 max-w-[48px] min-h-[48px] min-w-[48px] overflow-hidden rounded-full ${iconCircleStyles}`
|
|
147
|
-
}, /* @__PURE__ */ React.createElement("img", {
|
|
148
|
-
src: issuerImage,
|
|
149
|
-
alt: "issuer image",
|
|
150
|
-
className: "w-full h-full object-cover"
|
|
151
|
-
})), /* @__PURE__ */ React.createElement("div", {
|
|
152
|
-
className: "text-left ml-3"
|
|
153
|
-
}, /* @__PURE__ */ React.createElement("h4", {
|
|
154
|
-
className: "font-bold tracking-wide line-clamp-1 text-black",
|
|
155
|
-
"data-testid": "notification-title"
|
|
156
|
-
}, title), /* @__PURE__ */ React.createElement("p", {
|
|
157
|
-
className: `font-semibold p-0 m-0 leading-none tracking-wide line-clamp-1 ${textStyles}`,
|
|
158
|
-
"data-testid": "notification-type"
|
|
159
|
-
}, typeText, " ", /* @__PURE__ */ React.createElement("span", {
|
|
160
|
-
className: "text-grayscale-600 normal-case font-normal text-sm",
|
|
161
|
-
"data-testid": "notification-cred-issue-date"
|
|
162
|
-
}, "\u2022 ", issueDate)))), /* @__PURE__ */ React.createElement("div", {
|
|
163
|
-
className: "flex items-center justify-between w-full mt-3"
|
|
164
|
-
}, /* @__PURE__ */ React.createElement("button", {
|
|
165
|
-
onClick: handleViewOnClick,
|
|
166
|
-
className: `flex-1 rounded-[24px] border-solid border-2 bg-white font-semibold mr-2 py-2 px-3 tracking-wide ${viewButtonStyles}`,
|
|
167
|
-
role: "button",
|
|
168
|
-
name: "notification-view-button"
|
|
169
|
-
}, "View"), /* @__PURE__ */ React.createElement("button", {
|
|
170
|
-
className: `flex items-center justify-center flex-1 rounded-[24px] border-2 border-solid font-semibold py-2 px-3 tracking-wide ${claimButtonStyles}`,
|
|
171
|
-
onClick: handleClaimOnClick,
|
|
172
|
-
role: "button",
|
|
173
|
-
name: "notification-claim-button"
|
|
174
|
-
}, isClaimed && /* @__PURE__ */ React.createElement(Checkmark, {
|
|
175
|
-
className: "h-[24px] p-0 m-0"
|
|
176
|
-
}), " ", isLoading ? "Loading..." : buttonText))));
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
export { Notification as N, NotificationTypeStyles as a };
|
|
180
|
-
//# sourceMappingURL=Notification-b7c41237.js.map
|
|
108
|
+
export { NotificationTypeStyles as N };
|
|
109
|
+
//# sourceMappingURL=types-7081a9e5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-7081a9e5.js","sources":["../../src/components/svgs/PuzzlePiece.tsx","../../src/components/svgs/ShieldChevron.tsx","../../src/components/Notification/types.ts"],"sourcesContent":["import React from 'react';\n\nconst PuzzlePiece: React.FC<{ className?: string }> = ({ className = '' }) => {\n return (\n <svg viewBox=\"0 0 26 26\" fill=\"none\" className={className} data-testid=\"skill-icon\">\n <path\n d=\"M6.49991 21.9374C6.39321 21.9374 6.28756 21.9164 6.18898 21.8756C6.0904 21.8347 6.00083 21.7749 5.92538 21.6994C5.84994 21.624 5.79009 21.5344 5.74926 21.4358C5.70843 21.3372 5.68741 21.2316 5.68741 21.1249L5.68747 16.7887C5.25402 16.994 4.7757 17.0863 4.29699 17.0571C3.81827 17.0279 3.35473 16.8781 2.94947 16.6216C2.5442 16.3651 2.21039 16.0103 1.97908 15.5902C1.74776 15.1701 1.62646 14.6983 1.62646 14.2187C1.62646 13.7391 1.74776 13.2672 1.97908 12.8471C2.21039 12.427 2.5442 12.0722 2.94947 11.8157C3.35473 11.5592 3.81827 11.4094 4.29699 11.3802C4.7757 11.351 5.25402 11.4433 5.68747 11.6486L5.68741 7.31241C5.68741 7.20571 5.70843 7.10005 5.74926 7.00148C5.79009 6.9029 5.84994 6.81333 5.92539 6.73788C6.00084 6.66243 6.09041 6.60258 6.18899 6.56175C6.28757 6.52092 6.39322 6.4999 6.49993 6.4999L11.2423 6.49996C11.0371 6.06651 10.9447 5.58819 10.9739 5.10948C11.0031 4.63077 11.153 4.16722 11.4094 3.76196C11.6659 3.3567 12.0207 3.02289 12.4409 2.79158C12.861 2.56026 13.3328 2.43896 13.8124 2.43896C14.292 2.43896 14.7638 2.56026 15.1839 2.79158C15.6041 3.02289 15.9589 3.3567 16.2154 3.76196C16.4718 4.16722 16.6216 4.63077 16.6509 5.10948C16.6801 5.58819 16.5877 6.06651 16.3825 6.49996L21.1249 6.4999C21.3404 6.4999 21.547 6.5855 21.6994 6.73787C21.8518 6.89024 21.9374 7.0969 21.9374 7.31239L21.9374 11.6486C21.504 11.4433 21.0257 11.351 20.5469 11.3802C20.0682 11.4094 19.6047 11.5592 19.1994 11.8157C18.7942 12.0722 18.4604 12.427 18.229 12.8471C17.9977 13.2672 17.8764 13.739 17.8764 14.2187C17.8764 14.6983 17.9977 15.1701 18.229 15.5902C18.4604 16.0103 18.7942 16.3651 19.1994 16.6216C19.6047 16.8781 20.0682 17.0279 20.5469 17.0571C21.0257 17.0863 21.504 16.994 21.9374 16.7887L21.9374 21.1249C21.9374 21.3404 21.8518 21.5471 21.6994 21.6994C21.547 21.8518 21.3404 21.9374 21.1249 21.9374L6.49991 21.9374Z\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n};\n\nexport default PuzzlePiece;\n","import React from 'react';\n\nconst ShieldChevron: React.FC<{ className?: string }> = ({ className }) => {\n return (\n <svg viewBox=\"0 0 46 46\" fill=\"none\" className={className} data-testid=\"socialBadge-icon\">\n <path\n d=\"M7.53125 19.25V8.9375C7.53125 8.56454 7.67941 8.20685 7.94313 7.94313C8.20685 7.67941 8.56454 7.53125 8.9375 7.53125H37.0625C37.4355 7.53125 37.7931 7.67941 38.0569 7.94313C38.3206 8.20685 38.4688 8.56454 38.4688 8.9375V19.25C38.4688 34.0183 25.9345 38.9112 23.4318 39.7409C23.152 39.8372 22.848 39.8372 22.5682 39.7409C20.0655 38.9112 7.53125 34.0183 7.53125 19.25Z\"\n stroke=\"currentColor\"\n strokeWidth=\"4\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M36.0785 29.3425L23 20.1875L9.92139 29.3425\"\n stroke=\"currentColor\"\n strokeWidth=\"4\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n};\n\nexport default ShieldChevron;\n","import { NotificationTypeEnum } from '../../constants/notifications';\n\nimport Trophy from '../svgs/Trophy';\nimport Coins from '../svgs/Coins';\nimport User from '../svgs/User';\nimport Briefcase from '../svgs/Briefcase';\nimport PuzzlePiece from '../svgs/PuzzlePiece';\nimport Graduation from '../svgs/Graduation';\nimport ShieldChevron from '../svgs/ShieldChevron';\n\nexport type NotificationProps = {\n notificationType: NotificationTypeEnum;\n title: string;\n issuerImage?: string;\n issueDate: string;\n className?: string;\n handleViewOnClick: () => void;\n claimStatus: boolean;\n handleClaimOnClick: () => void;\n loadingState: boolean;\n};\n\nexport const NotificationTypeStyles: {\n [key: NotificationTypeEnum | string]: {\n viewButtonStyles: string;\n unclaimedButtonStyles: string;\n claimedButtonStyles: string;\n textStyles: string;\n iconCircleStyles: string;\n IconComponent: any;\n typeText: string;\n };\n} = {\n [NotificationTypeEnum.Currency]: {\n viewButtonStyles: 'border-cyan-400 text-cyan-400',\n unclaimedButtonStyles: 'text-white bg-cyan-400 border-cyan-400 shadow-bottom',\n claimedButtonStyles: 'text-cyan-400 bg-cyan-50 border-cyan-50',\n textStyles: 'text-cyan-400 capitalize',\n iconCircleStyles: 'bg-cyan-400',\n IconComponent: Coins,\n typeText: 'Currency',\n },\n [NotificationTypeEnum.SocialBadges]: {\n viewButtonStyles: 'border-cyan-400 text-cyan-400',\n unclaimedButtonStyles: 'text-white bg-cyan-400 border-cyan-400 shadow-bottom',\n claimedButtonStyles: 'text-cyan-400 bg-cyan-50 border-cyan-50',\n textStyles: 'text-cyan-400 capitalize',\n iconCircleStyles: 'bg-cyan-400',\n IconComponent: ShieldChevron,\n typeText: 'Social Badge',\n },\n [NotificationTypeEnum.ID]: {\n viewButtonStyles: 'border-yellow-400 text-yellow-400',\n unclaimedButtonStyles: 'text-white bg-yellow-400 border-yellow-400 shadow-bottom',\n claimedButtonStyles: 'text-yellow-400 bg-yellow-50 border-yellow-50',\n textStyles: 'text-yellow-400 uppercase',\n iconCircleStyles: 'bg-yellow-400',\n IconComponent: User,\n typeText: 'ID',\n },\n [NotificationTypeEnum.Achievement]: {\n viewButtonStyles: 'border-spice-600 text-spice-400',\n unclaimedButtonStyles: 'text-white bg-spice-400 border-spice-400 shadow-bottom',\n claimedButtonStyles: 'text-spice-400 bg-spice-50 border-spice-50',\n textStyles: 'text-spice-400 capitalize',\n iconCircleStyles: 'bg-spice-400',\n IconComponent: Trophy,\n typeText: 'Achievement',\n },\n [NotificationTypeEnum.Skill]: {\n viewButtonStyles: 'border-indigo-400 text-indigo-400',\n unclaimedButtonStyles: 'text-white bg-indigo-400 border-indigo-400 shadow-bottom',\n claimedButtonStyles: 'text-indigo-400 bg-indigo-50 border-indigo-50',\n textStyles: 'text-indigo-400 capitalize',\n iconCircleStyles: 'bg-indigo-400',\n IconComponent: PuzzlePiece,\n typeText: 'Skill',\n },\n [NotificationTypeEnum.Job]: {\n viewButtonStyles: 'border-rose-400 text-rose-400',\n unclaimedButtonStyles: 'text-white bg-rose-400 border-rose-400 shadow-bottom',\n claimedButtonStyles: 'text-rose-400 bg-rose-50 border-rose-50',\n textStyles: 'text-rose-400 capitalize',\n iconCircleStyles: 'bg-rose-400',\n IconComponent: Briefcase,\n typeText: 'Work History',\n },\n [NotificationTypeEnum.Learning]: {\n viewButtonStyles: 'border-emerald-500 text-emerald-500',\n unclaimedButtonStyles: 'text-white bg-emerald-500 border-emerald-500 shadow-bottom',\n claimedButtonStyles: 'text-emerald-500 bg-emerald-50 border-emerald-50',\n textStyles: 'text-emerald-500 capitalize',\n iconCircleStyles: 'bg-emerald-500',\n IconComponent: Graduation,\n typeText: 'Learning History',\n },\n};\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { U as UserNotificationTypeEnum } from './notifications-009bbd80.js';
|
|
2
|
+
|
|
3
|
+
const UserNotificationTypeStyles = {
|
|
4
|
+
[UserNotificationTypeEnum.ConnectionRequest]: {
|
|
5
|
+
viewButtonStyles: "border-indigo-600 text-indigo-400",
|
|
6
|
+
unclaimedButtonStyles: "text-white bg-indigo-600 border-indigo-600 shadow-bottom",
|
|
7
|
+
claimedButtonStyles: "text-indigo-600 bg-indigo-50 border-indigo-50",
|
|
8
|
+
textStyles: "text-indigo-600 capitalize",
|
|
9
|
+
iconCircleStyles: "bg-indigo-600",
|
|
10
|
+
typeText: "Invitation"
|
|
11
|
+
},
|
|
12
|
+
[UserNotificationTypeEnum.AcceptedBoost]: {
|
|
13
|
+
viewButtonStyles: "border-indigo-600 text-indigo-400",
|
|
14
|
+
unclaimedButtonStyles: "text-white bg-indigo-600 border-indigo-600 shadow-bottom",
|
|
15
|
+
claimedButtonStyles: "text-indigo-600 bg-indigo-50 border-indigo-50",
|
|
16
|
+
textStyles: "text-indigo-600 capitalize",
|
|
17
|
+
iconCircleStyles: "bg-indigo-600",
|
|
18
|
+
typeText: "Boost"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { UserNotificationTypeStyles as U };
|
|
23
|
+
//# sourceMappingURL=types-b32d28d5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-b32d28d5.js","sources":["../../src/components/NotificationUserCard/types.ts"],"sourcesContent":["import { UserNotificationTypeEnum } from '../../constants/notifications';\n\nexport type NotificationUserCardProps = {\n className?: string;\n thumbImage?: string;\n customThumbComponent?: React.ReactNode;\n issueDate?: string;\n handleButtonClick?: () => void;\n handleCancelClick?: () => void;\n handleCardClick?: () => void;\n acceptStatus: boolean;\n loadingState?: boolean;\n title?: string;\n isArchived?: boolean;\n};\n\nexport const UserNotificationTypeStyles: {\n [key: UserNotificationTypeEnum | string]: {\n viewButtonStyles: string;\n unclaimedButtonStyles: string;\n claimedButtonStyles: string;\n textStyles: string;\n iconCircleStyles: string;\n typeText?: string;\n };\n} = {\n [UserNotificationTypeEnum.ConnectionRequest]: {\n viewButtonStyles: 'border-indigo-600 text-indigo-400',\n unclaimedButtonStyles: 'text-white bg-indigo-600 border-indigo-600 shadow-bottom',\n claimedButtonStyles: 'text-indigo-600 bg-indigo-50 border-indigo-50',\n textStyles: 'text-indigo-600 capitalize',\n iconCircleStyles: 'bg-indigo-600',\n typeText: 'Invitation',\n },\n [UserNotificationTypeEnum.AcceptedBoost]: {\n viewButtonStyles: 'border-indigo-600 text-indigo-400',\n unclaimedButtonStyles: 'text-white bg-indigo-600 border-indigo-600 shadow-bottom',\n claimedButtonStyles: 'text-indigo-600 bg-indigo-50 border-indigo-50',\n textStyles: 'text-indigo-600 capitalize',\n iconCircleStyles: 'bg-indigo-600',\n typeText: 'Boost',\n },\n};\n"],"names":[],"mappings":";;AAgBO,MAAM,0BAST,GAAA;AAAA,EACA,CAAC,yBAAyB,iBAAoB,GAAA;AAAA,IAC1C,gBAAkB,EAAA,mCAAA;AAAA,IAClB,qBAAuB,EAAA,0DAAA;AAAA,IACvB,mBAAqB,EAAA,+CAAA;AAAA,IACrB,UAAY,EAAA,4BAAA;AAAA,IACZ,gBAAkB,EAAA,eAAA;AAAA,IAClB,QAAU,EAAA,YAAA;AAAA,GACd;AAAA,EACA,CAAC,yBAAyB,aAAgB,GAAA;AAAA,IACtC,gBAAkB,EAAA,mCAAA;AAAA,IAClB,qBAAuB,EAAA,0DAAA;AAAA,IACvB,mBAAqB,EAAA,+CAAA;AAAA,IACrB,UAAY,EAAA,4BAAA;AAAA,IACZ,gBAAkB,EAAA,eAAA;AAAA,IAClB,QAAU,EAAA,OAAA;AAAA,GACd;AACJ;;;;"}
|
|
@@ -3968,7 +3968,8 @@ var LCNProfileValidator = mod.object({
|
|
|
3968
3968
|
did: mod.string(),
|
|
3969
3969
|
email: mod.string().optional(),
|
|
3970
3970
|
image: mod.string().optional(),
|
|
3971
|
-
isServiceProfile: mod.boolean().default(false).optional()
|
|
3971
|
+
isServiceProfile: mod.boolean().default(false).optional(),
|
|
3972
|
+
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
|
3972
3973
|
});
|
|
3973
3974
|
mod.enum([
|
|
3974
3975
|
"CONNECTED",
|
|
@@ -3983,17 +3984,69 @@ mod.object({
|
|
|
3983
3984
|
sent: mod.string().datetime(),
|
|
3984
3985
|
received: mod.string().datetime().optional()
|
|
3985
3986
|
});
|
|
3987
|
+
var LCNBoostStatus = mod.enum([
|
|
3988
|
+
"DRAFT",
|
|
3989
|
+
"LIVE"
|
|
3990
|
+
]);
|
|
3986
3991
|
mod.object({
|
|
3987
3992
|
uri: mod.string(),
|
|
3988
3993
|
name: mod.string().optional(),
|
|
3989
3994
|
type: mod.string().optional(),
|
|
3990
|
-
category: mod.string().optional()
|
|
3995
|
+
category: mod.string().optional(),
|
|
3996
|
+
status: LCNBoostStatus.optional()
|
|
3991
3997
|
});
|
|
3992
3998
|
mod.object({
|
|
3993
3999
|
to: LCNProfileValidator,
|
|
3994
4000
|
from: mod.string(),
|
|
3995
4001
|
received: mod.string()
|
|
3996
4002
|
});
|
|
4003
|
+
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
4004
|
+
"CONNECTION_REQUEST",
|
|
4005
|
+
"CONNECTION_ACCEPTED",
|
|
4006
|
+
"CREDENTIAL_RECEIVED",
|
|
4007
|
+
"CREDENTIAL_ACCEPTED",
|
|
4008
|
+
"BOOST_RECEIVED",
|
|
4009
|
+
"BOOST_ACCEPTED",
|
|
4010
|
+
"PRESENTATION_REQUEST",
|
|
4011
|
+
"PRESENTATION_RECEIVED"
|
|
4012
|
+
]);
|
|
4013
|
+
var LCNNotificationMessageValidator = mod.object({
|
|
4014
|
+
title: mod.string().optional(),
|
|
4015
|
+
body: mod.string().optional()
|
|
4016
|
+
});
|
|
4017
|
+
var LCNNotificationDataValidator = mod.object({
|
|
4018
|
+
vcUris: mod.array(mod.string()).optional(),
|
|
4019
|
+
vpUris: mod.array(mod.string()).optional()
|
|
4020
|
+
});
|
|
4021
|
+
mod.object({
|
|
4022
|
+
type: LCNNotificationTypeEnumValidator,
|
|
4023
|
+
to: mod.string().or(LCNProfileValidator),
|
|
4024
|
+
from: mod.string().or(LCNProfileValidator),
|
|
4025
|
+
message: LCNNotificationMessageValidator.optional(),
|
|
4026
|
+
data: LCNNotificationDataValidator.optional(),
|
|
4027
|
+
sent: mod.string().datetime().optional()
|
|
4028
|
+
});
|
|
4029
|
+
mod.object({
|
|
4030
|
+
endpoint: mod.string(),
|
|
4031
|
+
name: mod.string(),
|
|
4032
|
+
did: mod.string().optional()
|
|
4033
|
+
});
|
|
4034
|
+
mod.object({
|
|
4035
|
+
ttlSeconds: mod.number().optional(),
|
|
4036
|
+
totalUses: mod.number().optional()
|
|
4037
|
+
});
|
|
4038
|
+
var LCNSigningAuthorityValidator = mod.object({
|
|
4039
|
+
endpoint: mod.string()
|
|
4040
|
+
});
|
|
4041
|
+
mod.object({
|
|
4042
|
+
signingAuthority: LCNSigningAuthorityValidator,
|
|
4043
|
+
relationship: mod.object({
|
|
4044
|
+
name: mod.string().max(15).regex(/^[a-z0-9-]+$/, {
|
|
4045
|
+
message: "The input string must contain only lowercase letters, numbers, and hyphens."
|
|
4046
|
+
}),
|
|
4047
|
+
did: mod.string()
|
|
4048
|
+
})
|
|
4049
|
+
});
|
|
3997
4050
|
var JWKValidator = mod.object({
|
|
3998
4051
|
kty: mod.string(),
|
|
3999
4052
|
crv: mod.string(),
|
|
@@ -4025,4 +4078,4 @@ mod.object({
|
|
|
4025
4078
|
});
|
|
4026
4079
|
|
|
4027
4080
|
export { VerificationStatusEnum as V };
|
|
4028
|
-
//# sourceMappingURL=types.esm-
|
|
4081
|
+
//# sourceMappingURL=types.esm-e0b82727.js.map
|