@frigade/react 1.32.37 → 1.32.39
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/lib/index.d.ts +2 -1
- package/lib/index.js +264 -260
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +265 -261
- package/lib/index.mjs.map +1 -1
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -162,6 +162,7 @@ interface BaseTheme {
|
|
|
162
162
|
colorTextOnPrimaryBackground?: string;
|
|
163
163
|
colorTextSecondary?: string;
|
|
164
164
|
colorTextDisabled?: string;
|
|
165
|
+
colorTextError?: string;
|
|
165
166
|
colorBorder?: string;
|
|
166
167
|
fontSize?: string | number;
|
|
167
168
|
fontSmoothing?: string;
|
|
@@ -356,7 +357,7 @@ interface FormInputType {
|
|
|
356
357
|
validation?: InputValidation;
|
|
357
358
|
}
|
|
358
359
|
interface InputValidation {
|
|
359
|
-
type: string;
|
|
360
|
+
type: 'number' | 'string' | 'email' | 'phone' | 'date' | 'time' | 'datetime' | 'url' | 'custom' | 'password';
|
|
360
361
|
requiredError?: string;
|
|
361
362
|
invalidTypeError?: string;
|
|
362
363
|
props?: InputValidationRuleProps[];
|