@worldresources/wri-design-systems 2.148.8 → 2.148.9

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.js CHANGED
@@ -3073,6 +3073,7 @@ function Fd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3073
3073
  background-color: ${p("neutral",100)};
3074
3074
  overflow-y: auto;
3075
3075
  overflow-x: hidden;
3076
+ border-right: 1px solid ${p("neutral",300)};
3076
3077
  `,sf=e=>r.css`
3077
3078
  width: 100%;
3078
3079
  display: flex;
package/dist/index.esm.js CHANGED
@@ -3135,6 +3135,7 @@ function wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
3135
3135
  background-color: ${me("neutral",100)};
3136
3136
  overflow-y: auto;
3137
3137
  overflow-x: hidden;
3138
+ border-right: 1px solid ${me("neutral",300)};
3138
3139
  `,Zg=({tabs:e=[],defaultValue:t,onTabClick:n,children:i,onOpenChange:o})=>{const[a,l]=X(!1),[s,c]=X(t||e?.[0]?.value);return F("div",{style:{height:"calc(100vh - 48px - 56px)",position:"fixed",top:"48px",left:0,display:"flex"},children:[F("div",{css:Ag,children:[Z(N.Root,{defaultValue:t||e?.[0]?.value,orientation:"horizontal",width:"full",onValueChange:({value:e})=>{var t;c(t=e),n&&n(t)},role:"tablist",children:Z(N.List,{alignItems:"center",border:"none",style:{flexDirection:"column"},children:e.map((e=>Z(N.Trigger,{css:zg,"aria-label":e["aria-label"]||e.label,...e,children:F(r,{display:"flex",alignItems:"center",flexDirection:"column",gap:"5px",className:"ds-tab-label",children:[e.icon?Z("div",{css:Hg,children:e.icon}):null,Z("p",{children:e.label})]})},e.label)))})}),i?Z(j.Root,{onOpenChange:({open:e})=>{l(e),o&&o(!e)},children:F(j.Trigger,{css:Bg,children:[Z("div",{css:Hg,children:Z(a?Se:ke,{})}),F("div",{className:"ds-tab-label",children:[Z("p",{children:a?"Show":"Hide"}),Z("p",{children:"Sidebar"})]})]})}):null]}),i?Z(j.Root,{defaultOpen:!0,open:!a,children:Z(j.Content,{height:"100%",children:Z("div",{css:Fg,role:"tabpanel","aria-labelledby":s,children:i})})}):null]})},Wg=e=>le`
3139
3140
  width: 100%;
3140
3141
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldresources/wri-design-systems",
3
- "version": "2.148.8",
3
+ "version": "2.148.9",
4
4
  "description": "WRI UI Library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",