@rebilly/revel 12.49.0 → 12.50.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [12.49.0](https://github.com/Rebilly/rebilly/compare/revel-v12.48.0...revel-v12.49.0) (2026-07-22)
1
+ ## [12.50.0](https://github.com/Rebilly/rebilly/compare/revel-v12.49.1...revel-v12.50.0) (2026-07-29)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **recomm,revel:** Escape reserver characters on paste in filter text ([#23854](https://github.com/Rebilly/rebilly/issues/23854)) ([3688302](https://github.com/Rebilly/rebilly/commit/368830228589da27de2fcf9c433812cf9628e22c))
6
+ * **revel:** Add validation to r-file-dropzone component ([#24166](https://github.com/Rebilly/rebilly/issues/24166)) ([ae48055](https://github.com/Rebilly/rebilly/commit/ae480555f6dd5904a78aa3ec3a101a33c61976a7))
@@ -1,4 +1,5 @@
1
1
  import { type RevelFile } from './types';
2
+ import type { ValidationState } from '../../types';
2
3
  type PreviewType = 'list' | 'gallery';
3
4
  interface Props {
4
5
  /**
@@ -29,6 +30,14 @@ interface Props {
29
30
  * Maximum file size in MB. Files larger than this will be omitted when dropped.
30
31
  */
31
32
  maxFileSize?: number | undefined;
33
+ /**
34
+ * Validation result sent by Vuelidate
35
+ */
36
+ validate?: Nullable<ValidationState>;
37
+ /**
38
+ * Show validation messages
39
+ */
40
+ showValidateMessages?: boolean;
32
41
  }
33
42
  declare var __VLS_1: {};
34
43
  type __VLS_Slots = {} & {
@@ -40,6 +49,8 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
40
49
  "onUpdate:modelValue"?: ((arg: RevelFile | RevelFile[]) => any) | undefined;
41
50
  }>, {
42
51
  disabled: boolean;
52
+ validate: Nullable<ValidationState>;
53
+ showValidateMessages: boolean;
43
54
  multiple: boolean;
44
55
  accept: string;
45
56
  previewType: PreviewType;
@@ -128,6 +128,8 @@ export declare const RIconNames: {
128
128
  trophy: string;
129
129
  'data-tables': string;
130
130
  comments: string;
131
+ expand: string;
132
+ reduce: string;
131
133
  };
132
134
  export declare const RIconColors: {
133
135
  default: string;