@vincentgraul/react-components 1.0.76 → 1.0.78

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;
@@ -48849,9 +48849,9 @@ const rV = (r, d = {}) => {
48849
48849
  E > 1 && F(E - 1);
48850
48850
  };
48851
48851
  return /* @__PURE__ */ M("div", { className: x3(r), children: [
48852
- y && y({ step: E, previousStep: D, nextStep: q, isFirstPage: R, isLastPage: B }),
48852
+ y && y({ step: E, previousStep: D, nextStep: q, isFirstPage: R, isLastPage: B, totalSteps: T }),
48853
48853
  hw(S),
48854
- C && C({ step: E, previousStep: D, nextStep: q, isFirstPage: R, isLastPage: B })
48854
+ C && C({ step: E, previousStep: D, nextStep: q, isFirstPage: R, isLastPage: B, totalSteps: T })
48855
48855
  ] });
48856
48856
  }, VD = "_container_ldyam_1", UD = {
48857
48857
  container: VD
@@ -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
  {
@@ -1,5 +1,6 @@
1
1
  export type StepProps = {
2
2
  step: number;
3
+ totalSteps: number;
3
4
  previousStep: () => void;
4
5
  nextStep: () => void;
5
6
  isFirstPage: boolean;
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.78",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {