ui-mathilde-web 0.3.0 → 0.3.2

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.
@@ -274,13 +274,14 @@ declare interface QuickRange {
274
274
  };
275
275
  }
276
276
 
277
- export declare const RadioButton: ({ label, options }: RadioButtonProps) => JSX_2.Element;
277
+ export declare const RadioButton: ({ options, classNameRadio, classNameLabel }: RadioButtonProps) => JSX_2.Element;
278
278
 
279
279
  declare interface RadioButtonOption {
280
280
  id: string;
281
281
  label: string;
282
282
  value: string;
283
283
  checked?: boolean;
284
+ name: string;
284
285
  }
285
286
 
286
287
  declare interface RadioButtonProps {
@@ -288,6 +289,9 @@ declare interface RadioButtonProps {
288
289
  options: RadioButtonOption[];
289
290
  disabled?: boolean;
290
291
  onChange?: (value: string) => void;
292
+ classNameRadio?: string;
293
+ classNameLabel?: string;
294
+ className?: string;
291
295
  }
292
296
 
293
297
  export declare const SelectForm: ForwardRefExoticComponent<SelectFormProps & RefAttributes<HTMLSelectElement>>;
@@ -296,6 +300,8 @@ declare interface SelectFormProps extends React.SelectHTMLAttributes<HTMLSelectE
296
300
  options: Option_2[];
297
301
  label?: string;
298
302
  error?: string;
303
+ id: string;
304
+ classSelect?: string;
299
305
  }
300
306
 
301
307
  export declare const SidebarPro: default_2.FC<SidebarProProps>;
@@ -334,14 +340,19 @@ declare interface SpinnerProps {
334
340
  description?: string;
335
341
  }
336
342
 
337
- export declare const Stepper: ({ steps }: StepperProps) => JSX_2.Element;
343
+ declare interface Step {
344
+ title: string;
345
+ content: string;
346
+ }
347
+
348
+ export declare const Stepper: ({ steps, initialStep, onNext, onBack, onFinish, }: StepperProps) => JSX_2.Element;
338
349
 
339
350
  declare interface StepperProps {
340
- steps: {
341
- title: string;
342
- description: string;
343
- status: 'completed' | 'current' | 'pending';
344
- }[];
351
+ steps: Step[];
352
+ initialStep: number;
353
+ onNext?: () => void;
354
+ onBack?: () => void;
355
+ onFinish?: () => void;
345
356
  }
346
357
 
347
358
  declare interface SubMenuSection {