@rolder/kit 3.0.0-alpha.80 → 3.0.0-alpha.82

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.
Files changed (41) hide show
  1. package/dist/ui/AnimatedChevron.d.ts +2 -3
  2. package/dist/ui/JsonInput.d.ts +1 -1
  3. package/dist/ui/editor/Content.d.ts +2 -2
  4. package/dist/ui/editor/Root.d.ts +1 -1
  5. package/dist/ui/editor/Toolbar.d.ts +3 -2
  6. package/dist/ui/editor/index.d.ts +4 -7
  7. package/dist/ui/error/DefaultError.d.ts +1 -1
  8. package/dist/ui/error/DefaultNotFound.d.ts +1 -1
  9. package/dist/ui/error/Forbidden.d.ts +1 -1
  10. package/dist/ui/form/buttons/CancelButton.d.ts +2 -2
  11. package/dist/ui/form/buttons/SubmitButton.d.ts +2 -2
  12. package/dist/ui/form/buttons/SubscribeActionIcon.d.ts +2 -2
  13. package/dist/ui/form/buttons/SubscribeButton.d.ts +2 -2
  14. package/dist/ui/form/context.d.ts +51 -51
  15. package/dist/ui/form/context.js +3 -3
  16. package/dist/ui/form/fields/JsonField.d.ts +1 -1
  17. package/dist/ui/form/fields/MultiSelectField.d.ts +1 -1
  18. package/dist/ui/form/fields/NumberField.d.ts +1 -1
  19. package/dist/ui/form/fields/PasswordField.d.ts +2 -0
  20. package/dist/ui/form/fields/{PassowrdField.js → PasswordField.js} +2 -2
  21. package/dist/ui/form/fields/SelectField.d.ts +1 -1
  22. package/dist/ui/form/fields/SwitchField.d.ts +1 -1
  23. package/dist/ui/form/fields/TextField.d.ts +1 -1
  24. package/dist/ui/form/fields/TextPasswordField.d.ts +2 -0
  25. package/dist/ui/form/fields/{TextPassowrdField.js → TextPasswordField.js} +2 -2
  26. package/dist/ui/form/fields/TextareaField.d.ts +1 -1
  27. package/dist/ui/form/fields/index.d.ts +2 -2
  28. package/dist/ui/form/fields/index.js +2 -2
  29. package/dist/ui/saveInput/JsonInput.d.ts +2 -2
  30. package/dist/ui/saveInput/NumberInput.d.ts +2 -2
  31. package/dist/ui/saveInput/SaveInput.d.ts +14 -14
  32. package/dist/ui/saveInput/Select.d.ts +2 -2
  33. package/dist/ui/saveInput/Switch.d.ts +2 -2
  34. package/dist/ui/saveInput/TextInput.d.ts +2 -2
  35. package/dist/ui/saveInput/Textarea.d.ts +2 -2
  36. package/dist/ui/scrollArea/Root.d.ts +2 -2
  37. package/dist/ui/scrollArea/ScrollButton.d.ts +1 -1
  38. package/dist/ui/scrollArea/index.d.ts +2 -2
  39. package/package.json +2 -2
  40. package/dist/ui/form/fields/PassowrdField.d.ts +0 -2
  41. package/dist/ui/form/fields/TextPassowrdField.d.ts +0 -2
@@ -1,6 +1,5 @@
1
1
  import { type IconProps } from '@tabler/icons-react';
