@bikdotai/bik-component-library 0.0.721 → 0.0.722

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,11 +1,10 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/react/jsx-runtime.js"),t=require("react"),s=require("styled-components"),a=require("../../../assets/icons/Idea.svg.js"),i=require("../../../assets/icons/AiEdit.svg.js"),r=require("../../../assets/icons/HelpIcon.svg.js"),n=require("../../../constants/Theme.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(t);const d=o(s).default.div`
2
- background: linear-gradient(135deg, #FEF4F6 0%, #ffffff 100%);
3
- border: 1px solid ${e=>`${e.accent}33`};
4
- padding: 16px 18px 20px;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/react/jsx-runtime.js"),t=require("react"),s=require("styled-components"),a=require("../../../assets/icons/Idea.svg.js"),i=require("../../../assets/icons/AiEdit.svg.js"),r=require("../../../assets/icons/HelpIcon.svg.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const o=n(s).default.div`
2
+ background: linear-gradient(92.69deg, rgba(255, 230, 238, 0.5) 0.37%, rgba(255, 240, 231, 0.5) 100%);
3
+ padding: 24px;
5
4
  border-radius: 16px;
6
5
  border-bottom-left-radius: 6px;
7
6
  width: clamp(260px, 70vw, 340px);
8
- min-height: 140px;
7
+ min-height: 108px;
9
8
  margin-right: auto;
10
9
  font-size: 14px;
11
10
  color: #1f2937;
@@ -62,9 +61,9 @@
62
61
  }
63
62
 
64
63
  .shimmer-line {
65
- height: 6px;
66
- border-radius: 999px;
67
- background: ${n.COLORS.stroke.ai.lightAlt};
64
+ height: 10px;
65
+ border-radius: 20px;
66
+ background: linear-gradient(92.69deg, #FEBAD2 0.37%, #FDD1B9 100%);
68
67
  position: relative;
69
68
  overflow: hidden;
70
69
  animation: shimmerAppear 0.4s ease forwards;
@@ -145,4 +144,4 @@
145
144
  transform: translateY(0);
146
145
  }
147
146
  }
148
- `,c=[{icon:a.default,text:"Analyzing your questions...",gradient:"linear-gradient(135deg, #f97316 0%, #fb5f08 100%)",accent:"#fb5f08"},{icon:i.default,text:"Gathering insights...",gradient:"linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)",accent:"#2563eb"},{icon:r.default,text:"Crafting the perfect response...",gradient:"linear-gradient(135deg, #f97316 0%, #fb5f08 100%)",accent:"#fb5f08"}];exports.default=()=>{const[s,a]=t.useState(0);t.useEffect((()=>{const e=window.setInterval((()=>{a((e=>(e+1)%c.length))}),1800);return()=>window.clearInterval(e)}),[]);const i=c[s];return e.jsxRuntimeExports.jsxs(d,Object.assign({gradient:i.gradient,accent:i.accent,role:"status","aria-live":"polite"},{children:[l.default.createElement(i.icon,{className:"icon-svg",width:24,height:24}),e.jsxRuntimeExports.jsxs("div",Object.assign({className:"bubble-content"},{children:[e.jsxRuntimeExports.jsx("div",Object.assign({className:"status-text"},{children:i.text})),e.jsxRuntimeExports.jsx("div",Object.assign({className:"dots"},{children:[0,1,2,3,4].map((t=>e.jsxRuntimeExports.jsx("span",{className:"dot",style:{animationDelay:.15*t+"s"}},t)))})),e.jsxRuntimeExports.jsx("div",Object.assign({className:"shimmer-group"},{children:[60,80,45].map(((t,s)=>e.jsxRuntimeExports.jsx("div",Object.assign({className:"shimmer-line",style:{width:`${t}%`,animationDelay:.25+.12*s+"s"}},{children:e.jsxRuntimeExports.jsx("span",{className:"shimmer-highlight"})}),t)))}))]}))]}))};
147
+ `,l=[{icon:a.default,text:"Analyzing your questions..."},{icon:i.default,text:"Gathering insights..."},{icon:r.default,text:"Crafting the perfect response..."}];exports.default=()=>{const[s,a]=t.useState(0);t.useEffect((()=>{const e=window.setInterval((()=>{a((e=>(e+1)%l.length))}),1800);return()=>window.clearInterval(e)}),[]);const i=l[s];return e.jsxRuntimeExports.jsxs(o,Object.assign({role:"status","aria-live":"polite"},{children:[e.jsxRuntimeExports.jsx(i.icon,{height:24,width:24}),e.jsxRuntimeExports.jsxs("div",Object.assign({className:"bubble-content"},{children:[e.jsxRuntimeExports.jsx("div",Object.assign({className:"status-text"},{children:i.text})),e.jsxRuntimeExports.jsx("div",Object.assign({className:"dots"},{children:[0,1,2,3,4].map((t=>e.jsxRuntimeExports.jsx("span",{className:"dot",style:{animationDelay:.15*t+"s"}},t)))})),e.jsxRuntimeExports.jsx("div",Object.assign({className:"shimmer-group"},{children:[70,85,50].map(((t,s)=>e.jsxRuntimeExports.jsx("div",Object.assign({className:"shimmer-line",style:{width:`${t}%`,animationDelay:.25+.12*s+"s"}},{children:e.jsxRuntimeExports.jsx("span",{className:"shimmer-highlight"})}),t)))}))]}))]}))};
@@ -1,11 +1,10 @@
1
- import{j as e}from"../../../node_modules/react/jsx-runtime.js";import t,{useState as a,useEffect as s}from"react";import i from"styled-components";import r from"../../../assets/icons/Idea.svg.js";import n from"../../../assets/icons/AiEdit.svg.js";import o from"../../../assets/icons/HelpIcon.svg.js";import{COLORS as l}from"../../../constants/Theme.js";const m=i.div`
2
- background: linear-gradient(135deg, #FEF4F6 0%, #ffffff 100%);
3
- border: 1px solid ${e=>`${e.accent}33`};
4
- padding: 16px 18px 20px;
1
+ import{j as e}from"../../../node_modules/react/jsx-runtime.js";import{useState as t,useEffect as s}from"react";import a from"styled-components";import i from"../../../assets/icons/Idea.svg.js";import r from"../../../assets/icons/AiEdit.svg.js";import n from"../../../assets/icons/HelpIcon.svg.js";const o=a.div`
2
+ background: linear-gradient(92.69deg, rgba(255, 230, 238, 0.5) 0.37%, rgba(255, 240, 231, 0.5) 100%);
3
+ padding: 24px;
5
4
  border-radius: 16px;
