aravint-ui-navigation 1.0.50 → 1.0.51

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,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react/jsx-runtime"),Ee=require("react"),Lr=require("react-dom");function Ir(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=Ir(Ee),Mr=Ir(Lr),po=({tabs:e,defaultValue:t,value:r,onValueChange:n,className:o="",tabListClassName:i="",tabButtonClassName:s="",contentClassName:c="thin-scrollbar",showTabNumbers:l=!0,showContent:d=!0,animated:u=!0})=>{var E;const f=r!==void 0,[m,h]=Ee.useState(t||((E=e[0])==null?void 0:E.id)||""),g=f?r:m,y=D=>{f||h(D),n==null||n(D)},b=e.find(D=>D.id===g),x={display:"flex",alignItems:"flex-end",borderBottom:"1px solid #059669",position:"sticky",top:0,zIndex:100,flexShrink:0},w={display:"flex",alignItems:"center",fontFamily:"inherit",background:"transparent",cursor:"pointer",outline:"none",transition:"all .2s ease",position:"relative"},R={background:"#E8F7F1",color:"#059669",fontWeight:700,borderTop:"3px solid #059669",borderLeft:"1px solid #059669",borderRight:"1px solid #059669",borderBottom:"1px solid #E8F7F1",borderTopLeftRadius:8,borderTopRightRadius:8,marginBottom:-1,zIndex:2},S={background:"transparent",color:"#2D3748",borderTop:"3px solid transparent",borderLeft:"1px solid transparent",borderRight:"1px solid transparent",borderBottom:"1px solid transparent",borderTopLeftRadius:8,borderTopRightRadius:8},P={background:"#ECFDF5",color:"#059669",fontWeight:700,border:"1px solid #059669"},N={background:"#FFFFFF",color:"#1F2937",fontWeight:"500",border:"1px solid #1F2937"},O={background:"#FFFFFF",border:"1px solid #D9E1E7",borderTop:"none",borderBottomLeftRadius:12,borderBottomRightRadius:12,boxShadow:"0 2px 6px rgba(0,0,0,.05)",transition:u?"opacity .2s ease":void 0,opacity:1,flex:"1 1 auto",height:0,overflowY:"auto",overflowX:"hidden",minHeight:0,maxHeight:"100%"};return I.jsxs("div",{className:o,style:{display:"flex",flexDirection:"column",width:"100%",height:"100%",minHeight:0,maxHeight:"100%",overflow:"hidden"},children:[I.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react/jsx-runtime"),Ee=require("react"),Lr=require("react-dom");function Ir(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=Ir(Ee),Mr=Ir(Lr),po=({tabs:e,defaultValue:t,value:r,onValueChange:n,className:o="",tabListClassName:i="",tabButtonClassName:s="",contentClassName:c="thin-scrollbar",showTabNumbers:l=!0,showContent:d=!0,animated:u=!0})=>{var E;const f=r!==void 0,[m,h]=Ee.useState(t||((E=e[0])==null?void 0:E.id)||""),g=f?r:m,y=D=>{f||h(D),n==null||n(D)},b=e.find(D=>D.id===g),x={display:"flex",alignItems:"flex-end",borderBottom:"1px solid #059669",position:"sticky",top:0,zIndex:100,flexShrink:0},w={display:"flex",alignItems:"center",fontFamily:"inherit",background:"transparent",cursor:"pointer",outline:"none",transition:"all .2s ease",position:"relative"},R={background:"#E8F7F1",color:"#059669",fontWeight:700,borderTop:"3px solid #059669",borderLeft:"1px solid #059669",borderRight:"1px solid #059669",borderBottom:"1px solid #E8F7F1",borderTopLeftRadius:8,borderTopRightRadius:8,marginBottom:-1,zIndex:2},S={background:"transparent",color:"#2D3748",borderTop:"3px solid transparent",borderLeft:"1px solid transparent",borderRight:"1px solid transparent",borderBottom:"1px solid transparent",borderTopLeftRadius:8,borderTopRightRadius:8},P={background:"#ECFDF5",color:"#059669",fontWeight:700,border:"1px solid #059669"},N={background:"#FFFFFF",color:"#1F2937",fontWeight:"500",border:"1px solid #1F2937"},O={background:"#FFFFFF",border:"1px solid #D9E1E7",borderTop:"none",borderBottomLeftRadius:12,borderBottomRightRadius:12,boxShadow:"0 2px 6px rgba(0,0,0,.05)",transition:u?"opacity .2s ease":void 0,opacity:1,flex:"1 1 auto",minHeight:0,overflowY:"auto",overflowX:"hidden",maxHeight:"100%"};return I.jsxs("div",{className:o,style:{display:"flex",flexDirection:"column",width:"100%",height:"100%",minHeight:0,maxHeight:"100%",overflow:"hidden"},children:[I.jsx("style",{children:`
2
2
  .ctabs-list {
3
3
  padding: 0 10px;
4
4
  gap: 0px;
@@ -80,10 +80,9 @@ const Ra = ({
80
80
  transition: u ? "opacity .2s ease" : void 0,
81
81
  opacity: 1,
82
82
  flex: "1 1 auto",
83
- height: 0,
83
+ minHeight: 0,
84
84
  overflowY: "auto",
85
85
  overflowX: "hidden",
86
- minHeight: 0,
87
86
  maxHeight: "100%"
88
87
  };
89
88
  return /* @__PURE__ */ Ce(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aravint-ui-navigation",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "main": "dist/navigation.cjs.js",
5
5
  "module": "dist/navigation.es.js",
6
6
  "types": "dist/types/index.d.ts",