@m4l/layouts 9.2.2 → 9.3.1-beta.1

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.
@@ -24,15 +24,15 @@ export declare const colorsLight: {
24
24
  readonly default: {
25
25
  readonly semanticText: string;
26
26
  readonly focusVisible: string;
27
- readonly enabled: string;
28
- readonly focus: string;
29
27
  readonly light: string;
30
28
  readonly dark: string;
31
29
  readonly main: string;
32
30
  readonly contrastText: string;
31
+ readonly enabled: string;
33
32
  readonly enabledOpacity: string;
34
33
  readonly hover: string;
35
34
  readonly hoverOpacity: string;
35
+ readonly focus: string;
36
36
  readonly focusOpacity: string;
37
37
  readonly selected: string;
38
38
  readonly selectedOpacity: string;
@@ -53,44 +53,51 @@ export declare const colorsLight: {
53
53
  readonly surface: string;
54
54
  readonly hover: string;
55
55
  readonly backdrop: string;
56
- readonly paper: "#000";
56
+ readonly base: string;
57
+ readonly blur: string;
58
+ readonly paper: "#fff";
57
59
  };
58
60
  readonly chips: {
59
- readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
60
61
  readonly info: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
61
62
  readonly success: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
62
63
  readonly warning: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
64
+ readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
63
65
  readonly default: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
64
66
  readonly forest: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
67
+ readonly pink: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
68
+ readonly orange: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
69
+ readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
70
+ readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
71
+ readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
65
72
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
66
73
  readonly primary: {
67
74
  readonly outlined: {
68
- readonly color: "¯(ツ)/¯";
69
- readonly backgroundColor: "¯(ツ)/¯";
70
- readonly backgroundHover: "¯(ツ)/¯";
71
- readonly backgroundActive: "¯(ツ)/¯";
72
- readonly colorTone: "¯(ツ)/¯";
73
- readonly backgroundColorTone: "¯(ツ)/¯";
74
- readonly backgroundHoverTone: "¯(ツ)/¯";
75
- readonly backgroundActiveTone: "¯(ツ)/¯";
75
+ readonly color: string;
76
+ readonly backgroundColor: string;
77
+ readonly backgroundHover: string;
78
+ readonly backgroundActive: string;
79
+ readonly colorTone: string;
80
+ readonly backgroundColorTone: string;
81
+ readonly backgroundHoverTone: string;
82
+ readonly backgroundActiveTone: string;
76
83
  };
77
84
  readonly contained: {
78
- readonly color: "¯(ツ)/¯";
79
- readonly backgroundColor: "¯(ツ)/¯";
80
- readonly backgroundHover: "¯(ツ)/¯";
81
- readonly backgroundActive: "¯(ツ)/¯";
82
- readonly colorTone: "¯(ツ)/¯";
83
- readonly backgroundColorTone: "¯(ツ)/¯";
84
- readonly backgroundHoverTone: "¯(ツ)/¯";
85
- readonly backgroundActiveTone: "¯(ツ)/¯";
85
+ readonly color: string;
86
+ readonly backgroundColor: string;
87
+ readonly backgroundHover: string;
88
+ readonly backgroundActive: string;
89
+ readonly colorTone: string;
90
+ readonly backgroundColorTone: string;
91
+ readonly backgroundHoverTone: string;
92
+ readonly backgroundActiveTone: string;
86
93
  };
87
94
  };
88
95
  };
89
96
  readonly border: {
90
97
  readonly main: string;
98
+ readonly dens: string;
91
99
  readonly default: string;
92
100
  readonly secondary: string;
93
- readonly dens: string;
94
101
  readonly disabled: string;
95
102
  readonly error: string;
96
103
  };
@@ -105,15 +112,15 @@ export declare const colorsLight: {
105
112
  };
106
113
  readonly info: {
107
114
  readonly focusVisible: string;
108
- readonly enabled: string;
109
- readonly focus: string;
110
115
  readonly light: string;
111
116
  readonly dark: string;
112
117
  readonly main: string;
113
118
  readonly contrastText: string;
119
+ readonly enabled: string;
114
120
  readonly enabledOpacity: string;
115
121
  readonly hover: string;
116
122
  readonly hoverOpacity: string;
123
+ readonly focus: string;
117
124
  readonly focusOpacity: string;
118
125
  readonly selected: string;
119
126
  readonly selectedOpacity: string;
@@ -125,15 +132,15 @@ export declare const colorsLight: {
125
132
  };
126
133
  readonly success: {
127
134
  readonly focusVisible: string;
128
- readonly enabled: string;
129
- readonly focus: string;
130
135
  readonly light: string;
131
136
  readonly dark: string;
132
137
  readonly main: string;
133
138
  readonly contrastText: string;
139
+ readonly enabled: string;
134
140
  readonly enabledOpacity: string;
135
141
  readonly hover: string;
136
142
  readonly hoverOpacity: string;
143
+ readonly focus: string;
137
144
  readonly focusOpacity: string;
138
145
  readonly selected: string;
139
146
  readonly selectedOpacity: string;
@@ -145,15 +152,15 @@ export declare const colorsLight: {
145
152
  };
146
153
  readonly warning: {
147
154
  readonly focusVisible: string;
148
- readonly enabled: string;
149
- readonly focus: string;
150
155
  readonly light: string;
151
156
  readonly dark: string;
152
157
  readonly main: string;
153
158
  readonly contrastText: string;
159
+ readonly enabled: string;
154
160
  readonly enabledOpacity: string;
155
161
  readonly hover: string;
156
162
  readonly hoverOpacity: string;
163
+ readonly focus: string;
157
164
  readonly focusOpacity: string;
158
165
  readonly selected: string;
159
166
  readonly selectedOpacity: string;
@@ -165,15 +172,15 @@ export declare const colorsLight: {
165
172
  };
166
173
  readonly error: {
167
174
  readonly focusVisible: string;
168
- readonly enabled: string;
169
- readonly focus: string;
170
175
  readonly light: string;
171
176
  readonly dark: string;
172
177
  readonly main: string;
173
178
  readonly contrastText: string;
179
+ readonly enabled: string;
174
180
  readonly enabledOpacity: string;
175
181
  readonly hover: string;
176
182
  readonly hoverOpacity: string;
183
+ readonly focus: string;
177
184
  readonly focusOpacity: string;
178
185
  readonly selected: string;
179
186
  readonly selectedOpacity: string;
@@ -209,15 +216,15 @@ export declare const colorsLight: {
209
216
  readonly default: {
210
217
  readonly semanticText: string;
211
218
  readonly focusVisible: string;
212
- readonly enabled: string;
213
- readonly focus: string;
214
219
  readonly light: string;
215
220
  readonly dark: string;
216
221
  readonly main: string;
217
222
  readonly contrastText: string;
223
+ readonly enabled: string;
218
224
  readonly enabledOpacity: string;
219
225
  readonly hover: string;
220
226
  readonly hoverOpacity: string;
227
+ readonly focus: string;
221
228
  readonly focusOpacity: string;
222
229
  readonly selected: string;
223
230
  readonly selectedOpacity: string;
@@ -238,44 +245,51 @@ export declare const colorsLight: {
238
245
  readonly surface: string;
239
246
  readonly hover: string;
240
247
  readonly backdrop: string;
248
+ readonly base: string;
249
+ readonly blur: string;
241
250
  readonly paper: "#000";
242
251
  };
243
252
  readonly chips: {
244
- readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
245
253
  readonly info: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
246
254
  readonly success: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
247
255
  readonly warning: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
256
+ readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
248
257
  readonly default: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
249
258
  readonly forest: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
259
+ readonly pink: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
260
+ readonly orange: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
261
+ readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
262
+ readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
263
+ readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
250
264
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
251
265
  readonly primary: {
252
266
  readonly outlined: {
253
- readonly color: "¯(ツ)/¯";
254
- readonly backgroundColor: "¯(ツ)/¯";
255
- readonly backgroundHover: "¯(ツ)/¯";
256
- readonly backgroundActive: "¯(ツ)/¯";
257
- readonly colorTone: "¯(ツ)/¯";
258
- readonly backgroundColorTone: "¯(ツ)/¯";
259
- readonly backgroundHoverTone: "¯(ツ)/¯";
260
- readonly backgroundActiveTone: "¯(ツ)/¯";
267
+ readonly color: string;
268
+ readonly backgroundColor: string;
269
+ readonly backgroundHover: string;
270
+ readonly backgroundActive: string;
271
+ readonly colorTone: string;
272
+ readonly backgroundColorTone: string;
273
+ readonly backgroundHoverTone: string;
274
+ readonly backgroundActiveTone: string;
261
275
  };
262
276
  readonly contained: {
263
- readonly color: "¯(ツ)/¯";
264
- readonly backgroundColor: "¯(ツ)/¯";
265
- readonly backgroundHover: "¯(ツ)/¯";
266
- readonly backgroundActive: "¯(ツ)/¯";
267
- readonly colorTone: "¯(ツ)/¯";
268
- readonly backgroundColorTone: "¯(ツ)/¯";
269
- readonly backgroundHoverTone: "¯(ツ)/¯";
270
- readonly backgroundActiveTone: "¯(ツ)/¯";
277
+ readonly color: string;
278
+ readonly backgroundColor: string;
279
+ readonly backgroundHover: string;
280
+ readonly backgroundActive: string;
281
+ readonly colorTone: string;
282
+ readonly backgroundColorTone: string;
283
+ readonly backgroundHoverTone: string;
284
+ readonly backgroundActiveTone: string;
271
285
  };
272
286
  };
273
287
  };
274
288
  readonly border: {
275
289
  readonly main: string;
290
+ readonly dens: string;
276
291
  readonly default: string;
277
292
  readonly secondary: string;
278
- readonly dens: string;
279
293
  readonly disabled: string;
280
294
  readonly error: string;
281
295
  };
@@ -290,15 +304,15 @@ export declare const colorsLight: {
290
304
  };
291
305
  readonly info: {
292
306
  readonly focusVisible: string;
293
- readonly enabled: string;
294
- readonly focus: string;
295
307
  readonly light: string;
296
308
  readonly dark: string;
297
309
  readonly main: string;
298
310
  readonly contrastText: string;
311
+ readonly enabled: string;
299
312
  readonly enabledOpacity: string;
300
313
  readonly hover: string;
301
314
  readonly hoverOpacity: string;
315
+ readonly focus: string;
302
316
  readonly focusOpacity: string;
303
317
  readonly selected: string;
304
318
  readonly selectedOpacity: string;
@@ -310,15 +324,15 @@ export declare const colorsLight: {
310
324
  };
311
325
  readonly success: {
312
326
  readonly focusVisible: string;
313
- readonly enabled: string;
314
- readonly focus: string;
315
327
  readonly light: string;
316
328
  readonly dark: string;
317
329
  readonly main: string;
318
330
  readonly contrastText: string;
331
+ readonly enabled: string;
319
332
  readonly enabledOpacity: string;
320
333
  readonly hover: string;
321
334
  readonly hoverOpacity: string;
335
+ readonly focus: string;
322
336
  readonly focusOpacity: string;
323
337
  readonly selected: string;
324
338
  readonly selectedOpacity: string;
@@ -330,15 +344,15 @@ export declare const colorsLight: {
330
344
  };
331
345
  readonly warning: {
332
346
  readonly focusVisible: string;
333
- readonly enabled: string;
334
- readonly focus: string;
335
347
  readonly light: string;
336
348
  readonly dark: string;
337
349
  readonly main: string;
338
350
  readonly contrastText: string;
351
+ readonly enabled: string;
339
352
  readonly enabledOpacity: string;
340
353
  readonly hover: string;
341
354
  readonly hoverOpacity: string;
355
+ readonly focus: string;
342
356
  readonly focusOpacity: string;
343
357
  readonly selected: string;
344
358
  readonly selectedOpacity: string;
@@ -350,15 +364,15 @@ export declare const colorsLight: {
350
364
  };
351
365
  readonly error: {
352
366
  readonly focusVisible: string;
353
- readonly enabled: string;
354
- readonly focus: string;
355
367
  readonly light: string;
356
368
  readonly dark: string;
357
369
  readonly main: string;
358
370
  readonly contrastText: string;
371
+ readonly enabled: string;
359
372
  readonly enabledOpacity: string;
360
373
  readonly hover: string;
361
374
  readonly hoverOpacity: string;
375
+ readonly focus: string;
362
376
  readonly focusOpacity: string;
363
377
  readonly selected: string;
364
378
  readonly selectedOpacity: string;
@@ -395,15 +409,15 @@ export declare const colorsDark: {
395
409
  readonly default: {
396
410
  readonly semanticText: string;
397
411
  readonly focusVisible: string;
398
- readonly enabled: string;
399
- readonly focus: string;
400
412
  readonly light: string;
401
413
  readonly dark: string;
402
414
  readonly main: string;
403
415
  readonly contrastText: string;
416
+ readonly enabled: string;
404
417
  readonly enabledOpacity: string;
405
418
  readonly hover: string;
406
419
  readonly hoverOpacity: string;
420
+ readonly focus: string;
407
421
  readonly focusOpacity: string;
408
422
  readonly selected: string;
409
423
  readonly selectedOpacity: string;
@@ -424,44 +438,51 @@ export declare const colorsDark: {
424
438
  readonly surface: string;
425
439
  readonly hover: string;
426
440
  readonly backdrop: string;
427
- readonly paper: "#000";
441
+ readonly base: string;
442
+ readonly blur: string;
443
+ readonly paper: "#fff";
428
444
  };
429
445
  readonly chips: {
430
- readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
431
446
  readonly info: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
432
447
  readonly success: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
433
448
  readonly warning: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
449
+ readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
434
450
  readonly default: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
435
451
  readonly forest: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
452
+ readonly pink: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
453
+ readonly orange: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
454
+ readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
455
+ readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
456
+ readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
436
457
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
437
458
  readonly primary: {
438
459
  readonly outlined: {
439
- readonly color: "¯(ツ)/¯";
440
- readonly backgroundColor: "¯(ツ)/¯";
441
- readonly backgroundHover: "¯(ツ)/¯";
442
- readonly backgroundActive: "¯(ツ)/¯";
443
- readonly colorTone: "¯(ツ)/¯";
444
- readonly backgroundColorTone: "¯(ツ)/¯";
445
- readonly backgroundHoverTone: "¯(ツ)/¯";
446
- readonly backgroundActiveTone: "¯(ツ)/¯";
460
+ readonly color: string;
461
+ readonly backgroundColor: string;
462
+ readonly backgroundHover: string;
463
+ readonly backgroundActive: string;
464
+ readonly colorTone: string;
465
+ readonly backgroundColorTone: string;
466
+ readonly backgroundHoverTone: string;
467
+ readonly backgroundActiveTone: string;
447
468
  };
448
469
  readonly contained: {
449
- readonly color: "¯(ツ)/¯";
450
- readonly backgroundColor: "¯(ツ)/¯";
451
- readonly backgroundHover: "¯(ツ)/¯";
452
- readonly backgroundActive: "¯(ツ)/¯";
453
- readonly colorTone: "¯(ツ)/¯";
454
- readonly backgroundColorTone: "¯(ツ)/¯";
455
- readonly backgroundHoverTone: "¯(ツ)/¯";
456
- readonly backgroundActiveTone: "¯(ツ)/¯";
470
+ readonly color: string;
471
+ readonly backgroundColor: string;
472
+ readonly backgroundHover: string;
473
+ readonly backgroundActive: string;
474
+ readonly colorTone: string;
475
+ readonly backgroundColorTone: string;
476
+ readonly backgroundHoverTone: string;
477
+ readonly backgroundActiveTone: string;
457
478
  };
458
479
  };
459
480
  };
460
481
  readonly border: {
461
482
  readonly main: string;
483
+ readonly dens: string;
462
484
  readonly default: string;
463
485
  readonly secondary: string;
464
- readonly dens: string;
465
486
  readonly disabled: string;
466
487
  readonly error: string;
467
488
  };
@@ -476,15 +497,15 @@ export declare const colorsDark: {
476
497
  };
477
498
  readonly info: {
478
499
  readonly focusVisible: string;
479
- readonly enabled: string;
480
- readonly focus: string;
481
500
  readonly light: string;
482
501
  readonly dark: string;
483
502
  readonly main: string;
484
503
  readonly contrastText: string;
504
+ readonly enabled: string;
485
505
  readonly enabledOpacity: string;
486
506
  readonly hover: string;
487
507
  readonly hoverOpacity: string;
508
+ readonly focus: string;
488
509
  readonly focusOpacity: string;
489
510
  readonly selected: string;
490
511
  readonly selectedOpacity: string;
@@ -496,15 +517,15 @@ export declare const colorsDark: {
496
517
  };
497
518
  readonly success: {
498
519
  readonly focusVisible: string;
499
- readonly enabled: string;
500
- readonly focus: string;
501
520
  readonly light: string;
502
521
  readonly dark: string;
503
522
  readonly main: string;
504
523
  readonly contrastText: string;
524
+ readonly enabled: string;
505
525
  readonly enabledOpacity: string;
506
526
  readonly hover: string;
507
527
  readonly hoverOpacity: string;
528
+ readonly focus: string;
508
529
  readonly focusOpacity: string;
509
530
  readonly selected: string;
510
531
  readonly selectedOpacity: string;
@@ -516,15 +537,15 @@ export declare const colorsDark: {
516
537
  };
517
538
  readonly warning: {
518
539
  readonly focusVisible: string;
519
- readonly enabled: string;
520
- readonly focus: string;
521
540
  readonly light: string;
522
541
  readonly dark: string;
523
542
  readonly main: string;
524
543
  readonly contrastText: string;
544
+ readonly enabled: string;
525
545
  readonly enabledOpacity: string;
526
546
  readonly hover: string;
527
547
  readonly hoverOpacity: string;
548
+ readonly focus: string;
528
549
  readonly focusOpacity: string;
529
550
  readonly selected: string;
530
551
  readonly selectedOpacity: string;
@@ -536,15 +557,15 @@ export declare const colorsDark: {
536
557
  };
537
558
  readonly error: {
538
559
  readonly focusVisible: string;
539
- readonly enabled: string;
540
- readonly focus: string;
541
560
  readonly light: string;
542
561
  readonly dark: string;
543
562
  readonly main: string;
544
563
  readonly contrastText: string;
564
+ readonly enabled: string;
545
565
  readonly enabledOpacity: string;
546
566
  readonly hover: string;
547
567
  readonly hoverOpacity: string;
568
+ readonly focus: string;
548
569
  readonly focusOpacity: string;
549
570
  readonly selected: string;
550
571
  readonly selectedOpacity: string;
@@ -580,15 +601,15 @@ export declare const colorsDark: {
580
601
  readonly default: {
581
602
  readonly semanticText: string;
582
603
  readonly focusVisible: string;
583
- readonly enabled: string;
584
- readonly focus: string;
585
604
  readonly light: string;
586
605
  readonly dark: string;
587
606
  readonly main: string;
588
607
  readonly contrastText: string;
608
+ readonly enabled: string;
589
609
  readonly enabledOpacity: string;
590
610
  readonly hover: string;
591
611
  readonly hoverOpacity: string;
612
+ readonly focus: string;
592
613
  readonly focusOpacity: string;
593
614
  readonly selected: string;
594
615
  readonly selectedOpacity: string;
@@ -609,44 +630,51 @@ export declare const colorsDark: {
609
630
  readonly surface: string;
610
631
  readonly hover: string;
611
632
  readonly backdrop: string;
633
+ readonly base: string;
634
+ readonly blur: string;
612
635
  readonly paper: "#000";
613
636
  };
614
637
  readonly chips: {
615
- readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
616
638
  readonly info: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
617
639
  readonly success: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
618
640
  readonly warning: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
641
+ readonly error: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
619
642
  readonly default: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
620
643
  readonly forest: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
644
+ readonly pink: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
645
+ readonly orange: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
646
+ readonly candy: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
647
+ readonly persianGreen: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
648
+ readonly aqua: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
621
649
  readonly disabled: Record<import('@m4l/styles').ChipColorVariant, import('@m4l/styles').ChipColor>;
622
650
  readonly primary: {
623
651
  readonly outlined: {
624
- readonly color: "¯(ツ)/¯";
625
- readonly backgroundColor: "¯(ツ)/¯";
626
- readonly backgroundHover: "¯(ツ)/¯";
627
- readonly backgroundActive: "¯(ツ)/¯";
628
- readonly colorTone: "¯(ツ)/¯";
629
- readonly backgroundColorTone: "¯(ツ)/¯";
630
- readonly backgroundHoverTone: "¯(ツ)/¯";
631
- readonly backgroundActiveTone: "¯(ツ)/¯";
652
+ readonly color: string;
653
+ readonly backgroundColor: string;
654
+ readonly backgroundHover: string;
655
+ readonly backgroundActive: string;
656
+ readonly colorTone: string;
657
+ readonly backgroundColorTone: string;
658
+ readonly backgroundHoverTone: string;
659
+ readonly backgroundActiveTone: string;
632
660
  };
633
661
  readonly contained: {
634
- readonly color: "¯(ツ)/¯";
635
- readonly backgroundColor: "¯(ツ)/¯";
636
- readonly backgroundHover: "¯(ツ)/¯";
637
- readonly backgroundActive: "¯(ツ)/¯";
638
- readonly colorTone: "¯(ツ)/¯";
639
- readonly backgroundColorTone: "¯(ツ)/¯";
640
- readonly backgroundHoverTone: "¯(ツ)/¯";
641
- readonly backgroundActiveTone: "¯(ツ)/¯";
662
+ readonly color: string;
663
+ readonly backgroundColor: string;
664
+ readonly backgroundHover: string;
665
+ readonly backgroundActive: string;
666
+ readonly colorTone: string;
667
+ readonly backgroundColorTone: string;
668
+ readonly backgroundHoverTone: string;
669
+ readonly backgroundActiveTone: string;
642
670
  };
643
671
  };
644
672
  };
645
673
  readonly border: {
646
674
  readonly main: string;
675
+ readonly dens: string;
647
676
  readonly default: string;
648
677
  readonly secondary: string;
649
- readonly dens: string;
650
678
  readonly disabled: string;
651
679
  readonly error: string;
652
680
  };
@@ -661,15 +689,15 @@ export declare const colorsDark: {
661
689
  };
662
690
  readonly info: {
663
691
  readonly focusVisible: string;
664
- readonly enabled: string;
665
- readonly focus: string;
666
692
  readonly light: string;
667
693
  readonly dark: string;
668
694
  readonly main: string;
669
695
  readonly contrastText: string;
696
+ readonly enabled: string;
670
697
  readonly enabledOpacity: string;
671
698
  readonly hover: string;
672
699
  readonly hoverOpacity: string;
700
+ readonly focus: string;
673
701
  readonly focusOpacity: string;
674
702
  readonly selected: string;
675
703
  readonly selectedOpacity: string;
@@ -681,15 +709,15 @@ export declare const colorsDark: {
681
709
  };
682
710
  readonly success: {
683
711
  readonly focusVisible: string;
684
- readonly enabled: string;
685
- readonly focus: string;
686
712
  readonly light: string;
687
713
  readonly dark: string;
688
714
  readonly main: string;
689
715
  readonly contrastText: string;
716
+ readonly enabled: string;
690
717
  readonly enabledOpacity: string;
691
718
  readonly hover: string;
692
719
  readonly hoverOpacity: string;
720
+ readonly focus: string;
693
721
  readonly focusOpacity: string;
694
722
  readonly selected: string;
695
723
  readonly selectedOpacity: string;
@@ -701,15 +729,15 @@ export declare const colorsDark: {
701
729
  };
702
730
  readonly warning: {
703
731
  readonly focusVisible: string;
704
- readonly enabled: string;
705
- readonly focus: string;
706
732
  readonly light: string;
707
733
  readonly dark: string;
708
734
  readonly main: string;
709
735
  readonly contrastText: string;
736
+ readonly enabled: string;
710
737
  readonly enabledOpacity: string;
711
738
  readonly hover: string;
712
739
  readonly hoverOpacity: string;
740
+ readonly focus: string;
713
741
  readonly focusOpacity: string;
714
742
  readonly selected: string;
715
743
  readonly selectedOpacity: string;
@@ -721,15 +749,15 @@ export declare const colorsDark: {
721
749
  };
722
750
  readonly error: {
723
751
  readonly focusVisible: string;
724
- readonly enabled: string;
725
- readonly focus: string;
726
752
  readonly light: string;
727
753
  readonly dark: string;
728
754
  readonly main: string;
729
755
  readonly contrastText: string;
756
+ readonly enabled: string;
730
757
  readonly enabledOpacity: string;
731
758
  readonly hover: string;
732
759
  readonly hoverOpacity: string;
760
+ readonly focus: string;
733
761
  readonly focusOpacity: string;
734
762
  readonly selected: string;
735
763
  readonly selectedOpacity: string;
@@ -16,7 +16,7 @@ function DynamicTabs(props) {
16
16
  onChange: (_e, value) => handleChangeTab(value),
17
17
  children: finalTabs.map((tab) => {
18
18
  const { value, tabProps } = tab;
19
- return /* @__PURE__ */ jsx(Tab, { value, label: tabProps?.label }, value);
19
+ return /* @__PURE__ */ jsx(Tab, { value, ...tabProps }, value);
20
20
  })
21
21
  }
22
22
  ),
@@ -19,8 +19,8 @@ function ModuleDetailTabs(props) {
19
19
  allowScrollButtonsMobile: true,
20
20
  onChange: (_e, value) => handleChangeTab(value),
21
21
  children: finalTabs.map((tab) => {
22
- const { value, label } = tab;
23
- return /* @__PURE__ */ jsx(Tab, { value, label }, value);
22
+ const { value, label, icon } = tab;
23
+ return /* @__PURE__ */ jsx(Tab, { value, label, icon }, value);
24
24
  })
25
25
  }
26
26
  ),
@@ -1,2 +1,2 @@
1
1
  export { ModuleDetailTabs } from './ModuleDetailTabs';
2
- export type { ModuleDatailTab, ModuleDetailObjectLogs, ModuleDetailTabContent, ModuleDetailTabsProps } from './types';
2
+ export type { ModuleDatailTab, ModuleDetailObjectLogs, ModuleDetailOtherObjectLogs, ModuleDetailM4LObjectLogs, ModuleDetailTabContent, ModuleDetailTabsProps } from './types';
@@ -16,26 +16,33 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
16
16
  tabContent: import('react').FunctionComponent<any>;
17
17
  componentProps?: Omit<any, keyof import('./types').ModuleDetailTabContent<T_1, K_1>> | undefined;
18
18
  dictionaryId?: string;
19
- size?: Extract<import('@m4l/styles').Sizes, "small" | "medium"> | undefined;
20
19
  children?: null | undefined;
21
20
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
22
- title?: string | undefined;
23
- component?: React.ElementType | undefined;
24
21
  id?: string | undefined;
25
- disabled?: boolean | undefined;
22
+ className?: string | undefined;
23
+ style?: React.CSSProperties | undefined;
24
+ classes?: (Partial<import('@mui/material').TabClasses> & Partial<import('@mui/material').ClassNameMap<never>>) | undefined;
26
25
  action?: React.Ref<import('@mui/material').ButtonBaseActions> | undefined;
27
- hidden?: boolean | undefined;
26
+ centerRipple?: boolean | undefined;
27
+ disabled?: boolean | undefined;
28
+ disableRipple?: boolean | undefined;
29
+ disableTouchRipple?: boolean | undefined;
30
+ focusRipple?: boolean | undefined;
31
+ focusVisibleClassName?: string | undefined;
32
+ LinkComponent?: React.ElementType | undefined;
33
+ onFocusVisible?: React.FocusEventHandler<any> | undefined;
34
+ sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
35
+ tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
36
+ TouchRippleProps?: Partial<import('@mui/material/ButtonBase/TouchRipple').TouchRippleProps> | undefined;
37
+ touchRippleRef?: React.Ref<import('@mui/material/ButtonBase/TouchRipple').TouchRippleActions> | undefined;
28
38
  color?: Extract<import('@m4l/styles').ComponentPalletColor, "default"> | undefined;
29
39
  content?: string | undefined;
30
- style?: React.CSSProperties | undefined;
31
40
  translate?: "yes" | "no" | undefined;
32
- urlIcon?: string | undefined;
33
- lang?: string | undefined;
41
+ disableFocusRipple?: boolean | undefined;
42
+ iconPosition?: ("top" | "bottom" | "start" | "end") | undefined;
43
+ wrapped?: boolean | undefined;
34
44
  slot?: string | undefined;
35
- dir?: string | undefined;
36
- className?: string | undefined;
37
- classes?: (Partial<import('@mui/material').TabClasses> & Partial<import('@mui/material').ClassNameMap<never>>) | undefined;
38
- sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
45
+ title?: string | undefined;
39
46
  key?: import('react').Key | null | undefined;
40
47
  defaultChecked?: boolean | undefined;
41
48
  defaultValue?: string | number | readonly string[] | undefined;
@@ -44,13 +51,15 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
44
51
  accessKey?: string | undefined;
45
52
  autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
46
53
  autoFocus?: boolean | undefined;
47
- contentEditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only" | undefined;
54
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
48
55
  contextMenu?: string | undefined;
49
- draggable?: (boolean | "false" | "true") | undefined;
56
+ dir?: string | undefined;
57
+ draggable?: (boolean | "true" | "false") | undefined;
50
58
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
59
+ hidden?: boolean | undefined;
60
+ lang?: string | undefined;
51
61
  nonce?: string | undefined;
52
- spellCheck?: (boolean | "false" | "true") | undefined;
53
- tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
62
+ spellCheck?: (boolean | "true" | "false") | undefined;
54
63
  radioGroup?: string | undefined;
55
64
  role?: import('react').AriaRole | undefined;
56
65
  about?: string | undefined;
@@ -76,11 +85,11 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
76
85
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
77
86
  is?: string | undefined;
78
87
  "aria-activedescendant"?: string | undefined;
79
- "aria-atomic"?: (boolean | "false" | "true") | undefined;
88
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
80
89
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
81
90
  "aria-braillelabel"?: string | undefined;
82
91
  "aria-brailleroledescription"?: string | undefined;
83
- "aria-busy"?: (boolean | "false" | "true") | undefined;
92
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
84
93
  "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
85
94
  "aria-colcount"?: number | undefined;
86
95
  "aria-colindex"?: number | undefined;
@@ -91,37 +100,37 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
91
100
  "aria-describedby"?: string | undefined;
92
101
  "aria-description"?: string | undefined;
93
102
  "aria-details"?: string | undefined;
94
- "aria-disabled"?: (boolean | "false" | "true") | undefined;
103
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
95
104
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
96
105
  "aria-errormessage"?: string | undefined;
97
- "aria-expanded"?: (boolean | "false" | "true") | undefined;
106
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
98
107
  "aria-flowto"?: string | undefined;
99
- "aria-grabbed"?: (boolean | "false" | "true") | undefined;
108
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
100
109
  "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
101
- "aria-hidden"?: (boolean | "false" | "true") | undefined;
110
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
102
111
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
103
112
  "aria-keyshortcuts"?: string | undefined;
104
113
  "aria-label"?: string | undefined;
105
114
  "aria-labelledby"?: string | undefined;
106
115
  "aria-level"?: number | undefined;
107
116
  "aria-live"?: "off" | "assertive" | "polite" | undefined;
108
- "aria-modal"?: (boolean | "false" | "true") | undefined;
109
- "aria-multiline"?: (boolean | "false" | "true") | undefined;
110
- "aria-multiselectable"?: (boolean | "false" | "true") | undefined;
117
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
118
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
119
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
111
120
  "aria-orientation"?: "horizontal" | "vertical" | undefined;
112
121
  "aria-owns"?: string | undefined;
113
122
  "aria-placeholder"?: string | undefined;
114
123
  "aria-posinset"?: number | undefined;
115
124
  "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
116
- "aria-readonly"?: (boolean | "false" | "true") | undefined;
125
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
117
126
  "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
118
- "aria-required"?: (boolean | "false" | "true") | undefined;
127
+ "aria-required"?: (boolean | "true" | "false") | undefined;
119
128
  "aria-roledescription"?: string | undefined;
120
129
  "aria-rowcount"?: number | undefined;
121
130
  "aria-rowindex"?: number | undefined;
122
131
  "aria-rowindextext"?: string | undefined;
123
132
  "aria-rowspan"?: number | undefined;
124
- "aria-selected"?: (boolean | "false" | "true") | undefined;
133
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
125
134
  "aria-setsize"?: number | undefined;
126
135
  "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
127
136
  "aria-valuemax"?: number | undefined;
@@ -291,19 +300,10 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
291
300
  onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
292
301
  onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
293
302
  onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
294
- centerRipple?: boolean | undefined;
295
- disableRipple?: boolean | undefined;
296
- disableTouchRipple?: boolean | undefined;
297
- focusRipple?: boolean | undefined;
298
- focusVisibleClassName?: string | undefined;
299
- LinkComponent?: React.ElementType | undefined;
300
- onFocusVisible?: React.FocusEventHandler<any> | undefined;
301
- TouchRippleProps?: Partial<import('@mui/material/ButtonBase/TouchRipple').TouchRippleProps> | undefined;
302
- touchRippleRef?: React.Ref<import('@mui/material/ButtonBase/TouchRipple').TouchRippleActions> | undefined;
303
- disableFocusRipple?: boolean | undefined;
303
+ size?: Extract<import('@m4l/styles').Sizes, "small" | "medium"> | undefined;
304
+ component?: React.ElementType | undefined;
304
305
  dataTestId?: string | undefined;
305
- iconPosition?: ("top" | "bottom" | "start" | "end") | undefined;
306
- wrapped?: boolean | undefined;
306
+ urlIcon?: string | undefined;
307
307
  }[];
308
308
  handleChangeTab: (newValue: string) => void;
309
309
  };
@@ -38,13 +38,14 @@ function useModuleDetailTabs(props) {
38
38
  value: "objectLogs",
39
39
  tabContent: ObjectLogs,
40
40
  unmountable: false,
41
- componentProps
41
+ componentProps,
42
+ icon: "/main/na/icons/i_common_master_detail_layout_detail_tab_logs"
42
43
  });
43
44
  }
44
45
  return arrTabs.map((tab) => ({
45
46
  ...tab,
46
47
  unmountable: tab.unmountable === void 0 ? true : tab.unmountable,
47
- icon: typeof tab.icon === "string" ? /* @__PURE__ */ jsx(Icon, { src: `${urlAssetsPrefix}/${tab.icon}` }) : tab.icon,
48
+ icon: typeof tab.icon === "string" ? /* @__PURE__ */ jsx(Icon, { src: `${urlAssetsPrefix}${tab.icon}` }) : tab.icon,
48
49
  label: tab.dictionaryId ? getLabel(tab.dictionaryId) : void 0
49
50
  }));
50
51
  }, [masterSelection, tabs, objectLogsProps, urlAssetsPrefix, getLabel]);
package/hooks/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from './useModule';
3
3
  export * from './useDynamicAccordions';
4
4
  export * from './useDynamicPaperForm';
5
5
  export * from './useNetworkActionConfirm';
6
+ export * from './useFormAddEdit';
@@ -0,0 +1 @@
1
+ export declare const getformAddEditDictionary: () => string;
@@ -0,0 +1 @@
1
+ export * from './useFormAddEdit';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,27 @@
1
+ import { NetworkProps } from '@m4l/core';
2
+ import { FieldValues } from 'react-hook-form';
3
+ export type ResponseEndpoint<TEndpointValues = FieldValues> = {
4
+ data: TEndpointValues;
5
+ };
6
+ export interface UseFormAddEditProps<TValues = FieldValues, TEndpointValues = FieldValues> {
7
+ /**
8
+ * Id del objeto, si se define, se llama al endpoint para obtener los datos
9
+ */
10
+ objectId?: number | string;
11
+ /**
12
+ * Valores iniciales del formulario
13
+ */
14
+ initialValues: TValues;
15
+ /**
16
+ * Funcion para formatear los datos del endpoint
17
+ */
18
+ formatDataEndpoint?: (response: ResponseEndpoint<TEndpointValues>) => TValues;
19
+ /**
20
+ * Si se define en true, no se llama al endpoint
21
+ */
22
+ omitCallEnpoint?: boolean;
23
+ /**
24
+ * Props para llamar al networkOperation
25
+ */
26
+ networkProps: NetworkProps;
27
+ }
@@ -0,0 +1,11 @@
1
+ import { UseFormAddEditProps } from './types';
2
+ import { FormStatusLoad } from '@m4l/components';
3
+ import { FieldValues } from 'react-hook-form';
4
+ /**
5
+ * TODO: Documentar
6
+ */
7
+ export declare function useFormAddEdit<TValues extends FieldValues = FieldValues, TEndpointValues extends FieldValues = FieldValues>(props: UseFormAddEditProps<TValues, TEndpointValues>): {
8
+ formValues: TValues;
9
+ statusLoad: FormStatusLoad;
10
+ refresh: () => void;
11
+ };
@@ -0,0 +1,79 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
3
+ import { useState, useCallback, useEffect } from "react";
4
+ import { useModal, WindowConfirm } from "@m4l/components";
5
+ function useFormAddEdit(props) {
6
+ const {
7
+ initialValues,
8
+ objectId,
9
+ networkProps,
10
+ formatDataEndpoint,
11
+ omitCallEnpoint = false
12
+ } = props;
13
+ const { openModal, closeModal } = useModal();
14
+ const [formValues, setFormValues] = useState(initialValues);
15
+ const [statusLoad, setStatusLoad] = useState(
16
+ objectId === void 0 ? "new" : "edit"
17
+ );
18
+ const { networkOperation } = useNetwork();
19
+ const addFlag = useFlagsStore((state) => state.flagsActions.addFlag);
20
+ const { getLabel } = useModuleDictionary();
21
+ const refresh = useCallback(() => {
22
+ if (statusLoad === "ready") {
23
+ setStatusLoad("edit");
24
+ }
25
+ }, [statusLoad]);
26
+ useEffect(() => {
27
+ let mounted = true;
28
+ if (statusLoad === "edit") {
29
+ if (omitCallEnpoint) {
30
+ addFlag("form_loaded");
31
+ setStatusLoad("ready");
32
+ return;
33
+ }
34
+ networkOperation(networkProps).then(
35
+ (response) => {
36
+ if (mounted) {
37
+ if (formatDataEndpoint) {
38
+ setFormValues(formatDataEndpoint(response));
39
+ } else {
40
+ setFormValues(response.data);
41
+ }
42
+ setStatusLoad("reload_values_provider");
43
+ }
44
+ },
45
+ () => {
46
+ setStatusLoad("error");
47
+ openModal({
48
+ window: /* @__PURE__ */ jsx(
49
+ WindowConfirm,
50
+ {
51
+ variant: "error",
52
+ title: getLabel("form_add_edit.label_error_title"),
53
+ msg: getLabel("form_add_edit.error_authorization_message"),
54
+ onClickIntro: () => closeModal()
55
+ }
56
+ ),
57
+ variant: "delete"
58
+ });
59
+ addFlag("form_loaded");
60
+ }
61
+ );
62
+ } else if (statusLoad === "new" || statusLoad === "reload_values_provider") {
63
+ addFlag("form_loaded");
64
+ setStatusLoad("ready");
65
+ }
66
+ return () => {
67
+ mounted = false;
68
+ };
69
+ }, [statusLoad]);
70
+ useEffect(() => {
71
+ if (statusLoad === "ready" && objectId !== void 0) {
72
+ setStatusLoad("edit");
73
+ }
74
+ }, [objectId]);
75
+ return { formValues, statusLoad, refresh };
76
+ }
77
+ export {
78
+ useFormAddEdit as u
79
+ };
@@ -0,0 +1 @@
1
+ export {};
package/index.js CHANGED
@@ -14,6 +14,7 @@ import { u as u2 } from "./hooks/useModule/index.js";
14
14
  import { u as u3 } from "./hooks/useDynamicAccordions/useDynamicAccordions.js";
15
15
  import { c, u as u4 } from "./hooks/useDynamicPaperForm/useDynamicPaperForm.js";
16
16
  import { u as u5 } from "./hooks/useNetworkActionConfirm/useNetworkActionConfirm.js";
17
+ import { u as u6 } from "./hooks/useFormAddEdit/useFormAddEdit.js";
17
18
  import { c as c2 } from "./utils/createAppMF.js";
18
19
  export {
19
20
  D as DynamicTabs,
@@ -33,6 +34,7 @@ export {
33
34
  g3 as getNoAuthModuleLayoutComponentsDictionary,
34
35
  u3 as useDynamicAccordions,
35
36
  u4 as useDynamicPaperForm,
37
+ u6 as useFormAddEdit,
36
38
  u as useMasterDetail,
37
39
  u2 as useModule,
38
40
  u5 as useNetworkActionConfirm
@@ -16,4 +16,4 @@ export declare const FormContentDesktopStyled: import('@emotion/styled').StyledC
16
16
  export declare const WrapperFormContentDesktopStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
17
17
  export declare const ContainerModuleNameDesktopStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
18
18
  export declare const ContentFormDesktopStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
19
- export declare const TypographyBannerStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components/src/components/mui_extended/Typography/types').TypographyProps, keyof import('@m4l/components/src/components/mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
19
+ export declare const TypographyBannerStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components/components/mui_extended/Typography/types').TypographyProps, keyof import('@m4l/components/components/mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "9.2.2",
3
+ "version": "9.3.1-beta.1",
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.2.54-beta.1",
11
11
  "@m4l/core": "^2.0.0",
12
- "@m4l/graphics": "^7.0.0",
13
- "@m4l/styles": "^7.0.0"
12
+ "@m4l/graphics": "7.1.2-beta.1",
13
+ "@m4l/styles": "7.1.29-beta.1"
14
14
  },
15
15
  "resolutions": {
16
16
  "glob": "^10.4.5",
package/test/mocks.d.ts CHANGED
@@ -17,10 +17,10 @@ export declare const mock_useEnvironment: {
17
17
  };
18
18
  export declare const formatterValues: Formatters;
19
19
  export declare const mockedGraphics: {
20
- useFormatter: import('vitest').MockInstance<() => graphics.Formatters>;
20
+ useFormatter: import('vitest').MockInstance<() => import('@m4l/graphics').Formatters>;
21
21
  };
22
22
  export declare function restoreGraphicsMocked(): void;
23
23
  export declare const coreImplementation: typeof core;
24
24
  export declare const graphicsImplementation: {
25
- useFormatter: import('vitest').MockInstance<() => graphics.Formatters>;
25
+ useFormatter: import('vitest').MockInstance<() => import('@m4l/graphics').Formatters>;
26
26
  };