@vehiclehistory/property-lib 0.0.38 → 0.0.39

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.
@@ -3,10 +3,12 @@ import { FC, ReactNode } from 'react';
3
3
  * Wrapper with proper spacing and bottom border for stacked content sections
4
4
  * @param children
5
5
  * @param className
6
+ * @param list - Sets item wrapper as <li>, otherwise is a <div>
6
7
  * @constructor
7
8
  */
8
9
  declare const StackedListItem: FC<{
9
10
  children?: ReactNode;
10
11
  className?: string;
12
+ list?: boolean;
11
13
  }>;
12
14
  export default StackedListItem;
package/dist/main.js CHANGED
@@ -1762,10 +1762,7 @@ const j = {
1762
1762
  e
1763
1763
  ]
1764
1764
  }
1765
- ), K1 = M1, g1 = ({
1766
- children: d,
1767
- className: e
1768
- }) => /* @__PURE__ */ c("li", { className: u("stacked-list", e), children: d }), Y1 = g1, v1 = ({ children: d, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ c(
1765
+ ), K1 = M1, g1 = ({ children: d, className: e, list: t = !0 }) => /* @__PURE__ */ c(t ? "li" : "div", { className: u("stacked-list", e), children: d }), Y1 = g1, v1 = ({ children: d, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ c(
1769
1766
  t,
1770
1767
  {
1771
1768
  className: u(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vehiclehistory/property-lib",
3
3
  "description": "Shared UI/Utility Library for Property Sites",
4
- "version": "0.0.38",
4
+ "version": "0.0.39",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/penguin-marketing/vh-recs-ui-library.git"