@acvl/frontend-components 0.0.36 → 0.0.38

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.
@@ -3,6 +3,7 @@ import React from "react";
3
3
  import { ButtonProps } from "@mui/material";
4
4
  export interface ControlledFileFieldProps extends BaseControlledFieldProps {
5
5
  extraProps?: {
6
+ multiple?: boolean;
6
7
  slotProps?: {
7
8
  input?: {
8
9
  accept?: string;
@@ -21,6 +21,7 @@ export interface FieldProps {
21
21
  fieldName: string;
22
22
  value: any;
23
23
  method: any;
24
+ showOnDetail?: boolean;
24
25
  };
25
26
  filters?: FieldFilter[];
26
27
  navigation?: {
@@ -4,7 +4,7 @@ import { ReactNode } from "react";
4
4
  import { FieldValidationProps, EditReadOnlyFields } from "../types";
5
5
  import { PageType } from "../../../../types";
6
6
  export interface SectionProps {
7
- display?: boolean | FieldValidationProps;
7
+ display?: boolean | FieldValidationProps | FieldValidationProps[];
8
8
  data?: any;
9
9
  form?: any;
10
10
  bgColor?: string;
package/dist/index.d.ts CHANGED
@@ -476,6 +476,7 @@ declare const ControlledTimePicker: (props: Props$3) => react_jsx_runtime.JSX.El
476
476
 
477
477
  interface ControlledFileFieldProps extends BaseControlledFieldProps {
478
478
  extraProps?: {
479
+ multiple?: boolean;
479
480
  slotProps?: {
480
481
  input?: {
481
482
  accept?: string;
@@ -563,6 +564,7 @@ interface FieldProps {
563
564
  fieldName: string;
564
565
  value: any;
565
566
  method: any;
567
+ showOnDetail?: boolean;
566
568
  };
567
569
  filters?: FieldFilter[];
568
570
  navigation?: {
@@ -610,7 +612,7 @@ interface ArrayFieldProps {
610
612
  }
611
613
 
612
614
  interface SectionProps {
613
- display?: boolean | FieldValidationProps;
615
+ display?: boolean | FieldValidationProps | FieldValidationProps[];
614
616
  data?: any;
615
617
  form?: any;
616
618
  bgColor?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acvl/frontend-components",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "Component library for ACV frontend projects.",
5
5
  "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
6
  "access": "public",