@stack-spot/ai-chat-widget 1.22.0-beta.0 → 1.22.0-beta.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stack-spot/ai-chat-widget",
3
- "version": "1.22.0-beta.0",
4
- "date": "Mon May 26 2025 19:46:49 GMT-0300 (Horário Padrão de Brasília)",
3
+ "version": "1.22.0-beta.2",
4
+ "date": "Tue May 27 2025 18:51:34 GMT-0300 (Horário Padrão de Brasília)",
5
5
  "dependencies": [
6
6
  {
7
7
  "name": "@stack-spot/app-metadata",
@@ -2,6 +2,6 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { Button, IconBox, Text } from '@citric/core';
3
3
  export const QuickStartButton = ({ label, onClick, className, icon, style }) => {
4
4
  const content = _jsxs(_Fragment, { children: [icon && _jsx(IconBox, { color: "light", "aria-hidden": true, children: icon }), _jsx(Text, { nowrapEllipsis: true, children: label })] });
5
- return (_jsx(Button, { sx: { maxWidth: '500px' }, colorScheme: "light", size: "md", className: className, style: style, onClick: onClick, children: content }));
5
+ return (_jsx(Button, { sx: { maxWidth: '40vw' }, colorScheme: "light", size: "md", className: className, style: style, onClick: onClick, children: content }));
6
6
  };
7
7
  //# sourceMappingURL=QuickStartButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickStartButton.js","sourceRoot":"","sources":["../../src/components/QuickStartButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAMpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAS,EAAE,EAAE;IACpF,MAAM,OAAO,GAAG,8BACb,IAAI,IAAI,KAAC,OAAO,IAAC,KAAK,EAAC,OAAO,iCAAc,IAAI,GAAW,EAC5D,KAAC,IAAI,IAAC,cAAc,kBAAE,KAAK,GAAQ,IAClC,CAAA;IAEH,OAAO,CACL,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YAClH,OAAO,GACD,CACV,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"QuickStartButton.js","sourceRoot":"","sources":["../../src/components/QuickStartButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAMpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAS,EAAE,EAAE;IACpF,MAAM,OAAO,GAAG,8BACb,IAAI,IAAI,KAAC,OAAO,IAAC,KAAK,EAAC,OAAO,iCAAc,IAAI,GAAW,EAC5D,KAAC,IAAI,IAAC,cAAc,kBAAE,KAAK,GAAQ,IAClC,CAAA;IAEH,OAAO,CACL,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YACjH,OAAO,GACD,CACV,CAAA;AACH,CAAC,CAAA"}
package/dist/layout.css CHANGED
@@ -99,6 +99,23 @@
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  flex: 1;
102
+ .agent-list .agent-card {
103
+ flex-direction: row;
104
+ align-items: center;
105
+ gap: 8px;
106
+ border-radius: 4px;
107
+ padding: 10px;
108
+ img {
109
+ width: 36px;
110
+ height: 36px;
111
+ border-radius: 4px;
112
+ }
113
+ h6 {
114
+ font-weight: 400;
115
+ font-size: 13px;
116
+ line-height: 14px;
117
+ }
118
+ }
102
119
  }
103
120
 
104
121
  .chat-content {
@@ -20,8 +20,6 @@ export const HomeBox = styled.div `
20
20
  }
21
21
 
22
22
  .shortcuts {
23
- display: flex;
24
- flex-direction: row;
25
23
  li {
26
24
  flex: 1;
27
25
  }
@@ -29,7 +27,10 @@ export const HomeBox = styled.div `
29
27
  padding-left: 0;
30
28
  border-radius: 50px;
31
29
  padding-inline: 16px;
30
+ padding-block: 8px;
32
31
  font-weight: 400;
32
+ line-height: normal;
33
+ border: none;
33
34
  i {
34
35
  width: 16px;
35
36
  height: 16px;
@@ -54,11 +55,10 @@ export const HomeBox = styled.div `
54
55
  gap: 20px;
55
56
 
56
57
  .shortcuts {
57
- margin-top: 10px;
58
58
  button {
59
- padding: 16px;
60
- height: 100px;
61
- line-height: 24px;
59
+ margin-bottom: 10px;
60
+ display: inline-block;
61
+ text-align: center;
62
62
  p {
63
63
  overflow: hidden;
64
64
  }
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/views/Home/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAoCH,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BnD,CAAA"}
1
+ {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/views/Home/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAqCH,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BnD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stack-spot/ai-chat-widget",
3
- "version": "1.22.0-beta.0",
3
+ "version": "1.22.0-beta.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stack-spot/ai-chat-widget",
3
- "version": "1.22.0-beta.0",
4
- "date": "Mon May 26 2025 19:46:49 GMT-0300 (Horário Padrão de Brasília)",
3
+ "version": "1.22.0-beta.2",
4
+ "date": "Tue May 27 2025 18:51:34 GMT-0300 (Horário Padrão de Brasília)",
5
5
  "dependencies": [
6
6
  {
7
7
  "name": "@stack-spot/app-metadata",
@@ -11,7 +11,7 @@ export const QuickStartButton = ({ label, onClick, className, icon, style }: Pro
11
11
  </>
12
12
 
13
13
  return (
14
- <Button sx={{ maxWidth: '500px' }} colorScheme="light" size="md" className={className} style={style} onClick={onClick}>
14
+ <Button sx={{ maxWidth: '40vw' }} colorScheme="light" size="md" className={className} style={style} onClick={onClick}>
15
15
  {content}
16
16
  </Button>
17
17
  )
package/src/layout.css CHANGED
@@ -99,6 +99,23 @@
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  flex: 1;
102
+ .agent-list .agent-card {
103
+ flex-direction: row;
104
+ align-items: center;
105
+ gap: 8px;
106
+ border-radius: 4px;
107
+ padding: 10px;
108
+ img {
109
+ width: 36px;
110
+ height: 36px;
111
+ border-radius: 4px;
112
+ }
113
+ h6 {
114
+ font-weight: 400;
115
+ font-size: 13px;
116
+ line-height: 14px;
117
+ }
118
+ }
102
119
  }
103
120
 
104
121
  .chat-content {
@@ -21,8 +21,6 @@ export const HomeBox = styled.div`
21
21
  }
22
22
 
23
23
  .shortcuts {
24
- display: flex;
25
- flex-direction: row;
26
24
  li {
27
25
  flex: 1;
28
26
  }
@@ -30,7 +28,10 @@ export const HomeBox = styled.div`
30
28
  padding-left: 0;
31
29
  border-radius: 50px;
32
30
  padding-inline: 16px;
31
+ padding-block: 8px;
33
32
  font-weight: 400;
33
+ line-height: normal;
34
+ border: none;
34
35
  i {
35
36
  width: 16px;
36
37
  height: 16px;
@@ -55,11 +56,10 @@ export const HomeBox = styled.div`
55
56
  gap: 20px;
56
57
 
57
58
  .shortcuts {
58
- margin-top: 10px;
59
59
  button {
60
- padding: 16px;
61
- height: 100px;
62
- line-height: 24px;
60
+ margin-bottom: 10px;
61
+ display: inline-block;
62
+ text-align: center;
63
63
  p {
64
64
  overflow: hidden;
65
65
  }