chordia-ui 3.7.2 → 3.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chordia-ui",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "Chordia Design System - UI components, tokens, and Tailwind preset",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -455,7 +455,7 @@ const UpdatedInteractionDetails = ({
455
455
  fontFamily: 'var(--default-font-family)',
456
456
  whiteSpace: 'nowrap',
457
457
  }}>
458
- Previous Session
458
+ Previous Interaction
459
459
  </span>
460
460
  </button>
461
461
  </NameTooltip>
@@ -492,7 +492,7 @@ const UpdatedInteractionDetails = ({
492
492
  fontFamily: 'var(--default-font-family)',
493
493
  whiteSpace: 'nowrap',
494
494
  }}>
495
- Next Session
495
+ Next Interaction
496
496
  </span>
497
497
  <ArrowRight size={16} color="var(--Neutral-800, #323232)" strokeWidth={1.5} />
498
498
  </button>
@@ -569,7 +569,7 @@ const UpdatedInteractionDetails = ({
569
569
  fontFamily: 'var(--default-font-family)',
570
570
  whiteSpace: 'nowrap',
571
571
  }}>
572
- Previous Session
572
+ Previous Interaction
573
573
  </span>
574
574
  </button>
575
575
  </NameTooltip>
@@ -604,7 +604,7 @@ const UpdatedInteractionDetails = ({
604
604
  fontFamily: 'var(--default-font-family)',
605
605
  whiteSpace: 'nowrap',
606
606
  }}>
607
- Next Session
607
+ Next Interaction
608
608
  </span>
609
609
  <ArrowRight size={16} color="var(--Neutral-800, #323232)" strokeWidth={1.5} />
610
610
  </button>
@@ -706,7 +706,7 @@ const UpdatedInteractionDetails = ({
706
706
  <CircleUser size={16} color="var(--Grey-Strong, #2E3236)" strokeWidth={1.5} />
707
707
  <span style={{ fontSize: 13, fontWeight: 400, color: 'var(--Grey-Strong, #2E3236)', lineHeight: 1.2, whiteSpace: 'nowrap' }}>
708
708
  <span style={{ fontWeight: 600 }}>{customerName}</span>{' '}
709
- <span>({sessionCount} Sessions)</span>
709
+ <span>({sessionCount} Interactions)</span>
710
710
  </span>
711
711
  </div>
712
712
  <ChevronRight size={16} color="var(--Grey-Strong, #2E3236)" strokeWidth={1.7} />
@@ -943,7 +943,7 @@ const UpdatedInteractionDetails = ({
943
943
  color: 'var(--Grey-Muted, #808183)',
944
944
  lineHeight: 1.5,
945
945
  }}>
946
- {sessionCount} Sessions in Past
946
+ {sessionCount} Interactions in Past
947
947
  </span>
948
948
  ) : null}
949
949
  width={470}
@@ -955,20 +955,20 @@ const UpdatedInteractionDetails = ({
955
955
  onClick={() => { if (onViewAllSessions) onViewAllSessions(); setShowSessionDrawer(false); }}
956
956
  style={{
957
957
  display: 'flex',
958
- height: 32,
959
- padding: '0 16px 0 12px',
958
+ height: 40,
959
+ padding: '0 20px 0 18px',
960
960
  justifyContent: 'center',
961
961
  alignItems: 'center',
962
- gap: 6,
962
+ gap: 7,
963
963
  background: 'var(--Grey-White, #FFF)',
964
964
  border: '1px solid var(--Grey-absent, #D9D9D9)',
965
965
  borderRadius: 10,
966
966
  cursor: 'pointer',
967
967
  }}
968
968
  >
969
- <History size={16} color="var(--Grey-Muted, #808183)" strokeWidth={1.5} />
970
- <span style={{ fontSize: 14, fontWeight: 600, color: 'var(--Grey-Strong, #2E3236)' }}>
971
- View All Sessions
969
+ <History size={18} color="var(--Grey-Muted, #808183)" strokeWidth={1.5} />
970
+ <span style={{ fontSize: 15, fontWeight: 600, color: 'var(--Grey-Strong, #2E3236)' }}>
971
+ View All Interactions
972
972
  </span>
973
973
  </button>
974
974
  </div>
@@ -1040,7 +1040,7 @@ const UpdatedInteractionDetails = ({
1040
1040
  textAlign: 'center',
1041
1041
  }}
1042
1042
  >
1043
- No previous sessions available
1043
+ No other interactions available
1044
1044
  </div>
1045
1045
  )}
1046
1046
  </div>
@@ -607,6 +607,7 @@ const CommentBubble = ({
607
607
  : "var(--surface-warm-40, rgba(243, 241, 229, 0.40))",
608
608
  borderRadius: 8,
609
609
  wordBreak: "break-word",
610
+ whiteSpace: "pre-wrap",
610
611
  }}
611
612
  >
612
613
  {paragraph}
@@ -54,9 +54,13 @@ export default function CustomFilterChips({
54
54
  });
55
55
  } else if (typeof value === "string" && value.trim() !== "") {
56
56
  const displayValue = getDisplayLabel(key, value);
57
+ const label =
58
+ key === "contact_id"
59
+ ? "Contact Id"
60
+ : `${formatLabel(key)}: ${displayValue}`;
57
61
  chips.push({
58
62
  key,
59
- label: `${formatLabel(key)}: ${displayValue}`,
63
+ label,
60
64
  onRemove: () => onChange({ ...filters, [key]: "" }),
61
65
  });
62
66
  }