@clicktap/ui 0.5.0 → 0.6.0

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.
Files changed (3) hide show
  1. package/index.js +4 -2
  2. package/index.mjs +4 -2
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1540,7 +1540,7 @@ Check the top-level render call using <`+I+">.")}return $}function Qn(l,$){if(!(
1540
1540
  `;default:return null}}}
1541
1541
  `,Ni=S.styled(W.Tab)`
1542
1542
  position: relative;
1543
- z-index: 3;
1543
+ z-index: 1;
1544
1544
  display: flex;
1545
1545
  align-items: center;
1546
1546
  justify-content: ${({orientation:e,variant:t})=>{switch(t){case"underline":return e==="horizontal"?"center":"flex-start";default:return"center"}}};
@@ -1554,6 +1554,8 @@ Check the top-level render call using <`+I+">.")}return $}function Qn(l,$){if(!(
1554
1554
  color: ${({variant:e,theme:t})=>{var r,o,n,a;switch(e){case"underline":case"enclosed":case"outline":return((o=(r=t==null?void 0:t.colors)==null?void 0:r.slate)==null?void 0:o[800])??f.colors.slate[800];case"solid":return((a=(n=t==null?void 0:t.colors)==null?void 0:n.slate)==null?void 0:a[400])??f.colors.slate[400];default:return null}}};
1555
1555
 
1556
1556
  &[data-selected] {
1557
+ z-index: 2;
1558
+
1557
1559
  color: ${({variant:e,theme:t})=>{var r,o,n,a;switch(e){case"underline":case"outline":return((o=(r=t==null?void 0:t.colors)==null?void 0:r.slate)==null?void 0:o[800])??f.colors.slate[800];case"solid":case"enclosed":return((a=(n=t==null?void 0:t.colors)==null?void 0:n.slate)==null?void 0:a[100])??f.colors.slate[100];default:return null}}};
1558
1560
  }
1559
1561
 
@@ -1573,7 +1575,7 @@ Check the top-level render call using <`+I+">.")}return $}function Qn(l,$){if(!(
1573
1575
  }
1574
1576
  `,mg=S.styled(me.motion.span).attrs({className:"tab-overlay"})`
1575
1577
  position: absolute;
1576
- z-index: 1;
1578
+ z-index: 0;
1577
1579
 
1578
1580
  ${({orientation:e,theme:t,variant:r})=>{var o,n,a,s,i,u,p,g,h,C,b;switch(r){case"solid":return S.css`
1579
1581
  inset: 0px;
package/index.mjs CHANGED
@@ -13876,7 +13876,7 @@ const eb = _(Zc)`
13876
13876
  }}
13877
13877
  `, gl = _(Qc)`
13878
13878
  position: relative;
13879
- z-index: 3;
13879
+ z-index: 1;
13880
13880
  display: flex;
13881
13881
  align-items: center;
13882
13882
  justify-content: ${({ orientation: e, variant: t }) => {
@@ -13916,6 +13916,8 @@ const eb = _(Zc)`
13916
13916
  }};
13917
13917
 
13918
13918
  &[data-selected] {
13919
+ z-index: 2;
13920
+
13919
13921
  color: ${({ variant: e, theme: t }) => {
13920
13922
  var r, o, n, a;
13921
13923
  switch (e) {
@@ -13952,7 +13954,7 @@ const eb = _(Zc)`
13952
13954
  className: "tab-overlay"
13953
13955
  })`
13954
13956
  position: absolute;
13955
- z-index: 1;
13957
+ z-index: 0;
13956
13958
 
13957
13959
  ${({ orientation: e, theme: t, variant: r }) => {
13958
13960
  var o, n, a, i, s, d, f, p, $, E, g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clicktap/ui",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "author": "Clicktap",
6
6
  "description": "A library of React UI components and low-level hooks.",