@typeolymp/ui-components 3.0.18 → 3.0.19

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",
@@ -3652,6 +3658,10 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3652
3658
  return theme.colors.blue.base;
3653
3659
  case "green":
3654
3660
  return theme.colors.green.base;
3661
+ case "darkGreen":
3662
+ return theme.colors.darkGreen.base;
3663
+ case "purple":
3664
+ return theme.colors.purple.base;
3655
3665
  case "red":
3656
3666
  return theme.colors.red.base;
3657
3667
  case "white":
@@ -3665,6 +3675,10 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3665
3675
  return "inset 0 -3px 0 ".concat(theme.colors.blue.dark);
3666
3676
  case "green":
3667
3677
  return "inset 0 -3px 0 ".concat(theme.colors.green.dark);
3678
+ case "darkGreen":
3679
+ return "inset 0 -3px 0 ".concat(theme.colors.darkGreen.darker);
3680
+ case "purple":
3681
+ return "inset 0 -3px 0 ".concat(theme.colors.purple.darker);
3668
3682
  case "red":
3669
3683
  return "inset 0 -3px 0 ".concat(theme.colors.red.dark);
3670
3684
  case "white":
@@ -3679,6 +3693,7 @@ var StyledButton = styled__default["default"].button(templateObject_1$V || (temp
3679
3693
  default:
3680
3694
  case "blue":
3681
3695
  case "red":
3696
+ case "darkGreen":
3682
3697
  return theme.colors.lightGray.light;
3683
3698
  case "green":
3684
3699
  return theme.colors.green.darker;
@@ -3865,6 +3880,7 @@ exports.Color = void 0;
3865
3880
  Color["YELLOW"] = "yellow";
3866
3881
  Color["BLUE"] = "blue";
3867
3882
  Color["GREEN"] = "green";
3883
+ Color["DARK_GREEN"] = "darkGreen";
3868
3884
  Color["PURPLE"] = "purple";
3869
3885
  Color["PINK"] = "pink";
3870
3886
  Color["ORANGE"] = "orange";
@@ -4053,6 +4069,8 @@ exports.NotificationType = void 0;
4053
4069
  (function (NotificationType) {
4054
4070
  NotificationType["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
4055
4071
  NotificationType["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
4072
+ NotificationType["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
4073
+ NotificationType["STUDENT_EXAM_RESULT"] = "studentExamResult";
4056
4074
  NotificationType["TUTOR_INVITE"] = "tutorInvite";
4057
4075
  })(exports.NotificationType || (exports.NotificationType = {}));
4058
4076
 
@@ -4089,6 +4107,21 @@ exports.TextTopic = void 0;
4089
4107
 
4090
4108
  }(TextTopic));
4091
4109
 
4110
+ var TutorEmailPreference = {};
4111
+
4112
+ (function (exports) {
4113
+ Object.defineProperty(exports, "__esModule", { value: true });
4114
+ exports.TutorEmailPreference = void 0;
4115
+ (function (TutorEmailPreference) {
4116
+ TutorEmailPreference["STUDENT_UPGRADE_REQUEST"] = "studentUpgradeRequest";
4117
+ TutorEmailPreference["STUDENT_RESET_PASSWORD_REQUEST"] = "studentResetPasswordRequest";
4118
+ TutorEmailPreference["STUDENT_COMPLETED_CHAPTER"] = "studentCompletedChapter";
4119
+ TutorEmailPreference["STUDENT_EXAM_RESULT"] = "studentExamResult";
4120
+ TutorEmailPreference["CLASSROOM_INVITATION"] = "classroomInvitation";
4121
+ })(exports.TutorEmailPreference || (exports.TutorEmailPreference = {}));
4122
+
4123
+ }(TutorEmailPreference));
4124
+
4092
4125
  (function (exports) {
4093
4126
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4094
4127
  if (k2 === undefined) k2 = k;
@@ -4121,6 +4154,7 @@ __exportStar(NodeEnv, exports);
4121
4154
  __exportStar(NotificationType, exports);
4122
4155
  __exportStar(Plan, exports);
4123
4156
  __exportStar(TextTopic, exports);
4157
+ __exportStar(TutorEmailPreference, exports);
4124
4158
 
4125
4159
  }(enums));
4126
4160