@aic-kits/react 0.26.0 → 0.26.2
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.cjs +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -197,7 +197,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
197
197
|
${({$isLoading:n})=>n&&`
|
|
198
198
|
opacity: 0;
|
|
199
199
|
`}
|
|
200
|
-
`,fi=({label:n,isActive:o,isLoading:i,dropdownItems:s=[],onClick:l,size:c="large",isDropdownOpen:p=!1,isDropdownItem:g=!1,onMouseEnter:m})=>{const S=ce().__hd__.header,_=S.navItem,E=o?_.active:_.inactive;return x.jsxs(Bc,{onClick:l,onMouseEnter:m,$themeBackgroundColor:g?"transparent":E.backgroundColor,$themeHoverColor:_.active.backgroundColor,$themeRadius:_.radius,$themePaddingX:_.paddingX,$themePaddingY:_.paddingY,$gap:S.loadingGap,children:[x.jsx(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:n}),(s.length>0||p)&&x.jsxs(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:[s.length>0&&x.jsx(ua,{size:16,weight:"bold"}),p&&x.jsx(Sc,{size:16,weight:"bold"})]}),x.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:x.jsx(ha,{size:_[c].loadingSize,color:E.color})})]})};function d3({userProfile:n,dropdownItems:o,maxHeight:i},s){const l=ce(),c=l.__hd__.header.profileDropdown,[p,g]=d.useState(!1),m=d.useRef(null),v=d.useRef(null),S=ge.isString(c.minWidth)&&Vn(c.minWidth)?l.sizes[c.minWidth]:c.minWidth,_=ge.isString(i)&&Vn(i)?l.sizes[i]:i||c.defaultMaxHeight,E=()=>{m.current&&clearTimeout(m.current),v.current&&clearTimeout(v.current)},$=(P=()=>{})=>{E(),g(!0),m.current=setTimeout(P,c.animationDuration)},A=(P=()=>{})=>{E(),g(!1),v.current=setTimeout(P,c.animationDuration)};return d.useImperativeHandle(s,()=>({showDropdown:$,hideDropdown:A})),x.jsx(U,{position:"absolute",top:c.offset.top,right:c.offset.right,minWidth:S,paddingTop:c.containerPaddingTop,paddingRight:c.containerPaddingRight,zIndex:1e3,onMouseEnter:()=>$(),onMouseLeave:()=>A(),opacity:p?1:0,maxHeight:p?_:0,overflow:"hidden",transition:`opacity ${c.animationDuration}ms ease-in-out, max-height ${c.animationDuration}ms ease-in-out`,children:x.jsxs(U,{backgroundColor:c.backgroundColor,borderWidth:c.borderWidth,borderColor:c.borderColor,borderRadius:c.borderRadius,padding:c.contentPadding,display:"flex",flexDirection:"column",gap:c.itemSpacing,children:[n!=null&&n.name?x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n.name})}):x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n==null?void 0:n.email})}),x.jsx(zc,{marginY:"md"}),o==null?void 0:o.map(P=>x.jsx(fi,{label:P.label,onClick:P.onClick,isActive:P.isActive,size:"medium"},P.label))]})})}const h3=d.forwardRef(d3),jc=({isSignedIn:n=!1,isDropdownVisible:o,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:c,onProfileClick:p,onSignInClick:g,onRegisterClick:m})=>{const S=ce().__hd__.header.avatarSize||"md",_=d.useRef(null),E=()=>{var A;i(!0),(A=_.current)==null||A.showDropdown()},$=()=>{var A;(A=_.current)==null||A.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{o?E():$()},[o]),x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?x.jsx(Et,{onClick:p,children:x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:E,onMouseLeave:$,children:[x.jsx(kc,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:S}),(s==null?void 0:s.name)&&x.jsx(U,{ml:"sm",children:x.jsx(We,{fontWeight:"medium",children:s.name})})]})}):x.jsxs(x.Fragment,{children:[x.jsx(U,{mr:"md",children:x.jsx(Ko,{text:"Sign in",variant:"text",color:"black",onClick:g})}),x.jsx(Ko,{text:"Register",color:"primary",corner:"rounded",onClick:m})]}),n&&x.jsx(h3,{ref:_,userProfile:s,dropdownItems:l,maxHeight:c})]})},p3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Wc=({onLogoClick:n})=>x.jsx(U,{children:x.jsx(Et,{onClick:n,children:x.jsx(St,{art:p3,type:"svg",width:"lg",height:"lg"})})}),g3=de(U)`
|
|
200
|
+
`,fi=({label:n,isActive:o,isLoading:i,dropdownItems:s=[],onClick:l,size:c="large",isDropdownOpen:p=!1,isDropdownItem:g=!1,onMouseEnter:m})=>{const S=ce().__hd__.header,_=S.navItem,E=o?_.active:_.inactive;return x.jsxs(Bc,{onClick:l,onMouseEnter:m,$themeBackgroundColor:g?"transparent":E.backgroundColor,$themeHoverColor:_.active.backgroundColor,$themeRadius:_.radius,$themePaddingX:_.paddingX,$themePaddingY:_.paddingY,$gap:S.loadingGap,children:[x.jsx(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:n}),(s.length>0||p)&&x.jsx(U,{flex:1,display:"flex",justifyContent:"end",children:x.jsxs(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:[s.length>0&&x.jsx(ua,{size:16,weight:"bold"}),p&&x.jsx(Sc,{size:16,weight:"bold"})]})}),x.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:x.jsx(ha,{size:_[c].loadingSize,color:E.color})})]})};function d3({userProfile:n,dropdownItems:o,maxHeight:i},s){const l=ce(),c=l.__hd__.header.profileDropdown,[p,g]=d.useState(!1),m=d.useRef(null),v=d.useRef(null),S=ge.isString(c.minWidth)&&Vn(c.minWidth)?l.sizes[c.minWidth]:c.minWidth,_=ge.isString(i)&&Vn(i)?l.sizes[i]:i||c.defaultMaxHeight,E=()=>{m.current&&clearTimeout(m.current),v.current&&clearTimeout(v.current)},$=(P=()=>{})=>{E(),g(!0),m.current=setTimeout(P,c.animationDuration)},A=(P=()=>{})=>{E(),g(!1),v.current=setTimeout(P,c.animationDuration)};return d.useImperativeHandle(s,()=>({showDropdown:$,hideDropdown:A})),x.jsx(U,{position:"absolute",top:c.offset.top,right:c.offset.right,minWidth:S,paddingTop:c.containerPaddingTop,paddingRight:c.containerPaddingRight,zIndex:1e3,onMouseEnter:()=>$(),onMouseLeave:()=>A(),opacity:p?1:0,maxHeight:p?_:0,overflow:"hidden",transition:`opacity ${c.animationDuration}ms ease-in-out, max-height ${c.animationDuration}ms ease-in-out`,children:x.jsxs(U,{backgroundColor:c.backgroundColor,borderWidth:c.borderWidth,borderColor:c.borderColor,borderRadius:c.borderRadius,padding:c.contentPadding,display:"flex",flexDirection:"column",gap:c.itemSpacing,children:[n!=null&&n.name?x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n.name})}):x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n==null?void 0:n.email})}),x.jsx(zc,{marginY:"md"}),o==null?void 0:o.map(P=>x.jsx(fi,{label:P.label,onClick:P.onClick,isActive:P.isActive,size:"medium"},P.label))]})})}const h3=d.forwardRef(d3),jc=({isSignedIn:n=!1,isDropdownVisible:o,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:c,onProfileClick:p,onSignInClick:g,onRegisterClick:m})=>{const S=ce().__hd__.header.avatarSize||"md",_=d.useRef(null),E=()=>{var A;i(!0),(A=_.current)==null||A.showDropdown()},$=()=>{var A;(A=_.current)==null||A.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{o?E():$()},[o]),x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?x.jsx(Et,{onClick:p,children:x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:E,onMouseLeave:$,children:[x.jsx(kc,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:S}),(s==null?void 0:s.name)&&x.jsx(U,{ml:"sm",children:x.jsx(We,{fontWeight:"medium",children:s.name})})]})}):x.jsxs(x.Fragment,{children:[x.jsx(U,{mr:"md",children:x.jsx(Ko,{text:"Sign in",variant:"text",color:"black",onClick:g})}),x.jsx(Ko,{text:"Register",color:"primary",corner:"rounded",onClick:m})]}),n&&x.jsx(h3,{ref:_,userProfile:s,dropdownItems:l,maxHeight:c})]})},p3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Wc=({onLogoClick:n})=>x.jsx(U,{children:x.jsx(Et,{onClick:n,children:x.jsx(St,{art:p3,type:"svg",width:"lg",height:"lg"})})}),g3=de(U)`
|
|
201
201
|
position: absolute;
|
|
202
202
|
top: 0;
|
|
203
203
|
left: 0;
|
package/dist/index.js
CHANGED
|
@@ -6732,7 +6732,7 @@ const l3 = Ne(s3), Wt = l3, ia = (n, o, i, s = "solid", l) => {
|
|
|
6732
6732
|
children: n
|
|
6733
6733
|
}
|
|
6734
6734
|
),
|
|
6735
|
-
(s.length > 0 || h) && /* @__PURE__ */ _e(
|
|
6735
|
+
(s.length > 0 || h) && /* @__PURE__ */ E(j, { flex: 1, display: "flex", justifyContent: "end", children: /* @__PURE__ */ _e(
|
|
6736
6736
|
pu,
|
|
6737
6737
|
{
|
|
6738
6738
|
$themeFontWeight: S.fontWeight,
|
|
@@ -6745,7 +6745,7 @@ const l3 = Ne(s3), Wt = l3, ia = (n, o, i, s = "solid", l) => {
|
|
|
6745
6745
|
h && /* @__PURE__ */ E(Uu, { size: 16, weight: "bold" })
|
|
6746
6746
|
]
|
|
6747
6747
|
}
|
|
6748
|
-
),
|
|
6748
|
+
) }),
|
|
6749
6749
|
/* @__PURE__ */ E(
|
|
6750
6750
|
j,
|
|
6751
6751
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aic-kits/react",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"vite-plugin-dts": "^4.3.0",
|
|
54
54
|
"vitest": "^2.1.8"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "852465b330c3629952d610f06a4e93416967c4fb"
|
|
57
57
|
}
|