@spark-ui/components 10.17.12 → 10.18.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/Input-g0LpWuv0.d.mts +17 -0
- package/dist/Input-g0LpWuv0.d.ts +17 -0
- package/dist/{Input-N8AWWSmt.d.mts → InputTrailingIcon-CZD9hydv.d.ts} +14 -10
- package/dist/{Input-N8AWWSmt.d.ts → InputTrailingIcon-DzmwLGtX.d.mts} +14 -10
- package/dist/docgen.json +285 -915
- package/dist/input/index.d.mts +3 -4
- package/dist/input/index.d.ts +3 -4
- package/dist/stepper/index.d.mts +51 -54
- package/dist/stepper/index.d.ts +51 -54
- package/dist/stepper/index.js +113 -1679
- package/dist/stepper/index.js.map +1 -1
- package/dist/stepper/index.mjs +135 -201
- 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 +5 -7
- package/dist/InputTrailingIcon-BBp7sE6D.d.mts +0 -20
- package/dist/InputTrailingIcon-ZZx8PoJy.d.ts +0 -20
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
|
+
|
|
4
|
+
type InputPrimitiveProps = ComponentPropsWithoutRef<'input'>;
|
|
5
|
+
interface InputProps extends InputPrimitiveProps {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
onValueChange?: (value: string) => void;
|
|
8
|
+
ref?: Ref<HTMLInputElement>;
|
|
9
|
+
}
|
|
10
|
+
declare const Input: {
|
|
11
|
+
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
} & {
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { type InputProps as I, Input as a };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentPropsWithoutRef, Ref } from 'react';
|
|
3
|
+
|
|
4
|
+
type InputPrimitiveProps = ComponentPropsWithoutRef<'input'>;
|
|
5
|
+
interface InputProps extends InputPrimitiveProps {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
onValueChange?: (value: string) => void;
|
|
8
|
+
ref?: Ref<HTMLInputElement>;
|
|
9
|
+
}
|
|
10
|
+
declare const Input: {
|
|
11
|
+
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
} & {
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { type InputProps as I, Input as a };
|
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
|
|
6
7
|
declare const inputGroupStyles: (props?: ({
|
|
7
8
|
disabled?: boolean | null | undefined;
|
|
@@ -25,17 +26,20 @@ declare const InputGroup: {
|
|
|
25
26
|
displayName: string;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
|
-
type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
declare const Input: {
|
|
35
|
-
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
type InputIconProps = IconProps;
|
|
30
|
+
|
|
31
|
+
type InputLeadingIconProps = InputIconProps;
|
|
32
|
+
declare const InputLeadingIcon: {
|
|
33
|
+
({ className, ...others }: InputLeadingIconProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
id: string;
|
|
36
35
|
displayName: string;
|
|
37
|
-
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type InputTrailingIconProps = InputIconProps;
|
|
39
|
+
declare const InputTrailingIcon: {
|
|
40
|
+
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
38
41
|
id: string;
|
|
42
|
+
displayName: string;
|
|
39
43
|
};
|
|
40
44
|
|
|
41
|
-
export { type InputGroupProps as I, type
|
|
45
|
+
export { type InputGroupProps as I, type InputLeadingIconProps as a, type InputTrailingIconProps as b, InputGroup as c, InputLeadingIcon as d, InputTrailingIcon as e };
|
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
|
|
6
7
|
declare const inputGroupStyles: (props?: ({
|
|
7
8
|
disabled?: boolean | null | undefined;
|
|
@@ -25,17 +26,20 @@ declare const InputGroup: {
|
|
|
25
26
|
displayName: string;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
|
-
type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
declare const Input: {
|
|
35
|
-
({ className, asChild, onValueChange, onChange, onKeyDown, disabled: disabledProp, readOnly: readOnlyProp, ref, ...others }: InputProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
type InputIconProps = IconProps;
|
|
30
|
+
|
|
31
|
+
type InputLeadingIconProps = InputIconProps;
|
|
32
|
+
declare const InputLeadingIcon: {
|
|
33
|
+
({ className, ...others }: InputLeadingIconProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
id: string;
|
|
36
35
|
displayName: string;
|
|
37
|
-
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
type InputTrailingIconProps = InputIconProps;
|
|
39
|
+
declare const InputTrailingIcon: {
|
|
40
|
+
({ className, ...others }: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
|
|
38
41
|
id: string;
|
|
42
|
+
displayName: string;
|
|
39
43
|
};
|
|
40
44
|
|
|
41
|
-
export { type InputGroupProps as I, type
|
|
45
|
+
export { type InputGroupProps as I, type InputLeadingIconProps as a, type InputTrailingIconProps as b, InputGroup as c, InputLeadingIcon as d, InputTrailingIcon as e };
|