@useloops/design-system 1.4.560 → 1.4.561

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 +1 @@
1
- import{styled as o,Box as e}from"@mui/material";const t={sm:120,lg:200},a=o(e,{shouldForwardProp:o=>"loading"!=o})(({theme:o,size:e,loading:a})=>({position:"relative",cursor:a?"auto":"pointer",aspectRatio:"1 / 1",display:"flex",alignItems:"center",justifyContent:"center",color:o.custom.palette.icon.disabled,borderRadius:o.spacing(o.custom.radius.sm),backgroundColor:o.custom.palette.surface.sunken,boxShadow:`${o.custom.elevation.raised}`,overflow:"hidden","&:before":{content:'""',transition:"all 0.3s ease",position:"absolute",inset:0,backgroundColor:o.custom.palette.surface.sunken,opacity:0,zIndex:1},"& .cover-type-wrapper":{position:"absolute",bottom:o.spacing(o.custom.margin.sm),left:"50%",transform:"translateX(-50%)"},"& .asset-item-menu":{position:"absolute",top:o.spacing(o.custom.margin.xs),right:o.spacing(o.custom.margin.xs)},"& .overlay-item":{zIndex:o.zIndex.fab},"&:hover":{"&:before":{opacity:1,backgroundColor:o.custom.palette.interaction.hover},".AssetItem__Menu":{opacity:1}},"&:active":{"&:before":{backgroundColor:o.custom.palette.interaction.press}},width:t[e]}));export{a as AssetItemContainer};
1
+ import{styled as o,Box as t}from"@mui/material";const e={sm:120,lg:200},s=o(t,{shouldForwardProp:o=>"loading"!=o})(({theme:o,size:t,loading:s})=>({position:"relative",cursor:s?"auto":"pointer",aspectRatio:"1 / 1",display:"flex",alignItems:"center",justifyContent:"center",color:o.custom.palette.icon.disabled,borderRadius:o.spacing(o.custom.radius.sm),backgroundColor:o.custom.palette.surface.sunken,boxShadow:`${o.custom.elevation.raised}`,overflow:"hidden","&:before":{content:'""',transition:"all 0.3s ease",position:"absolute",inset:0,backgroundColor:o.custom.palette.surface.sunken,opacity:0,zIndex:1},"& .cover-type-wrapper":{position:"absolute",bottom:o.spacing(o.custom.margin.sm),left:"50%",transform:"translateX(-50%)"},"& .asset-item-menu":{position:"absolute",top:o.spacing(o.custom.margin.xs),right:o.spacing(o.custom.margin.xs)},"& .overlay-item":{zIndex:1},"&:hover":{"&:before":{opacity:1,backgroundColor:o.custom.palette.interaction.hover},".AssetItem__Menu":{opacity:1}},"&:active":{"&:before":{backgroundColor:o.custom.palette.interaction.press}},width:e[t]}));export{s as AssetItemContainer};
@@ -1 +1 @@
1
- "use strict";var e=require("@mui/material");const t={sm:120,lg:200},o=e.styled(e.Box,{shouldForwardProp:e=>"loading"!=e})(({theme:e,size:o,loading:s})=>({position:"relative",cursor:s?"auto":"pointer",aspectRatio:"1 / 1",display:"flex",alignItems:"center",justifyContent:"center",color:e.custom.palette.icon.disabled,borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:e.custom.palette.surface.sunken,boxShadow:`${e.custom.elevation.raised}`,overflow:"hidden","&:before":{content:'""',transition:"all 0.3s ease",position:"absolute",inset:0,backgroundColor:e.custom.palette.surface.sunken,opacity:0,zIndex:1},"& .cover-type-wrapper":{position:"absolute",bottom:e.spacing(e.custom.margin.sm),left:"50%",transform:"translateX(-50%)"},"& .asset-item-menu":{position:"absolute",top:e.spacing(e.custom.margin.xs),right:e.spacing(e.custom.margin.xs)},"& .overlay-item":{zIndex:e.zIndex.fab},"&:hover":{"&:before":{opacity:1,backgroundColor:e.custom.palette.interaction.hover},".AssetItem__Menu":{opacity:1}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}},width:t[o]}));exports.AssetItemContainer=o;
1
+ "use strict";var e=require("@mui/material");const t={sm:120,lg:200},o=e.styled(e.Box,{shouldForwardProp:e=>"loading"!=e})(({theme:e,size:o,loading:s})=>({position:"relative",cursor:s?"auto":"pointer",aspectRatio:"1 / 1",display:"flex",alignItems:"center",justifyContent:"center",color:e.custom.palette.icon.disabled,borderRadius:e.spacing(e.custom.radius.sm),backgroundColor:e.custom.palette.surface.sunken,boxShadow:`${e.custom.elevation.raised}`,overflow:"hidden","&:before":{content:'""',transition:"all 0.3s ease",position:"absolute",inset:0,backgroundColor:e.custom.palette.surface.sunken,opacity:0,zIndex:1},"& .cover-type-wrapper":{position:"absolute",bottom:e.spacing(e.custom.margin.sm),left:"50%",transform:"translateX(-50%)"},"& .asset-item-menu":{position:"absolute",top:e.spacing(e.custom.margin.xs),right:e.spacing(e.custom.margin.xs)},"& .overlay-item":{zIndex:1},"&:hover":{"&:before":{opacity:1,backgroundColor:e.custom.palette.interaction.hover},".AssetItem__Menu":{opacity:1}},"&:active":{"&:before":{backgroundColor:e.custom.palette.interaction.press}},width:t[o]}));exports.AssetItemContainer=o;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useloops/design-system",
3
- "version": "1.4.560",
3
+ "version": "1.4.561",
4
4
  "description": "The official React based Loops design system",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",