vrfi-design-system 1.1.69 → 1.1.70

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/index.d.ts CHANGED
@@ -1242,7 +1242,7 @@ export { Typography }
1242
1242
 
1243
1243
  export { TypographyProps }
1244
1244
 
1245
- export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, multiple, ...rest }: UploadBaseProps) => default_2.JSX.Element;
1245
+ export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, multiple, primaryUploadText, secondaryUploadText, ...rest }: UploadBaseProps) => default_2.JSX.Element;
1246
1246
 
1247
1247
  export declare interface UploadBaseProps extends CustomUploadProps {
1248
1248
  name: string;
@@ -1250,6 +1250,8 @@ export declare interface UploadBaseProps extends CustomUploadProps {
1250
1250
  showUploadList?: boolean;
1251
1251
  uploadInputType?: UploadInputTypes_2;
1252
1252
  multiple?: boolean;
1253
+ primaryUploadText?: string;
1254
+ secondaryUploadText?: string;
1253
1255
  }
1254
1256
 
1255
1257
  export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
package/dist/main.es.js CHANGED
@@ -53012,27 +53012,31 @@ const Kb = ({
53012
53012
  showUploadList: n,
53013
53013
  supportedFileType: r,
53014
53014
  multiple: o,
53015
- ...a
53015
+ primaryUploadText: a,
53016
+ secondaryUploadText: i,
53017
+ ...l
53016
53018
  }) => {
53017
53019
  const {
53018
- field: i,
53019
- fieldState: { error: l }
53020
+ field: s,
53021
+ fieldState: { error: u }
53020
53022
  } = ho({
53021
53023
  name: e
53022
- }), s = (u) => {
53023
- t && t(u) === !1 || (n || !t) && i.onChange(u);
53024
+ }), d = (A) => {
53025
+ t && t(A) === !1 || (n || !t) && s.onChange(A);
53024
53026
  };
53025
53027
  return /* @__PURE__ */ M.jsxs(Ti, { children: [
53026
53028
  /* @__PURE__ */ M.jsx(
53027
53029
  Uae,
53028
53030
  {
53029
- onChange: s,
53030
- value: i.value || void 0,
53031
+ onChange: d,
53032
+ value: s.value || void 0,
53031
53033
  uploadIcon: ht.UPLOAD_ICON,
53032
- className: l ? "uploadError" : "",
53034
+ className: u ? "uploadError" : "",
53033
53035
  supportedFileType: r,
53034
53036
  multiple: o,
53035
- ...a
53037
+ primaryUploadText: a,
53038
+ secondaryUploadText: i,
53039
+ ...l
53036
53040
  }
53037
53041
  ),
53038
53042
  /* @__PURE__ */ M.jsx(Uo, { fieldName: e })