@bikdotai/bik-component-library 0.0.742-beta.15 → 0.0.742-beta.17

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 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("react"),n=require("../../../constants/Theme.js"),s=require("../../../hooks/useWindowSize.js"),t=require("../GiftedChat/types.js"),a=require("../GiftedChat/utils.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const r=l=>{var r,o,d,u;const{currentMessage:c,position:v,renderMessageText:g,renderTicks:f,renderTime:m,renderCustomView:b,isCustomViewBottom:h,isUnsatisfactoryMessageFn:y,messagesGroupedByAiTraceId:j,onPress:O,bubbleStyles:C,appType:S}=l,p=s.useWindowSize(),x=c,A=i.useMemo((()=>x.category===a.Constants.ChatActivity.Category.ACTIVITY&&x.activityType===a.Constants.ChatActivity.Type.PRIVATE_NOTE),[x.category,x.activityType]),T=i.useMemo((()=>{const[e,i]=a.isStringifiedArray(null==x?void 0:x.message);return e&&i&&Array.isArray(i)}),[null==x?void 0:x.message]),M=i.useMemo((()=>{var e,i,s;const a={borderRadius:8,minHeight:20,margin:0,flexGrow:p?1:0},l=(null==x?void 0:x.channelId)===t.MESSAGE_CHANNELS.GMAIL||(null==x?void 0:x.channelName)===t.MESSAGE_CHANNELS.GMAIL,r=(null==x?void 0:x.channelId)===t.MESSAGE_CHANNELS.SMTP||(null==x?void 0:x.channelName)===t.MESSAGE_CHANNELS.SMTP;let o={};if("left"===v)o="manifest"===S?C.left:Object.assign(Object.assign({},p||l||r?{maxWidth:"100%"}:{}),A?{background:(null===(e=null==x?void 0:x.meta)||void 0===e?void 0:e.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":n.COLORS.background.warning.light}:{backgroundColor:(null==x?void 0:x.isPrivateMail)?n.COLORS.background.blue.light:n.COLORS.surface.hovered});else if("right"===v)if("manifest"===S)o=C.right;else{const e=y&&y({aiTraceId:null===(i=x.eventProperties)||void 0===i?void 0:i.aiTraceId,messagesGroupedByAiTraceId:j});o=Object.assign(Object.assign({backgroundColor:"failed"===x.status||e?n.COLORS.background.negative.light:n.COLORS.background.brandVeryLight},A?{background:(null===(s=null==x?void 0:x.meta)||void 0===s?void 0:s.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":n.COLORS.background.warning.light}:{}),!p&&T?{maxWidth:500}:{})}return"manifest"===S?Object.assign({},o):Object.assign(Object.assign({},a),o)}),[null==x?void 0:x.channelId,null==x?void 0:x.channelName,null===(r=null==x?void 0:x.meta)||void 0===r?void 0:r.aiUsed,null==x?void 0:x.status,null===(o=null==x?void 0:x.eventProperties)||void 0===o?void 0:o.aiTraceId,v,p,A,T,y,j,null==x?void 0:x.isPrivateMail]),I=i.useCallback((()=>e.jsxs("div",{children:[!h&&(null==b?void 0:b(l)),null==g?void 0:g(l),h&&(null==b?void 0:b(l))]})),[h,b,g,l]);return e.jsx("div",Object.assign({style:Object.assign({display:"flex",marginTop:6,marginBottom:(null===(u=null===(d=null==c?void 0:c.messageInformation)||void 0===d?void 0:d.reactions)||void 0===u?void 0:u.length)>0?24:6,flexGrow:p?1:0},"manifest"===S?{cursor:"pointer"}:{})},"manifest"===S?{onClick:O}:{},{children:e.jsx("div",Object.assign({style:M},{children:e.jsxs("div",{children:[e.jsx("div",Object.assign({id:c.chatActivityId||`message-${c.psqlId}`},{children:I()})),e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"row",justifyContent:"flex-end",marginLeft:"32px"}},{children:[null==m?void 0:m(l),null==f?void 0:f(c)]}))]})}))}))},o=l(i).default.memo(r);exports.Bubble=o,exports.default=o;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("react"),n=require("../../../constants/Theme.js"),s=require("../../../hooks/useWindowSize.js"),t=require("../GiftedChat/types.js"),a=require("../GiftedChat/utils.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const l=r=>{var l,o,d,u;const{currentMessage:c,position:v,renderMessageText:g,renderTicks:f,renderTime:m,renderCustomView:b,isCustomViewBottom:h,isUnsatisfactoryMessageFn:y,messagesGroupedByAiTraceId:j,onPress:O,bubbleStyles:C,appType:S}=r,p=s.useWindowSize(),x=c,A=i.useMemo((()=>x.category===a.Constants.ChatActivity.Category.ACTIVITY&&x.activityType===a.Constants.ChatActivity.Type.PRIVATE_NOTE),[x.category,x.activityType]),T=i.useMemo((()=>{const[e,i]=a.isStringifiedArray(null==x?void 0:x.message);return e&&i&&Array.isArray(i)}),[null==x?void 0:x.message]),M=i.useMemo((()=>{var e,i,s;const a={borderRadius:8,minHeight:20,margin:0,flexGrow:p?1:0},r=(null==x?void 0:x.channelId)===t.MESSAGE_CHANNELS.GMAIL||(null==x?void 0:x.channelName)===t.MESSAGE_CHANNELS.GMAIL,l=(null==x?void 0:x.channelId)===t.MESSAGE_CHANNELS.SMTP||(null==x?void 0:x.channelName)===t.MESSAGE_CHANNELS.SMTP;let o={};if("left"===v)o="manifest"===S?C.left:Object.assign(Object.assign({},p||r||l?{maxWidth:"100%"}:{}),A?{background:(null===(e=null==x?void 0:x.meta)||void 0===e?void 0:e.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":n.COLORS.background.warning.light}:{backgroundColor:(null==x?void 0:x.isPrivateMail)?n.COLORS.background.blue.light:n.COLORS.surface.hovered});else if("right"===v)if("manifest"===S)o=C.right;else{const e=y&&y({aiTraceId:null===(i=x.eventProperties)||void 0===i?void 0:i.aiTraceId,messagesGroupedByAiTraceId:j});o=Object.assign(Object.assign({backgroundColor:"failed"===x.status||e?n.COLORS.background.negative.light:n.COLORS.background.brandVeryLight},A?{background:(null===(s=null==x?void 0:x.meta)||void 0===s?void 0:s.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":n.COLORS.background.warning.light}:{}),!p&&T?{maxWidth:500}:{})}return"manifest"===S?Object.assign({},o):Object.assign(Object.assign({},a),o)}),[null==x?void 0:x.channelId,null==x?void 0:x.channelName,null===(l=null==x?void 0:x.meta)||void 0===l?void 0:l.aiUsed,null==x?void 0:x.status,null===(o=null==x?void 0:x.eventProperties)||void 0===o?void 0:o.aiTraceId,v,p,A,T,y,j,null==x?void 0:x.isPrivateMail]),I=i.useCallback((()=>e.jsxs("div",{children:[!h&&(null==b?void 0:b(r)),null==g?void 0:g(r),h&&(null==b?void 0:b(r))]})),[h,b,g,r]);return e.jsx("div",Object.assign({style:Object.assign({display:"flex",marginTop:6,marginBottom:(null===(u=null===(d=null==c?void 0:c.messageInformation)||void 0===d?void 0:d.reactions)||void 0===u?void 0:u.length)>0?24:6,flexGrow:p?1:0},"manifest"===S&&"right"===v?{cursor:"pointer"}:{})},"manifest"===S?{onClick:O}:{},{children:e.jsx("div",Object.assign({style:M},{children:e.jsxs("div",{children:[e.jsx("div",Object.assign({id:c.chatActivityId||`message-${c.psqlId}`},{children:I()})),e.jsxs("div",Object.assign({style:{display:"flex",flexDirection:"row",justifyContent:"flex-end",marginLeft:"32px"}},{children:[null==m?void 0:m(r),null==f?void 0:f(c)]}))]})}))}))},o=r(i).default.memo(l);exports.Bubble=o,exports.default=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("date-fns"),r=require("react"),a=require("../../../constants/Theme.js"),n=require("../../TypographyStyle.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const i=s=>{let{createdAt:i,dateFormat:o="D MMMM YY",dateFormatCalendar:l,appType:d}=s;const y=r.useMemo((()=>{if(null==i)return null;const e=t.startOfDay(new Date);let r;if("number"==typeof i)r=t.startOfDay(new Date(i));else if(i instanceof Date)r=t.startOfDay(i);else{if("string"!=typeof i)return null;r=t.startOfDay(new Date(i))}if(!t.isSameYear(e,r))return t.format(r,"EEEE, d MMMM yy");const a=t.differenceInDays(e,r);return a<1?(null==l?void 0:l.sameDay)?l.sameDay.replace(/\[|\]/g,""):"Today":1===a?"Yesterday":t.format(r,"EEEE, d MMMM yy")}),[i,o,l]);return y?"manifest"===d?e.jsx("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:5,marginBottom:10}},{children:e.jsx("span",Object.assign({style:{background:"transparent",color:"#b2b2b2",fontSize:12,fontWeight:600,padding:"2px 8px"}},{children:y}))})):e.jsxs("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",margin:"12px 0px 12px 8px"}},{children:[e.jsx("div",{style:{flex:1,height:"1px",backgroundColor:a.COLORS.stroke.primary}}),e.jsx("div",Object.assign({style:{border:`1px solid ${a.COLORS.stroke.primary}`,borderRadius:"16px",padding:"4px 12px"}},{children:e.jsx(n.BodyCaption,Object.assign({style:{color:a.COLORS.content.secondary}},{children:y}))})),e.jsx("div",{style:{flex:1,height:"1px",backgroundColor:a.COLORS.stroke.primary}})]})):null},o=s(r).default.memo(i);exports.Day=o,exports.default=o;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("date-fns"),r=require("react"),a=require("../../../constants/Theme.js"),n=require("../../TypographyStyle.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const i=s=>{let{createdAt:i,dateFormat:o="D MMMM YY",dateFormatCalendar:l,appType:d}=s;const y=r.useMemo((()=>{if(null==i)return null;let e;if("number"==typeof i)e=t.startOfDay(new Date(i));else if(i instanceof Date)e=t.startOfDay(i);else{if("string"!=typeof i)return null;e=t.startOfDay(new Date(i))}if("manifest"===d)return t.format(e,"MMM d, yyyy");const r=t.startOfDay(new Date);if(!t.isSameYear(r,e))return t.format(e,"EEEE, d MMMM yy");const a=t.differenceInDays(r,e);return a<1?(null==l?void 0:l.sameDay)?l.sameDay.replace(/\[|\]/g,""):"Today":1===a?"Yesterday":t.format(e,"EEEE, d MMMM yy")}),[i,o,l,d]);return y?"manifest"===d?e.jsx("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:5,marginBottom:10}},{children:e.jsx("span",Object.assign({style:{background:"transparent",color:"#b2b2b2",fontSize:12,fontWeight:600,padding:"2px 8px"}},{children:y}))})):e.jsxs("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",margin:"12px 0px 12px 8px"}},{children:[e.jsx("div",{style:{flex:1,height:"1px",backgroundColor:a.COLORS.stroke.primary}}),e.jsx("div",Object.assign({style:{border:`1px solid ${a.COLORS.stroke.primary}`,borderRadius:"16px",padding:"4px 12px"}},{children:e.jsx(n.BodyCaption,Object.assign({style:{color:a.COLORS.content.secondary}},{children:y}))})),e.jsx("div",{style:{flex:1,height:"1px",backgroundColor:a.COLORS.stroke.primary}})]})):null},o=s(r).default.memo(i);exports.Day=o,exports.default=o;
@@ -50,7 +50,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {
50
50
  onLongPress?: (context?: any, message?: TMessage) => void;
51
51
  onPress?: (context?: any, message?: TMessage) => void;
52
52
  messageIdGenerator?: (message?: TMessage) => string;
53
- apptype?: string;
53
+ appType?: string;
54
54
  [key: string]: any;
55
55
  }
