@youversion/design-system-components 1.3.3 → 1.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @youversion/design-system-components
2
2
 
3
+ ## 1.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c95d6c5: Fix: prevent ListItem componentProps.className from nuking all styles
8
+
3
9
  ## 1.3.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.es.js CHANGED
@@ -2811,6 +2811,7 @@ const p2 = ({
2811
2811
  ...g,
2812
2812
  children: X(e ?? "div", {
2813
2813
  children: l,
2814
+ ...r,
2814
2815
  className: f(
2815
2816
  "flex flex-1 py-2 gap-x-2 items-center pie-2 pis-2",
2816
2817
  // `href` only exists on some elements, so TS is throwing an error about `div` not having it.
@@ -2818,13 +2819,13 @@ const p2 = ({
2818
2819
  // @ts-expect-error
2819
2820
  v || r != null && r.href ? "cursor-pointer hover:bg-warm-neutral hover:dark:bg-warm-neutral-dark" : void 0,
2820
2821
  a ? "pointer-events-none" : "",
2821
- u
2822
+ u,
2823
+ r != null && r.className ? r.className : ""
2822
2824
  ),
2823
2825
  onClick: v,
2824
2826
  onKeyUp: w,
2825
2827
  onTouchEnd: v,
2826
- tabIndex: v ? 0 : void 0,
2827
- ...r
2828
+ tabIndex: v ? 0 : void 0
2828
2829
  })
2829
2830
  }
2830
2831
  );