@contentstudio/ui 0.2.26-rc.26 → 0.2.27-rc.27
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/index.d.ts +32 -26
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6786,6 +6786,8 @@ export declare interface TextareaProps {
|
|
|
6786
6786
|
class?: string;
|
|
6787
6787
|
/** Custom class for the input */
|
|
6788
6788
|
inputClass?: string;
|
|
6789
|
+
/** Maximum number of characters allowed */
|
|
6790
|
+
maxLength?: number;
|
|
6789
6791
|
}
|
|
6790
6792
|
|
|
6791
6793
|
export { TextInput }
|
|
@@ -6799,42 +6801,46 @@ export declare interface TextInputProps {
|
|
|
6799
6801
|
modelValue?: string;
|
|
6800
6802
|
/** Input's placeholder */
|
|
6801
6803
|
placeholder?: string;
|
|
6802
|
-
/** Disabled state */
|
|
6803
|
-
disabled?: boolean;
|
|
6804
6804
|
/** Input label */
|
|
6805
6805
|
label?: string;
|
|
6806
|
-
/** Label props */
|
|
6807
|
-
labelProps?: SectionProps;
|
|
6808
6806
|
/** Description text shown below the input */
|
|
6809
6807
|
description?: string;
|
|
6810
|
-
/** Description props */
|
|
6811
|
-
descriptionProps?: SectionProps;
|
|
6812
6808
|
/** Error message */
|
|
6813
6809
|
error?: string;
|
|
6814
|
-
/**
|
|
6815
|
-
|
|
6816
|
-
/**
|
|
6817
|
-
|
|
6818
|
-
/**
|
|
6819
|
-
|
|
6820
|
-
/** Input size */
|
|
6821
|
-
size?: ComponentSize;
|
|
6822
|
-
/** Border-radius value */
|
|
6823
|
-
radius?: ComponentRadius;
|
|
6810
|
+
/** Display error state */
|
|
6811
|
+
hasError?: boolean;
|
|
6812
|
+
/** Disabled state */
|
|
6813
|
+
disabled?: boolean;
|
|
6814
|
+
/** Readonly state */
|
|
6815
|
+
readonly?: boolean;
|
|
6824
6816
|
/** Determines whether required asterisk should be rendered */
|
|
6825
6817
|
required?: boolean;
|
|
6826
6818
|
/** Show asterisk even if field is not required */
|
|
6827
6819
|
withAsterisk?: boolean;
|
|
6828
|
-
/**
|
|
6829
|
-
|
|
6830
|
-
/**
|
|
6831
|
-
|
|
6832
|
-
/**
|
|
6833
|
-
|
|
6834
|
-
/**
|
|
6835
|
-
|
|
6836
|
-
/**
|
|
6837
|
-
|
|
6820
|
+
/** Show both error and description */
|
|
6821
|
+
showBothErrorAndDescription?: boolean;
|
|
6822
|
+
/** Props passed to input element */
|
|
6823
|
+
inputProps?: Record<string, any>;
|
|
6824
|
+
/** Input size */
|
|
6825
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6826
|
+
/** Input variant */
|
|
6827
|
+
variant?: 'default' | 'filled' | 'unstyled';
|
|
6828
|
+
/** Border-radius value */
|
|
6829
|
+
radius?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
6830
|
+
/** Custom class for the component */
|
|
6831
|
+
class?: string;
|
|
6832
|
+
/** Take full width of container */
|
|
6833
|
+
fullWidth?: boolean;
|
|
6834
|
+
/** Input pattern attribute */
|
|
6835
|
+
pattern?: string;
|
|
6836
|
+
/** Input title attribute */
|
|
6837
|
+
title?: string;
|
|
6838
|
+
/** Custom class for the input element */
|
|
6839
|
+
inputClass?: string;
|
|
6840
|
+
/** Custom class for the input container */
|
|
6841
|
+
inputContainerClass?: string;
|
|
6842
|
+
/** Maximum number of characters allowed */
|
|
6843
|
+
maxLength?: number;
|
|
6838
6844
|
}
|
|
6839
6845
|
|
|
6840
6846
|
export declare const THEME_INJECTION_KEY: InjectionKey<ReturnType<typeof useTheme>>;
|