@aslaluroba/help-center-react 3.0.7 → 3.0.8

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
@@ -3566,9 +3566,9 @@ var iconMap = {
3566
3566
  thumbsUp: IconThumbUp
3567
3567
  };
3568
3568
  var sizeMap = {
3569
- sm: 'w-4 h-4',
3570
- md: 'w-6 h-6',
3571
- lg: 'w-8 h-8'
3569
+ sm: 'babylai-w-4 babylai-h-4',
3570
+ md: 'babylai-w-6 babylai-h-6',
3571
+ lg: 'babylai-w-8 babylai-h-8'
3572
3572
  };
3573
3573
  var Rating = /*#__PURE__*/React__namespace.forwardRef((_ref, ref) => {
3574
3574
  var {
@@ -3598,12 +3598,12 @@ var Rating = /*#__PURE__*/React__namespace.forwardRef((_ref, ref) => {
3598
3598
  };
3599
3599
  return jsxRuntime.jsx("div", _objectSpread2(_objectSpread2({
3600
3600
  ref: ref,
3601
- className: cn('flex items-center', className)
3601
+ className: cn('babylai-flex babylai-items-center', className)
3602
3602
  }, props), {}, {
3603
3603
  children: [...Array(max)].map((_, index) => {
3604
3604
  var filled = (hoverValue !== null ? hoverValue : value) > index;
3605
3605
  return jsxRuntime.jsx(Icon, {
3606
- className: cn(sizeMap[size], 'cursor-pointer transition-colors', filled ? 'text-yellow-400 fill-yellow-400' : 'text-gray-300', readOnly && 'cursor-default'),
3606
+ className: cn(sizeMap[size], 'babylai-cursor-pointer babylai-transition-colors', filled ? 'babylai-text-yellow-400 babylai-fill-yellow-400' : 'babylai-text-gray-300', readOnly && 'babylai-cursor-default'),
3607
3607
  onMouseEnter: () => handleMouseEnter(index + 1),
3608
3608
  onMouseLeave: handleMouseLeave,
3609
3609
  onClick: () => handleClick(index + 1),
@@ -3797,7 +3797,7 @@ var ReviewDialog = props => {
3797
3797
  return jsxRuntime.jsxs("section", {
3798
3798
  className: "babylai-p-6 babylai-gap-6 babylai-max-w-sm babylai-max-h-[calc(100vh-90px)] babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 dark:babylai-bg-storm-dust-950 babylai-fixed babylai-bottom-20 babylai-right-0 md:babylai-right-4 babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col",
3799
3799
  children: [jsxRuntime.jsxs("header", {
3800
- className: 'border-b pb-4 babylai-flex babylai-items-center babylai-justify-between babylai-gap-4',
3800
+ className: 'babylai-border-b babylai-pb-4 babylai-flex babylai-items-center babylai-justify-between babylai-gap-4',
3801
3801
  children: [jsxRuntime.jsx("h2", {
3802
3802
  className: "babylai-text-lg babylai-font-semibold dark:babylai-text-white",
3803
3803
  children: t('homeSdk.ReviewDialog.title')
@@ -3808,7 +3808,7 @@ var ReviewDialog = props => {
3808
3808
  }), jsxRuntime.jsxs("div", {
3809
3809
  className: "babylai-flex babylai-flex-col babylai-gap-2",
3810
3810
  children: [jsxRuntime.jsx("p", {
3811
- className: "babylai-text-sm babylai-text-gray-600 mb-3 dark:babylai-text-white",
3811
+ className: "babylai-text-sm babylai-text-gray-600 babylai-mb-3 dark:babylai-text-white",
3812
3812
  children: t('homeSdk.ReviewDialog.description')
3813
3813
  }), jsxRuntime.jsxs("div", {
3814
3814
  className: "babylai-flex babylai-items-center babylai-gap-2",
@@ -3819,7 +3819,7 @@ var ReviewDialog = props => {
3819
3819
  value: rating,
3820
3820
  onChange: handleRatingChange
3821
3821
  }), jsxRuntime.jsx("span", {
3822
- className: "babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ".concat(error.rating ? 'opacity-100' : 'opacity-0'),
3822
+ className: "babylai-text-sm babylai-text-red-500 babylai-transition-opacity babylai-duration-300 ".concat(error.rating ? 'babylai-opacity-100' : 'babylai-opacity-0'),
3823
3823
  children: error.rating
3824
3824
  })]
3825
3825
  }), jsxRuntime.jsxs("div", {
@@ -3836,18 +3836,18 @@ var ReviewDialog = props => {
3836
3836
  value: comment,
3837
3837
  onChange: e => handleCommentChange(e.target.value)
3838
3838
  }), jsxRuntime.jsx("span", {
3839
- className: "babylai-text-sm babylai-text-red-500 transition-opacity duration-300 ".concat(error.comment ? 'opacity-100' : 'opacity-0'),
3839
+ className: "babylai-text-sm babylai-text-red-500 babylai-transition-opacity babylai-duration-300 ".concat(error.comment ? 'babylai-opacity-100' : 'babylai-opacity-0'),
3840
3840
  children: error.comment
3841
3841
  })]
3842
3842
  })]
3843
3843
  }), jsxRuntime.jsxs("footer", {
3844
3844
  className: "babylai-flex babylai-justify-between babylai-gap-4 babylai-border-t babylai-pt-4",
3845
3845
  children: [jsxRuntime.jsx("button", {
3846
- 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",
3846
+ className: "babylai-px-4 babylai-py-2 babylai-rounded-lg babylai-bg-gray-200 babylai-text-gray-700 hover:babylai-bg-gray-300 babylai-transition-all",
3847
3847
  onClick: props.onClose,
3848
3848
  children: t('homeSdk.ReviewDialog.skip_button')
3849
3849
  }), jsxRuntime.jsx("button", {
3850
- className: 'babylai-px-4 babylai-py-2 babylai-rounded-lg babylai-shadow transition-all babylai-bg-primary-500 babylai-text-white hover:babylai-bg-primary-600',
3850
+ className: 'babylai-px-4 babylai-py-2 babylai-rounded-lg babylai-shadow babylai-transition-all babylai-bg-primary-500 babylai-text-white hover:babylai-bg-primary-600',
3851
3851
  onClick: validateAndSubmit,
3852
3852
  children: t('homeSdk.ReviewDialog.submit_button')
3853
3853
  })]
@@ -13785,7 +13785,7 @@ function FloatingMessage(_ref) {
13785
13785
  className: "babylai-text-xs babylai-font-bold babylai-m-0",
13786
13786
  children: message
13787
13787
  }), jsxRuntime.jsx("button", {
13788
- className: "babylai-absolute babylai--top-2 babylai--right-2 babylai-w-5 babylai-h-5 babylai-rounded-full babylai-bg-white babylai-border-none babylai-cursor-pointer babylai-flex babylai-items-center babylai-justify-center babylai-text-black-white-700 babylai-p-[3px] babylai-hover:bg-primary-400 babylai-hover:text-white shadow-md",
13788
+ className: "babylai-absolute babylai--top-2 babylai--right-2 babylai-w-5 babylai-h-5 babylai-rounded-full babylai-bg-white babylai-border-none babylai-cursor-pointer babylai-flex babylai-items-center babylai-justify-center babylai-text-black-white-700 babylai-p-[3px] hover:babylai-bg-primary-400 babylai-hover:text-white babylai-shadow-md",
13789
13789
  onClick: onClose,
13790
13790
  children: jsxRuntime.jsx(CloseIcon, {
13791
13791
  className: "babylai-w-8 babylai-h-8"
@@ -31715,11 +31715,11 @@ var buttonVariants = cva('babylai-inline-flex babylai-items-center babylai-justi
31715
31715
  variants: {
31716
31716
  variant: {
31717
31717
  default: 'babylai-bg-primary-500 babylai-p-2 babylai-text-white babylai-text-xs babylai-font-semibold hover:babylai-bg-primary-600',
31718
- destructive: 'babylai-bg-destructive babylai-p-2 babylai-text-destructive-foreground babylai-shadow-sm babylai-hover:babylai-bg-destructive/90',
31718
+ destructive: 'babylai-bg-destructive babylai-p-2 babylai-text-destructive-foreground babylai-shadow-sm hover:babylai-bg-destructive/90',
31719
31719
  outline: 'babylai-border babylai-border-primary-500 babylai-bg-background-transparent hover:babylai-border-primary-600 hover:babylai-text-primary-600 babylai-text-primary-500 babylai-font-bold',
31720
31720
  secondary: 'babylai-bg-secondary babylai-p-2 babylai-text-secondary-foreground babylai-shadow-sm babylai-hover:babylai-bg-secondary/80',
31721
- ghost: 'babylai-bg-transparent babylai-p-2 babylai-text-secondary-foreground babylai-shadow-sm babylai-hover:babylai-bg-secondary/80',
31722
- link: 'babylai-text-primary babylai-underline-offset-4 babylai-hover:babylai-underline',
31721
+ ghost: 'babylai-bg-transparent babylai-p-2 babylai-text-secondary-foreground babylai-shadow-sm hover:babylai-bg-secondary/80',
31722
+ link: 'babylai-text-primary babylai-underline-offset-4 hover:babylai-underline',
31723
31723
  'rounded-icon': '!babylai-p-2'
31724
31724
  },
31725
31725
  size: {
@@ -31766,9 +31766,9 @@ var Card$2 = /*#__PURE__*/React__namespace.forwardRef((_ref, ref) => {
31766
31766
  } = _ref,
31767
31767
  props = _objectWithoutProperties(_ref, _excluded$9);
31768
31768
  var variantStyles = {
31769
- default: 'rounded-xl border bg-card text-card-foreground shadow',
31770
- rounded: 'rounded-3xl bg-black-white-50 py-4 px-3',
31771
- shadowed: 'rounded-xl border bg-card text-card-foreground shadow-lg'
31769
+ default: 'babylai-rounded-xl babylai-border babylai-bg-card babylai-text-card-foreground babylai-shadow',
31770
+ rounded: 'babylai-rounded-3xl babylai-bg-black-white-50 babylai-py-4 babylai-px-3',
31771
+ shadowed: 'babylai-rounded-xl babylai-border babylai-bg-card babylai-text-card-foreground babylai-shadow-lg'
31772
31772
  };
31773
31773
  return jsxRuntime.jsx("div", _objectSpread2({
31774
31774
  ref: ref,
@@ -31783,7 +31783,7 @@ var CardHeader = /*#__PURE__*/React__namespace.forwardRef((_ref2, ref) => {
31783
31783
  props = _objectWithoutProperties(_ref2, _excluded2);
31784
31784
  return jsxRuntime.jsx("div", _objectSpread2({
31785
31785
  ref: ref,
31786
- className: cn('flex flex-col space-y-1.5 p-6', className)
31786
+ className: cn('babylai-flex babylai-flex-col babylai-space-y-1.5 babylai-p-6', className)
31787
31787
  }, props));
31788
31788
  });
31789
31789
  CardHeader.displayName = 'CardHeader';
@@ -31794,7 +31794,7 @@ var CardTitle = /*#__PURE__*/React__namespace.forwardRef((_ref3, ref) => {
31794
31794
  props = _objectWithoutProperties(_ref3, _excluded3);
31795
31795
  return jsxRuntime.jsx("div", _objectSpread2({
31796
31796
  ref: ref,
31797
- className: cn('font-semibold leading-none tracking-tight', className)
31797
+ className: cn('babylai-font-semibold babylai-leading-none babylai-tracking-tight', className)
31798
31798
  }, props));
31799
31799
  });
31800
31800
  CardTitle.displayName = 'CardTitle';
@@ -31805,7 +31805,7 @@ var CardDescription = /*#__PURE__*/React__namespace.forwardRef((_ref4, ref) => {
31805
31805
  props = _objectWithoutProperties(_ref4, _excluded4);
31806
31806
  return jsxRuntime.jsx("div", _objectSpread2({
31807
31807
  ref: ref,
31808
- className: cn('text-sm text-muted-foreground', className)
31808
+ className: cn('babylai-text-sm babylai-text-muted-foreground', className)
31809
31809
  }, props));
31810
31810
  });
31811
31811
  CardDescription.displayName = 'CardDescription';
@@ -31816,7 +31816,7 @@ var CardContent = /*#__PURE__*/React__namespace.forwardRef((_ref5, ref) => {
31816
31816
  props = _objectWithoutProperties(_ref5, _excluded5);
31817
31817
  return jsxRuntime.jsx("div", _objectSpread2({
31818
31818
  ref: ref,
31819
- className: cn('p-6 pt-0', className)
31819
+ className: cn('babylai-p-6 babylai-pt-0', className)
31820
31820
  }, props));
31821
31821
  });
31822
31822
  CardContent.displayName = 'CardContent';
@@ -31827,7 +31827,7 @@ var CardFooter = /*#__PURE__*/React__namespace.forwardRef((_ref6, ref) => {
31827
31827
  props = _objectWithoutProperties(_ref6, _excluded6);
31828
31828
  return jsxRuntime.jsx("div", _objectSpread2({
31829
31829
  ref: ref,
31830
- className: cn('flex items-center p-6 pt-0', className)
31830
+ className: cn('babylai-flex babylai-items-center babylai-p-6 babylai-pt-0', className)
31831
31831
  }, props));
31832
31832
  });
31833
31833
  CardFooter.displayName = 'CardFooter';
@@ -31877,7 +31877,7 @@ var ChatWindowFooter = props => {
31877
31877
  size: 'icon',
31878
31878
  onClick: props.handleSendMessage,
31879
31879
  disabled: props === null || props === void 0 ? void 0 : props.isLoading,
31880
- className: 'babylai-rounded-full babylai-bg-purple-500 babylai-hover:babylai-bg-purple-600 babylai-w-8 babylai-h-8 babylai-disabled:babylai-opacity-50',
31880
+ className: 'babylai-rounded-full babylai-bg-purple-500 babylai-hover:babylai-bg-purple-600 babylai-w-8 babylai-h-8 disabled:babylai-opacity-50',
31881
31881
  children: jsxRuntime.jsx(EnvelopeIcon, {
31882
31882
  className: "babylai-w-4 babylai-h-4 ".concat(dir === 'rtl' ? 'babylai-rotate-270' : '')
31883
31883
  })
@@ -31957,7 +31957,7 @@ var MessageComponent = /*#__PURE__*/React__default["default"].memo(_ref => {
31957
31957
  } = _ref;
31958
31958
  var isFirstInSequence = index === 0 || messages[index - 1].senderType !== message.senderType;
31959
31959
  var isFirstHumanAgentMessage = index === firstHumanAgentIndex && message.senderType === 2;
31960
- var textDirection = message.senderType === 1 ? 'justify-end' : 'justify-start';
31960
+ var textDirection = message.senderType === 1 ? 'babylai-justify-end' : 'babylai-justify-start';
31961
31961
  return jsxRuntime.jsxs("div", {
31962
31962
  children: [isFirstHumanAgentMessage && jsxRuntime.jsx("div", {
31963
31963
  className: 'babylai-flex babylai-justify-center babylai-items-center babylai-my-4',
@@ -32224,17 +32224,17 @@ var ChatWindowHeader = props => {
32224
32224
  className: "babylai-bg-primary-500/10 dark:babylai-bg-storm-dust-950",
32225
32225
  onClick: props.handleBack,
32226
32226
  children: [jsxRuntime.jsx(ArrowRight, {
32227
- className: "!babylai-w-[12px] babylai-h-[12px] ".concat(isRTL ? "" : "babylai-rotate-180", " babylai-text-primary-500 dark:babylai-text-white")
32227
+ className: "!babylai-w-3 babylai-h-3 ".concat(isRTL ? "" : "babylai-rotate-180", " babylai-text-primary-500 dark:babylai-text-white")
32228
32228
  }), " "]
32229
32229
  }), jsxRuntime.jsxs("div", {
32230
- className: "babylai-relative babylai-mr-2",
32230
+ className: "babylai-relative babylai-me-2",
32231
32231
  children: [jsxRuntime.jsx(Button, {
32232
32232
  variant: "rounded-icon",
32233
32233
  size: "icon",
32234
32234
  className: "babylai-bg-primary-500/10 dark:babylai-bg-storm-dust-950",
32235
32235
  onClick: () => setShowMenu(!showMenu),
32236
32236
  children: jsxRuntime.jsx(ThreeDots, {
32237
- className: "babylai-w-[14px] babylai-h-[4px] babylai-text-primary-500 dark:babylai-text-white"
32237
+ className: "babylai-w-3.5 babylai-h-1 babylai-text-primary-500 dark:babylai-text-white"
32238
32238
  })
32239
32239
  }), showMenu && jsxRuntime.jsx("div", {
32240
32240
  className: "babylai-absolute babylai-top-10 babylai-start-0 babylai-w-48 babylai-rounded-md babylai-shadow-lg babylai-bg-white dark:!babylai-bg-storm-dust-950 babylai-ring-1 babylai-ring-black-white-700 babylai-ring-opacity-5 babylai-z-10",
@@ -32243,7 +32243,7 @@ var ChatWindowHeader = props => {
32243
32243
  role: "menu",
32244
32244
  "aria-orientation": "vertical",
32245
32245
  children: jsxRuntime.jsx("button", {
32246
- className: "babylai-block babylai-px-4 babylai-py-2 babylai-text-sm babylai-text-gray-700 dark:babylai-text-white babylai-hover:babylai-bg-gray-100 babylai-w-full babylai-text-left",
32246
+ className: "babylai-block babylai-px-4 babylai-py-2 babylai-text-sm babylai-text-gray-700 dark:babylai-text-white hover:babylai-bg-gray-100 babylai-w-full babylai-text-start",
32247
32247
  role: "menuitem",
32248
32248
  onClick: e => {
32249
32249
  e.stopPropagation();
@@ -32255,11 +32255,8 @@ var ChatWindowHeader = props => {
32255
32255
  })
32256
32256
  })]
32257
32257
  })]
32258
- }), jsxRuntime.jsx("div", {
32259
- className: "babylai-flex babylai-items-center babylai-gap-2 babylai-absolute babylai-left-1/2 babylai-transform babylai--translate-x-1/2",
32260
- children: jsxRuntime.jsx(Logo, {
32261
- className: "babylai-w-[124px] babylai-h-auto dark:babylai-text-white"
32262
- })
32258
+ }), jsxRuntime.jsx(Logo, {
32259
+ className: "babylai-w-[124px] babylai-h-auto dark:babylai-text-white"
32263
32260
  })]
32264
32261
  });
32265
32262
  };
@@ -32284,7 +32281,7 @@ var ChatBotErrorScreen = props => {
32284
32281
  return jsxRuntime.jsx("div", {
32285
32282
  className: "babylai-w-full babylai-h-full babylai-bg-black-white-50 babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col",
32286
32283
  children: jsxRuntime.jsxs("div", {
32287
- className: "h-full babylai-rounded-3xl babylai-flex babylai-flex-col babylai-bg-gradient-to-b babylai-from-primary-500 babylai-to-primary-500/60 babylai-py-6 md:babylai-py-8 babylai-px-6 gap-4 md:gap-8",
32284
+ className: "babylai-h-full babylai-rounded-3xl babylai-flex babylai-flex-col babylai-bg-gradient-to-b babylai-from-primary-500 babylai-to-primary-500/60 babylai-py-6 md:babylai-py-8 babylai-px-6 babylai-gap-4 md:babylai-gap-8",
32288
32285
  children: [jsxRuntime.jsx(Header, {
32289
32286
  onClose: props.onClose
32290
32287
  }), jsxRuntime.jsx("div", {
@@ -32305,7 +32302,7 @@ var Card = props => {
32305
32302
  } = useLocalTranslation();
32306
32303
  var isLTR = dir === "ltr";
32307
32304
  return jsxRuntime.jsxs("div", {
32308
- className: "babylai-flex babylai-items-center babylai-justify-between babylai-gap-4 babylai-bg-black-white-50 babylai-rounded-3xl babylai-p-6",
32305
+ className: "babylai-flex babylai-items-center babylai-justify-between babylai-gap-4 babylai-bg-black-white-50 babylai-rounded-3xl babylai-p-6",
32309
32306
  children: [jsxRuntime.jsx("p", {
32310
32307
  className: "babylai-text-base md:babylai-text-lg babylai-font-medium babylai-text-black-white-800",
32311
32308
  children: props.text
@@ -32367,14 +32364,14 @@ var HomeScreen = props => {
32367
32364
  window.location.href = url.toString();
32368
32365
  };
32369
32366
  return jsxRuntime.jsxs("div", {
32370
- className: "babylai-h-full babylai-flex babylai-flex-col babylai-overflow-y-auto babylai-py-6 md:babylai-py-8 babylai-px-6 gap-4 md:gap-8",
32367
+ className: "babylai-h-full babylai-flex babylai-flex-col babylai-overflow-y-auto babylai-py-6 md:babylai-py-8 babylai-px-6 babylai-gap-4 md:babylai-gap-8",
32371
32368
  children: [jsxRuntime.jsx(Header, {
32372
32369
  onClose: props.onClose
32373
32370
  }), jsxRuntime.jsxs("h1", {
32374
32371
  className: "babylai-text-2xl md:babylai-text-4xl babylai-font-bold babylai-text-white",
32375
32372
  children: [t('homeSdk.chatTitle'), jsxRuntime.jsx("br", {}), "BabylAI \uD83D\uDE80"]
32376
32373
  }), jsxRuntime.jsxs("div", {
32377
- className: "babylai-flex babylai-flex-col gap-3",
32374
+ className: "babylai-flex babylai-flex-col babylai-gap-3",
32378
32375
  children: [jsxRuntime.jsx(ChatNowCard$1, {
32379
32376
  setIsShowList: props.setIsShowList
32380
32377
  }), jsxRuntime.jsx(Card$1, {
@@ -32393,7 +32390,7 @@ var ChatBotLoadingScreen = props => {
32393
32390
  return jsxRuntime.jsx("div", {
32394
32391
  className: "babylai-w-full babylai-h-full babylai-bg-black-white-50 dark:babylai-bg-storm-dust-950 babylai-rounded-3xl babylai-shadow-lg babylai-flex babylai-flex-col",
32395
32392
  children: jsxRuntime.jsxs("div", {
32396
- className: cn('babylai-rounded-3xl babylai-h-full babylai-flex babylai-flex-col babylai-py-6 md:babylai-py-8 babylai-px-6 gap-4 md:gap-8', {
32393
+ className: cn('babylai-rounded-3xl babylai-h-full babylai-flex babylai-flex-col babylai-py-6 md:babylai-py-8 babylai-px-6 babylai-gap-4 md:babylai-gap-8', {
32397
32394
  'babylai-bg-gradient-to-b babylai-from-primary-500 babylai-to-primary-500/60': !props.isShowList,
32398
32395
  'babylai-bg-black-white-100 dark:babylai-bg-storm-dust-950': props.isShowList
32399
32396
  }),
@@ -32505,7 +32502,7 @@ var OptionsListHeader = _ref => {
32505
32502
  var isRTL = dir === "rtl";
32506
32503
  return jsxRuntime.jsxs("header", {
32507
32504
  dir: dir,
32508
- className: "babylai-flex babylai-w-full babylai-items-center mb-2 ".concat(!showHelpScreen ? "babylai-justify-end" : "babylai-justify-between"),
32505
+ className: "babylai-flex babylai-w-full babylai-items-center babylai-mb-2 ".concat(!showHelpScreen ? "babylai-justify-end" : "babylai-justify-between"),
32509
32506
  children: [jsxRuntime.jsx(Button, {
32510
32507
  variant: "rounded-icon",
32511
32508
  size: "icon",
@@ -32517,7 +32514,7 @@ var OptionsListHeader = _ref => {
32517
32514
  className: "!babylai-w-full !babylai-h-full babylai-cursor-pointer"
32518
32515
  })
32519
32516
  }), jsxRuntime.jsx(ThinkingLogo, {
32520
- className: "babylai-w-40 babylai-h-40 babylai-text-primary-500 babylai-absolute babylai-top-0 babylai-end-1 babylai-overflow-hidden"
32517
+ className: "babylai-w-40 babylai-h-40 babylai-text-primary-500 babylai-absolute babylai-top-0 babylai-right-1 babylai-overflow-hidden"
32521
32518
  })]
32522
32519
  });
32523
32520
  };
@@ -32536,7 +32533,7 @@ var OptionCard = props => {
32536
32533
  size: "icon",
32537
32534
  className: "babylai-text-primary-500 hover:babylai-bg-primary-100",
32538
32535
  children: jsxRuntime.jsx(ArrowRight, {
32539
- className: "babylai-w-[12px] babylai-h-[12px] ".concat(isLTR ? "" : "babylai-rotate-180", " babylai-text-primary-500")
32536
+ className: "babylai-w-3 babylai-h-3 ".concat(isLTR ? "" : "babylai-rotate-180", " babylai-text-primary-500")
32540
32537
  })
32541
32538
  })]
32542
32539
  });
@@ -32561,18 +32558,18 @@ var OptionsListScreen = _ref => {
32561
32558
  }
32562
32559
  };
32563
32560
  return jsxRuntime.jsxs("div", {
32564
- className: 'babylai-px-8 babylai-pb-12 babylai-pt-8 babylai-overflow-y-auto babylai-h-full',
32561
+ className: 'babylai-px-8 babylai-pb-12 babylai-pt-8 babylai-overflow-y-auto babylai-h-full',
32565
32562
  children: [jsxRuntime.jsx(OptionsListHeader$1, {
32566
32563
  handleBack: handleBack,
32567
32564
  showHelpScreen: showHelpScreen
32568
32565
  }), jsxRuntime.jsx("h1", {
32569
- className: 'babylai-text-4xl babylai-font-bold mb-4 babylai-text-black-white-800 dark:babylai-text-white',
32566
+ className: 'babylai-text-4xl babylai-font-bold babylai-mb-4 babylai-text-black-white-800 dark:babylai-text-white',
32570
32567
  children: helpScreen === null || helpScreen === void 0 ? void 0 : helpScreen.title
32571
32568
  }), helpScreen && jsxRuntime.jsx("div", {
32572
32569
  className: 'babylai-flex babylai-flex-col babylai-gap-3 babylai-mt-3 babylai-mb-3',
32573
32570
  children: (_a = helpScreen === null || helpScreen === void 0 ? void 0 : helpScreen.options) === null || _a === void 0 ? void 0 : _a.map(option => jsxRuntime.jsxs(Card$2, {
32574
32571
  variant: 'rounded',
32575
- className: 'babylai-cursor-pointer babylai-transition-all babylai-hover:babylai-shadow-md !babylai-px-2 !babylai-py-1 dark:!babylai-bg-storm-dust-900',
32572
+ className: 'babylai-cursor-pointer babylai-transition-all hover:babylai-shadow-md !babylai-px-2 !babylai-py-1 dark:!babylai-bg-storm-dust-900',
32576
32573
  onClick: () => handleToggleExpandOption(option),
32577
32574
  children: [jsxRuntime.jsx(OptionCard$1, {
32578
32575
  title: option.title
@@ -32840,7 +32837,7 @@ function HelpPopup(_ref) {
32840
32837
  // Early returns for performance - moved after all hooks
32841
32838
  if (status === 'loading' && !helpScreen) {
32842
32839
  return jsxRuntime.jsx("div", {
32843
- className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-min-w-sm md:babylai-h-[calc(100vh-240px) babylai-max-h-[800px]]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32840
+ className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-h-[calc(100vh-240px)] babylai-max-h-[800px]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32844
32841
  children: jsxRuntime.jsx(ChatBotLoadingScreen$1, {
32845
32842
  isShowList: isShowList,
32846
32843
  onClose: onClose
@@ -32849,7 +32846,7 @@ function HelpPopup(_ref) {
32849
32846
  }
32850
32847
  if (error) {
32851
32848
  return jsxRuntime.jsx("div", {
32852
- className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-min-w-sm md:babylai-h-[calc(100vh-240px) babylai-max-h-[800px]]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32849
+ className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-h-[calc(100vh-240px)] babylai-max-h-[800px]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32853
32850
  children: jsxRuntime.jsx(ChatBotErrorScreen$1, {
32854
32851
  onClose: onClose,
32855
32852
  error: error || ''
@@ -32857,7 +32854,7 @@ function HelpPopup(_ref) {
32857
32854
  });
32858
32855
  }
32859
32856
  return jsxRuntime.jsx("div", {
32860
- className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-min-w-sm md:babylai-h-[calc(100vh-240px)] babylai-max-h-[800px]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32857
+ className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-h-[calc(100vh-240px)] babylai-max-h-[800px]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
32861
32858
  children: jsxRuntime.jsxs("div", {
32862
32859
  className: cn('babylai-h-full babylai-rounded-none md:babylai-rounded-3xl babylai-flex babylai-flex-col babylai-relative', {
32863
32860
  'babylai-bg-gradient-to-b babylai-from-primary-500 babylai-to-primary-500/60': !isShowList,