@habit.analytics/habit-claims-journey-components 2.3.3 → 2.3.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.
- package/README.md +45 -0
- package/dist/components/journey-builder/preview-widgets/MultiUploadWidget.d.ts +20 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/index.cjs +63 -63
- package/dist/index.mjs +4950 -4640
- package/dist/schemas/form-config.schema.json.d.ts +3 -1
- package/dist/types/journey.d.ts +4 -0
- package/package.json +1 -1
|
@@ -44,7 +44,9 @@ declare const _default: {
|
|
|
44
44
|
"additionalProperties": false,
|
|
45
45
|
"properties": {
|
|
46
46
|
"accept": { "type": "string", "description": "HTML accept attribute (MIME types or extensions)." },
|
|
47
|
-
"maxSizeMB": { "type": "number", "minimum": 0 }
|
|
47
|
+
"maxSizeMB": { "type": "number", "minimum": 0, "description": "Maximum file size in MB." },
|
|
48
|
+
"multiple": { "type": "boolean", "description": "When true, the field accepts multiple files." },
|
|
49
|
+
"maxFiles": { "type": "number", "minimum": 1, "description": "Maximum number of files when multiple is true." }
|
|
48
50
|
}
|
|
49
51
|
},
|
|
50
52
|
"FormField": {
|
package/dist/types/journey.d.ts
CHANGED
|
@@ -72,6 +72,10 @@ export interface UploadConfig {
|
|
|
72
72
|
accept?: string;
|
|
73
73
|
/** Maximum file size in megabytes. Files exceeding this limit are rejected client-side. */
|
|
74
74
|
maxSizeMB?: number;
|
|
75
|
+
/** When `true`, the widget allows uploading multiple files. When `false` or omitted, only a single file is allowed. */
|
|
76
|
+
multiple?: boolean;
|
|
77
|
+
/** Maximum number of files allowed when `multiple` is `true`. No limit when omitted or `0`. */
|
|
78
|
+
maxFiles?: number;
|
|
75
79
|
}
|
|
76
80
|
/**
|
|
77
81
|
* Internal data shape for a node on the React Flow canvas.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@habit.analytics/habit-claims-journey-components",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"author": "Habit (https://www.habit.io/)",
|
|
5
5
|
"description": "Visual graph-based journey builder and step-by-step form runner React widgets for claims workflows",
|
|
6
6
|
"keywords": [
|