@spark-ui/components 10.19.3 → 10.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{InputTrailingIcon-CZD9hydv.d.ts → Input-N8AWWSmt.d.mts} +10 -14
- package/dist/{InputTrailingIcon-DzmwLGtX.d.mts → Input-N8AWWSmt.d.ts} +10 -14
- package/dist/InputTrailingIcon-BBp7sE6D.d.mts +20 -0
- package/dist/InputTrailingIcon-ZZx8PoJy.d.ts +20 -0
- package/dist/docgen.json +913 -283
- package/dist/input/index.d.mts +4 -3
- package/dist/input/index.d.ts +4 -3
- package/dist/stepper/index.d.mts +54 -51
- package/dist/stepper/index.d.ts +54 -51
- package/dist/stepper/index.js +1677 -119
- package/dist/stepper/index.js.map +1 -1
- package/dist/stepper/index.mjs +201 -144
- package/dist/stepper/index.mjs.map +1 -1
- package/dist/textarea/index.d.mts +2 -2
- package/dist/textarea/index.d.ts +2 -2
- package/package.json +7 -5
- package/dist/Input-g0LpWuv0.d.mts +0 -17
- package/dist/Input-g0LpWuv0.d.ts +0 -17
|
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { PropsWithChildren, ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { IconProps } from './icon/index.js';
|
|
6
5
|
|
|
7
6
|
declare const inputGroupStyles: (props?: ({
|
|
8
7
|
disabled?: boolean | null | undefined;
|
|
@@ -26,20 +25,17 @@ declare const InputGroup: {
|
|
|
26
25
|
displayName: string;
|
|
27
26
|
};
|
|
28
27
|
|
|
29
|
-
type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
type InputPrimitiveProps = ComponentPropsWithoutRef<'input'>;
|
|
29
|
+
interface InputProps extends InputPrimitiveProps {
|
|
30
|
+
asChild?: boolean;
|
|
31
|
+
onValueChange?: (value: string) => void;
|
|
32
|
+
ref?: Ref<HTMLInputElement>;
|
|
33
|
+
}
|
|
34
|
+
declare const Input: {
|
|
35
|
+
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
35
36
|
displayName: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
type InputTrailingIconProps = InputIconProps;
|
|
39
|
-
declare const InputTrailingIcon: {
|
|
40
|
-
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
} & {
|
|
41
38
|
id: string;
|
|
42
|
-
displayName: string;
|
|
43
39
|
};
|
|
44
40
|
|
|
45
|
-
export { type InputGroupProps as I, type
|
|
41
|
+
export { type InputGroupProps as I, type InputProps as a, InputGroup as b, Input as c };
|
|
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { PropsWithChildren, ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { IconProps } from './icon/index.mjs';
|
|
6
5
|
|
|
7
6
|
declare const inputGroupStyles: (props?: ({
|
|
8
7
|
disabled?: boolean | null | undefined;
|
|
@@ -26,20 +25,17 @@ declare const InputGroup: {
|
|
|
26
25
|
displayName: string;
|
|
27
26
|
};
|
|
28
27
|
|
|
29
|
-
type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
type InputPrimitiveProps = ComponentPropsWithoutRef<'input'>;
|
|
29
|
+
interface InputProps extends InputPrimitiveProps {
|
|
30
|
+
asChild?: boolean;
|
|
31
|
+
onValueChange?: (value: string) => void;
|
|
32
|
+
ref?: Ref<HTMLInputElement>;
|
|
33
|
+
}
|
|
34
|
+
declare const Input: {
|
|
35
|
+
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
35
36
|
displayName: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
type InputTrailingIconProps = InputIconProps;
|
|
39
|
-
declare const InputTrailingIcon: {
|
|
40
|
-
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
} & {
|
|
41
38
|
id: string;
|
|
42
|
-
displayName: string;
|
|
43
39
|
};
|
|
44
40
|
|
|
45
|
-
export { type InputGroupProps as I, type
|
|
41
|
+
export { type InputGroupProps as I, type InputProps as a, InputGroup as b, Input as c };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { IconProps } from './icon/index.mjs';
|
|
3
|
+
|
|
4
|
+
type InputIconProps = IconProps;
|
|
5
|
+
|
|
6
|
+
type InputLeadingIconProps = InputIconProps;
|
|
7
|
+
declare const InputLeadingIcon: {
|
|
8
|
+
({ className, ...others }: InputLeadingIconProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
id: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
type InputTrailingIconProps = InputIconProps;
|
|
14
|
+
declare const InputTrailingIcon: {
|
|
15
|
+
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
id: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { type InputLeadingIconProps as I, type InputTrailingIconProps as a, InputLeadingIcon as b, InputTrailingIcon as c };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { IconProps } from './icon/index.js';
|
|
3
|
+
|
|
4
|
+
type InputIconProps = IconProps;
|
|
5
|
+
|
|
6
|
+
type InputLeadingIconProps = InputIconProps;
|
|
7
|
+
declare const InputLeadingIcon: {
|
|
8
|
+
({ className, ...others }: InputLeadingIconProps): react_jsx_runtime.JSX.Element;
|
|
9
|
+
id: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
type InputTrailingIconProps = InputIconProps;
|
|
14
|
+
declare const InputTrailingIcon: {
|
|
15
|
+
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
id: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { type InputLeadingIconProps as I, type InputTrailingIconProps as a, InputLeadingIcon as b, InputTrailingIcon as c };
|