@bothub-chat/ui 2.48.1-fix-refactor-256bf5f4-cc38-4ce9-b73e-a34facf0aa04 → 2.48.1-fix-refactor-7fbeb66b-7f3d-448b-9776-9a5570365738
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
|
-
import{styled as o}from"styled-components";import"react";import"unified";import"remark-parse";import"remark-gfm";import"mdast-util-to-markdown";import{colorToRgba as r}from"../../../utils/colors/colorToRgba.js";import"../../../utils/colors/calculateGrayScale.js";import"../../../utils/colors/calculateAccentColors.js";const t=o.div.withConfig({displayName:"styled__SidebarListChatsStyled",componentId:"sc-qq4n3y-0"})(["display:flex;flex-direction:column;gap:",";
|
|
1
|
+
import{styled as o}from"styled-components";import"react";import"unified";import"remark-parse";import"remark-gfm";import"mdast-util-to-markdown";import{colorToRgba as r}from"../../../utils/colors/colorToRgba.js";import"../../../utils/colors/calculateGrayScale.js";import"../../../utils/colors/calculateAccentColors.js";const t=o.div.withConfig({displayName:"styled__SidebarListChatsStyled",componentId:"sc-qq4n3y-0"})(["display:flex;min-height:300px;flex-direction:column;gap:",";",""],({$isSidebarOpen:o})=>o?"4px":"8px",({$isOver:o,theme:t})=>o&&`\n background: ${r(t.colors.accent.primaryLight,.4)};\n border-radius: 8px;\n `);export{t as SidebarListChatsStyled};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{styled as i}from"styled-components";import{Scrollbar as t}from"../scrollbar/index.js";import{Divider as o}from"../divider/index.js";import{ScrollbarShadow as d}from"../scrollbar/shadow/index.js";const a=i.div.withConfig({displayName:"styled__SidebarStyled",componentId:"sc-3xc6b3-0"})(["display:flex;flex-direction:column;height:100%;width:",";"," padding:20px 0;background:",";border-radius:18px;transition:all 0.3s ease-in-out;overflow:hidden;@media (max-width:","){width:424px;transform:translateX( "," );transition:all 0.3s ease-in-out;}@media (max-width:","){width:100%;border-radius:0;}"],({$isOpen:e,$isHide:i})=>i?"0px":e?"324px":"74px",({$isOpen:e})=>!e&&"justify-content: center;",({theme:e})=>e.colors.grayScale.gray4,({theme:e})=>e.dashboard.tablet.maxWidth,({$isOpenOnTablet:e})=>e?"0":"calc(-100% - 16px)",({theme:e})=>e.dashboard.mobile.maxWidth),n=i.div.withConfig({displayName:"styled__SidebarTop",componentId:"sc-3xc6b3-1"})([""," height:fit-content;padding-bottom:16px;"],({$isOpen:e})=>e&&"margin: 0 16px;"),s=i.div.withConfig({displayName:"styled__SidebarContent",componentId:"sc-3xc6b3-2"})(["display:flex;flex-direction:column;overflow:hidden;width:100%;height:100%;padding-bottom:20px;"]),p=i.div.withConfig({displayName:"styled__SidebarBottom",componentId:"sc-3xc6b3-3"})(["display:flex;padding:0 16px;height:fit-content;&:empty{display:none;}"]),r=i.div.withConfig({displayName:"styled__SidebarWrapper",componentId:"sc-3xc6b3-4"})(["display:flex;width:100%;height:100%;overflow:hidden;margin:0 16px;padding-right:","px;"],({$isScrollable:e,$isOpen:i})=>e&&i?20:26),l=i(t).attrs(({theme:i})=>({variant:"secondary",size:6,scrollShadows:{size:90,color:i.colors.grayScale.gray4,top:e(d,{side:"top"}),bottom:e(d,{side:"bottom"})}})).withConfig({displayName:"styled__SidebarBodyScrollbarWrapper",componentId:"sc-3xc6b3-5"})(["position:relative;height:100%;overflow-y:auto;overflow-x:hidden;",""],({$isOpen:e})=>!e&&"\n scrollbar-width: none;\n padding-right: 6px;\n "),c=i.div.withConfig({displayName:"styled__SidebarToolbar",componentId:"sc-3xc6b3-6"})(["display:flex;height:fit-content;"," flex-direction:",";gap:20px;justify-content:space-between;align-items:center;"],({$isOpen:e})=>!e&&"margin-top: 20px;",({$isOpen:e})=>e?"row":"column-reverse"),m=i.div.withConfig({displayName:"styled__SidebarButtons",componentId:"sc-3xc6b3-7"})(["display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;gap:10px;"]),x=i.div.withConfig({displayName:"styled__SidebarHead",componentId:"sc-3xc6b3-8"})(["position:relative;display:grid;"," justify-content:center;align-items:center;gap:14px;margin-bottom:20px;@media (max-width:","){display:none;}"],({$isOpen:e})=>e&&"grid-template-columns: 1fr auto auto;",({theme:e})=>e.dashboard.tablet.maxWidth),h=i(o).withConfig({displayName:"styled__SidebarDivider",componentId:"sc-3xc6b3-9"})(["margin:0 auto;margin-top:16px;width:",";background:",";"],({$isOpen:e})=>e?"width: 100%":"calc(100% - 32px)",({theme:e})=>e.colors.grayScale.gray2),y=i.div.withConfig({displayName:"styled__SidebarBoxContainer",componentId:"sc-3xc6b3-10"})(["display:flex;flex-direction:column;gap:16px;padding:0 16px;margin-bottom:16px;&:empty{display:none;}"]),g=i.div.withConfig({displayName:"styled__SidebarSearchBox",componentId:"sc-3xc6b3-11"})(["display:flex;margin-top:16px;&:empty{display:none;}"]),b=i.div.withConfig({displayName:"styled__SidebarToggleBox",componentId:"sc-3xc6b3-12"})(["@media (max-width:","){display:none;}"],({theme:e})=>e.dashboard.tablet.maxWidth);export{l as SidebarBodyScrollbarWrapper,p as SidebarBottom,y as SidebarBoxContainer,m as SidebarButtons,s as SidebarContent,h as SidebarDivider,x as SidebarHead,g as SidebarSearchBox,a as SidebarStyled,b as SidebarToggleBox,c as SidebarToolbar,n as SidebarTop,r as SidebarWrapper};
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{styled as i}from"styled-components";import{Scrollbar as t}from"../scrollbar/index.js";import{Divider as o}from"../divider/index.js";import{ScrollbarShadow as d}from"../scrollbar/shadow/index.js";const a=i.div.withConfig({displayName:"styled__SidebarStyled",componentId:"sc-3xc6b3-0"})(["display:flex;max-height:100vh;flex-direction:column;height:100%;width:",";"," padding:20px 0;background:",";border-radius:18px;transition:all 0.3s ease-in-out;overflow:hidden;@media (max-width:","){width:424px;transform:translateX( "," );transition:all 0.3s ease-in-out;}@media (max-width:","){width:100%;border-radius:0;}"],({$isOpen:e,$isHide:i})=>i?"0px":e?"324px":"74px",({$isOpen:e})=>!e&&"justify-content: center;",({theme:e})=>e.colors.grayScale.gray4,({theme:e})=>e.dashboard.tablet.maxWidth,({$isOpenOnTablet:e})=>e?"0":"calc(-100% - 16px)",({theme:e})=>e.dashboard.mobile.maxWidth),n=i.div.withConfig({displayName:"styled__SidebarTop",componentId:"sc-3xc6b3-1"})([""," height:fit-content;padding-bottom:16px;"],({$isOpen:e})=>e&&"margin: 0 16px;"),s=i.div.withConfig({displayName:"styled__SidebarContent",componentId:"sc-3xc6b3-2"})(["display:flex;flex-direction:column;overflow:hidden;width:100%;height:100%;padding-bottom:20px;"]),p=i.div.withConfig({displayName:"styled__SidebarBottom",componentId:"sc-3xc6b3-3"})(["display:flex;padding:0 16px;height:fit-content;&:empty{display:none;}"]),r=i.div.withConfig({displayName:"styled__SidebarWrapper",componentId:"sc-3xc6b3-4"})(["display:flex;width:100%;height:100%;overflow:hidden;margin:0 16px;padding-right:","px;"],({$isScrollable:e,$isOpen:i})=>e&&i?20:26),l=i(t).attrs(({theme:i})=>({variant:"secondary",size:6,scrollShadows:{size:90,color:i.colors.grayScale.gray4,top:e(d,{side:"top"}),bottom:e(d,{side:"bottom"})}})).withConfig({displayName:"styled__SidebarBodyScrollbarWrapper",componentId:"sc-3xc6b3-5"})(["position:relative;height:100%;overflow-y:auto;overflow-x:hidden;",""],({$isOpen:e})=>!e&&"\n scrollbar-width: none;\n padding-right: 6px;\n "),c=i.div.withConfig({displayName:"styled__SidebarToolbar",componentId:"sc-3xc6b3-6"})(["display:flex;height:fit-content;"," flex-direction:",";gap:20px;justify-content:space-between;align-items:center;"],({$isOpen:e})=>!e&&"margin-top: 20px;",({$isOpen:e})=>e?"row":"column-reverse"),m=i.div.withConfig({displayName:"styled__SidebarButtons",componentId:"sc-3xc6b3-7"})(["display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap;gap:10px;"]),x=i.div.withConfig({displayName:"styled__SidebarHead",componentId:"sc-3xc6b3-8"})(["position:relative;display:grid;"," justify-content:center;align-items:center;gap:14px;margin-bottom:20px;@media (max-width:","){display:none;}"],({$isOpen:e})=>e&&"grid-template-columns: 1fr auto auto;",({theme:e})=>e.dashboard.tablet.maxWidth),h=i(o).withConfig({displayName:"styled__SidebarDivider",componentId:"sc-3xc6b3-9"})(["margin:0 auto;margin-top:16px;width:",";background:",";"],({$isOpen:e})=>e?"width: 100%":"calc(100% - 32px)",({theme:e})=>e.colors.grayScale.gray2),y=i.div.withConfig({displayName:"styled__SidebarBoxContainer",componentId:"sc-3xc6b3-10"})(["display:flex;flex-direction:column;gap:16px;padding:0 16px;margin-bottom:16px;&:empty{display:none;}"]),g=i.div.withConfig({displayName:"styled__SidebarSearchBox",componentId:"sc-3xc6b3-11"})(["display:flex;margin-top:16px;&:empty{display:none;}"]),b=i.div.withConfig({displayName:"styled__SidebarToggleBox",componentId:"sc-3xc6b3-12"})(["@media (max-width:","){display:none;}"],({theme:e})=>e.dashboard.tablet.maxWidth);export{l as SidebarBodyScrollbarWrapper,p as SidebarBottom,y as SidebarBoxContainer,m as SidebarButtons,s as SidebarContent,h as SidebarDivider,x as SidebarHead,g as SidebarSearchBox,a as SidebarStyled,b as SidebarToggleBox,c as SidebarToolbar,n as SidebarTop,r as SidebarWrapper};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as C}from"tslib";import{jsx as o,jsxs as i,Fragment as r}from"react/jsx-runtime";import{useTheme as n}from"styled-components";import{Icon as t}from"../../components/icon/index.js";import{icon as e}from"../../components/icon/component.js";import{IconConsumer as c}from"../../components/icon/context.js";const l=e(e=>{var l=C(e,[]);const m=n();return o(t,Object.assign({size:18,viewBox:"0 0 18 18",fill:"none"},l,{children:o(c,{children:({fill:C=m.colors.grayScale.gray1}={fill:m.colors.grayScale.gray1})=>i(r,{children:[o("mask",{id:"path-1-inside-1_8497_58842",fill:"white",children:o("path",{d:"M16.3124 6.74998C16.3121 6.45172 16.1935 6.16577 15.9826 5.95487C15.7717 5.74396 15.4857 5.62533 15.1874 5.62499H12.9375V3.375C12.9371 3.07673 12.8185 2.79078 12.6076 2.57988C12.3967 2.36898 12.1107 2.25034 11.8125 2.25H2.8125C2.51423 2.25034 2.22828 2.36898 2.01738 2.57988C1.80648 2.79078 1.68784 3.07673 1.6875 3.375V12.375C1.6875 12.4812 1.71756 12.5852 1.77421 12.675C1.83086 12.7649 1.91178 12.8368 2.00762 12.8826C2.10346 12.9283 2.21029 12.946 2.31576 12.9336C2.42123 12.9212 2.52103 12.8792 2.60362 12.8124L5.06249 10.8246L5.06256 12.9375C5.0629 13.2357 5.18153 13.5217 5.39244 13.7326C5.60334 13.9435 5.88929 14.0621 6.18755 14.0625H12.7679L15.3964 16.1874C15.479 16.2541 15.5788 16.2962 15.6843 16.3086C15.7897 16.321 15.8966 16.3033 15.9924 16.2576C16.0882 16.2118 16.1692 16.1398 16.2258 16.05C16.2825 15.9602 16.3125 15.8561 16.3125 15.7499L16.3124 6.74998ZM13.3205 13.0625C13.2204 12.9816 13.0956 12.9375 12.9668 12.9375H6.18755L6.18748 10.6875H11.8125C12.1107 10.6871 12.3967 10.5685 12.6076 10.3576C12.8185 10.1467 12.9371 9.86073 12.9375 9.56247V6.74998H15.1874L15.1875 14.5719L13.3205 13.0625Z"})}),o("path",{d:"M16.3124 6.74998C16.3121 6.45172 16.1935 6.16577 15.9826 5.95487C15.7717 5.74396 15.4857 5.62533 15.1874 5.62499H12.9375V3.375C12.9371 3.07673 12.8185 2.79078 12.6076 2.57988C12.3967 2.36898 12.1107 2.25034 11.8125 2.25H2.8125C2.51423 2.25034 2.22828 2.36898 2.01738 2.57988C1.80648 2.79078 1.68784 3.07673 1.6875 3.375V12.375C1.6875 12.4812 1.71756 12.5852 1.77421 12.675C1.83086 12.7649 1.91178 12.8368 2.00762 12.8826C2.10346 12.9283 2.21029 12.946 2.31576 12.9336C2.42123 12.9212 2.52103 12.8792 2.60362 12.8124L5.06249 10.8246L5.06256 12.9375C5.0629 13.2357 5.18153 13.5217 5.39244 13.7326C5.60334 13.9435 5.88929 14.0621 6.18755 14.0625H12.7679L15.3964 16.1874C15.479 16.2541 15.5788 16.2962 15.6843 16.3086C15.7897 16.321 15.8966 16.3033 15.9924 16.2576C16.0882 16.2118 16.1692 16.1398 16.2258 16.05C16.2825 15.9602 16.3125 15.8561 16.3125 15.7499L16.3124 6.74998ZM13.3205 13.0625C13.2204 12.9816 13.0956 12.9375 12.9668 12.9375H6.18755L6.18748 10.6875H11.8125C12.1107 10.6871 12.3967 10.5685 12.6076 10.3576C12.8185 10.1467 12.9371 9.86073 12.9375 9.56247V6.74998H15.1874L15.1875 14.5719L13.3205 13.0625Z",fill:C})]})})}))});export{l as ChatsIcon};
|
package/package.json
CHANGED