ui-mathilde-web 0.3.5 → 0.3.7

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.
@@ -289,7 +289,7 @@ declare interface RadioButtonProps {
289
289
  label?: string;
290
290
  options: RadioButtonOption[];
291
291
  disabled?: boolean;
292
- onChange?: () => void;
292
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
293
293
  classNameRadio?: string;
294
294
  classNameLabel?: string;
295
295
  className?: string;
@@ -447,6 +447,15 @@ declare interface TermsCheckboxProps {
447
447
  label?: string;
448
448
  }
449
449
 
450
+ export declare function Toggle({ label, checked, disabled, onChange, }: ToggleProps): JSX_2.Element;
451
+
452
+ declare interface ToggleProps {
453
+ label?: string;
454
+ checked?: boolean;
455
+ disabled?: boolean;
456
+ onChange?: (checked: boolean) => void;
457
+ }
458
+
450
459
  declare interface ValidationListProps {
451
460
  validations: {
452
461
  hasMinLength: boolean;
@@ -29554,7 +29554,7 @@ const jN = {
29554
29554
  goToStep: g
29555
29555
  };
29556
29556
  return /* @__PURE__ */ G("div", { className: "mx-auto flex w-full max-w-5xl flex-col md:flex-row", children: [
29557
- /* @__PURE__ */ b("ol", { className: "relative border-s-2 border-[#191960] text-gray-500 dark:border-gray-700 dark:text-gray-400 w-full self-start", children: t.map((x, w) => {
29557
+ /* @__PURE__ */ b("ol", { className: "relative border-s-2 border-[#191960] text-gray-500 dark:border-gray-700 dark:text-gray-400 w-full", children: t.map((x, w) => {
29558
29558
  const k = w === t.length - 1, v = w + 1 === u, y = w + 1 < u;
29559
29559
  return /* @__PURE__ */ G("li", { className: `ms-4 ${k ? "" : "mb-8"}`, children: [
29560
29560
  /* @__PURE__ */ b(
@@ -29653,5 +29653,6 @@ export {
29653
29653
  LI as TableOfContents,
29654
29654
  jI as TabsComponent,
29655
29655
  AI as TermsCheckbox,
29656
+ X2 as Toggle,
29656
29657
  FI as ValidationPassword
29657
29658
  };