@aslaluroba/help-center-react 3.2.9 → 3.2.10

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
@@ -38984,10 +38984,10 @@ var InChatReview = _ref => {
38984
38984
  value: comment,
38985
38985
  onChange: e => setComment(e.target.value),
38986
38986
  "aria-label": t('homeSdk.InChatReview.note_placeholder')
38987
- }), jsxRuntime.jsx("button", {
38987
+ }), jsxRuntime.jsx(Button, {
38988
+ variant: 'default',
38988
38989
  onClick: handleSubmit,
38989
38990
  disabled: isSubmitting,
38990
- className: "babylai:bg-primary babylai:border babylai:border-primary babylai:cursor-pointer babylai:disabled:bg-black-white-300 babylai:disabled:border-black-white-300 babylai:disabled:cursor-not-allowed babylai:disabled:text-white babylai:duration-200 babylai:ease-out babylai:flex babylai:gap-1 babylai:items-center babylai:justify-center babylai:p-3 babylai:relative babylai:rounded-2xl babylai:text-white babylai:text-xl babylai:transition-all babylai:w-full",
38991
38991
  children: isSubmitting ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
38992
38992
  children: [jsxRuntime.jsx("span", {
38993
38993
  className: "babylai:inline-block babylai:animate-spin babylai:rounded-full babylai:h-4 babylai:w-4 babylai:border-2 babylai:border-white babylai:border-t-transparent babylai:box-border",
@@ -39369,6 +39369,9 @@ var ChatWindowHeader = _ref => {
39369
39369
  handleMinimize,
39370
39370
  optionTitle
39371
39371
  } = _ref;
39372
+ var {
39373
+ i18n
39374
+ } = useLocalTranslation();
39372
39375
  return jsxRuntime.jsxs("header", {
39373
39376
  className: "bg-header babylai:flex babylai:items-center babylai:justify-between babylai:p-6 babylai:border-b babylai:border-black-white-200",
39374
39377
  children: [jsxRuntime.jsxs("div", {
@@ -39376,7 +39379,8 @@ var ChatWindowHeader = _ref => {
39376
39379
  children: [jsxRuntime.jsx(ActionButton, {
39377
39380
  onClick: handleBack,
39378
39381
  icon: jsxRuntime.jsx(ForwardRef$3, {}),
39379
- ariaLabel: "Back"
39382
+ ariaLabel: "Back",
39383
+ className: cn(i18n.language === 'ar' && 'babylai:rotate-180')
39380
39384
  }), jsxRuntime.jsx(ActionButton, {
39381
39385
  onClick: handleEndChat,
39382
39386
  icon: jsxRuntime.jsx(ForwardRef$a, {}),