freemium-ui 2.0.30 → 2.0.31

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
@@ -16728,12 +16728,14 @@ const UY=_Y,YY=kY,WY=RY,GY=PY,KY=yr(MY)``;yr.div`
16728
16728
  display: flex;
16729
16729
  flex-direction: column;
16730
16730
  align-items: ${({theme:e})=>e.components.toast.position};
16731
+ right: ${({theme:e})=>"end"===e.components.toast.position?"16px":"unset"};
16732
+ left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"unset"};
16731
16733
  margin: 0;
16732
16734
  list-style: none;
16733
16735
  z-index: ${({theme:e})=>e.zIndex.snackbar||xo.snackbar};
16734
16736
  outline: none;
16735
16737
  width: -webkit-fill-available;
16736
- padding: 0 16px;
16738
+ padding: 0;
16737
16739
  &:hover {
16738
16740
  gap: 8px;
16739
16741
  li[data-state='open']:nth-last-of-type(1) {
package/lib/index.d.ts CHANGED
@@ -1565,7 +1565,7 @@ interface FreemiumUiTheme {
1565
1565
  zIndex: ZIndex;
1566
1566
  components: {
1567
1567
  toast: {
1568
- position: CSSProperties['alignItems'];
1568
+ position: Extract<CSSProperties['alignItems'], 'end' | 'start' | 'center'>;
1569
1569
  };
1570
1570
  button: {
1571
1571
  primary: FreemiumUiButtonTheme;
package/lib/index.js CHANGED
@@ -16980,12 +16980,14 @@ const _W=uW,HW=pW,DW=yW,AW=bW,LW=Or(iW)``;Or.div`
16980
16980
  display: flex;
16981
16981
  flex-direction: column;
16982
16982
  align-items: ${({theme:e})=>e.components.toast.position};
16983
+ right: ${({theme:e})=>"end"===e.components.toast.position?"16px":"unset"};
16984
+ left: ${({theme:e})=>"start"===e.components.toast.position?"16px":"unset"};
16983
16985
  margin: 0;
16984
16986
  list-style: none;
16985
16987
  z-index: ${({theme:e})=>e.zIndex.snackbar||Yo.snackbar};
16986
16988
  outline: none;
16987
16989
  width: -webkit-fill-available;
16988
- padding: 0 16px;
16990
+ padding: 0;
16989
16991
  &:hover {
16990
16992
  gap: 8px;
16991
16993
  li[data-state='open']:nth-last-of-type(1) {
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.30",
3
+ "version": "2.0.31",
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.30",
3
+ "version": "2.0.31",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",