56
56
  export interface ScrollState {
@@ -1 +1 @@
1
- import{jsxs as e,jsx as i}from"react/jsx-runtime";import n,{useMemo as t,useCallback as a}from"react";import{COLORS as l}from"../../../constants/Theme.js";import{useWindowSize as o}from"../../../hooks/useWindowSize.js";import{MESSAGE_CHANNELS as s}from"../GiftedChat/types.js";import{Constants as r,isStringifiedArray as d}from"../GiftedChat/utils.js";const c=n=>{var c,u,v,g;const{currentMessage:m,position:f,renderMessageText:h,renderTicks:b,renderTime:y,renderCustomView:p,isCustomViewBottom:T,isUnsatisfactoryMessageFn:j,messagesGroupedByAiTraceId:I,onPress:O,bubbleStyles:k,appType:x}=n,C=o(),A=m,M=t((()=>A.category===r.ChatActivity.Category.ACTIVITY&&A.activityType===r.ChatActivity.Type.PRIVATE_NOTE),[A.category,A.activityType]),w=t((()=>{const[e,i]=d(null==A?void 0:A.message);return e&&i&&Array.isArray(i)}),[null==A?void 0:A.message]),G=t((()=>{var e,i,n;const t={borderRadius:8,minHeight:20,margin:0,flexGrow:C?1:0},a=(null==A?void 0:A.channelId)===s.GMAIL||(null==A?void 0:A.channelName)===s.GMAIL,o=(null==A?void 0:A.channelId)===s.SMTP||(null==A?void 0:A.channelName)===s.SMTP;let r={};if("left"===f)r="manifest"===x?k.left:Object.assign(Object.assign({},C||a||o?{maxWidth:"100%"}:{}),M?{background:(null===(e=null==A?void 0:A.meta)||void 0===e?void 0:e.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":l.background.warning.light}:{backgroundColor:(null==A?void 0:A.isPrivateMail)?l.background.blue.light:l.surface.hovered});else if("right"===f)if("manifest"===x)r=k.right;else{const e=j&&j({aiTraceId:null===(i=A.eventProperties)||void 0===i?void 0:i.aiTraceId,messagesGroupedByAiTraceId:I});r=Object.assign(Object.assign({backgroundColor:"failed"===A.status||e?l.background.negative.light:l.background.brandVeryLight},M?{background:(null===(n=null==A?void 0:A.meta)||void 0===n?void 0:n.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":l.background.warning.light}:{}),!C&&w?{maxWidth:500}:{})}return"manifest"===x?Object.assign({},r):Object.assign(Object.assign({},t),r)}),[null==A?void 0:A.channelId,null==A?void 0:A.channelName,null===(c=null==A?void 0:A.meta)||void 0===c?void 0:c.aiUsed,null==A?void 0:A.status,null===(u=null==A?void 0:A.eventProperties)||void 0===u?void 0:u.aiTraceId,f,C,M,w,j,I,null==A?void 0:A.isPrivateMail]),P=a((()=>e("div",{children:[!T&&(null==p?void 0:p(n)),null==h?void 0:h(n),T&&(null==p?void 0:p(n))]})),[T,p,h,n]);return i("div",Object.assign({style:Object.assign({display:"flex",marginTop:6,marginBottom:(null===(g=null===(v=null==m?void 0:m.messageInformation)||void 0===v?void 0:v.reactions)||void 0===g?void 0:g.length)>0?24:6,flexGrow:C?1:0},"manifest"===x?{cursor:"pointer"}:{})},"manifest"===x?{onClick:O}:{},{children:i("div",Object.assign({style:G},{children:e("div",{children:[i("div",Object.assign({id:m.chatActivityId||`message-${m.psqlId}`},{children:P()})),e("div",Object.assign({style:{display:"flex",flexDirection:"row",justifyContent:"flex-end",marginLeft:"32px"}},{children:[null==y?void 0:y(n),null==b?void 0:b(m)]}))]})}))}))},u=n.memo(c);export{u as Bubble,u as default};
1
+ import{jsxs as e,jsx as i}from"react/jsx-runtime";import n,{useMemo as t,useCallback as a}from"react";import{COLORS as l}from"../../../constants/Theme.js";import{useWindowSize as o}from"../../../hooks/useWindowSize.js";import{MESSAGE_CHANNELS as s}from"../GiftedChat/types.js";import{Constants as r,isStringifiedArray as d}from"../GiftedChat/utils.js";const c=n=>{var c,u,g,v;const{currentMessage:m,position:f,renderMessageText:h,renderTicks:b,renderTime:y,renderCustomView:p,isCustomViewBottom:T,isUnsatisfactoryMessageFn:j,messagesGroupedByAiTraceId:I,onPress:O,bubbleStyles:k,appType:x}=n,C=o(),A=m,M=t((()=>A.category===r.ChatActivity.Category.ACTIVITY&&A.activityType===r.ChatActivity.Type.PRIVATE_NOTE),[A.category,A.activityType]),w=t((()=>{const[e,i]=d(null==A?void 0:A.message);return e&&i&&Array.isArray(i)}),[null==A?void 0:A.message]),G=t((()=>{var e,i,n;const t={borderRadius:8,minHeight:20,margin:0,flexGrow:C?1:0},a=(null==A?void 0:A.channelId)===s.GMAIL||(null==A?void 0:A.channelName)===s.GMAIL,o=(null==A?void 0:A.channelId)===s.SMTP||(null==A?void 0:A.channelName)===s.SMTP;let r={};if("left"===f)r="manifest"===x?k.left:Object.assign(Object.assign({},C||a||o?{maxWidth:"100%"}:{}),M?{background:(null===(e=null==A?void 0:A.meta)||void 0===e?void 0:e.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":l.background.warning.light}:{backgroundColor:(null==A?void 0:A.isPrivateMail)?l.background.blue.light:l.surface.hovered});else if("right"===f)if("manifest"===x)r=k.right;else{const e=j&&j({aiTraceId:null===(i=A.eventProperties)||void 0===i?void 0:i.aiTraceId,messagesGroupedByAiTraceId:I});r=Object.assign(Object.assign({backgroundColor:"failed"===A.status||e?l.background.negative.light:l.background.brandVeryLight},M?{background:(null===(n=null==A?void 0:A.meta)||void 0===n?void 0:n.aiUsed)?"linear-gradient(90deg, #ffe6ee 0%, #fff0e7 100%)":l.background.warning.light}:{}),!C&&w?{maxWidth:500}:{})}return"manifest"===x?Object.assign({},r):Object.assign(Object.assign({},t),r)}),[null==A?void 0:A.channelId,null==A?void 0:A.channelName,null===(c=null==A?void 0:A.meta)||void 0===c?void 0:c.aiUsed,null==A?void 0:A.status,null===(u=null==A?void 0:A.eventProperties)||void 0===u?void 0:u.aiTraceId,f,C,M,w,j,I,null==A?void 0:A.isPrivateMail]),P=a((()=>e("div",{children:[!T&&(null==p?void 0:p(n)),null==h?void 0:h(n),T&&(null==p?void 0:p(n))]})),[T,p,h,n]);return i("div",Object.assign({style:Object.assign({display:"flex",marginTop:6,marginBottom:(null===(v=null===(g=null==m?void 0:m.messageInformation)||void 0===g?void 0:g.reactions)||void 0===v?void 0:v.length)>0?24:6,flexGrow:C?1:0},"manifest"===x&&"right"===f?{cursor:"pointer"}:{})},"manifest"===x?{onClick:O}:{},{children:i("div",Object.assign({style:G},{children:e("div",{children:[i("div",Object.assign({id:m.chatActivityId||`message-${m.psqlId}`},{children:P()})),e("div",Object.assign({style:{display:"flex",flexDirection:"row",justifyContent:"flex-end",marginLeft:"32px"}},{children:[null==y?void 0:y(n),null==b?void 0:b(m)]}))]})}))}))},u=n.memo(c);export{u as Bubble,u as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{startOfDay as r,isSameYear as n,format as a,differenceInDays as o}from"date-fns";import i,{useMemo as s}from"react";import{COLORS as l}from"../../../constants/Theme.js";import{BodyCaption as p}from"../../TypographyStyle.js";const d=i=>{let{createdAt:d,dateFormat:c="D MMMM YY",dateFormatCalendar:m,appType:y}=i;const f=s((()=>{if(null==d)return null;const e=r(new Date);let t;if("number"==typeof d)t=r(new Date(d));else if(d instanceof Date)t=r(d);else{if("string"!=typeof d)return null;t=r(new Date(d))}if(!n(e,t))return a(t,"EEEE, d MMMM yy");const i=o(e,t);return i<1?(null==m?void 0:m.sameDay)?m.sameDay.replace(/\[|\]/g,""):"Today":1===i?"Yesterday":a(t,"EEEE, d MMMM yy")}),[d,c,m]);return f?"manifest"===y?e("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:5,marginBottom:10}},{children:e("span",Object.assign({style:{background:"transparent",color:"#b2b2b2",fontSize:12,fontWeight:600,padding:"2px 8px"}},{children:f}))})):t("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",margin:"12px 0px 12px 8px"}},{children:[e("div",{style:{flex:1,height:"1px",backgroundColor:l.stroke.primary}}),e("div",Object.assign({style:{border:`1px solid ${l.stroke.primary}`,borderRadius:"16px",padding:"4px 12px"}},{children:e(p,Object.assign({style:{color:l.content.secondary}},{children:f}))})),e("div",{style:{flex:1,height:"1px",backgroundColor:l.stroke.primary}})]})):null},c=i.memo(d);export{c as Day,c as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{startOfDay as r,format as n,isSameYear as a,differenceInDays as i}from"date-fns";import o,{useMemo as s}from"react";import{COLORS as l}from"../../../constants/Theme.js";import{BodyCaption as d}from"../../TypographyStyle.js";const p=o=>{let{createdAt:p,dateFormat:y="D MMMM YY",dateFormatCalendar:c,appType:m}=o;const f=s((()=>{if(null==p)return null;let e;if("number"==typeof p)e=r(new Date(p));else if(p instanceof Date)e=r(p);else{if("string"!=typeof p)return null;e=r(new Date(p))}if("manifest"===m)return n(e,"MMM d, yyyy");const t=r(new Date);if(!a(t,e))return n(e,"EEEE, d MMMM yy");const o=i(t,e);return o<1?(null==c?void 0:c.sameDay)?c.sameDay.replace(/\[|\]/g,""):"Today":1===o?"Yesterday":n(e,"EEEE, d MMMM yy")}),[p,y,c,m]);return f?"manifest"===m?e("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:5,marginBottom:10}},{children:e("span",Object.assign({style:{background:"transparent",color:"#b2b2b2",fontSize:12,fontWeight:600,padding:"2px 8px"}},{children:f}))})):t("div",Object.assign({style:{display:"flex",alignItems:"center",justifyContent:"center",margin:"12px 0px 12px 8px"}},{children:[e("div",{style:{flex:1,height:"1px",backgroundColor:l.stroke.primary}}),e("div",Object.assign({style:{border:`1px solid ${l.stroke.primary}`,borderRadius:"16px",padding:"4px 12px"}},{children:e(d,Object.assign({style:{color:l.content.secondary}},{children:f}))})),e("div",{style:{flex:1,height:"1px",backgroundColor:l.stroke.primary}})]})):null},y=o.memo(p);export{y as Day,y as default};
@@ -50,7 +50,7 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {
50
50
  onLongPress?: (context?: any, message?: TMessage) => void;
51
51
  onPress?: (context?: any, message?: TMessage) => void;
52
52
  messageIdGenerator?: (message?: TMessage) => string;
53
- apptype?: string;
53
+ appType?: string;
54
54
  [key: string]: any;
55
55
  }
56
56
  export interface ScrollState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.742-beta.15",
3
+ "version": "0.0.742-beta.17",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",