@konoma-development/react-components 0.1.2 → 0.1.4
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FormFieldProps } from './types.ts';
|
|
2
|
-
export default function Input<DataType>({ classes, wrapperClasses, labelClasses, iconLeftClasses, iconRightClasses, errorClasses, classesError, classesNeutral, additionalClassesIconLeft, additionalClassesIconRight, wrapperRightClasses, label, iconLeftPath, iconLeftName, iconRightPath, iconRightName, textRight, centered, error, required, name, value, mask, defaultValue, placeholder, className, onIconRightClick, onIconLeftClick, onChange, onClick, onKeyDown, onBlur, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function Input<DataType>({ classes, wrapperClasses, labelClasses, iconLeftClasses, iconRightClasses, errorClasses, classesError, classesNeutral, additionalClassesIconLeft, additionalClassesIconRight, wrapperRightClasses, label, iconLeftPath, iconLeftName, iconRightPath, iconRightName, textRight, centered, error, step, required, name, value, mask, defaultValue, placeholder, className, onIconRightClick, onIconLeftClick, onChange, onClick, onKeyDown, onBlur, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -100,6 +100,7 @@ export interface FormFieldProps<DataType> extends Classes {
|
|
|
100
100
|
searchable?: boolean;
|
|
101
101
|
textRight?: string;
|
|
102
102
|
type?: HTMLInputTypeAttribute;
|
|
103
|
+
step?: React.InputHTMLAttributes<HTMLInputElement>['step'];
|
|
103
104
|
initialHeight?: number;
|
|
104
105
|
mask?: Mask | Mask[];
|
|
105
106
|
min?: number;
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: (import("eslint").Linter.Config<import("eslint").Linter.RulesRecord> | {
|
|
2
2
|
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
3
|
-
} | import("
|
|
3
|
+
} | import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config | {
|
|
4
4
|
files: string[];
|
|
5
5
|
plugins: {
|
|
6
6
|
'simple-import-sort': import("eslint").ESLint.Plugin;
|
|
@@ -1147,10 +1147,24 @@ declare const _default: (import("eslint").Linter.Config<import("eslint").Linter.
|
|
|
1147
1147
|
};
|
|
1148
1148
|
rules: {
|
|
1149
1149
|
'@typescript-eslint/consistent-type-imports': string;
|
|
1150
|
-
'i18next/no-literal-string': string[];
|
|
1151
1150
|
'sort-imports': string[];
|
|
1152
1151
|
'simple-import-sort/imports': string;
|
|
1153
1152
|
'simple-import-sort/exports': string;
|
|
1153
|
+
'prettier/prettier': string;
|
|
1154
|
+
'arrow-body-style': string;
|
|
1155
|
+
'prefer-arrow-callback': string;
|
|
1156
|
+
radix: string;
|
|
1157
|
+
'no-underscore-dangle': string;
|
|
1158
|
+
'no-redeclare': string;
|
|
1159
|
+
'@typescript-eslint/no-redeclare': string;
|
|
1160
|
+
'no-param-reassign': string;
|
|
1161
|
+
'react/require-default-props': string;
|
|
1162
|
+
'react/jsx-props-no-spreading': string;
|
|
1163
|
+
'@typescript-eslint/naming-convention': string;
|
|
1164
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
1165
|
+
'react/no-array-index-key': string;
|
|
1166
|
+
'import/no-anonymous-default-export': string;
|
|
1167
|
+
curly: string[];
|
|
1154
1168
|
};
|
|
1155
1169
|
settings: {
|
|
1156
1170
|
react: {
|