@opengeoweb/form-fields 10.0.0 → 10.1.0
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.
- package/package.json +1 -1
- package/src/lib/components/Providers.d.ts +6 -5
- package/src/lib/components/ReactHookFormDateTime.stories.d.ts +9 -34
- package/src/lib/components/ReactHookFormHiddenInput.stories.d.ts +7 -7
- package/src/lib/components/ReactHookFormNumberField.stories.d.ts +9 -34
- package/src/lib/components/ReactHookFormProvider.stories.d.ts +9 -34
- package/src/lib/components/ReactHookFormRadioGroup.stories.d.ts +10 -34
- package/src/lib/components/ReactHookFormSelect.stories.d.ts +9 -26
- package/src/lib/components/ReactHookFormTextField.stories.d.ts +9 -34
package/package.json
CHANGED
|
@@ -4,15 +4,16 @@ export declare const zeplinLinks: {
|
|
|
4
4
|
name: string;
|
|
5
5
|
link: string;
|
|
6
6
|
}[];
|
|
7
|
-
|
|
7
|
+
interface StoryLayoutProps {
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
children?: React.ReactNode;
|
|
10
|
+
export declare const FormFieldsWrapper: React.FC<StoryLayoutProps & {
|
|
12
11
|
options?: UseFormProps;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const FormFieldsWrappeDecorator: React.FC<StoryLayoutProps & {
|
|
13
14
|
isDarkTheme?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const FormFieldsWrapper: React.FC<FormFieldsWrapperProps>;
|
|
15
|
+
}>;
|
|
16
16
|
export declare const FormFieldsI18nProvider: React.FC<{
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}>;
|
|
19
|
+
export {};
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const DateTimeLightTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const DateTimeDarkTheme: {
|
|
26
|
-
(): React.ReactElement;
|
|
27
|
-
tags: string[];
|
|
28
|
-
parameters: {
|
|
29
|
-
zeplinLink: {
|
|
30
|
-
name: string;
|
|
31
|
-
link: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormDateTime } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormDateTime>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormDateTime>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const DateTime: Story;
|
|
8
|
+
export declare const DateTimeLightTheme: Story;
|
|
9
|
+
export declare const DateTimeDarkTheme: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const HiddenInput:
|
|
7
|
-
export declare const HiddenInputDarkTheme:
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormHiddenInput } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormHiddenInput>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormHiddenInput>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const HiddenInput: Story;
|
|
7
|
+
export declare const HiddenInputDarkTheme: Story;
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const NumberFieldLightTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const NumberFieldDarkTheme: {
|
|
26
|
-
(): React.ReactElement;
|
|
27
|
-
tags: string[];
|
|
28
|
-
parameters: {
|
|
29
|
-
zeplinLink: {
|
|
30
|
-
name: string;
|
|
31
|
-
link: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormNumberField } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormNumberField>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormNumberField>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const NumberField: Story;
|
|
8
|
+
export declare const NumberFieldLightTheme: Story;
|
|
9
|
+
export declare const NumberFieldDarkTheme: Story;
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const FormProviderLightTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const FormProviderDarkTheme: {
|
|
26
|
-
(): React.ReactElement;
|
|
27
|
-
tags: string[];
|
|
28
|
-
parameters: {
|
|
29
|
-
zeplinLink: {
|
|
30
|
-
name: string;
|
|
31
|
-
link: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormDateTime } from '.';
|
|
3
|
+
import { FormFieldsWrapper } from './Providers';
|
|
4
|
+
type Story = StoryObj<typeof FormFieldsWrapper>;
|
|
5
|
+
declare const meta: Meta<typeof ReactHookFormDateTime>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const FormProvider: Story;
|
|
8
|
+
export declare const FormProviderLightTheme: Story;
|
|
9
|
+
export declare const FormProviderDarkTheme: Story;
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const RadioGroupLightTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const RadioGroupDarkTheme: {
|
|
26
|
-
(): React.ReactElement;
|
|
27
|
-
tags: string[];
|
|
28
|
-
parameters: {
|
|
29
|
-
zeplinLink: {
|
|
30
|
-
name: string;
|
|
31
|
-
link: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormRadioGroup } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormRadioGroup>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormRadioGroup>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const RadioGroup: Story;
|
|
8
|
+
export declare const RadioGroupLightTheme: Story;
|
|
9
|
+
export declare const RadioGroupDarkTheme: Story;
|
|
10
|
+
export declare const RadioGroupDarkThemeStory: Story;
|
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
parameters: {
|
|
11
|
-
zeplinLink: {
|
|
12
|
-
name: string;
|
|
13
|
-
link: string;
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const SelectDarkTheme: {
|
|
18
|
-
(): React.ReactElement;
|
|
19
|
-
tags: string[];
|
|
20
|
-
parameters: {
|
|
21
|
-
zeplinLink: {
|
|
22
|
-
name: string;
|
|
23
|
-
link: string;
|
|
24
|
-
}[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormSelect } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormSelect>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormSelect>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const Select: Story;
|
|
8
|
+
export declare const SelectLightTheme: Story;
|
|
9
|
+
export declare const SelectDarkTheme: Story;
|
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const TextFieldLightTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
tags: string[];
|
|
18
|
-
parameters: {
|
|
19
|
-
zeplinLink: {
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const TextFieldDarkTheme: {
|
|
26
|
-
(): React.ReactElement;
|
|
27
|
-
tags: string[];
|
|
28
|
-
parameters: {
|
|
29
|
-
zeplinLink: {
|
|
30
|
-
name: string;
|
|
31
|
-
link: string;
|
|
32
|
-
}[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ReactHookFormTextField } from '.';
|
|
3
|
+
type Story = StoryObj<typeof ReactHookFormTextField>;
|
|
4
|
+
declare const meta: Meta<typeof ReactHookFormTextField>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const TextField: Story;
|
|
8
|
+
export declare const TextFieldLightTheme: Story;
|
|
9
|
+
export declare const TextFieldDarkTheme: Story;
|