@aslaluroba/help-center-react 3.0.2 → 3.0.3

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/index.js CHANGED
@@ -294,6 +294,7 @@ var homeSdk$1 = {
294
294
  description: "We appreciate your feedback! Please take a moment to rate your experience and share your thoughts in the comment section below. Your review helps us improve our services and assists other users in making informed decisions. Thank you!",
295
295
  rating_label: "Rating:",
296
296
  comment_label: "Comment:",
297
+ comment_placeholder: "Write your comment here...",
297
298
  submit_button: "Submit Review",
298
299
  comment_error: "Comment must be between 10 and 500 characters.",
299
300
  rating_error: "Rating must be between 1 and 5.",
@@ -328,6 +329,7 @@ var homeSdk = {
328
329
  description: "نحن نقدر ملاحظاتك! يُرجى تخصيص لحظة لتقييم تجربتك ومشاركة آرائك في قسم التعليقات أدناه. يساعدنا تقييمك في تحسين خدماتنا ويساعد المستخدمين الآخرين في اتخاذ قرارات مستنيرة. شكرًا لك!",
329
330
  rating_label: "التقييم:",
330
331
  comment_label: "التعليق:",
332
+ comment_placeholder: "اكتب تعليقك هنا...",
331
333
  submit_button: "إرسال التقييم",
332
334
  comment_error: "يجب أن يكون التعليق بين 10 و500 حرف.",
333
335
  rating_error: "يجب أن يكون التقييم بين 1 و5.",
@@ -337,7 +339,9 @@ var homeSdk = {
337
339
  title: "تأكيد",
338
340
  message: "هل أنت متأكد أنك تريد إنهاء المحادثة؟",
339
341
  confirmation_button: "إنهاء",
340
- cancel_button: "إلغاء"
342
+ cancel_button: "إلغاء",
343
+ endAndStartNewChatTitle: "إنهاء وبدء محادثة جديدة",
344
+ endAndStartNewChatMessage: "هل أنت متأكد أنك تريد إنهاء هذه المحادثة وبدء محادثة جديدة؟"
341
345
  }
342
346
  };
343
347
  var ar = {
@@ -427,7 +431,7 @@ const ReviewDialog = (props) => {
427
431
  React__default["default"].createElement("span", { className: `babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ${error.rating ? 'opacity-100' : 'opacity-0'}` }, error.rating)),
428
432
  React__default["default"].createElement("div", { className: "babylai-flex babylai-flex-col babylai-gap-2" },
429
433
  React__default["default"].createElement("label", { htmlFor: 'comment', className: "babylai-text-base babylai-font-medium dark:babylai-text-white" }, t('homeSdk.ReviewDialog.comment_label')),
430
- React__default["default"].createElement("textarea", { id: 'comment', className: "babylai-bg-black-white-100 babylai-p-6 babylai-rounded-xl babylai-resize-none dark:babylai-bg-storm-dust-900 dark:babylai-text-white", rows: 4, placeholder: "Write your comment here...", value: comment, onChange: (e) => handleCommentChange(e.target.value) }),
434
+ React__default["default"].createElement("textarea", { id: 'comment', className: "babylai-bg-black-white-100 babylai-p-6 babylai-rounded-xl babylai-resize-none dark:babylai-bg-storm-dust-900 dark:babylai-text-white", rows: 4, placeholder: t('homeSdk.ReviewDialog.comment_placeholder'), value: comment, onChange: (e) => handleCommentChange(e.target.value) }),
431
435
  React__default["default"].createElement("span", { className: `babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ${error.comment ? 'opacity-100' : 'opacity-0'}` }, error.comment))),
432
436
  React__default["default"].createElement("footer", { className: "babylai-flex babylai-justify-between babylai-gap-4 babylai-border-t babylai-pt-4" },
433
437
  React__default["default"].createElement("button", { className: "babylai-px-4 babylai-py-2 babylai-rounded-lg babylai-bg-gray-200 babylai-text-gray-700 hover:babylai-bg-gray-300 transition-all", onClick: props.onClose }, t('homeSdk.ReviewDialog.skip_button')),