@classic-homes/maps-react 0.2.3 → 0.2.4

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/dist/index.cjs CHANGED
@@ -2070,7 +2070,8 @@ var Legend = ({
2070
2070
  type: "button",
2071
2071
  className: cn(
2072
2072
  "w-full flex items-center justify-between px-3 py-2 font-medium text-card-foreground",
2073
- collapsible && "cursor-pointer hover:bg-muted rounded-t-lg",
2073
+ collapsible && "cursor-pointer hover:bg-muted",
2074
+ collapsible && (isCollapsed ? "rounded-lg" : "rounded-t-lg"),
2074
2075
  !collapsible && "cursor-default"
2075
2076
  ),
2076
2077
  onClick: toggleCollapse,
package/dist/index.js CHANGED
@@ -2046,7 +2046,8 @@ var Legend = ({
2046
2046
  type: "button",
2047
2047
  className: cn(
2048
2048
  "w-full flex items-center justify-between px-3 py-2 font-medium text-card-foreground",
2049
- collapsible && "cursor-pointer hover:bg-muted rounded-t-lg",
2049
+ collapsible && "cursor-pointer hover:bg-muted",
2050
+ collapsible && (isCollapsed ? "rounded-lg" : "rounded-t-lg"),
2050
2051
  !collapsible && "cursor-default"
2051
2052
  ),
2052
2053
  onClick: toggleCollapse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-react",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "React MapLibre components for Classic Theme",
5
5
  "keywords": [
6
6
  "maps",