@ibti-tech/chatbot 0.9.6 → 0.9.7
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/ibti-chatbot-embed.js +17 -7
- package/dist/ibti-chatbot-embed.js.map +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +16 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -128,7 +128,7 @@ declare module '@ibti-tech/chatbot/components/ChatbotBar/styles' {
|
|
|
128
128
|
//# sourceMappingURL=styles.d.ts.map
|
|
129
129
|
}
|
|
130
130
|
declare module '@ibti-tech/chatbot/components/ChatbotBar/styles.d.ts' {
|
|
131
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBar/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,eAAe,CAAA;AAIpD,eAAO,MAAM,YAAY;;oBAEgB,kBAAmB;;yBADrC,MAAM,GAAG,OAAO;gCACT,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;aACvD,OAAO;uBACG,KAAK,GAAG,QAAQ;uBAChB,OAAO;iMA4E3B,CAAA;AAED,2GAA2G;AAC3G,eAAO,MAAM,WAAW;iBAA6B,MAAM;gBAAc,MAAM;YAS9E,CAAA;AAED,eAAO,MAAM,OAAO;uBACC,KAAK,GAAG,QAAQ;yBACd,MAAM,GAAG,OAAO;aAC5B,OAAO;cACN,MAAM;iBACH,MAAM,GAAG,MAAM;mBACb,OAAO;uBACH,OAAO;gCACE,MAAM;
|
|
131
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBar/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,eAAe,CAAA;AAIpD,eAAO,MAAM,YAAY;;oBAEgB,kBAAmB;;yBADrC,MAAM,GAAG,OAAO;gCACT,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;aACvD,OAAO;uBACG,KAAK,GAAG,QAAQ;uBAChB,OAAO;iMA4E3B,CAAA;AAED,2GAA2G;AAC3G,eAAO,MAAM,WAAW;iBAA6B,MAAM;gBAAc,MAAM;YAS9E,CAAA;AAED,eAAO,MAAM,OAAO;uBACC,KAAK,GAAG,QAAQ;yBACd,MAAM,GAAG,OAAO;aAC5B,OAAO;cACN,MAAM;iBACH,MAAM,GAAG,MAAM;mBACb,OAAO;uBACH,OAAO;gCACE,MAAM;YA6InC,CAAA"}
|
|
132
132
|
}
|
|
133
133
|
declare module '@ibti-tech/chatbot/components/ChatbotBody/index' {
|
|
134
134
|
import React from 'react';
|
|
@@ -182,7 +182,7 @@ declare module '@ibti-tech/chatbot/components/ChatbotDevice/styles' {
|
|
|
182
182
|
//# sourceMappingURL=styles.d.ts.map
|
|
183
183
|
}
|
|
184
184
|
declare module '@ibti-tech/chatbot/components/ChatbotDevice/styles.d.ts' {
|
|
185
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotDevice/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;aACT,OAAO;uBACG,KAAK,GAAG,QAAQ;uBAChB,OAAO;0BACJ,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;gCAC9B,MAAM;
|
|
185
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotDevice/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;aACT,OAAO;uBACG,KAAK,GAAG,QAAQ;uBAChB,OAAO;0BACJ,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM;gCAC9B,MAAM;YAmQnC,CAAA"}
|
|
186
186
|
}
|
|
187
187
|
declare module '@ibti-tech/chatbot/components/ChatbotFooter/index' {
|
|
188
188
|
import React from 'react';
|
package/dist/index.mjs
CHANGED
|
@@ -1061,8 +1061,11 @@ var Wrapper = styled.div`
|
|
|
1061
1061
|
box-sizing: border-box;
|
|
1062
1062
|
`}
|
|
1063
1063
|
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
/* Bottom on mobile: mirror of top (opposite direction). Same height open/closed (100% of bar), transform slides up when open */
|
|
1065
|
+
${(props) => props.$verticalPosition === "bottom" ? css`
|
|
1066
|
+
height: 100%;
|
|
1067
|
+
max-height: 100%;
|
|
1068
|
+
${props.$opened ? css`transform: none !important;` : ""}
|
|
1066
1069
|
` : ""}
|
|
1067
1070
|
|
|
1068
1071
|
${(props) => props.$opened && props.$verticalPosition === "top" ? css`
|
|
@@ -2831,7 +2834,7 @@ var Wrapper9 = styled10.div`
|
|
|
2831
2834
|
// package.json
|
|
2832
2835
|
var package_default = {
|
|
2833
2836
|
name: "@ibti-tech/chatbot",
|
|
2834
|
-
version: "0.9.
|
|
2837
|
+
version: "0.9.7",
|
|
2835
2838
|
description: "Chatbot system developed to be embedded in any website",
|
|
2836
2839
|
packageManager: "yarn@3.6.4",
|
|
2837
2840
|
main: "./dist/index.mjs",
|
|
@@ -3210,9 +3213,16 @@ var Wrapper10 = styled11.div`
|
|
|
3210
3213
|
padding-bottom: ${(props2) => props2.theme.spacing.components.xsmall};
|
|
3211
3214
|
|
|
3212
3215
|
@media screen and (max-width: ${breakpoints3.tablet}px) {
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
+
/* Mirror of top (opposite direction): same height open/closed, no flex, last child height 100% like top */
|
|
3217
|
+
bottom: 0 !important;
|
|
3218
|
+
padding-top: env(safe-area-inset-top, 0px);
|
|
3219
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
3220
|
+
height: 100vh;
|
|
3221
|
+
height: 100svh;
|
|
3222
|
+
box-sizing: border-box;
|
|
3223
|
+
& > *:last-child {
|
|
3224
|
+
height: 100%;
|
|
3225
|
+
}
|
|
3216
3226
|
}
|
|
3217
3227
|
`}
|
|
3218
3228
|
|