2
- interface Props extends IconProps {
2
+ export interface AnimatedChevronProps extends IconProps {
3
3
  expanded?: boolean;
4
4
  }
5
- export declare const AnimatedChevron: ({ expanded, style, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ export declare const AnimatedChevron: React.FC<AnimatedChevronProps>;
@@ -1,2 +1,2 @@
1
1
  import { type ReactCodeMirrorProps } from '@uiw/react-codemirror';
2
- export declare const JsonInput: (props: ReactCodeMirrorProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const JsonInput: React.FC<ReactCodeMirrorProps>;
@@ -1,3 +1,3 @@
1
- export declare const Content: ({ height }: {
1
+ export declare const Content: React.FC<{
2
2
  height: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
3
+ }>;
@@ -5,4 +5,4 @@ export interface EditorProps extends RichTextEditorProps {
5
5
  disabledToolbar?: boolean;
6
6
  onUpdate: EditorOptions['onUpdate'];
7
7
  }
8
- export declare const Root: ({ children, classNames, content, editable, disabledToolbar, onUpdate, editor: customEditor, ...props }: EditorProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Root: React.FC<EditorProps>;
@@ -1,5 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
- export declare const Toolbar: ({ saving, children, }: {
2
+ export interface ToolbarProps {
3
3
  saving?: boolean;
4
4
  children?: ReactNode;
5
- }) => import("react/jsx-runtime").JSX.Element | null;
5
+ }
6
+ export declare const Toolbar: React.FC<ToolbarProps>;
@@ -1,11 +1,8 @@
1
1
  export declare const Editor: {
2
- Root: ({ children, classNames, content, editable, disabledToolbar, onUpdate, editor: customEditor, ...props }: import("./Root").EditorProps) => import("react/jsx-runtime").JSX.Element;
3
- Content: ({ height }: {
2
+ Root: import("react").FC<import("./Root").EditorProps>;
3
+ Content: import("react").FC<{
4
4
  height: string;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- Toolbar: ({ saving, children, }: {
7
- saving?: boolean;
8
- children?: import("react").ReactNode;
9
- }) => import("react/jsx-runtime").JSX.Element | null;
5
+ }>;
6
+ Toolbar: import("react").FC<import("./Toolbar").ToolbarProps>;
10
7
  };
11
8
  export * from './store';
@@ -1,2 +1,2 @@
1
1
  import type { ErrorComponentProps } from '@tanstack/react-router';
2
- export declare const DefaultError: ({ error }: ErrorComponentProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DefaultError: React.FC<ErrorComponentProps>;
@@ -1 +1 @@
1
- export declare const DefaultNotFound: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const DefaultNotFound: React.FC;
@@ -1 +1 @@
1
- export declare const Forbidden: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const Forbidden: React.FC;
@@ -1,5 +1,5 @@
1
1
  import { type ButtonProps } from '@mantine/core';
2
- export declare const CancelButton: (props: ButtonProps & {
2
+ export declare const CancelButton: React.FC<ButtonProps & {
3
3
  label?: string;
4
4
  onClick?: () => void;
5
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }>;
@@ -1,5 +1,5 @@
1
1
  import { type ButtonProps } from '@mantine/core';
2
- export declare const SubmitButton: (props: ButtonProps & {
2
+ export declare const SubmitButton: React.FC<ButtonProps & {
3
3
  label?: string;
4
4
  onClick?: () => void;
5
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }>;
@@ -1,4 +1,4 @@
1
1
  import { type ActionIconProps } from '@mantine/core';
2
- export declare const SubscribeActionIcon: (props: ActionIconProps & {
2
+ export declare const SubscribeActionIcon: React.FC<ActionIconProps & {
3
3
  onClick?: () => void;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }>;
@@ -1,5 +1,5 @@
1
1
  import { type ButtonProps } from '@mantine/core';
2
- export declare const SubscribeButton: (props: ButtonProps & {
2
+ export declare const SubscribeButton: React.FC<ButtonProps & {
3
3
  label: string;
4
4
  onClick?: () => void;
5
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }>;
@@ -1,83 +1,83 @@
1
1
  declare const useFieldContext: <TData>() => import("@tanstack/form-core").FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useFormContext: () => import("@tanstack/react-form").ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
2
2
  declare const useAppForm: <TFormData, TOnMount extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnChange extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: import("@tanstack/form-core").FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
3
- readonly TextField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
4
- readonly NumberField: (props: import("@mantine/core").NumberInputProps) => import("react/jsx-runtime").JSX.Element;
5
- readonly TextareaField: (props: import("@mantine/core").TextareaProps) => import("react/jsx-runtime").JSX.Element;
6
- readonly TextPassowrdField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
7
- readonly PassowrdField: (props: import("@mantine/core").PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
8
- readonly SelectField: (props: import("@mantine/core").SelectProps) => import("react/jsx-runtime").JSX.Element;
9
- readonly MultiSelectField: (props: import("@mantine/core").MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
10
- readonly SwitchField: (props: import("@mantine/core").SwitchProps) => import("react/jsx-runtime").JSX.Element;
11
- readonly JsonField: (props: import("@uiw/react-codemirror").ReactCodeMirrorProps) => import("react/jsx-runtime").JSX.Element;
3
+ readonly TextField: import("react").FC<import("@mantine/core").TextInputProps>;
4
+ readonly NumberField: import("react").FC<import("@mantine/core").NumberInputProps>;
5
+ readonly TextareaField: import("react").FC<import("@mantine/core").TextareaProps>;
6
+ readonly TextPasswordField: import("react").FC<import("@mantine/core").TextInputProps>;
7
+ readonly PasswordField: import("react").FC<import("@mantine/core").PasswordInputProps>;
8
+ readonly SelectField: import("react").FC<import("@mantine/core").SelectProps>;
9
+ readonly MultiSelectField: import("react").FC<import("@mantine/core").MultiSelectProps>;
10
+ readonly SwitchField: import("react").FC<import("@mantine/core").SwitchProps>;
11
+ readonly JsonField: import("react").FC<import("@uiw/react-codemirror").ReactCodeMirrorProps>;
12
12
  }, {
13
- readonly SubmitButton: (props: import("@mantine/core").ButtonProps & {
13
+ readonly SubmitButton: import("react").FC<import("@mantine/core").ButtonProps & {
14
14
  label?: string;
15
15
  onClick?: () => void;
16
- }) => import("react/jsx-runtime").JSX.Element;
17
- readonly CancelButton: (props: import("@mantine/core").ButtonProps & {
16
+ }>;
17
+ readonly CancelButton: import("react").FC<import("@mantine/core").ButtonProps & {
18
18
  label?: string;
19
19
  onClick?: () => void;
20
- }) => import("react/jsx-runtime").JSX.Element;
21
- readonly SubscribeButton: (props: import("@mantine/core").ButtonProps & {
20
+ }>;
21
+ readonly SubscribeButton: import("react").FC<import("@mantine/core").ButtonProps & {
22
22
  label: string;
23
23
  onClick?: () => void;
24
- }) => import("react/jsx-runtime").JSX.Element;
25
- readonly SubscribeActionIcon: (props: import("@mantine/core").ActionIconProps & {
24
+ }>;
25
+ readonly SubscribeActionIcon: import("react").FC<import("@mantine/core").ActionIconProps & {
26
26
  onClick?: () => void;
27
- }) => import("react/jsx-runtime").JSX.Element;
27
+ }>;
28
28
  }>, withForm: <TFormData, TOnMount extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnChange extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
29
- readonly TextField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
30
- readonly NumberField: (props: import("@mantine/core").NumberInputProps) => import("react/jsx-runtime").JSX.Element;
31
- readonly TextareaField: (props: import("@mantine/core").TextareaProps) => import("react/jsx-runtime").JSX.Element;
32
- readonly TextPassowrdField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
33
- readonly PassowrdField: (props: import("@mantine/core").PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
34
- readonly SelectField: (props: import("@mantine/core").SelectProps) => import("react/jsx-runtime").JSX.Element;
35
- readonly MultiSelectField: (props: import("@mantine/core").MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
36
- readonly SwitchField: (props: import("@mantine/core").SwitchProps) => import("react/jsx-runtime").JSX.Element;
37
- readonly JsonField: (props: import("@uiw/react-codemirror").ReactCodeMirrorProps) => import("react/jsx-runtime").JSX.Element;
29
+ readonly TextField: import("react").FC<import("@mantine/core").TextInputProps>;
30
+ readonly NumberField: import("react").FC<import("@mantine/core").NumberInputProps>;
31
+ readonly TextareaField: import("react").FC<import("@mantine/core").TextareaProps>;
32
+ readonly TextPasswordField: import("react").FC<import("@mantine/core").TextInputProps>;
33
+ readonly PasswordField: import("react").FC<import("@mantine/core").PasswordInputProps>;
34
+ readonly SelectField: import("react").FC<import("@mantine/core").SelectProps>;
35
+ readonly MultiSelectField: import("react").FC<import("@mantine/core").MultiSelectProps>;
36
+ readonly SwitchField: import("react").FC<import("@mantine/core").SwitchProps>;
37
+ readonly JsonField: import("react").FC<import("@uiw/react-codemirror").ReactCodeMirrorProps>;
38
38
  }, {
39
- readonly SubmitButton: (props: import("@mantine/core").ButtonProps & {
39
+ readonly SubmitButton: import("react").FC<import("@mantine/core").ButtonProps & {
40
40
  label?: string;
41
41
  onClick?: () => void;
42
- }) => import("react/jsx-runtime").JSX.Element;
43
- readonly CancelButton: (props: import("@mantine/core").ButtonProps & {
42
+ }>;
43
+ readonly CancelButton: import("react").FC<import("@mantine/core").ButtonProps & {
44
44
  label?: string;
45
45
  onClick?: () => void;
46
- }) => import("react/jsx-runtime").JSX.Element;
47
- readonly SubscribeButton: (props: import("@mantine/core").ButtonProps & {
46
+ }>;
47
+ readonly SubscribeButton: import("react").FC<import("@mantine/core").ButtonProps & {
48
48
  label: string;
49
49
  onClick?: () => void;
50
- }) => import("react/jsx-runtime").JSX.Element;
51
- readonly SubscribeActionIcon: (props: import("@mantine/core").ActionIconProps & {
50
+ }>;
51
+ readonly SubscribeActionIcon: import("react").FC<import("@mantine/core").ActionIconProps & {
52
52
  onClick?: () => void;
53
- }) => import("react/jsx-runtime").JSX.Element;
53
+ }>;
54
54
  }, TRenderProps>) => import("react").FunctionComponent<import("react").PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
55
55
  form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import("@tanstack/form-core").FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
56
- readonly TextField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
57
- readonly NumberField: (props: import("@mantine/core").NumberInputProps) => import("react/jsx-runtime").JSX.Element;
58
- readonly TextareaField: (props: import("@mantine/core").TextareaProps) => import("react/jsx-runtime").JSX.Element;
59
- readonly TextPassowrdField: (props: import("@mantine/core").TextInputProps) => import("react/jsx-runtime").JSX.Element;
60
- readonly PassowrdField: (props: import("@mantine/core").PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
61
- readonly SelectField: (props: import("@mantine/core").SelectProps) => import("react/jsx-runtime").JSX.Element;
62
- readonly MultiSelectField: (props: import("@mantine/core").MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
63
- readonly SwitchField: (props: import("@mantine/core").SwitchProps) => import("react/jsx-runtime").JSX.Element;
64
- readonly JsonField: (props: import("@uiw/react-codemirror").ReactCodeMirrorProps) => import("react/jsx-runtime").JSX.Element;
56
+ readonly TextField: import("react").FC<import("@mantine/core").TextInputProps>;
57
+ readonly NumberField: import("react").FC<import("@mantine/core").NumberInputProps>;
58
+ readonly TextareaField: import("react").FC<import("@mantine/core").TextareaProps>;
59
+ readonly TextPasswordField: import("react").FC<import("@mantine/core").TextInputProps>;
60
+ readonly PasswordField: import("react").FC<import("@mantine/core").PasswordInputProps>;
61
+ readonly SelectField: import("react").FC<import("@mantine/core").SelectProps>;
62
+ readonly MultiSelectField: import("react").FC<import("@mantine/core").MultiSelectProps>;
63
+ readonly SwitchField: import("react").FC<import("@mantine/core").SwitchProps>;
64
+ readonly JsonField: import("react").FC<import("@uiw/react-codemirror").ReactCodeMirrorProps>;
65
65
  }, {
66
- readonly SubmitButton: (props: import("@mantine/core").ButtonProps & {
66
+ readonly SubmitButton: import("react").FC<import("@mantine/core").ButtonProps & {
67
67
  label?: string;
68
68
  onClick?: () => void;
69
- }) => import("react/jsx-runtime").JSX.Element;
70
- readonly CancelButton: (props: import("@mantine/core").ButtonProps & {
69
+ }>;
70
+ readonly CancelButton: import("react").FC<import("@mantine/core").ButtonProps & {
71
71
  label?: string;
72
72
  onClick?: () => void;
73
- }) => import("react/jsx-runtime").JSX.Element;
74
- readonly SubscribeButton: (props: import("@mantine/core").ButtonProps & {
73
+ }>;
74
+ readonly SubscribeButton: import("react").FC<import("@mantine/core").ButtonProps & {
75
75
  label: string;
76
76
  onClick?: () => void;
77
- }) => import("react/jsx-runtime").JSX.Element;
78
- readonly SubscribeActionIcon: (props: import("@mantine/core").ActionIconProps & {
77
+ }>;
78
+ readonly SubscribeActionIcon: import("react").FC<import("@mantine/core").ActionIconProps & {
79
79
  onClick?: () => void;
80
- }) => import("react/jsx-runtime").JSX.Element;
80
+ }>;
81
81
  }>;
82
82
  }>>;
83
83
  export { useAppForm, useFieldContext, useFormContext, withForm };
@@ -1,14 +1,14 @@
1
1
  import { createFormHook, createFormHookContexts } from "@tanstack/react-form";
2
2
  import { CancelButton, SubmitButton, SubscribeActionIcon, SubscribeButton } from "./buttons/index.js";
3
- import { JsonField, MultiSelectField, NumberField, PassowrdField, SelectField, SwitchField, TextField, TextPassowrdField, TextareaField } from "./fields/index.js";
3
+ import { JsonField, MultiSelectField, NumberField, PasswordField, SelectField, SwitchField, TextField, TextPasswordField, TextareaField } from "./fields/index.js";
4
4
  const { fieldContext, useFieldContext, formContext, useFormContext } = createFormHookContexts();
5
5
  const { useAppForm, withForm } = createFormHook({
6
6
  fieldComponents: {
7
7
  TextField: TextField,
8
8
  NumberField: NumberField,
9
9
  TextareaField: TextareaField,
10
- TextPassowrdField: TextPassowrdField,
11
- PassowrdField: PassowrdField,
10
+ TextPasswordField: TextPasswordField,
11
+ PasswordField: PasswordField,
12
12
  SelectField: SelectField,
13
13
  MultiSelectField: MultiSelectField,
14
14
  SwitchField: SwitchField,
@@ -1,2 +1,2 @@
1
1
  import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
2
- export declare const JsonField: (props: ReactCodeMirrorProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const JsonField: React.FC<ReactCodeMirrorProps>;
@@ -1,2 +1,2 @@
1
1
  import { type MultiSelectProps } from '@mantine/core';
2
- export declare const MultiSelectField: (props: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MultiSelectField: React.FC<MultiSelectProps>;
@@ -1,2 +1,2 @@
1
1
  import { type NumberInputProps } from '@mantine/core';
2
- export declare const NumberField: (props: NumberInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const NumberField: React.FC<NumberInputProps>;
@@ -0,0 +1,2 @@
1
+ import { type PasswordInputProps } from '@mantine/core';
2
+ export declare const PasswordField: React.FC<PasswordInputProps>;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { PasswordInput } from "@mantine/core";
3
3
  import { useFieldContext } from "../context.js";
4
- const PassowrdField = (props)=>{
4
+ const PasswordField = (props)=>{
5
5
  const field = useFieldContext();
6
6
  return /*#__PURE__*/ jsx(PasswordInput, {
7
7
  size: "lg",
@@ -15,4 +15,4 @@ const PassowrdField = (props)=>{
15
15
  ...props
16
16
  });
17
17
  };
18
- export { PassowrdField };
18
+ export { PasswordField };
@@ -1,2 +1,2 @@
1
1
  import { type SelectProps } from '@mantine/core';
2
- export declare const SelectField: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SelectField: React.FC<SelectProps>;
@@ -1,2 +1,2 @@
1
1
  import { type SwitchProps } from '@mantine/core';
2
- export declare const SwitchField: (props: SwitchProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SwitchField: React.FC<SwitchProps>;
@@ -1,2 +1,2 @@
1
1
  import { type TextInputProps } from '@mantine/core';
2
- export declare const TextField: (props: TextInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const TextField: React.FC<TextInputProps>;
@@ -0,0 +1,2 @@
1
+ import { type TextInputProps } from '@mantine/core';
2
+ export declare const TextPasswordField: React.FC<TextInputProps>;
@@ -3,7 +3,7 @@ import { ActionIcon, TextInput } from "@mantine/core";
3
3
  import { IconRefresh } from "@tabler/icons-react";
4
4
  import omgopass from "omgopass";
5
5
  import { useFieldContext } from "../context.js";
6
- const TextPassowrdField = (props)=>{
6
+ const TextPasswordField = (props)=>{
7
7
  const field = useFieldContext();
8
8
  return /*#__PURE__*/ jsx(TextInput, {
9
9
  label: "Пароль",
@@ -26,4 +26,4 @@ const TextPassowrdField = (props)=>{
26
26
  ...props
27
27
  });
28
28
  };
29
- export { TextPassowrdField };
29
+ export { TextPasswordField };
@@ -1,2 +1,2 @@
1
1
  import { type TextareaProps } from '@mantine/core';
2
- export declare const TextareaField: (props: TextareaProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const TextareaField: React.FC<TextareaProps>;
@@ -1,9 +1,9 @@
1
1
  export * from './JsonField';
2
2
  export * from './MultiSelectField';
3
3
  export * from './NumberField';
4
- export * from './PassowrdField';
4
+ export * from './PasswordField';
5
5
  export * from './SelectField';
6
6
  export * from './SwitchField';
7
7
  export * from './TextareaField';
8
8
  export * from './TextField';
9
- export * from './TextPassowrdField';
9
+ export * from './TextPasswordField';
@@ -1,9 +1,9 @@
1
1
  export * from "./JsonField.js";
2
2
  export * from "./MultiSelectField.js";
3
3
  export * from "./NumberField.js";
4
- export * from "./PassowrdField.js";
4
+ export * from "./PasswordField.js";
5
5
  export * from "./SelectField.js";
6
6
  export * from "./SwitchField.js";
7
7
  export * from "./TextareaField.js";
8
8
  export * from "./TextField.js";
9
- export * from "./TextPassowrdField.js";
9
+ export * from "./TextPasswordField.js";
@@ -1,6 +1,6 @@
1
1
  import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
2
- export declare const JsonInput: ({ initialValue, onChange, debounce, ...props }: {
2
+ export declare const JsonInput: React.FC<{
3
3
  initialValue: string;
4
4
  onChange: (value: string) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<ReactCodeMirrorProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<ReactCodeMirrorProps, 'value' | 'onChange'>>;
@@ -1,6 +1,6 @@
1
1
  import { type NumberInputProps } from '@mantine/core';
2
- export declare const NumberInput: ({ initialValue, onChange, debounce, ...props }: {
2
+ export declare const NumberInput: React.FC<{
3
3
  initialValue: string | number;
4
4
  onChange: (value: string | number) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<NumberInputProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<NumberInputProps, 'value' | 'onChange'>>;
@@ -1,36 +1,36 @@
1
- export declare const SaveInput: (({ initialValue, onChange, debounce, ...props }: {
1
+ export declare const SaveInput: import("react").FC<{
2
2
  initialValue?: string;
3
3
  onChange: (value: string) => Promise<void>;
4
4
  debounce?: number;
5
- } & Omit<import("@mantine/core").TextInputProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element) & {
6
- TextInput: ({ initialValue, onChange, debounce, ...props }: {
5
+ } & Omit<import("@mantine/core").TextInputProps, "value" | "onChange">> & {
6
+ TextInput: import("react").FC<{
7
7
  initialValue?: string;
8
8
  onChange: (value: string) => Promise<void>;
9
9
  debounce?: number;
10
- } & Omit<import("@mantine/core").TextInputProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
11
- NumberInput: ({ initialValue, onChange, debounce, ...props }: {
10
+ } & Omit<import("@mantine/core").TextInputProps, "value" | "onChange">>;
11
+ NumberInput: import("react").FC<{
12
12
  initialValue: string | number;
13
13
  onChange: (value: string | number) => Promise<void>;
14
14
  debounce?: number;
15
- } & Omit<import("@mantine/core").NumberInputProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
16
- Textarea: ({ initialValue, onChange, debounce, ...props }: {
15
+ } & Omit<import("@mantine/core").NumberInputProps, "value" | "onChange">>;
16
+ Textarea: import("react").FC<{
17
17
  initialValue: string;
18
18
  onChange: (value: string) => Promise<void>;
19
19
  debounce?: number;
20
- } & Omit<import("@mantine/core").TextareaProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
21
- Switch: ({ initialValue, onChange, debounce, w, ...props }: {
20
+ } & Omit<import("@mantine/core").TextareaProps, "value" | "onChange">>;
21
+ Switch: import("react").FC<{
22
22
  initialValue: boolean;
23
23
  onChange: (value: boolean) => Promise<void>;
24
24
  debounce?: number;
25
- } & Omit<import("@mantine/core").SwitchProps, "checked" | "onChange">) => import("react/jsx-runtime").JSX.Element;
26
- JsonInput: ({ initialValue, onChange, debounce, ...props }: {
25
+ } & Omit<import("@mantine/core").SwitchProps, "onChange" | "checked">>;
26
+ JsonInput: import("react").FC<{
27
27
  initialValue: string;
28
28
  onChange: (value: string) => Promise<void>;
29
29
  debounce?: number;
30
- } & Omit<import("@uiw/react-codemirror").ReactCodeMirrorProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
31
- Select: ({ initialValue, onChange, debounce, ...props }: {
30
+ } & Omit<import("@uiw/react-codemirror").ReactCodeMirrorProps, "value" | "onChange">>;
31
+ Select: import("react").FC<{
32
32
  initialValue: string | null;
33
33
  onChange: (value: string | null) => Promise<void>;
34
34
  debounce?: number;
35
- } & Omit<import("@mantine/core").SelectProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
35
+ } & Omit<import("@mantine/core").SelectProps, "value" | "onChange">>;
36
36
  };
@@ -1,6 +1,6 @@
1
1
  import { type SelectProps } from '@mantine/core';
2
- export declare const Select: ({ initialValue, onChange, debounce, ...props }: {
2
+ export declare const Select: React.FC<{
3
3
  initialValue: string | null;
4
4
  onChange: (value: string | null) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<SelectProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<SelectProps, 'value' | 'onChange'>>;
@@ -1,6 +1,6 @@
1
1
  import { type SwitchProps } from '@mantine/core';
2
- export declare const Switch: ({ initialValue, onChange, debounce, w, ...props }: {
2
+ export declare const Switch: React.FC<{
3
3
  initialValue: boolean;
4
4
  onChange: (value: boolean) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<SwitchProps, "checked" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<SwitchProps, 'checked' | 'onChange'>>;
@@ -1,6 +1,6 @@
1
1
  import { type TextInputProps } from '@mantine/core';
2
- export declare const TextInput: ({ initialValue, onChange, debounce, ...props }: {
2
+ export declare const TextInput: React.FC<{
3
3
  initialValue?: string;
4
4
  onChange: (value: string) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<TextInputProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<TextInputProps, 'value' | 'onChange'>>;
@@ -1,6 +1,6 @@
1
1
  import { type TextareaProps } from '@mantine/core';
2
- export declare const Textarea: ({ initialValue, onChange, debounce, ...props }: {
2
+ export declare const Textarea: React.FC<{
3
3
  initialValue: string;
4
4
  onChange: (value: string) => Promise<void>;
5
5
  debounce?: number;
6
- } & Omit<TextareaProps, "value" | "onChange">) => import("react/jsx-runtime").JSX.Element;
6
+ } & Omit<TextareaProps, 'value' | 'onChange'>>;
@@ -1,7 +1,7 @@
1
1
  import { type MantineRadius, type ScrollAreaProps as MantineScrollAreaProps } from '@mantine/core';
2
2
  export interface ScrollAreaProps extends Omit<MantineScrollAreaProps, 'h'> {
3
- height: string;
3
+ height: MantineScrollAreaProps['h'];
4
4
  radius?: MantineRadius;
5
5
  autoScroll?: boolean;
6
6
  }
7
- export declare const Root: ({ children, height, radius, autoScroll, ...props }: ScrollAreaProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const Root: React.FC<ScrollAreaProps>;
@@ -7,4 +7,4 @@ export interface ScrollButtonProps {
7
7
  /** Иконка для прокрутки вниз (по умолчанию IconChevronDown) */
8
8
  downIcon?: ReactNode;
9
9
  }
10
- export declare const ScrollButton: ({ className, upIcon, downIcon, }: ScrollButtonProps) => import("react/jsx-runtime").JSX.Element | null;
10
+ export declare const ScrollButton: React.FC<ScrollButtonProps>;
@@ -1,6 +1,6 @@
1
1
  export declare const ScrollArea: {
2
- Root: ({ children, height, radius, autoScroll, ...props }: import("./Root").ScrollAreaProps) => import("react/jsx-runtime").JSX.Element;
3
- ScrollButton: ({ className, upIcon, downIcon, }: import("./ScrollButton").ScrollButtonProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ Root: import("react").FC<import("./Root").ScrollAreaProps>;
3
+ ScrollButton: import("react").FC<import("./ScrollButton").ScrollButtonProps>;
4
4
  };
5
5
  export type * from './Root';
6
6
  export type * from './ScrollButton';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolder/kit",
3
- "version": "3.0.0-alpha.80",
3
+ "version": "3.0.0-alpha.82",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -27,7 +27,7 @@
27
27
  "@types/omgopass": "^3.2.3",
28
28
  "@types/react": "^19.2.8",
29
29
  "@typescript/native-preview": "^7.0.0-dev.20260117.1",
30
- "typescript": "^5.9.3"
30
+ "typescript": "next"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@ai-sdk/react": "^3.0.41",
@@ -1,2 +0,0 @@
1
- import { type PasswordInputProps } from '@mantine/core';
2
- export declare const PassowrdField: (props: PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { type TextInputProps } from '@mantine/core';
2
- export declare const TextPassowrdField: (props: TextInputProps) => import("react/jsx-runtime").JSX.Element;