@grasp-labs/ds-microfrontends-integration 0.19.1 → 0.21.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.
@@ -0,0 +1,8 @@
1
+ import { FieldDescriptor } from 'src/lib/schema';
2
+ import { Control } from 'react-hook-form';
3
+ type DateFieldProps = {
4
+ descriptor: FieldDescriptor;
5
+ control: Control;
6
+ };
7
+ export declare function DateField({ descriptor, control }: DateFieldProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -5,6 +5,7 @@ type SchemaFieldsProps = {
5
5
  errors: FieldErrors;
6
6
  schema: Schema | null;
7
7
  prefix?: string;
8
+ isFieldVertical?: boolean;
8
9
  };
9
- export declare function SchemaFields({ control, errors, schema, prefix, }: SchemaFieldsProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function SchemaFields({ control, errors, schema, prefix, isFieldVertical, }: SchemaFieldsProps): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -3,10 +3,11 @@ import { Schema } from 'src/types';
3
3
  type SchemaFieldsExampleProps = {
4
4
  schema: Schema;
5
5
  defaultValues: Record<string, unknown>;
6
+ isFieldVertical?: boolean;
6
7
  };
7
8
  declare const meta: {
8
9
  title: string;
9
- component: ({ schema, defaultValues, }: SchemaFieldsExampleProps) => import("react/jsx-runtime").JSX.Element;
10
+ component: ({ schema, defaultValues, isFieldVertical, }: SchemaFieldsExampleProps) => import("react/jsx-runtime").JSX.Element;
10
11
  parameters: {
11
12
  layout: string;
12
13
  };
@@ -14,12 +15,15 @@ declare const meta: {
14
15
  decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
15
16
  schema: Schema;
16
17
  defaultValues: Record<string, unknown>;
18
+ isFieldVertical?: boolean | undefined;
17
19
  }>, context: import('storybook/internal/csf').StoryContext<import('@storybook/react').ReactRenderer, {
18
20
  schema: Schema;
19
21
  defaultValues: Record<string, unknown>;
22
+ isFieldVertical?: boolean | undefined;
20
23
  }>) => import("react/jsx-runtime").JSX.Element)[];
21
24
  };
22
25
  export default meta;
23
26
  type Story = StoryObj<typeof meta>;
24
27
  export declare const BasicForm: Story;
28
+ export declare const BasicFormWithVerticalAlignment: Story;
25
29
  export declare const NestedWithVault: Story;
@@ -7,3 +7,4 @@ export { NumberField } from './NumberField';
7
7
  export { SchemaFields } from './SchemaFields';
8
8
  export { TextField } from './TextField';
9
9
  export { VaultField } from './VaultField';
10
+ export { DateField } from './DateField';