@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.esm.js CHANGED
@@ -265,6 +265,7 @@ var homeSdk$1 = {
265
265
  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!",
266
266
  rating_label: "Rating:",
267
267
  comment_label: "Comment:",
268
+ comment_placeholder: "Write your comment here...",
268
269
  submit_button: "Submit Review",
269
270
  comment_error: "Comment must be between 10 and 500 characters.",
270
271
  rating_error: "Rating must be between 1 and 5.",
@@ -299,6 +300,7 @@ var homeSdk = {
299
300
  description: "نحن نقدر ملاحظاتك! يُرجى تخصيص لحظة لتقييم تجربتك ومشاركة آرائك في قسم التعليقات أدناه. يساعدنا تقييمك في تحسين خدماتنا ويساعد المستخدمين الآخرين في اتخاذ قرارات مستنيرة. شكرًا لك!",
300
301
  rating_label: "التقييم:",
301
302
  comment_label: "التعليق:",
303
+ comment_placeholder: "اكتب تعليقك هنا...",
302
304
  submit_button: "إرسال التقييم",
303
305
  comment_error: "يجب أن يكون التعليق بين 10 و500 حرف.",
304
306
  rating_error: "يجب أن يكون التقييم بين 1 و5.",
@@ -308,7 +310,9 @@ var homeSdk = {
308
310
  title: "تأكيد",
309
311
  message: "هل أنت متأكد أنك تريد إنهاء المحادثة؟",
310
312
  confirmation_button: "إنهاء",
311
- cancel_button: "إلغاء"
313
+ cancel_button: "إلغاء",
314
+ endAndStartNewChatTitle: "إنهاء وبدء محادثة جديدة",
315
+ endAndStartNewChatMessage: "هل أنت متأكد أنك تريد إنهاء هذه المحادثة وبدء محادثة جديدة؟"
312
316
  }
313
317
  };
314
318
  var ar = {
@@ -398,7 +402,7 @@ const ReviewDialog = (props) => {
398
402
  React__default.createElement("span", { className: `babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ${error.rating ? 'opacity-100' : 'opacity-0'}` }, error.rating)),
399
403
  React__default.createElement("div", { className: "babylai-flex babylai-flex-col babylai-gap-2" },
400
404
  React__default.createElement("label", { htmlFor: 'comment', className: "babylai-text-base babylai-font-medium dark:babylai-text-white" }, t('homeSdk.ReviewDialog.comment_label')),
401
- React__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) }),
405
+ React__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) }),
402
406
  React__default.createElement("span", { className: `babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ${error.comment ? 'opacity-100' : 'opacity-0'}` }, error.comment))),
403
407
  React__default.createElement("footer", { className: "babylai-flex babylai-justify-between babylai-gap-4 babylai-border-t babylai-pt-4" },
404
408
  React__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')),