@ibti-tech/chatbot 0.9.6 → 0.9.8

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/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;YAwInC,CAAA"}
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;YA+InC,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;YAgQnC,CAAA"}
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
- ${(props) => props.$opened && props.$verticalPosition === "bottom" ? css`
1065
- max-height: 100vh;
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.6",
2837
+ version: "0.9.8",
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,18 @@ 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
- ${props.$opened ? css6`
3214
- padding-bottom: 0;
3215
- ` : ""}
3216
+ /* Real mobile: pin between safe areas so header is never cut (notch/status bar). Fallback when env is 0 (no viewport-fit=cover). */
3217
+ top: max(env(safe-area-inset-top, 0px), 20px) !important;
3218
+ bottom: max(env(safe-area-inset-bottom, 0px), 8px) !important;
3219
+ height: auto !important;
3220
+ min-height: 0;
3221
+ padding-top: 0;
3222
+ padding-bottom: 0;
3223
+ box-sizing: border-box;
3224
+ & > *:last-child {
3225
+ height: 100%;
3226
+ min-height: 0;
3227
+ }
3216
3228
  }
3217
3229
  `}
3218
3230
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibti-tech/chatbot",
3
- "version": "0.9.6",
3
+ "version": "0.9.8",
4
4
  "description": "Chatbot system developed to be embedded in any website",
5
5
  "packageManager": "yarn@3.6.4",
6
6
  "main": "./dist/index.mjs",