@servicetitan/titan-chat-ui-anvil2 4.3.0 → 4.3.2
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/CHANGELOG.md +24 -0
- package/dist/components/chat/chat-notifications.js +1 -1
- package/dist/components/chat/chat-notifications.js.map +1 -1
- package/dist/components/messages/message-agent.module.less +13 -13
- package/package.json +4 -4
- package/src/components/chat/chat-notifications.tsx +1 -1
- package/src/components/messages/message-agent.module.less +13 -13
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v4.3.2 (Mon Oct 20 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- SPA-7194: Fixed error message size [#65](https://github.com/servicetitan/titan-chatbot-client/pull/65) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.3.1 (Fri Oct 17 2025)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- SPA-7194: Fixed agent message size [#64](https://github.com/servicetitan/titan-chatbot-client/pull/64) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v4.3.0 (Wed Oct 08 2025)
|
|
2
26
|
|
|
3
27
|
#### 🚀 Enhancement
|
|
@@ -7,6 +7,6 @@ import { ChatError } from './chat-error';
|
|
|
7
7
|
import { ChatTimer } from './chat-timer';
|
|
8
8
|
export const ChatNotifications = observer(() => {
|
|
9
9
|
const [chatUiStore] = useDependencies(CHAT_UI_STORE_TOKEN);
|
|
10
|
-
return (_jsxs(Flex, { direction: "column", gap: "4", "data-cy": "titan-chat-notifications", children: [chatUiStore.timer && !chatUiStore.isError && _jsx(ChatTimer, {}), chatUiStore.isError && _jsx(ChatError, {})] }));
|
|
10
|
+
return (_jsxs(Flex, { direction: "column", gap: "4", className: "p-inline-6", "data-cy": "titan-chat-notifications", children: [chatUiStore.timer && !chatUiStore.isError && _jsx(ChatTimer, {}), chatUiStore.isError && _jsx(ChatError, {})] }));
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=chat-notifications.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-notifications.js","sourceRoot":"","sources":["../../../src/components/chat/chat-notifications.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,CAAC,MAAM,iBAAiB,GAAgC,QAAQ,CAAC,GAAG,EAAE;IACxE,MAAM,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;IAC3D,OAAO,CACH,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,GAAG,aAAS,0BAA0B,
|
|
1
|
+
{"version":3,"file":"chat-notifications.js","sourceRoot":"","sources":["../../../src/components/chat/chat-notifications.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,CAAC,MAAM,iBAAiB,GAAgC,QAAQ,CAAC,GAAG,EAAE;IACxE,MAAM,CAAC,WAAW,CAAC,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;IAC3D,OAAO,CACH,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,GAAG,EAAC,SAAS,EAAC,YAAY,aAAS,0BAA0B,aACrF,WAAW,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,KAAC,SAAS,KAAG,EAC1D,WAAW,CAAC,OAAO,IAAI,KAAC,SAAS,KAAG,IAClC,CACV,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -9,20 +9,9 @@
|
|
|
9
9
|
max-width: 100%;
|
|
10
10
|
column-gap: @spacing-2;
|
|
11
11
|
row-gap: @spacing-1;
|
|
12
|
-
grid-template-areas: 'avatar content
|
|
12
|
+
grid-template-areas: 'avatar content';
|
|
13
13
|
grid-template-rows: auto;
|
|
14
|
-
grid-template-columns: minmax(@spacing-5, auto) 1fr
|
|
15
|
-
|
|
16
|
-
&.fullWidth {
|
|
17
|
-
//width: 100%;
|
|
18
|
-
grid-template-areas: 'avatar content';
|
|
19
|
-
grid-template-rows: auto;
|
|
20
|
-
grid-template-columns: minmax(@spacing-5, auto) 1fr;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.messageAvatar {
|
|
24
|
-
grid-area: avatar;
|
|
25
|
-
}
|
|
14
|
+
grid-template-columns: minmax(@spacing-5, auto) 1fr;
|
|
26
15
|
|
|
27
16
|
.messageContent {
|
|
28
17
|
max-width: 100%;
|
|
@@ -31,6 +20,17 @@
|
|
|
31
20
|
justify-self: flex-start;
|
|
32
21
|
}
|
|
33
22
|
|
|
23
|
+
&.fullWidth {
|
|
24
|
+
width: 100%;
|
|
25
|
+
.messageContent {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.messageAvatar {
|
|
31
|
+
grid-area: avatar;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
34
|
.messageBubble {
|
|
35
35
|
color: @color-neutral-200;
|
|
36
36
|
padding: @spacing-2 @spacing-3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/titan-chat-ui-anvil2",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "Chat experience UI package (Anvil2 version)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"push:local": "yalc push"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@servicetitan/titan-chat-ui-common": "^4.3.
|
|
20
|
+
"@servicetitan/titan-chat-ui-common": "^4.3.2",
|
|
21
21
|
"dompurify": "^3.2.6",
|
|
22
22
|
"lodash": "4.17.21",
|
|
23
23
|
"nanoid": "^5.1.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react-dom": ">=18"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@servicetitan/cypress-shared": "^4.3.
|
|
41
|
+
"@servicetitan/cypress-shared": "^4.3.2",
|
|
42
42
|
"cypress": "^15.2.0"
|
|
43
43
|
},
|
|
44
44
|
"keywords": [
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"cli": {
|
|
52
52
|
"webpack": false
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "f53079223c8cdb824e532fbb54a06de57297764c"
|
|
55
55
|
}
|
|
@@ -11,7 +11,7 @@ export interface IChatNotificationsProps {}
|
|
|
11
11
|
export const ChatNotifications: FC<IChatNotificationsProps> = observer(() => {
|
|
12
12
|
const [chatUiStore] = useDependencies(CHAT_UI_STORE_TOKEN);
|
|
13
13
|
return (
|
|
14
|
-
<Flex direction="column" gap="4" data-cy="titan-chat-notifications">
|
|
14
|
+
<Flex direction="column" gap="4" className="p-inline-6" data-cy="titan-chat-notifications">
|
|
15
15
|
{chatUiStore.timer && !chatUiStore.isError && <ChatTimer />}
|
|
16
16
|
{chatUiStore.isError && <ChatError />}
|
|
17
17
|
</Flex>
|
|
@@ -9,20 +9,9 @@
|
|
|
9
9
|
max-width: 100%;
|
|
10
10
|
column-gap: @spacing-2;
|
|
11
11
|
row-gap: @spacing-1;
|
|
12
|
-
grid-template-areas: 'avatar content
|
|
12
|
+
grid-template-areas: 'avatar content';
|
|
13
13
|
grid-template-rows: auto;
|
|
14
|
-
grid-template-columns: minmax(@spacing-5, auto) 1fr
|
|
15
|
-
|
|
16
|
-
&.fullWidth {
|
|
17
|
-
//width: 100%;
|
|
18
|
-
grid-template-areas: 'avatar content';
|
|
19
|
-
grid-template-rows: auto;
|
|
20
|
-
grid-template-columns: minmax(@spacing-5, auto) 1fr;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.messageAvatar {
|
|
24
|
-
grid-area: avatar;
|
|
25
|
-
}
|
|
14
|
+
grid-template-columns: minmax(@spacing-5, auto) 1fr;
|
|
26
15
|
|
|
27
16
|
.messageContent {
|
|
28
17
|
max-width: 100%;
|
|
@@ -31,6 +20,17 @@
|
|
|
31
20
|
justify-self: flex-start;
|
|
32
21
|
}
|
|
33
22
|
|
|
23
|
+
&.fullWidth {
|
|
24
|
+
width: 100%;
|
|
25
|
+
.messageContent {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.messageAvatar {
|
|
31
|
+
grid-area: avatar;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
34
|
.messageBubble {
|
|
35
35
|
color: @color-neutral-200;
|
|
36
36
|
padding: @spacing-2 @spacing-3;
|