@overmap-ai/forms 1.0.17-master.4 → 1.0.17-master.6
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/forms/builder/hooks.d.ts +1 -1
- package/dist/forms/constants.d.ts +7 -0
- package/dist/forms/fields/BaseField/hooks.d.ts +9 -9
- package/dist/forms.js +1723 -1711
- package/dist/forms.umd.cjs +12 -12
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FieldTypeIdentifier } from '../typings';
|
|
2
2
|
export declare const useFieldTypeItems: (onSelect?: (type: Exclude<FieldTypeIdentifier, "section">) => void) => {
|
|
3
3
|
children: string;
|
|
4
|
-
|
|
4
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload" | "qr";
|
|
6
6
|
onSelect: () => void;
|
|
7
7
|
}[][];
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
export declare const SHORT_TEXT_FIELD_MAX_LENGTH = 500;
|
|
2
2
|
export declare const LONG_TEXT_FIELD_MAX_LENGTH = 10000;
|
|
3
3
|
export declare const SEVERITY_COLOR_MAPPING: Record<"danger" | "warning" | "info" | "success", string>;
|
|
4
|
+
export declare const BREAKPOINTS: {
|
|
5
|
+
xs: string;
|
|
6
|
+
sm: string;
|
|
7
|
+
md: string;
|
|
8
|
+
lg: string;
|
|
9
|
+
xl: string;
|
|
10
|
+
};
|
|
@@ -302,9 +302,16 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
302
302
|
readonly onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLElement> | undefined;
|
|
303
303
|
readonly list?: string | undefined;
|
|
304
304
|
readonly default?: boolean | undefined;
|
|
305
|
-
readonly open?: boolean | undefined;
|
|
306
|
-
readonly width?: number | string | undefined;
|
|
307
305
|
readonly height?: number | string | undefined;
|
|
306
|
+
readonly max?: number | string | undefined;
|
|
307
|
+
readonly media?: string | undefined;
|
|
308
|
+
readonly method?: string | undefined;
|
|
309
|
+
readonly min?: number | string | undefined;
|
|
310
|
+
readonly target?: string | undefined;
|
|
311
|
+
readonly width?: number | string | undefined;
|
|
312
|
+
readonly crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
313
|
+
readonly href?: string | undefined;
|
|
314
|
+
readonly open?: boolean | undefined;
|
|
308
315
|
readonly src?: string | undefined;
|
|
309
316
|
readonly alt?: string | undefined;
|
|
310
317
|
readonly download?: any;
|
|
@@ -330,14 +337,12 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
330
337
|
readonly colSpan?: number | undefined;
|
|
331
338
|
readonly controls?: boolean | undefined;
|
|
332
339
|
readonly coords?: string | undefined;
|
|
333
|
-
readonly crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
334
340
|
readonly dateTime?: string | undefined;
|
|
335
341
|
readonly defer?: boolean | undefined;
|
|
336
342
|
readonly encType?: string | undefined;
|
|
337
343
|
readonly frameBorder?: number | string | undefined;
|
|
338
344
|
readonly headers?: string | undefined;
|
|
339
345
|
readonly high?: number | undefined;
|
|
340
|
-
readonly href?: string | undefined;
|
|
341
346
|
readonly hrefLang?: string | undefined;
|
|
342
347
|
readonly htmlFor?: string | undefined;
|
|
343
348
|
readonly httpEquiv?: string | undefined;
|
|
@@ -350,12 +355,8 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
350
355
|
readonly manifest?: string | undefined;
|
|
351
356
|
readonly marginHeight?: number | undefined;
|
|
352
357
|
readonly marginWidth?: number | undefined;
|
|
353
|
-
readonly max?: number | string | undefined;
|
|
354
358
|
readonly maxLength?: number | undefined;
|
|
355
|
-
readonly media?: string | undefined;
|
|
356
359
|
readonly mediaGroup?: string | undefined;
|
|
357
|
-
readonly method?: string | undefined;
|
|
358
|
-
readonly min?: number | string | undefined;
|
|
359
360
|
readonly minLength?: number | undefined;
|
|
360
361
|
readonly multiple?: boolean | undefined;
|
|
361
362
|
readonly muted?: boolean | undefined;
|
|
@@ -381,7 +382,6 @@ export declare const useFormikInput: <TField extends AnyField>(props: ComponentP
|
|
|
381
382
|
readonly srcLang?: string | undefined;
|
|
382
383
|
readonly srcSet?: string | undefined;
|
|
383
384
|
readonly start?: number | undefined;
|
|
384
|
-
readonly target?: string | undefined;
|
|
385
385
|
readonly useMap?: string | undefined;
|
|
386
386
|
readonly wmode?: string | undefined;
|
|
387
387
|
readonly wrap?: string | undefined;
|