@nualang/nualang-ui-components 0.1.1311 → 0.1.1312

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.
@@ -68,7 +68,7 @@ function TranscriptViewer({
68
68
  onClick: () => goToTimestamp(sentence.start_time, sentence.end_time),
69
69
  sx: theme => ({
70
70
  display: "flex",
71
- alignItems: "center",
71
+ flexDirection: "column",
72
72
  mb: 1,
73
73
  cursor: "pointer",
74
74
  p: 1,
@@ -77,24 +77,33 @@ function TranscriptViewer({
77
77
  backgroundColor: theme.palette.mode === "dark" ? theme.palette.primary.main : "#f9f9f9"
78
78
  }
79
79
  }),
80
- children: [/*#__PURE__*/_jsx(Avatar, {
81
- alt: sentence?.username,
82
- src: userImage,
83
- sx: {
84
- width: 24,
85
- height: 24,
86
- mr: 1
87
- }
88
- }), sentence?.user && /*#__PURE__*/_jsx(Typography, {
89
- variant: "subtitle2",
90
- fontWeight: "bold",
80
+ children: [/*#__PURE__*/_jsxs(Box, {
91
81
  sx: {
92
- mr: 1,
93
- whiteSpace: "nowrap"
82
+ display: "flex",
83
+ alignItems: "center",
84
+ mb: 0.5
94
85
  },
95
- children: `${sentence.user}:`
86
+ children: [/*#__PURE__*/_jsx(Avatar, {
87
+ alt: sentence?.username,
88
+ src: userImage,
89
+ sx: {
90
+ width: 24,
91
+ height: 24,
92
+ mr: 1
93
+ }
94
+ }), sentence?.user && /*#__PURE__*/_jsx(Typography, {
95
+ variant: "subtitle2",
96
+ fontWeight: "bold",
97
+ sx: {
98
+ whiteSpace: "nowrap"
99
+ },
100
+ children: sentence.user
101
+ })]
96
102
  }), /*#__PURE__*/_jsx(Typography, {
97
103
  variant: "body2",
104
+ sx: {
105
+ ml: 4
106
+ },
98
107
  children: sentence.text
99
108
  })]
100
109
  }, `conversation-${i}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1311",
3
+ "version": "0.1.1312",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [