dawn-ui-react 1.0.0-alpha.22 → 1.0.0-alpha.24
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/dist/components/accordion/index.d.ts +2 -1
- package/dist/components/chart/chart-legend.d.ts +1 -1
- package/dist/components/colour-channel-slider/colour-channel-slider.d.ts +2 -0
- package/dist/components/colour-channel-slider/colour-channel-slider.types.d.ts +8 -0
- package/dist/components/colour-channel-slider/colour-channel-slider.utils.d.ts +4 -0
- package/dist/components/colour-channel-slider/index.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-area.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-group.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-hue-slider.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-input.d.ts +3 -0
- package/dist/components/colour-picker/colour-picker-label.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-add.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-limit.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-list.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-palette-swatch.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-row.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker-transparency-slider.d.ts +3 -0
- package/dist/components/colour-picker/colour-picker-value-type.d.ts +2 -0
- package/dist/components/colour-picker/colour-picker.d.ts +4 -0
- package/dist/components/colour-picker/colour-picker.types.d.ts +94 -0
- package/dist/components/colour-picker/index.d.ts +2 -0
- package/dist/components/field/field-label.d.ts +1 -1
- package/dist/components/field/field-row.d.ts +2 -0
- package/dist/components/field/field.types.d.ts +9 -1
- package/dist/components/field/index.d.ts +2 -1
- package/dist/components/form/form-context.d.ts +77 -35
- package/dist/components/form/form-footer.d.ts +2 -0
- package/dist/components/form/form-set-content.d.ts +2 -0
- package/dist/components/form/form-set-heading.d.ts +2 -0
- package/dist/components/form/form-set.d.ts +2 -0
- package/dist/components/form/form.types.d.ts +6 -0
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/nav-bar/index.d.ts +5 -0
- package/dist/components/nav-bar/nav-bar-item-icon.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item-label.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar-item.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.d.ts +2 -0
- package/dist/components/nav-bar/nav-bar.types.d.ts +15 -0
- package/dist/components/separator/separator.types.d.ts +1 -1
- package/dist/components/table/table-body-list.d.ts +1 -1
- package/dist/components/table/table-nav.d.ts +1 -1
- package/dist/components/table/table-toolbar.d.ts +1 -1
- package/dist/components/table/table.types.d.ts +9 -3
- package/dist/components/tabs/tabs.types.d.ts +1 -1
- package/dist/dawn-ui-react.js +13667 -10904
- package/dist/dawn-ui-react.umd.cjs +58 -58
- package/dist/styles.css +4 -0
- package/package.json +38 -35
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { Accordion } from './accordion';
|
|
2
|
-
export type { AccordionHeaderProps, AccordionItemProps, AccordionProps, AccordionPanelProps, AccordionSubtitleProps, AccordionTitleProps, } from './accordion.types';
|
|
2
|
+
export type { AccordionHeaderProps, AccordionItemProps, AccordionProps, AccordionPanelProps, AccordionSubtitleProps, AccordionTitleProps, AccordionTriggerProps, } from './accordion.types';
|
|
3
3
|
export { AccordionHeader } from './accordion-header';
|
|
4
4
|
export { AccordionItem } from './accordion-item';
|
|
5
5
|
export { AccordionPanel } from './accordion-panel';
|
|
6
6
|
export { AccordionSubtitle } from './accordion-subtitle';
|
|
7
7
|
export { AccordionTitle } from './accordion-title';
|
|
8
|
+
export { AccordionTrigger } from './accordion-trigger';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ChartLegendProps } from './chart.types';
|
|
2
|
-
export declare const ChartLegend: ({
|
|
2
|
+
export declare const ChartLegend: ({ children, ...props }: ChartLegendProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Slider as BaseSlider } from '@base-ui/react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
export type ColourChannelSliderProps = React.ComponentProps<typeof BaseSlider.Root> & VariantProps<typeof colourChannelSliderVariants> & {
|
|
4
|
+
trackStyle: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare const colourChannelSliderVariants: (props?: ({
|
|
7
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getHueTrack: () => string[];
|
|
2
|
+
export declare const getTransparencyTrack: (baseColor: string) => string[];
|
|
3
|
+
export declare const getSaturationTrack: (baseColor: string) => string[];
|
|
4
|
+
export declare const getLightnessTrack: (baseColor: string) => string[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ColourPickerProps, ColourPickerContextType } from './colour-picker.types';
|
|
3
|
+
export declare const ColourPicker: ({ variant, defaultColour, defaultPalette, paletteLimit, className, children, ref, ...props }: ColourPickerProps) => React.JSX.Element;
|
|
4
|
+
export declare const useColourPicker: () => ColourPickerContextType;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { default as chroma } from 'chroma-js';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { Button } from '../button';
|
|
4
|
+
import { ColourChannelSlider } from '../colour-channel-slider';
|
|
5
|
+
import { InputGroup } from '../input-group';
|
|
6
|
+
import { SelectTrigger } from '../select';
|
|
7
|
+
export type ColourPickerContextType = {
|
|
8
|
+
colour: chroma.Color;
|
|
9
|
+
setColour: (colour: chroma.Color) => void;
|
|
10
|
+
hue: number;
|
|
11
|
+
saturation: number;
|
|
12
|
+
value: number;
|
|
13
|
+
alpha: number;
|
|
14
|
+
setHue: (hue: number) => void;
|
|
15
|
+
setSaturation: (saturation: number) => void;
|
|
16
|
+
setValue: (value: number) => void;
|
|
17
|
+
setAlpha: (alpha: number) => void;
|
|
18
|
+
valueType: ValueType;
|
|
19
|
+
setValueType: (valueType: ValueType) => void;
|
|
20
|
+
palette: chroma.Color[];
|
|
21
|
+
setPalette: (palette: chroma.Color[]) => void;
|
|
22
|
+
addPaletteColour: (colour: chroma.Color) => void;
|
|
23
|
+
paletteLimit?: number;
|
|
24
|
+
};
|
|
25
|
+
export type ColourPickerState = {
|
|
26
|
+
hue: number;
|
|
27
|
+
saturation: number;
|
|
28
|
+
value: number;
|
|
29
|
+
alpha: number;
|
|
30
|
+
valueType: ValueType;
|
|
31
|
+
palette: chroma.Color[];
|
|
32
|
+
};
|
|
33
|
+
export type ColourPickerAction = {
|
|
34
|
+
type: 'set_colour';
|
|
35
|
+
colour: chroma.Color;
|
|
36
|
+
} | {
|
|
37
|
+
type: 'set_hue';
|
|
38
|
+
hue: number;
|
|
39
|
+
} | {
|
|
40
|
+
type: 'set_saturation';
|
|
41
|
+
saturation: number;
|
|
42
|
+
} | {
|
|
43
|
+
type: 'set_value';
|
|
44
|
+
value: number;
|
|
45
|
+
} | {
|
|
46
|
+
type: 'set_alpha';
|
|
47
|
+
alpha: number;
|
|
48
|
+
} | {
|
|
49
|
+
type: 'set_value_type';
|
|
50
|
+
valueType: ValueType;
|
|
51
|
+
} | {
|
|
52
|
+
type: 'set_palette';
|
|
53
|
+
palette: chroma.Color[];
|
|
54
|
+
} | {
|
|
55
|
+
type: 'add_palette_colour';
|
|
56
|
+
colour: chroma.Color;
|
|
57
|
+
};
|
|
58
|
+
export type ColourPickerProps = React.ComponentProps<'div'> & VariantProps<typeof colourPickerVariants> & {
|
|
59
|
+
defaultColour?: string;
|
|
60
|
+
defaultPalette?: string[];
|
|
61
|
+
paletteLimit?: number;
|
|
62
|
+
};
|
|
63
|
+
export declare const colourPickerVariants: (props?: ({
|
|
64
|
+
variant?: "ghost" | "outline" | "elevated" | null | undefined;
|
|
65
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
66
|
+
export declare const colourPickerSwatchVariants: (props?: ({
|
|
67
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
68
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
69
|
+
export declare const VALUE_TYPES: ValueType[];
|
|
70
|
+
export type ValueType = {
|
|
71
|
+
label: string;
|
|
72
|
+
value: string;
|
|
73
|
+
getValue: (colour: chroma.Color) => any;
|
|
74
|
+
parseValue: (value: string) => chroma.Color | undefined;
|
|
75
|
+
};
|
|
76
|
+
export type ColourPickerInputProps = React.ComponentProps<typeof InputGroup>;
|
|
77
|
+
export type ColourPickerAreaProps = React.ComponentProps<'div'>;
|
|
78
|
+
export type ColourPickerHueSliderProps = Partial<React.ComponentProps<typeof ColourChannelSlider>>;
|
|
79
|
+
export type ColourPickerTransparencySliderProps = Partial<React.ComponentProps<typeof ColourChannelSlider>>;
|
|
80
|
+
export type ColourPickerValueTypeProps = React.ComponentProps<typeof SelectTrigger>;
|
|
81
|
+
export type ColourPickerRowProps = React.ComponentProps<'div'>;
|
|
82
|
+
export type ColourPickerGroupProps = React.ComponentProps<'div'>;
|
|
83
|
+
export type ColourPickerLabelProps = React.ComponentProps<'span'>;
|
|
84
|
+
export type ColourPickerPaletteListProps = Omit<React.ComponentProps<'ul'>, 'children'> & {
|
|
85
|
+
children?: (props: {
|
|
86
|
+
colour: chroma.Color;
|
|
87
|
+
index: number;
|
|
88
|
+
}) => React.ReactNode;
|
|
89
|
+
};
|
|
90
|
+
export type ColourPickerPaletteSwatchProps = React.ComponentProps<'button'> & VariantProps<typeof colourPickerSwatchVariants> & {
|
|
91
|
+
colour: chroma.Color;
|
|
92
|
+
};
|
|
93
|
+
export type ColourPickerPaletteAddProps = React.ComponentProps<typeof Button>;
|
|
94
|
+
export type ColourPickerPaletteLimitProps = React.ComponentProps<'span'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FieldLabelProps } from './field.types';
|
|
2
|
-
export declare const FieldLabel: ({ className, children, ref, ...props }: FieldLabelProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: FieldLabelProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
1
2
|
import { Checkbox } from '../checkbox';
|
|
2
3
|
import { Input } from '../input';
|
|
3
4
|
import { InputGroup, InputGroupInput } from '../input-group';
|
|
@@ -12,7 +13,9 @@ export type FieldErrorProps = React.ComponentProps<'ul'>;
|
|
|
12
13
|
export type FieldInputGroupProps = React.ComponentProps<typeof InputGroup>;
|
|
13
14
|
export type FieldInputGroupInputProps = React.ComponentProps<typeof InputGroupInput>;
|
|
14
15
|
export type FieldInputProps = React.ComponentProps<typeof Input>;
|
|
15
|
-
export type FieldLabelProps = React.ComponentProps<'div'
|
|
16
|
+
export type FieldLabelProps = React.ComponentProps<'div'> & VariantProps<typeof fieldLabelVariants> & {
|
|
17
|
+
showRequired?: boolean;
|
|
18
|
+
};
|
|
16
19
|
export type FieldSelectProps = React.ComponentProps<typeof Select>;
|
|
17
20
|
export type FieldSliderProps = React.ComponentProps<typeof Slider>;
|
|
18
21
|
export type FieldTextAreaProps = React.ComponentProps<typeof TextArea>;
|
|
@@ -23,3 +26,8 @@ export type FieldSwitchProps = React.ComponentProps<typeof Switch>;
|
|
|
23
26
|
export type FieldToggleProps = React.ComponentProps<typeof Toggle>;
|
|
24
27
|
export type FieldProps = React.ComponentProps<'div'>;
|
|
25
28
|
export type FieldSetProps = React.ComponentProps<'div'>;
|
|
29
|
+
export type FieldRowProps = React.ComponentProps<'div'>;
|
|
30
|
+
export declare const fieldLabelVariants: (props?: ({
|
|
31
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
32
|
+
variant?: "primary" | "secondary" | null | undefined;
|
|
33
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Field } from './field';
|
|
2
|
-
export type { FieldDescriptionProps, FieldErrorProps, FieldInputProps, FieldLabelProps, FieldProps, FieldSelectProps, FieldSliderProps, FieldTextAreaProps, FieldCheckboxProps, FieldRadioProps, FieldRadioGroupProps, FieldSwitchProps, FieldToggleProps, FieldInputGroupInputProps, FieldInputGroupProps, FieldSetProps, } from './field.types';
|
|
2
|
+
export type { FieldDescriptionProps, FieldErrorProps, FieldInputProps, FieldLabelProps, FieldProps, FieldSelectProps, FieldSliderProps, FieldTextAreaProps, FieldCheckboxProps, FieldRadioProps, FieldRadioGroupProps, FieldSwitchProps, FieldToggleProps, FieldInputGroupInputProps, FieldInputGroupProps, FieldSetProps, FieldRowProps, } from './field.types';
|
|
3
3
|
export { FieldDescription } from './field-description';
|
|
4
4
|
export { FieldErrors } from './field-errors';
|
|
5
5
|
export { FieldInput } from './field-input';
|
|
@@ -15,3 +15,4 @@ export { FieldToggle } from './field-toggle';
|
|
|
15
15
|
export { FieldInputGroup } from './field-input-group';
|
|
16
16
|
export { FieldInputGroupInput } from './field-input-group-input';
|
|
17
17
|
export { FieldSet } from './field-set';
|
|
18
|
+
export { FieldRow } from './field-row';
|
|
@@ -1,140 +1,182 @@
|
|
|
1
1
|
export { fieldContext, formContext, useFieldContext, useFormContext } from './form-contexts';
|
|
2
2
|
export declare const useAppForm: <TFormData, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: import('@tanstack/react-form').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 FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
3
4
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
4
5
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
6
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
5
7
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
6
8
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
7
9
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
8
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
9
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
10
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
11
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
10
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
12
11
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
13
12
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
13
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
14
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
15
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
14
16
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
17
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
15
18
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
16
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
17
19
|
}, {
|
|
18
20
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
21
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
19
22
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
23
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
24
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
25
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
20
26
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
21
27
|
}>, withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({ render, props, defaultValues, }: import('@tanstack/react-form').WithFieldGroupProps<TFieldGroupData, {
|
|
28
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
22
29
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
23
30
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
31
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
24
32
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
25
33
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
26
34
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
27
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
28
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
29
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
30
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
35
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
31
36
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
32
37
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
38
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
39
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
40
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
33
41
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
42
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
34
43
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
35
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
36
44
|
}, {
|
|
37
45
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
46
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
38
47
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
48
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
49
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
50
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
39
51
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
40
52
|
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends import('@tanstack/react-form').DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | import('@tanstack/react-form').FieldsMap<TFormData, TFieldGroupData>, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: import('react').PropsWithChildren<NoInfer<TRenderProps> & {
|
|
41
53
|
form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
54
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
42
55
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
43
56
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
57
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
44
58
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
45
59
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
46
60
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
47
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
48
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
49
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
50
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
61
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
51
62
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
52
63
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
64
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
65
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
66
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
53
67
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
68
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
54
69
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
55
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
56
70
|
}, {
|
|
57
71
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
72
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
58
73
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
74
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
75
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
76
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
59
77
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
60
78
|
}> | import('@tanstack/react-form').AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import('@tanstack/react-form').FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
79
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
61
80
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
62
81
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
82
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
63
83
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
64
84
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
65
85
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
66
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
67
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
68
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
69
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
86
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
70
87
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
71
88
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
89
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
90
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
91
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
72
92
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
93
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
73
94
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
74
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
75
95
|
}, {
|
|
76
96
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
97
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
77
98
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
99
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
100
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
101
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
78
102
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
79
103
|
}>;
|
|
80
104
|
fields: TFields;
|
|
81
105
|
}>) => ReturnType<import('react').FunctionComponent>, withForm: <TFormData, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').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, {
|
|
106
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
82
107
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
83
108
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
109
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
84
110
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
85
111
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
86
112
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
87
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
88
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
89
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
90
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
113
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
91
114
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
92
115
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
116
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
117
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
118
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
93
119
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
120
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
94
121
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
95
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
96
122
|
}, {
|
|
97
123
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
124
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
98
125
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
126
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
127
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
128
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
99
129
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
100
130
|
}, TRenderProps>) => import('react').FunctionComponent<import('react').PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
101
131
|
form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
132
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
102
133
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
103
134
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
135
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
104
136
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
105
137
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
106
138
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
107
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
108
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
109
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
110
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
139
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
111
140
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
112
141
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
142
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
143
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
144
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
113
145
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
146
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
114
147
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
115
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
116
148
|
}, {
|
|
117
149
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
150
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
118
151
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
152
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
153
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
154
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
119
155
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
120
156
|
}>;
|
|
121
157
|
}>>, useTypedAppFormContext: <TFormData, TOnMount extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/react-form').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/react-form').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(_props: import('@tanstack/react-form').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, {
|
|
158
|
+
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
122
159
|
readonly FieldDescription: ({ className, children, ref, ...props }: import('..').FieldDescriptionProps) => import("react").JSX.Element;
|
|
123
160
|
readonly FieldErrors: ({ className, children, ref, ...props }: import('..').FieldErrorProps) => import("react").JSX.Element | null;
|
|
161
|
+
readonly FieldRow: ({ className, children, ref, ...props }: import('..').FieldRowProps) => import("react").JSX.Element;
|
|
124
162
|
readonly FieldInput: ({ className, children, ref, ...props }: import('..').FieldInputProps) => import("react").JSX.Element;
|
|
125
163
|
readonly FieldInputGroup: ({ className, children, ref, ...props }: import('..').FieldInputGroupProps) => import("react").JSX.Element;
|
|
126
164
|
readonly FieldInputGroupInput: ({ className, ref, ...props }: import('..').FieldInputGroupInputProps) => import("react").JSX.Element;
|
|
127
|
-
readonly FieldLabel: ({ className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
128
|
-
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
129
|
-
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
130
|
-
readonly FieldCheckbox: ({ ...props }: import('..').FieldCheckboxProps) => import("react").JSX.Element;
|
|
165
|
+
readonly FieldLabel: ({ size, variant, showRequired, className, children, ref, ...props }: import('..').FieldLabelProps) => import("react").JSX.Element;
|
|
131
166
|
readonly FieldRadio: ({ children, ...props }: import('..').FieldRadioProps) => import("react").JSX.Element;
|
|
132
167
|
readonly FieldRadioGroup: ({ children, ...props }: import('..').FieldRadioGroupProps) => import("react").JSX.Element;
|
|
168
|
+
readonly FieldSelect: ({ children, ...props }: import('..').FieldSelectProps) => import("react").JSX.Element;
|
|
169
|
+
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
170
|
+
readonly FieldSlider: ({ className, ref, ...props }: import('..').FieldSliderProps) => import("react").JSX.Element;
|
|
133
171
|
readonly FieldSwitch: ({ ...props }: import('..').FieldSwitchProps) => import("react").JSX.Element;
|
|
172
|
+
readonly FieldTextArea: ({ className, ref, ...props }: import('..').FieldTextAreaProps) => import("react").JSX.Element;
|
|
134
173
|
readonly FieldToggle: ({ children, ...props }: import('..').FieldToggleProps) => import("react").JSX.Element;
|
|
135
|
-
readonly FieldSet: ({ className, children, ref, ...props }: import('..').FieldSetProps) => import("react").JSX.Element;
|
|
136
174
|
}, {
|
|
137
175
|
readonly FormErrors: ({ className, children, ref, ...props }: import('./form.types').FormErrorsProps) => import("react").JSX.Element;
|
|
176
|
+
readonly FormFooter: ({ orientation, className, children, ref, ...props }: import('./form.types').FormFooterProps) => import("react").JSX.Element;
|
|
138
177
|
readonly FormReset: ({ className, children, ref, ...props }: import('./form.types').FormResetProps) => import("react").JSX.Element;
|
|
178
|
+
readonly FormSet: ({ className, children, ref, ...props }: import('./form.types').FormSetProps) => import("react").JSX.Element;
|
|
179
|
+
readonly FormSetHeading: ({ className, children, ref, ...props }: import('./form.types').FormSetHeadingProps) => import("react").JSX.Element;
|
|
180
|
+
readonly FormSetContent: ({ className, children, ref, ...props }: import('./form.types').FormSetContentProps) => import("react").JSX.Element;
|
|
139
181
|
readonly FormSubmit: ({ className, children, ref, ...props }: import('./form.types').FormSubmitProps) => import("react").JSX.Element;
|
|
140
182
|
}>;
|
|
@@ -5,3 +5,9 @@ export type FormResetProps = React.ComponentProps<typeof Button>;
|
|
|
5
5
|
export type FormErrorsProps = React.ComponentProps<'div'> & {
|
|
6
6
|
headerLabel?: string;
|
|
7
7
|
};
|
|
8
|
+
export type FormSetProps = React.ComponentProps<'div'>;
|
|
9
|
+
export type FormSetHeadingProps = React.ComponentProps<'span'>;
|
|
10
|
+
export type FormSetContentProps = React.ComponentProps<'div'>;
|
|
11
|
+
export type FormFooterProps = React.ComponentProps<'div'> & {
|
|
12
|
+
orientation?: 'horizontal' | 'vertical';
|
|
13
|
+
};
|
|
@@ -4,3 +4,7 @@ export { fieldContext, formContext, useAppForm, useFieldContext, useFormContext,
|
|
|
4
4
|
export { FormErrors } from './form-errors';
|
|
5
5
|
export { FormReset } from './form-reset';
|
|
6
6
|
export { FormSubmit } from './form-submit';
|
|
7
|
+
export { FormFooter } from './form-footer';
|
|
8
|
+
export { FormSet } from './form-set';
|
|
9
|
+
export { FormSetContent } from './form-set-content';
|
|
10
|
+
export { FormSetHeading } from './form-set-heading';
|
|
@@ -12,8 +12,10 @@ export * from './checkbox';
|
|
|
12
12
|
export * from './checkbox-group';
|
|
13
13
|
export * from './code-block';
|
|
14
14
|
export * from './collapsible';
|
|
15
|
-
export * from './
|
|
15
|
+
export * from './colour-channel-slider';
|
|
16
|
+
export * from './colour-picker';
|
|
16
17
|
export * from './combobox';
|
|
18
|
+
export * from './context-menu';
|
|
17
19
|
export * from './dialog';
|
|
18
20
|
export * from './drawer';
|
|
19
21
|
export * from './dropzone';
|
|
@@ -27,6 +29,7 @@ export * from './label';
|
|
|
27
29
|
export * from './layer-tree';
|
|
28
30
|
export * from './menu';
|
|
29
31
|
export * from './meter';
|
|
32
|
+
export * from './nav-bar';
|
|
30
33
|
export * from './navigation-menu';
|
|
31
34
|
export * from './number-field';
|
|
32
35
|
export * from './popover';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { NavBarProps, NavBarItemIconProps, NavBarItemProps, NavBarItemLabelProps, } from './nav-bar.types';
|
|
2
|
+
export { NavBar } from './nav-bar';
|
|
3
|
+
export { NavBarItem } from './nav-bar-item';
|
|
4
|
+
export { NavBarItemIcon } from './nav-bar-item-icon';
|
|
5
|
+
export { NavBarItemLabel } from './nav-bar-item-label';
|