@ibti-tech/chatbot 0.9.2 → 0.9.3

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
@@ -147,7 +147,7 @@ declare module '@ibti-tech/chatbot/components/ChatbotBody/styles' {
147
147
  //# sourceMappingURL=styles.d.ts.map
148
148
  }
149
149
  declare module '@ibti-tech/chatbot/components/ChatbotBody/styles.d.ts' {
150
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBody/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,6NAAe,CAAA;AAExC,eAAO,MAAM,YAAY,iOAYxB,CAAA;AAED,eAAO,MAAM,OAAO,6NAuCnB,CAAA"}
150
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBody/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,6NAAe,CAAA;AAExC,eAAO,MAAM,YAAY,iOAYxB,CAAA;AAED,eAAO,MAAM,OAAO,6NAwCnB,CAAA"}
151
151
  }
152
152
  declare module '@ibti-tech/chatbot/components/ChatbotDevice/index' {
153
153
  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;YAyOnC,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;YAsPnC,CAAA"}
186
186
  }
187
187
  declare module '@ibti-tech/chatbot/components/ChatbotFooter/index' {
188
188
  import React from 'react';
package/dist/index.mjs CHANGED
@@ -1066,6 +1066,16 @@ var Wrapper = styled.div`
1066
1066
  transform: none !important;
1067
1067
  position: relative !important;
1068
1068
  ` : ""}
1069
+
1070
+ /* Keep close button (toggle) always visible: header, footer and toggle don't shrink */
1071
+ ${(props) => props.$opened ? css`
1072
+ & > *:nth-child(1),
1073
+ & > *:nth-child(2),
1074
+ & > *:nth-child(4),
1075
+ & > *:nth-child(5) {
1076
+ flex-shrink: 0 !important;
1077
+ }
1078
+ ` : ""}
1069
1079
  }
1070
1080
 
1071
1081
  /* Border radius based on vertical position */
@@ -1510,6 +1520,7 @@ var Wrapper4 = styled4.div`
1510
1520
  overflow-y: auto;
1511
1521
  flex: 1;
1512
1522
  min-width: 0;
1523
+ min-height: 0; /* keeps close button visible on mobile (flex column) */
1513
1524
  height: 100%;
1514
1525
  padding-right: ${(props) => props.theme.spacing.components.small};
1515
1526
  font-family: 'Montserrat', sans-serif !important;
@@ -2777,7 +2788,7 @@ var Wrapper9 = styled10.div`
2777
2788
  // package.json
2778
2789
  var package_default = {
2779
2790
  name: "@ibti-tech/chatbot",
2780
- version: "0.9.2",
2791
+ version: "0.9.3",
2781
2792
  description: "Chatbot system developed to be embedded in any website",
2782
2793
  packageManager: "yarn@3.6.4",
2783
2794
  main: "./dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibti-tech/chatbot",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
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",