@bothub-chat/ui 2.57.5-fix-refactor-merge-223a35a1-e647-449e-bf33-e3bd41cb1430 → 2.58.0-fix-refactor-merge-361a62bc-03da-491e-bf0b-0da3c35de1be

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{animated as e}from"@react-spring/web";import{styled as i,css as t}from"styled-components";import{Typography as o}from"../../typography/index.js";const n=i.div.withConfig({displayName:"styled__SidebarMenuStyled",componentId:"sc-1lz7ko6-0"})(["z-index:",";"],({theme:e})=>e.zIndex.menu),a=i(e.ul).withConfig({displayName:"styled__SidebarMenuList",componentId:"sc-1lz7ko6-1"})(["transform-origin:top center;display:flex;flex-direction:column;margin:0;z-index:1;gap:20px;"," "," margin-top:20px;left:0;list-style-type:none;"],({$isOpen:e,theme:i})=>e&&`\n position: absolute;\n background: ${i.colors.grayScale.gray7};\n border: 1px solid ${i.colors.grayScale.gray3};\n padding: 20px;\n border-radius: 8px;\n width: 100%;\n `,({$isOpen:e})=>!e&&"\n gap: 10px;\n margin: 0;\n padding: 0;\n width: fit-content;\n "),d=i.li.withConfig({displayName:"styled__SidebarMenuListItem",componentId:"sc-1lz7ko6-2"})(["display:flex;position:relative;align-items:center;gap:10px;cursor:pointer;"]),l=i.div.withConfig({displayName:"styled__SidebarMenuItemIconBox",componentId:"sc-1lz7ko6-3"})(["display:flex;outline:1px solid ",";align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px;opacity:",";background:",";svg path{",";}"],({theme:e})=>e.colors.grayScale.gray2,({$active:e})=>e?1:.5,({theme:e,$active:i})=>i?e.colors.grayScale.gray3:e.colors.grayScale.gray4,({theme:e,$active:i})=>i&&`fill: ${e.colors.accent.primary}`),r=i(o).attrs({variant:"body-m-medium"}).withConfig({displayName:"styled__SidebarMenuItemText",componentId:"sc-1lz7ko6-4"})([""," opacity:",";@media (max-width:","){display:block;}"],({$isOpen:e})=>!e&&"display: none;",({$active:e})=>e?1:.5,({theme:e})=>e.dashboard.tablet.maxWidth),s=i.div.withConfig({displayName:"styled__SidebarMenuItemTooltipStyled",componentId:"sc-1lz7ko6-5"})(["transition:all 0.2s ease-in-out,left 150ms ease-in-out;position:fixed;display:flex;align-items:center;z-index:100;"," @media (max-width:","){display:none;}",""],({$isOpen:e})=>e?"\n opacity: 0.8;\n left: 90px;\n ":"opacity: 0; pointer-events: none; visibility: hidden; left: 64px;",({theme:e})=>e.dashboard.tablet.maxWidth,({$isHovered:e})=>e&&t(["left:74px;opacity:1;"])),p=i.svg.withConfig({displayName:"styled__SidebarMenuTooltipArrow",componentId:"sc-1lz7ko6-6"})(["display:inline-flex;position:relative;rotate:90deg;"]),c=i(o).attrs({variant:"body-s-medium"}).withConfig({displayName:"styled__SidebarMenuTooltipText",componentId:"sc-1lz7ko6-7"})(["display:inline-flex;background:",";border-radius:8px;padding:8px 12px;margin-left:-2px;"],({theme:e})=>"light"===e.mode?e.colors.grayScale.gray2:e.colors.grayScale.gray3);export{l as SidebarMenuItemIconBox,r as SidebarMenuItemText,s as SidebarMenuItemTooltipStyled,a as SidebarMenuList,d as SidebarMenuListItem,n as SidebarMenuStyled,p as SidebarMenuTooltipArrow,c as SidebarMenuTooltipText};
1
+ import{animated as e}from"@react-spring/web";import{styled as i,css as t}from"styled-components";import{Typography as o}from"../../typography/index.js";const n=i.div.withConfig({displayName:"styled__SidebarMenuStyled",componentId:"sc-1lz7ko6-0"})(["z-index:",";"],({theme:e})=>e.zIndex.menu),a=i(e.ul).withConfig({displayName:"styled__SidebarMenuList",componentId:"sc-1lz7ko6-1"})(["transform-origin:top center;display:flex;flex-direction:column;margin:0;z-index:1;gap:20px;"," "," margin-top:20px;left:0;list-style-type:none;"],({$isOpen:e,theme:i})=>e&&`\n position: absolute;\n background: ${i.colors.grayScale.gray7};\n border: 1px solid ${i.colors.grayScale.gray3};\n padding: 20px;\n border-radius: 8px;\n width: 100%;\n `,({$isOpen:e})=>!e&&"\n gap: 10px;\n margin: 0;\n padding: 0;\n width: fit-content;\n "),d=i.li.withConfig({displayName:"styled__SidebarMenuListItem",componentId:"sc-1lz7ko6-2"})(["display:flex;position:relative;align-items:center;gap:10px;cursor:pointer;"]),l=i.div.withConfig({displayName:"styled__SidebarMenuItemIconBox",componentId:"sc-1lz7ko6-3"})(["display:flex;outline:1px solid ",";align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px;opacity:",";background:",";svg path{",";}"],({theme:e})=>e.colors.grayScale.gray2,({$active:e})=>e?1:.75,({theme:e,$active:i})=>i?e.colors.grayScale.gray3:e.colors.grayScale.gray4,({theme:e,$active:i})=>i&&`fill: ${e.colors.accent.primary}`),r=i(o).attrs({variant:"body-m-medium"}).withConfig({displayName:"styled__SidebarMenuItemText",componentId:"sc-1lz7ko6-4"})([""," opacity:",";@media (max-width:","){display:block;}"],({$isOpen:e})=>!e&&"display: none;",({$active:e})=>e?1:.75,({theme:e})=>e.dashboard.tablet.maxWidth),s=i.div.withConfig({displayName:"styled__SidebarMenuItemTooltipStyled",componentId:"sc-1lz7ko6-5"})(["transition:all 0.2s ease-in-out,left 150ms ease-in-out;position:fixed;display:flex;align-items:center;z-index:100;"," @media (max-width:","){display:none;}",""],({$isOpen:e})=>e?"\n opacity: 0.8;\n left: 90px;\n ":"opacity: 0; pointer-events: none; visibility: hidden; left: 64px;",({theme:e})=>e.dashboard.tablet.maxWidth,({$isHovered:e})=>e&&t(["left:74px;opacity:1;"])),p=i.svg.withConfig({displayName:"styled__SidebarMenuTooltipArrow",componentId:"sc-1lz7ko6-6"})(["display:inline-flex;position:relative;rotate:90deg;"]),c=i(o).attrs({variant:"body-s-medium"}).withConfig({displayName:"styled__SidebarMenuTooltipText",componentId:"sc-1lz7ko6-7"})(["display:inline-flex;background:",";border-radius:8px;padding:8px 12px;margin-left:-2px;"],({theme:e})=>"light"===e.mode?e.colors.grayScale.gray2:e.colors.grayScale.gray3);export{l as SidebarMenuItemIconBox,r as SidebarMenuItemText,s as SidebarMenuItemTooltipStyled,a as SidebarMenuList,d as SidebarMenuListItem,n as SidebarMenuStyled,p as SidebarMenuTooltipArrow,c as SidebarMenuTooltipText};
@@ -1 +1 @@
1
- import{__rest as o}from"tslib";import{jsx as i}from"react/jsx-runtime";import{Icon as n}from"../../components/icon/index.js";import{icon as t}from"../../components/icon/component.js";import{IconConsumer as e}from"../../components/icon/context.js";const r=t(t=>{var r=o(t,[]);return i(n,Object.assign({size:18,viewBox:"0 0 18 19",fill:"none"},r,{children:i(e,{children:({fill:o="white"}={fill:"white"})=>i("path",{d:"M0 14.6136C0 15.2465 0.237053 15.8535 0.65901 16.3011C1.08097 16.7486 1.65326 17 2.25 17H15.75C16.3467 17 16.919 16.7486 17.341 16.3011C17.7629 15.8535 18 15.2465 18 14.6136V8.05114H0V14.6136ZM2.65179 11.375C2.65179 11.0359 2.77878 10.7108 3.00483 10.471C3.23088 10.2313 3.53746 10.0966 3.85714 10.0966H5.78571C6.10539 10.0966 6.41198 10.2313 6.63803 10.471C6.86408 10.7108 6.99107 11.0359 6.99107 11.375V12.2273C6.99107 12.5663 6.86408 12.8915 6.63803 13.1312C6.41198 13.371 6.10539 13.5057 5.78571 13.5057H3.85714C3.53746 13.5057 3.23088 13.371 3.00483 13.1312C2.77878 12.8915 2.65179 12.5663 2.65179 12.2273V11.375ZM15.75 2H2.25C1.65326 2 1.08097 2.25142 0.65901 2.69895C0.237053 3.14648 0 3.75346 0 4.38636V5.49432H18V4.38636C18 3.75346 17.7629 3.14648 17.341 2.69895C16.919 2.25142 16.3467 2 15.75 2Z",fill:o})})}))});export{r as CardIcon};
1
+ import{__rest as o}from"tslib";import{jsx as r}from"react/jsx-runtime";import{Icon as t}from"../../components/icon/index.js";import"../../theme/index.js";import{icon as e}from"../../components/icon/component.js";import{useTheme as i}from"../../theme/hook.js";import{IconConsumer as n}from"../../components/icon/context.js";const m=e(e=>{var m=o(e,[]);const c=i();return r(t,Object.assign({size:18,viewBox:"0 0 18 19",fill:"none"},m,{children:r(n,{children:({fill:o=c.colors.grayScale.gray1}={fill:c.colors.grayScale.gray1})=>r("path",{d:"M0 14.6136C0 15.2465 0.237053 15.8535 0.65901 16.3011C1.08097 16.7486 1.65326 17 2.25 17H15.75C16.3467 17 16.919 16.7486 17.341 16.3011C17.7629 15.8535 18 15.2465 18 14.6136V8.05114H0V14.6136ZM2.65179 11.375C2.65179 11.0359 2.77878 10.7108 3.00483 10.471C3.23088 10.2313 3.53746 10.0966 3.85714 10.0966H5.78571C6.10539 10.0966 6.41198 10.2313 6.63803 10.471C6.86408 10.7108 6.99107 11.0359 6.99107 11.375V12.2273C6.99107 12.5663 6.86408 12.8915 6.63803 13.1312C6.41198 13.371 6.10539 13.5057 5.78571 13.5057H3.85714C3.53746 13.5057 3.23088 13.371 3.00483 13.1312C2.77878 12.8915 2.65179 12.5663 2.65179 12.2273V11.375ZM15.75 2H2.25C1.65326 2 1.08097 2.25142 0.65901 2.69895C0.237053 3.14648 0 3.75346 0 4.38636V5.49432H18V4.38636C18 3.75346 17.7629 3.14648 17.341 2.69895C16.919 2.25142 16.3467 2 15.75 2Z",fill:o})})}))});export{m as CardIcon};
@@ -1 +1 @@
1
- import{__rest as o}from"tslib";import{jsx as C,jsxs as i,Fragment as t}from"react/jsx-runtime";import{Icon as n}from"../../components/icon/index.js";import{icon as l}from"../../components/icon/component.js";import{IconConsumer as r}from"../../components/icon/context.js";const e=l(l=>{var e=o(l,[]);return C(n,Object.assign({size:18,viewBox:"0 0 18 18",fill:"none"},e,{children:C(r,{children:({fill:o="#1C64F2"}={fill:"#1C64F2"})=>i(t,{children:[C("path",{d:"M15 9V13.5C15 15.1575 13.6575 16.5 12 16.5H6C4.3425 16.5 3 15.1575 3 13.5V9C3 8.5875 3.3375 8.25 3.75 8.25H5.2275C5.64 8.25 5.9775 8.5875 5.9775 9V11.355C5.9775 11.91 6.285 12.42 6.7725 12.6825C6.99 12.8025 7.23 12.8625 7.4775 12.8625C7.7625 12.8625 8.0475 12.78 8.295 12.615L9.0075 12.15L9.6675 12.5925C10.125 12.9 10.71 12.9375 11.1975 12.675C11.6925 12.4125 12 11.91 12 11.3475V9C12 8.5875 12.3375 8.25 12.75 8.25H14.25C14.6625 8.25 15 8.5875 15 9Z",fill:o}),C("path",{d:"M16.125 5.25V6C16.125 6.825 15.7275 7.5 14.625 7.5H3.375C2.2275 7.5 1.875 6.825 1.875 6V5.25C1.875 4.425 2.2275 3.75 3.375 3.75H14.625C15.7275 3.75 16.125 4.425 16.125 5.25Z",fill:o}),C("path",{d:"M8.7291 3.75105H4.58911C4.33411 3.47355 4.34161 3.04605 4.61161 2.77605L5.67661 1.71105C5.95411 1.43355 6.41161 1.43355 6.68911 1.71105L8.7291 3.75105Z",fill:o}),C("path",{d:"M13.4037 3.75105H9.2637L11.3037 1.71105C11.5812 1.43355 12.0387 1.43355 12.3162 1.71105L13.3812 2.77605C13.6512 3.04605 13.6587 3.47355 13.4037 3.75105Z",fill:o}),C("path",{d:"M10.4785 8.25C10.891 8.25 11.2285 8.5875 11.2285 9V11.3475C11.2285 11.9475 10.561 12.3075 10.066 11.97L9.39105 11.52C9.14355 11.355 8.82105 11.355 8.56605 11.52L7.86105 11.985C7.36605 12.315 6.70605 11.955 6.70605 11.3625V9C6.70605 8.5875 7.04355 8.25 7.45605 8.25H10.4785Z",fill:o})]})})}))});export{e as GiftIcon};
1
+ import{__rest as o}from"tslib";import{jsx as i,jsxs as r,Fragment as t}from"react/jsx-runtime";import{Icon as e}from"../../components/icon/index.js";import"../../theme/index.js";import{icon as l}from"../../components/icon/component.js";import{useTheme as n}from"../../theme/hook.js";import{IconConsumer as C}from"../../components/icon/context.js";const m=l(l=>{var m=o(l,[]);const c=n();return i(e,Object.assign({size:18,viewBox:"0 0 18 18",fill:"none"},m,{children:i(C,{children:({fill:o=c.colors.grayScale.gray1}={fill:c.colors.grayScale.gray1})=>r(t,{children:[i("path",{d:"M15 9V13.5C15 15.1575 13.6575 16.5 12 16.5H6C4.3425 16.5 3 15.1575 3 13.5V9C3 8.5875 3.3375 8.25 3.75 8.25H5.2275C5.64 8.25 5.9775 8.5875 5.9775 9V11.355C5.9775 11.91 6.285 12.42 6.7725 12.6825C6.99 12.8025 7.23 12.8625 7.4775 12.8625C7.7625 12.8625 8.0475 12.78 8.295 12.615L9.0075 12.15L9.6675 12.5925C10.125 12.9 10.71 12.9375 11.1975 12.675C11.6925 12.4125 12 11.91 12 11.3475V9C12 8.5875 12.3375 8.25 12.75 8.25H14.25C14.6625 8.25 15 8.5875 15 9Z",fill:o}),i("path",{d:"M16.125 5.25V6C16.125 6.825 15.7275 7.5 14.625 7.5H3.375C2.2275 7.5 1.875 6.825 1.875 6V5.25C1.875 4.425 2.2275 3.75 3.375 3.75H14.625C15.7275 3.75 16.125 4.425 16.125 5.25Z",fill:o}),i("path",{d:"M8.7291 3.75105H4.58911C4.33411 3.47355 4.34161 3.04605 4.61161 2.77605L5.67661 1.71105C5.95411 1.43355 6.41161 1.43355 6.68911 1.71105L8.7291 3.75105Z",fill:o}),i("path",{d:"M13.4037 3.75105H9.2637L11.3037 1.71105C11.5812 1.43355 12.0387 1.43355 12.3162 1.71105L13.3812 2.77605C13.6512 3.04605 13.6587 3.47355 13.4037 3.75105Z",fill:o}),i("path",{d:"M10.4785 8.25C10.891 8.25 11.2285 8.5875 11.2285 9V11.3475C11.2285 11.9475 10.561 12.3075 10.066 11.97L9.39105 11.52C9.14355 11.355 8.82105 11.355 8.56605 11.52L7.86105 11.985C7.36605 12.315 6.70605 11.955 6.70605 11.3625V9C6.70605 8.5875 7.04355 8.25 7.45605 8.25H10.4785Z",fill:o})]})})}))});export{m as GiftIcon};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bothub-chat/ui",
3
- "version": "2.57.5-fix-refactor-merge-223a35a1-e647-449e-bf33-e3bd41cb1430",
3
+ "version": "2.58.0-fix-refactor-merge-361a62bc-03da-491e-bf0b-0da3c35de1be",
4
4
  "description": "Bothub UI Components",
5
5
  "keywords": [
6
6
  "bot",