impact-chatbot 2.3.47 → 2.3.49

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.
@@ -1,4 +1,4 @@
1
- declare const TabularContent: ({ steps: initialSteps, currentTabValue, children, questions: initialQuestions, questionsStepsMap: initialQuestionsStepsMap, stepFormDataMap: initialStepFormDataMap, isFormDisabled }: {
1
+ declare const TabularContent: ({ steps: initialSteps, currentTabValue, children, questions: initialQuestions, questionsStepsMap: initialQuestionsStepsMap, stepFormDataMap: initialStepFormDataMap, isFormDisabled, sessionId: propSessionId }: {
2
2
  steps: any;
3
3
  currentTabValue: any;
4
4
  children: any;
@@ -6,5 +6,8 @@ declare const TabularContent: ({ steps: initialSteps, currentTabValue, children,
6
6
  questionsStepsMap?: {};
7
7
  stepFormDataMap?: {};
8
8
  isFormDisabled?: boolean;
9
+ sessionId?: string;
9
10
  }) => import("react/jsx-runtime").JSX.Element;
11
+ /** Reset the active instance tracker (call when a new conversation starts from the input field) */
12
+ export declare const resetActiveTabularInstance: () => void;
10
13
  export default TabularContent;
@@ -506,6 +506,122 @@
506
506
  opacity: 0.7;
507
507
  }
508
508
 
509
+ .answer-mode-wrapper {
510
+ position: relative;
511
+ display: flex;
512
+ align-items: center;
513
+ flex-shrink: 0;
514
+ }
515
+
516
+ .answer-mode-trigger {
517
+ display: inline-flex;
518
+ align-items: center;
519
+ gap: 4px;
520
+ padding: 4px 10px;
521
+ border: 1px solid #d9dde7;
522
+ border-radius: 8px;
523
+ background: #f7f8fa;
524
+ cursor: pointer;
525
+ font-family: "Manrope", sans-serif;
526
+ font-size: 13px;
527
+ font-weight: 600;
528
+ color: #1f2b4d;
529
+ transition: all 0.15s ease;
530
+ line-height: 20px;
531
+ }
532
+ .answer-mode-trigger:hover {
533
+ background: #eef0f4;
534
+ border-color: #b3bdf8;
535
+ }
536
+
537
+ .answer-mode-trigger-label {
538
+ white-space: nowrap;
539
+ }
540
+
541
+ .answer-mode-trigger-chevron {
542
+ transition: transform 0.2s ease;
543
+ color: #6b7280;
544
+ }
545
+ .answer-mode-trigger-chevron.open {
546
+ transform: rotate(180deg);
547
+ }
548
+
549
+ .answer-mode-dropdown {
550
+ position: absolute;
551
+ bottom: calc(100% + 6px);
552
+ right: 0;
553
+ min-width: 220px;
554
+ background: #ffffff;
555
+ border: 1px solid #e5e7eb;
556
+ border-radius: 10px;
557
+ box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
558
+ z-index: 10000;
559
+ padding: 4px;
560
+ animation: answerModeSlideUp 0.15s ease-out;
561
+ }
562
+
563
+ @keyframes answerModeSlideUp {
564
+ from {
565
+ opacity: 0;
566
+ transform: translateY(4px);
567
+ }
568
+ to {
569
+ opacity: 1;
570
+ transform: translateY(0);
571
+ }
572
+ }
573
+ .answer-mode-option {
574
+ display: flex;
575
+ align-items: center;
576
+ gap: 8px;
577
+ width: 100%;
578
+ padding: 8px 10px;
579
+ border: none;
580
+ background: transparent;
581
+ border-radius: 8px;
582
+ cursor: pointer;
583
+ transition: background 0.12s ease;
584
+ text-align: left;
585
+ }
586
+ .answer-mode-option:hover {
587
+ background: #f3f4f6;
588
+ }
589
+ .answer-mode-option.selected {
590
+ background: #eef2ff;
591
+ }
592
+
593
+ .answer-mode-option-check {
594
+ display: flex;
595
+ align-items: center;
596
+ justify-content: center;
597
+ width: 16px;
598
+ height: 16px;
599
+ flex-shrink: 0;
600
+ }
601
+
602
+ .answer-mode-option-content {
603
+ display: flex;
604
+ flex-direction: column;
605
+ gap: 1px;
606
+ min-width: 0;
607
+ }
608
+
609
+ .answer-mode-option-label {
610
+ font-family: "Manrope", sans-serif;
611
+ font-size: 13px;
612
+ font-weight: 600;
613
+ color: #1f2b4d;
614
+ line-height: 18px;
615
+ }
616
+
617
+ .answer-mode-option-desc {
618
+ font-family: "Manrope", sans-serif;
619
+ font-size: 11px;
620
+ font-weight: 400;
621
+ color: #6b7280;
622
+ line-height: 16px;
623
+ }
624
+
509
625
  .mention-tooltip {
510
626
  position: fixed;
511
627
  background-color: #1f2b4d;