@vincentgraul/react-components 1.0.76 → 1.0.77

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,15 +1,14 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type ListItemProps = {
3
- icon: string;
3
+ icon: ReactNode;
4
4
  text: string;
5
5
  textSize?: number;
6
6
  textColor?: string;
7
7
  textWeight?: 400 | 500 | 600 | 700 | 800 | 900;
8
- iconSize?: number;
9
8
  gap?: number;
10
9
  className?: string;
11
10
  };
12
- export declare const ListItem: ({ className, icon, text, textSize, textColor, textWeight, iconSize, gap, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const ListItem: ({ className, icon, text, textSize, textColor, textWeight, gap, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
13
12
  export type ListProps = {
14
13
  children: ReactNode;
15
14
  gap?: number;
@@ -49157,10 +49157,9 @@ const rV = (r, d = {}) => {
49157
49157
  textSize: y,
49158
49158
  textColor: C,
49159
49159
  textWeight: E,
49160
- iconSize: F,
49161
- gap: T
49162
- }) => /* @__PURE__ */ M("li", { className: x3(YS.item, r), style: { gap: `${T ?? 0.3}rem` }, children: [
49163
- /* @__PURE__ */ c("img", { src: d, style: { width: `${F ?? 1}rem` } }),
49160
+ gap: F
49161
+ }) => /* @__PURE__ */ M("li", { className: x3(YS.item, r), style: { gap: `${F ?? 0.3}rem` }, children: [
49162
+ d,
49164
49163
  /* @__PURE__ */ c(
49165
49164
  "span",
49166
49165
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {