@m4l/layouts 9.3.11 → 9.3.12-BE021025-beta.2

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.
@@ -50,6 +50,7 @@ export declare const colorsLight: {
50
50
  readonly primary: string;
51
51
  readonly secondary: string;
52
52
  readonly disabled: string;
53
+ readonly contrastText: string;
53
54
  };
54
55
  readonly background: {
55
56
  readonly default: string;
@@ -59,6 +60,7 @@ export declare const colorsLight: {
59
60
  readonly backdrop: string;
60
61
  readonly base: string;
61
62
  readonly blur: string;
63
+ readonly contrastDefault: string;
62
64
  readonly paper: "#fff";
63
65
  };
64
66
  readonly chips: {
@@ -73,6 +75,7 @@ export declare const colorsLight: {
73
75
  readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
74
76
  readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
75
77
  readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
78
+ readonly sheetGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
76
79
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
77
80
  readonly primary: {
78
81
  readonly outlined: {
@@ -253,6 +256,7 @@ export declare const colorsLight: {
253
256
  readonly primary: string;
254
257
  readonly secondary: string;
255
258
  readonly disabled: string;
259
+ readonly contrastText: string;
256
260
  };
257
261
  readonly divider: string;
258
262
  readonly background: {
@@ -263,6 +267,7 @@ export declare const colorsLight: {
263
267
  readonly backdrop: string;
264
268
  readonly base: string;
265
269
  readonly blur: string;
270
+ readonly contrastDefault: string;
266
271
  readonly paper: "#000";
267
272
  };
268
273
  readonly chips: {
@@ -277,6 +282,7 @@ export declare const colorsLight: {
277
282
  readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
278
283
  readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
279
284
  readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
285
+ readonly sheetGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
280
286
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
281
287
  readonly primary: {
282
288
  readonly outlined: {
@@ -459,6 +465,7 @@ export declare const colorsDark: {
459
465
  readonly primary: string;
460
466
  readonly secondary: string;
461
467
  readonly disabled: string;
468
+ readonly contrastText: string;
462
469
  };
463
470
  readonly background: {
464
471
  readonly default: string;
@@ -468,6 +475,7 @@ export declare const colorsDark: {
468
475
  readonly backdrop: string;
469
476
  readonly base: string;
470
477
  readonly blur: string;
478
+ readonly contrastDefault: string;
471
479
  readonly paper: "#fff";
472
480
  };
473
481
  readonly chips: {
@@ -482,6 +490,7 @@ export declare const colorsDark: {
482
490
  readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
483
491
  readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
484
492
  readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
493
+ readonly sheetGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
485
494
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
486
495
  readonly primary: {
487
496
  readonly outlined: {
@@ -662,6 +671,7 @@ export declare const colorsDark: {
662
671
  readonly primary: string;
663
672
  readonly secondary: string;
664
673
  readonly disabled: string;
674
+ readonly contrastText: string;
665
675
  };
666
676
  readonly divider: string;
667
677
  readonly background: {
@@ -672,6 +682,7 @@ export declare const colorsDark: {
672
682
  readonly backdrop: string;
673
683
  readonly base: string;
674
684
  readonly blur: string;
685
+ readonly contrastDefault: string;
675
686
  readonly paper: "#000";
676
687
  };
677
688
  readonly chips: {
@@ -686,6 +697,7 @@ export declare const colorsDark: {
686
697
  readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
687
698
  readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
688
699
  readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
700
+ readonly sheetGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
689
701
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
690
702
  readonly primary: {
691
703
  readonly outlined: {
@@ -1,5 +1,5 @@
1
- import { PropertyValueProps, RHFTextFieldProps } from '@m4l/components';
2
- interface PropertyValueFieldBase extends Pick<PropertyValueProps, 'semanticWidth'> {
1
+ import { PropertyValueProps, RHFTextFieldProps, PaperFormProps } from '@m4l/components';
2
+ interface PropertyValueFieldBase extends Pick<PropertyValueProps, 'semanticWidth' | 'valueHeight'> {
3
3
  name: string;
4
4
  type: 'RHFTextField' | 'component';
5
5
  label?: string;
@@ -23,5 +23,7 @@ export type UseDynamicPaperFormProps = {
23
23
  title: string;
24
24
  urlIcon: string;
25
25
  isForm: boolean;
26
+ height?: PaperFormProps['height'];
27
+ variant?: PaperFormProps['variant'];
26
28
  };
27
29
  export {};
@@ -6,13 +6,15 @@ function createComponentField(params) {
6
6
  }
7
7
  function useDynamicPaperForm(props) {
8
8
  const { getLabel } = useModuleDictionary();
9
- const { fields, title, urlIcon, isForm } = props;
9
+ const { fields, title, urlIcon, isForm, height, variant } = props;
10
10
  return /* @__PURE__ */ jsx(
11
11
  PaperForm,
12
12
  {
13
13
  urlIcon,
14
14
  title,
15
15
  isForm,
16
+ height,
17
+ variant,
16
18
  children: fields.map((field) => {
17
19
  let component;
18
20
  if (field.type === "RHFTextField") {
@@ -44,7 +46,8 @@ function useDynamicPaperForm(props) {
44
46
  helperMessage: field.helperMessage,
45
47
  value: component,
46
48
  dataTestId: field.name,
47
- semanticWidth: field?.semanticWidth || "fullWidth"
49
+ semanticWidth: field?.semanticWidth || "fullWidth",
50
+ valueHeight: field?.valueHeight || "auto"
48
51
  },
49
52
  field.name
50
53
  );
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "9.3.11",
3
+ "version": "9.3.12-BE021025-beta.2",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team",
6
6
  "lint-staged": {
7
7
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
8
8
  },
9
9
  "peerDependencies": {
10
- "@m4l/components": "^9.0.0",
10
+ "@m4l/components": "9.3.19-BE021025-beta.2",
11
11
  "@m4l/core": "^2.0.0",
12
- "@m4l/graphics": "^7.0.0",
13
- "@m4l/styles": "^7.0.0"
12
+ "@m4l/graphics": "7.1.5-BE093025-beta.1",
13
+ "@m4l/styles": "7.1.34-BE093025-beta.1"
14
14
  },
15
15
  "resolutions": {
16
16
  "glob": "^10.4.5",