@flamingo-stack/openframe-frontend-core 0.0.650-2249.6503.1 → 0.0.650-2249.6509.1

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.
@@ -1560,6 +1560,14 @@ var imageSizeMap = {
1560
1560
  l: { width: 38, height: 38 },
1561
1561
  xl: { width: 40, height: 40 }
1562
1562
  };
1563
+ var tilePxMap = {
1564
+ xs: 24,
1565
+ sm: 32,
1566
+ md: 40,
1567
+ lg: 48,
1568
+ l: 56,
1569
+ xl: 64
1570
+ };
1563
1571
  var backgroundClasses = {
1564
1572
  dark: "bg-ods-bg border border-ods-border",
1565
1573
  light: "bg-ods-card border border-ods-border",
@@ -1573,7 +1581,7 @@ function VendorIcon({
1573
1581
  backgroundStyle = "dark"
1574
1582
  }) {
1575
1583
  const logoUrl = getVendorLogo(vendor);
1576
- const { width, height } = imageSizeMap[size];
1584
+ const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
1577
1585
  const containerClasses = cn(
1578
1586
  sizeClasses[size],
1579
1587
  "flex flex-shrink-0 items-center justify-center rounded-lg",