freemium-ui 2.0.31 → 2.0.32

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/lib/index.cjs.js CHANGED
@@ -16703,7 +16703,7 @@ const UY=_Y,YY=kY,WY=RY,GY=PY,KY=yr(MY)``;yr.div`
16703
16703
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
16704
16704
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
16705
16705
  will-change: transform, opacity;
16706
- position: absolute;
16706
+ position: relative;
16707
16707
  order: ${({toastIndex:e})=>e+1};
16708
16708
  background: ${({theme:e})=>e.colors.fill.surface};
16709
16709
  border: 1px solid ${({theme:e})=>e.colors.border.light};
@@ -16723,13 +16723,14 @@ const UY=_Y,YY=kY,WY=RY,GY=PY,KY=yr(MY)``;yr.div`
16723
16723
  color: ${({theme:e})=>e.colors.text.primary};
16724
16724
  flex: 1;
16725
16725
  `,XY=yr(GY)``,JY=yr(UY)`
16726
- position: fixed;
16726
+ position: absolute;
16727
16727
  top: 16px;
16728
16728
  display: flex;
16729
16729
  flex-direction: column;
16730
16730
  align-items: ${({theme:e})=>e.components.toast.position};
16731
16731
  right: ${({theme:e})=>"end"===e.components.toast.position?"16px":"unset"};
16732
- left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"unset"};
16732
+ left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"center"===e.components.toast.position?"50%":"unset"};
16733
+ transform: ${({theme:e})=>"center"===e.components.toast.position?"translate(-50%, 0)":"unset"};
16733
16734
  margin: 0;
16734
16735
  list-style: none;
16735
16736
  z-index: ${({theme:e})=>e.zIndex.snackbar||xo.snackbar};
package/lib/index.js CHANGED
@@ -16955,7 +16955,7 @@ const _W=uW,HW=pW,DW=yW,AW=bW,LW=Or(iW)``;Or.div`
16955
16955
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
16956
16956
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
16957
16957
  will-change: transform, opacity;
16958
- position: absolute;
16958
+ position: relative;
16959
16959
  order: ${({toastIndex:e})=>e+1};
16960
16960
  background: ${({theme:e})=>e.colors.fill.surface};
16961
16961
  border: 1px solid ${({theme:e})=>e.colors.border.light};
@@ -16975,13 +16975,14 @@ const _W=uW,HW=pW,DW=yW,AW=bW,LW=Or(iW)``;Or.div`
16975
16975
  color: ${({theme:e})=>e.colors.text.primary};
16976
16976
  flex: 1;
16977
16977
  `,TW=Or(AW)``,PW=Or(_W)`
16978
- position: fixed;
16978
+ position: absolute;
16979
16979
  top: 16px;
16980
16980
  display: flex;
16981
16981
  flex-direction: column;
16982
16982
  align-items: ${({theme:e})=>e.components.toast.position};
16983
16983
  right: ${({theme:e})=>"end"===e.components.toast.position?"16px":"unset"};
16984
- left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"unset"};
16984
+ left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"center"===e.components.toast.position?"50%":"unset"};
16985
+ transform: ${({theme:e})=>"center"===e.components.toast.position?"translate(-50%, 0)":"unset"};
16985
16986
  margin: 0;
16986
16987
  list-style: none;
16987
16988
  z-index: ${({theme:e})=>e.zIndex.snackbar||Yo.snackbar};
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.31",
3
+ "version": "2.0.32",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",