@typeolymp/ui-components 3.0.18 → 3.0.20

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/build/index.js CHANGED
@@ -73,6 +73,12 @@ var theme = {
73
73
  // dark: "#319D60",
74
74
  // darker: "#257648",
75
75
  },
76
+ darkGreen: {
77
+ light: "#6AEBC0",
78
+ base: "#00906C",
79
+ dark: "#007C60",
80
+ darker: "#045041",
81
+ },
76
82
  purple: {
77
83
  light: "#9870ff",
78
84
  base: "#6f0fff",
@@ -3551,6 +3557,8 @@ var Wrapper$a = styled__default["default"].div(templateObject_1$W || (templateOb
3551
3557
  return theme.colors.purple.base;
3552
3558
  case "white":
3553
3559
  return theme.colors.lightGray.light;
3560
+ case "yellow":
3561
+ return theme.colors.yellow.light;
3554
3562
  }
3555
3563
  }, function (_a) {
3556
3564
  var onClick = _a.onClick;
@@ -3581,6 +3589,8 @@ var Wrapper$a = styled__default["default"].div(templateObject_1$W || (templateOb
3581
3589
  return theme.colors.purple.dark;
3582
3590
  case "white":
3583
3591
  return theme.colors.lightGray.base;
3592
+ case "yellow":
3593
+ return theme.colors.yellow.base;
3584
3594
  }
3585
3595
  });
3586
3596
  var templateObject_1$W;
@@ -3652,6 +3662,10 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3652
3662
  return theme.colors.blue.base;
3653
3663
  case "green":
3654
3664
  return theme.colors.green.base;
3665
+ case "darkGreen":
3666
+ return theme.colors.darkGreen.base;
3667
+ case "purple":
3668
+ return theme.colors.purple.base;
3655
3669
  case "red":
3656
3670
  return theme.colors.red.base;
3657
3671
  case "white":
@@ -3665,6 +3679,10 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3665
3679
  return "inset 0 -3px 0 ".concat(theme.colors.blue.dark);
3666
3680
  case "green":
3667
3681
  return "inset 0 -3px 0 ".concat(theme.colors.green.dark);
3682
+ case "darkGreen":
3683
+ return "inset 0 -3px 0 ".concat(theme.colors.darkGreen.darker);
3684
+ case "purple":
3685
+ return "inset 0 -3px 0 ".concat(theme.colors.purple.darker);
3668
3686
  case "red":
3669
3687
  return "inset 0 -3px 0 ".concat(theme.colors.red.dark);
3670
3688
  case "white":
@@ -3679,6 +3697,7 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3679
3697
  default:
3680
3698
  case "blue":
3681
3699
  case "red":
3700
+ case "darkGreen":
3682
3701
  return theme.colors.lightGray.light;
3683
3702
  case "green":
3684
3703
  return theme.colors.green.darker;
@@ -3865,6 +3884,7 @@ exports.Color = void 0;
3865
3884
  Color["YELLOW"] = "yellow";
3866
3885
  Color["BLUE"] = "blue";
3867
3886
  Color["GREEN"] = "green";
3887
+ Color["DARK_GREEN"] = "darkGreen";
3868
3888
  Color["PURPLE"] = "purple";
3869
3889
  Color["PINK"] = "pink";
3870
3890
  Color["ORANGE"] = "orange";
@@ -4053,6 +4073,8 @@ exports.NotificationType = void 0;
4053
4073
  (function (NotificationType) {
4054
4074
  NotificationType["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
4055
4075
  NotificationType["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
4076
+ NotificationType["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
4077
+ NotificationType["STUDENT_EXAM_RESULT"] = "studentExamResult";
4056
4078
  NotificationType["TUTOR_INVITE"] = "tutorInvite";
4057
4079
  })(exports.NotificationType || (exports.NotificationType = {}));
4058
4080
 
@@ -4089,6 +4111,21 @@ exports.TextTopic = void 0;
4089
4111
 
4090
4112
  }(TextTopic));
4091
4113
 
4114
+ var TutorEmailPreference = {};
4115
+
4116
+ (function (exports) {
4117
+ Object.defineProperty(exports, "__esModule", { value: true });
4118
+ exports.TutorEmailPreference = void 0;
4119
+ (function (TutorEmailPreference) {
4120
+ TutorEmailPreference["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
4121
+ TutorEmailPreference["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
4122
+ TutorEmailPreference["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
4123
+ TutorEmailPreference["STUDENT_EXAM_RESULT"] = "studentExamResult";
4124
+ TutorEmailPreference["CLASSROOM_INVITATION"] = "classroomInvitation";
4125
+ })(exports.TutorEmailPreference || (exports.TutorEmailPreference = {}));
4126
+
4127
+ }(TutorEmailPreference));
4128
+
4092
4129
  (function (exports) {
4093
4130
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4094
4131
  if (k2 === undefined) k2 = k;
@@ -4121,6 +4158,7 @@ __exportStar(NodeEnv, exports);
4121
4158
  __exportStar(NotificationType, exports);
4122
4159
  __exportStar(Plan, exports);
4123
4160
  __exportStar(TextTopic, exports);
4161
+ __exportStar(TutorEmailPreference, exports);
4124
4162
 
4125
4163
  }(enums));
4126
4164