@wavv/ui 2.0.0-alpha.21 → 2.0.0-alpha.23
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/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/components/Inputs/NumberInput.d.ts +2 -2
- package/build/cjs/types/components/Inputs/TextInput.d.ts +2 -2
- package/build/cjs/types/components/types.d.ts +2 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/components/Inputs/NumberInput.d.ts +2 -2
- package/build/esm/types/components/Inputs/TextInput.d.ts +2 -2
- package/build/esm/types/components/types.d.ts +2 -0
- package/build/index.d.ts +6 -4
- package/build/types/components/Inputs/NumberInput.d.ts +2 -2
- package/build/types/components/Inputs/TextInput.d.ts +2 -2
- package/build/types/components/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NumberFieldProps } from 'react-aria-components';
|
|
2
2
|
import { InputProps } from '../types';
|
|
3
|
-
type Props = InputProps & Omit<NumberFieldProps, 'isDisabled'>;
|
|
4
|
-
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type Props = InputProps & Omit<NumberFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
4
|
+
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default NumberInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextFieldProps } from 'react-aria-components';
|
|
2
2
|
import { InputProps } from '../types';
|
|
3
|
-
type Props = InputProps & Omit<TextFieldProps, 'isDisabled'>;
|
|
4
|
-
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type Props = InputProps & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
4
|
+
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default TextInput;
|
package/build/index.d.ts
CHANGED
|
@@ -1065,6 +1065,8 @@ type InputProps$1 = {
|
|
|
1065
1065
|
isLoading?: boolean;
|
|
1066
1066
|
/** Disables the input */
|
|
1067
1067
|
disabled?: boolean;
|
|
1068
|
+
/** Prevents the input from being edited */
|
|
1069
|
+
readOnly?: boolean;
|
|
1068
1070
|
} & InputContainerStyleProps & Omit<InputElementStyleProps, 'isDisabled'>;
|
|
1069
1071
|
|
|
1070
1072
|
type TriggerProp = {
|
|
@@ -2146,11 +2148,11 @@ type Props$8 = {
|
|
|
2146
2148
|
} & DateInputProps & PickerProps;
|
|
2147
2149
|
declare const DateRangePicker: ({ startValue, endValue, label, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, preventPast, preventFuture, onChange, afterShow, afterHide, ...props }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
2148
2150
|
|
|
2149
|
-
type Props$7 = InputProps$1 & Omit<NumberFieldProps, 'isDisabled'>;
|
|
2150
|
-
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, onChange, ...props }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
2151
|
+
type Props$7 = InputProps$1 & Omit<NumberFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
2152
|
+
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, onChange, ...props }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
2151
2153
|
|
|
2152
|
-
type Props$6 = InputProps$1 & Omit<TextFieldProps, 'isDisabled'>;
|
|
2153
|
-
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, ...props }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
2154
|
+
type Props$6 = InputProps$1 & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
2155
|
+
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, ...props }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
2154
2156
|
|
|
2155
2157
|
type LabelProps = {
|
|
2156
2158
|
children?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NumberFieldProps } from 'react-aria-components';
|
|
2
2
|
import { InputProps } from '../types';
|
|
3
|
-
type Props = InputProps & Omit<NumberFieldProps, 'isDisabled'>;
|
|
4
|
-
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type Props = InputProps & Omit<NumberFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
4
|
+
declare const NumberInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, onChange, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default NumberInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TextFieldProps } from 'react-aria-components';
|
|
2
2
|
import { InputProps } from '../types';
|
|
3
|
-
type Props = InputProps & Omit<TextFieldProps, 'isDisabled'>;
|
|
4
|
-
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, description, errorMessage, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type Props = InputProps & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly'>;
|
|
4
|
+
declare const TextInput: ({ value, label, placeholder, inputRef, iconLeft, iconRight, isLoading, fontSize, placeholderColor, disabled, readOnly, description, errorMessage, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default TextInput;
|