consumer-eu-doctor-locator 0.0.21 → 0.0.22

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.
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ export interface DocLocSearchFormProps {
3
+ /** Callback function triggered when form is submitted */
4
+ onSubmit: (values: Record<string, any>) => void;
5
+ /** Callback for left icon clicks */
6
+ onLeftIconClick?: (iconName: string) => void;
7
+ /** Callback for right icon clicks */
8
+ onRightIconClick?: (iconName: string) => void;
9
+ /** Callback triggered when country selection changes */
10
+ onPostCountryChange?: (value: string) => void;
11
+ /** Custom label for submit button */
12
+ submitLabel?: string;
13
+ /** Default form values */
14
+ defaultValues?: Record<string, any>;
15
+ /** Custom CSS class name */
16
+ className?: string;
17
+ /** Country picker position in the form fields number */
18
+ countryPickerPosition?: number;
19
+ }
20
+ export declare const DocLocSearchForm: React.FC<DocLocSearchFormProps>;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import { DocLocSearchForm } from "./DocLocSearchForm";
3
+ declare const meta: Meta<typeof DocLocSearchForm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithDefaultValues: Story;
8
+ export declare const WithCustomIconHandlers: Story;
9
+ export declare const WithCountryChangeHandler: Story;
10
+ export declare const WithCustomStyling: Story;
11
+ export declare const WithCustomCountryPosition: Story;
@@ -7,3 +7,4 @@ export declare const Default: Story;
7
7
  export declare const NoWelcomeScreen: Story;
8
8
  export declare const ItalyDocLocator: Story;
9
9
  export declare const spainDocLocator: Story;
10
+ export declare const SaudiArabiaDocLocator: Story;
@@ -8,3 +8,4 @@ export declare const DrAnthony: Story;
8
8
  export declare const DrHarveyGrahame: Story;
9
9
  export declare const JesusOrozcoCanas: Story;
10
10
  export declare const DrFabianaMuzzi: Story;
11
+ export declare const ProfNasserAlqahtani: Story;