6
5
  border-bottom-left-radius: 6px;
7
6
  width: clamp(260px, 70vw, 340px);
8
- min-height: 140px;
7
+ min-height: 108px;
9
8
  margin-right: auto;
10
9
  font-size: 14px;
11
10
  color: #1f2937;
@@ -62,9 +61,9 @@ import{j as e}from"../../../node_modules/react/jsx-runtime.js";import t,{useStat
62
61
  }
63
62
 
64
63
  .shimmer-line {
65
- height: 6px;
66
- border-radius: 999px;
67
- background: ${l.stroke.ai.lightAlt};
64
+ height: 10px;
65
+ border-radius: 20px;
66
+ background: linear-gradient(92.69deg, #FEBAD2 0.37%, #FDD1B9 100%);
68
67
  position: relative;
69
68
  overflow: hidden;
70
69
  animation: shimmerAppear 0.4s ease forwards;
@@ -145,4 +144,4 @@ import{j as e}from"../../../node_modules/react/jsx-runtime.js";import t,{useStat
145
144
  transform: translateY(0);
146
145
  }
147
146
  }
148
- `,c=[{icon:r,text:"Analyzing your questions...",gradient:"linear-gradient(135deg, #f97316 0%, #fb5f08 100%)",accent:"#fb5f08"},{icon:n,text:"Gathering insights...",gradient:"linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)",accent:"#2563eb"},{icon:o,text:"Crafting the perfect response...",gradient:"linear-gradient(135deg, #f97316 0%, #fb5f08 100%)",accent:"#fb5f08"}],d=()=>{const[i,r]=a(0);s((()=>{const e=window.setInterval((()=>{r((e=>(e+1)%c.length))}),1800);return()=>window.clearInterval(e)}),[]);const n=c[i];return e.jsxs(m,Object.assign({gradient:n.gradient,accent:n.accent,role:"status","aria-live":"polite"},{children:[t.createElement(n.icon,{className:"icon-svg",width:24,height:24}),e.jsxs("div",Object.assign({className:"bubble-content"},{children:[e.jsx("div",Object.assign({className:"status-text"},{children:n.text})),e.jsx("div",Object.assign({className:"dots"},{children:[0,1,2,3,4].map((t=>e.jsx("span",{className:"dot",style:{animationDelay:.15*t+"s"}},t)))})),e.jsx("div",Object.assign({className:"shimmer-group"},{children:[60,80,45].map(((t,a)=>e.jsx("div",Object.assign({className:"shimmer-line",style:{width:`${t}%`,animationDelay:.25+.12*a+"s"}},{children:e.jsx("span",{className:"shimmer-highlight"})}),t)))}))]}))]}))};export{d as default};
147
+ `,l=[{icon:i,text:"Analyzing your questions..."},{icon:r,text:"Gathering insights..."},{icon:n,text:"Crafting the perfect response..."}],m=()=>{const[a,i]=t(0);s((()=>{const e=window.setInterval((()=>{i((e=>(e+1)%l.length))}),1800);return()=>window.clearInterval(e)}),[]);const r=l[a];return e.jsxs(o,Object.assign({role:"status","aria-live":"polite"},{children:[e.jsx(r.icon,{height:24,width:24}),e.jsxs("div",Object.assign({className:"bubble-content"},{children:[e.jsx("div",Object.assign({className:"status-text"},{children:r.text})),e.jsx("div",Object.assign({className:"dots"},{children:[0,1,2,3,4].map((t=>e.jsx("span",{className:"dot",style:{animationDelay:.15*t+"s"}},t)))})),e.jsx("div",Object.assign({className:"shimmer-group"},{children:[70,85,50].map(((t,s)=>e.jsx("div",Object.assign({className:"shimmer-line",style:{width:`${t}%`,animationDelay:.25+.12*s+"s"}},{children:e.jsx("span",{className:"shimmer-highlight"})}),t)))}))]}))]}))};export{m as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikdotai/bik-component-library",
3
- "version": "0.0.721",
3
+ "version": "0.0.722",
4
4
  "description": "Bik Component Library",
5
5
  "repository": {
6
6
  "type": "git",