aov-agent 1.0.21 → 1.0.22
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/agent-ui/components/Assistant/AgentButton/AgentButton.scss +1 -0
- package/dist/agent-ui/components/Assistant/AssistantWidget/AssistantWidget.js +1 -1
- package/dist/agent-ui/components/Assistant/AssistantWidget/AssistantWidget.scss +5 -6
- package/dist/agent-ui/components/Assistant/AssistantWidget/sections/AllSessions.js +7 -8
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ import { Popover, Spinner } from "@shopify/polaris";
|
|
|
11
11
|
import { Composer, Thread, ThreadWelcome } from "@assistant-ui/react-ui";
|
|
12
12
|
import "@assistant-ui/react-markdown/styles/dot.css";
|
|
13
13
|
import { ThreadContext } from "../../../contexts/ThreadContext.js";
|
|
14
|
-
import { useThreadViewport } from "../../../hooks/
|
|
14
|
+
import { useThreadViewport } from "../../../hooks/useThread.js";
|
|
15
15
|
import Suggestions from "../Suggestions/Suggestions.js";
|
|
16
16
|
|
|
17
17
|
// import Avatar from "@resources/assistant-avatar.svg";
|
|
@@ -143,10 +143,10 @@
|
|
|
143
143
|
top: 0;
|
|
144
144
|
left: 0;
|
|
145
145
|
right: 0;
|
|
146
|
-
|
|
147
|
-
background:
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
bottom: 0;
|
|
147
|
+
background:
|
|
148
|
+
radial-gradient(ellipse 80% 55% at 30% 0%, rgba(0, 205, 174, 0.28) 0%, transparent 60%),
|
|
149
|
+
radial-gradient(ellipse 60% 45% at 80% 0%, rgba(238, 157, 7, 0.2) 0%, transparent 60%);
|
|
150
150
|
pointer-events: none;
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -495,8 +495,7 @@
|
|
|
495
495
|
display: flex;
|
|
496
496
|
align-items: center;
|
|
497
497
|
width: 100%;
|
|
498
|
-
padding: 10px
|
|
499
|
-
font-size: 14px;
|
|
498
|
+
padding: 10px 12px;
|
|
500
499
|
cursor: pointer;
|
|
501
500
|
box-sizing: border-box;
|
|
502
501
|
position: relative;
|
|
@@ -51,15 +51,14 @@ var AllSessions = function AllSessions(_ref) {
|
|
|
51
51
|
className: "AOV-Sidekick__AllSessions"
|
|
52
52
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
53
53
|
paddingInline: "300",
|
|
54
|
-
|
|
55
|
-
borderBlockEndWidth: "025",
|
|
54
|
+
paddingBlockStart: "200",
|
|
56
55
|
borderColor: "border"
|
|
57
56
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
58
57
|
icon: ArrowLeftIcon,
|
|
59
58
|
onClick: onBack,
|
|
60
59
|
variant: "monochromePlain"
|
|
61
60
|
}, "All sessions")), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
-
|
|
61
|
+
paddingInline: "300"
|
|
63
62
|
}, /*#__PURE__*/React.createElement(TextField, {
|
|
64
63
|
value: search,
|
|
65
64
|
onChange: setSearch,
|
|
@@ -79,15 +78,15 @@ var AllSessions = function AllSessions(_ref) {
|
|
|
79
78
|
tone: "subdued",
|
|
80
79
|
alignment: "center"
|
|
81
80
|
}, "No sessions found")) : filteredSections.map(function (group) {
|
|
82
|
-
return /*#__PURE__*/React.createElement(
|
|
83
|
-
key: group.title
|
|
84
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
81
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
85
82
|
paddingInline: "300",
|
|
86
83
|
paddingBlockStart: "200",
|
|
87
84
|
paddingBlockEnd: "100"
|
|
88
85
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
89
86
|
variant: "headingSm"
|
|
90
|
-
}, group.title)),
|
|
87
|
+
}, group.title)), /*#__PURE__*/React.createElement(BlockStack, {
|
|
88
|
+
key: group.title
|
|
89
|
+
}, group.items.map(function (item) {
|
|
91
90
|
return /*#__PURE__*/React.createElement("button", {
|
|
92
91
|
key: item.id,
|
|
93
92
|
className: "AOV-Sidekick__SessionItem",
|
|
@@ -101,7 +100,7 @@ var AllSessions = function AllSessions(_ref) {
|
|
|
101
100
|
updateThread: updateThread,
|
|
102
101
|
deleteThread: deleteThread
|
|
103
102
|
}));
|
|
104
|
-
}));
|
|
103
|
+
})));
|
|
105
104
|
})));
|
|
106
105
|
};
|
|
107
106
|
AllSessions.propTypes = {
|