@ssa-ui-kit/core 2.4.0 → 2.6.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,12 @@
1
+ import { ComponentType } from 'react';
2
+ import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
3
+ import { FormProps, ThemeProps } from '@rjsf/core';
4
+ import Templates, { generateTemplates } from './templates';
5
+ import Widgets, { generateWidgets } from './widgets';
6
+ export declare function generateTheme<T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(): ThemeProps<T, S, F>;
7
+ declare const Theme: ThemeProps<unknown, RJSFSchema, Record<string, unknown>>;
8
+ export declare function generateForm<T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(): ComponentType<FormProps<T, S, F>>;
9
+ declare const Form: import("@emotion/styled").StyledComponent<FormProps<unknown, RJSFSchema, Record<string, unknown>> & {
10
+ theme?: import("@emotion/react").Theme;
11
+ }, {}, {}>;
12
+ export { Form, Templates, Theme, Widgets, generateTemplates, generateWidgets };
@@ -0,0 +1,2 @@
1
+ import { ArrayFieldTemplateItemType, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const ArrayFieldItemTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: ArrayFieldTemplateItemType<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ArrayFieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const ArrayFieldTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: ArrayFieldTemplateProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { BaseInputTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const BaseInputTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: BaseInputTemplateProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const FieldTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: FieldTemplateProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, IconButtonProps } from '@rjsf/utils';
2
+ import { ButtonProps } from '../../Button/types';
3
+ export declare const IconButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F> & Omit<ButtonProps, "onClick">) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export declare const AddButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
5
+ export declare const RemoveButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export declare const CopyButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
7
+ export declare const MoveDownButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export declare const MoveUpButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: IconButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ObjectFieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const ObjectFieldTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: ObjectFieldTemplateProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, SubmitButtonProps } from '@rjsf/utils';
2
+ export declare const SubmitButton: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>({ uiSchema, }: SubmitButtonProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, TitleFieldProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare const TitleFieldTemplate: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>({ id, title, }: TitleFieldProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, TemplatesType } from '@rjsf/utils';
2
+ export declare function generateTemplates<T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(): Partial<TemplatesType<T, S, F>>;
3
+ declare const _default: Partial<TemplatesType<unknown, RJSFSchema, Record<string, unknown>>>;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const CheckboxWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const CheckboxesWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const PasswordWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const RadioWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const RangeWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
2
+ export declare const SelectWidget: <T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(props: WidgetProps<T, S, F>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { FormContextType, RegistryWidgetsType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
2
+ export declare function generateWidgets<T = unknown, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = Record<string, unknown>>(): RegistryWidgetsType<T, S, F>;
3
+ declare const _default: RegistryWidgetsType<unknown, RJSFSchema, Record<string, unknown>>;
4
+ export default _default;
@@ -5,5 +5,5 @@ export interface RadioGroupProps {
5
5
  initialState?: string;
6
6
  className?: string;
7
7
  onChange: (value: string) => void;
8
- children: React.ReactElement<RadioProps>[];
8
+ children?: React.ReactElement<RadioProps>[] | React.ReactElement<RadioProps>;
9
9
  }
@@ -110,4 +110,5 @@ export * from './WithVisibleMD';
110
110
  export * from './WithVisibleSM';
111
111
  export * from './WithVisibleUpToLG';
112
112
  export * from './Wrapper';
113
+ export * as JsonSchema from './JsonSchemaForm';
113
114
  export type { DropdownOptionProps } from './DropdownOptions';