@m4l/styles 0.0.17 → 0.0.18

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.
@@ -505,9 +505,9 @@ const i = (o) => ({
505
505
  styleOverrides: {
506
506
  "&.M4LButton-root": {
507
507
  width: "fit-content",
508
- minWidth: "78px",
509
508
  display: "flex",
510
509
  justifyContent: "center",
510
+ ...o.typography.action,
511
511
  "& .M4LButton-skeleton ": {
512
512
  height: "100%!important",
513
513
  borderRadius: "4px"
@@ -703,7 +703,7 @@ const i = (o) => ({
703
703
  M4LoadingButton: {
704
704
  styleOverrides: {
705
705
  "&.M4LoadingButton-root": {
706
- width: "100%",
706
+ width: "auto",
707
707
  display: "flex",
708
708
  justifyContent: "center",
709
709
  "& .MuiLoadingButton-loading": {
@@ -712,10 +712,10 @@ const i = (o) => ({
712
712
  }
713
713
  },
714
714
  "& .MuiCircularProgress-root": {
715
- color: o.palette.primary.main
715
+ color: "#fff!important"
716
716
  },
717
717
  "& .MuiTypography-root": {
718
- color: o.palette.text.secondary,
718
+ color: "#fff",
719
719
  transition: "all .5s ease"
720
720
  },
721
721
  "& .M4LoadingButton-skeleton ": {
@@ -809,10 +809,15 @@ const i = (o) => ({
809
809
  },
810
810
  "&.M4LoadingButton-variantContained": {
811
811
  "& .MuiButtonBase-root": {
812
- backgroundColor: o.palette.state?.default,
813
- color: o.palette.text.secondary,
814
- boxShadow: o.customShadows?.z1,
812
+ backgroundColor: o.palette.state?.active,
813
+ color: o.palette.patronus?.marbleLight[10],
814
+ boxShadow: o.customShadows?.primary,
815
815
  position: "relative",
816
+ "& .M4LTypography-root": {
817
+ "MuiTypography-root": {
818
+ color: "#fff"
819
+ }
820
+ },
816
821
  "& .M4LIcon-icon": {
817
822
  backgroundColor: o.palette.text.secondary
818
823
  },
@@ -822,7 +827,7 @@ const i = (o) => ({
822
827
  backgroundColor: o.palette.patronus?.marbleLight[10]
823
828
  },
824
829
  "& .MuiTypography-root": {
825
- color: o.palette.patronus?.marbleLight[10]
830
+ color: "#fff"
826
831
  }
827
832
  },
828
833
  "&:active": {
@@ -936,7 +941,7 @@ const i = (o) => ({
936
941
  }
937
942
  }
938
943
  }
939
- }), y = (o) => ({
944
+ }), L = (o) => ({
940
945
  M4LSideBar: {
941
946
  styleOverrides: {
942
947
  "&.M4LSideBar-root": {
@@ -1425,7 +1430,7 @@ const i = (o) => ({
1425
1430
  }
1426
1431
  }
1427
1432
  }
1428
- }), L = (o) => ({
1433
+ }), y = (o) => ({
1429
1434
  M4LAreasAdmin: {
1430
1435
  styleOverrides: {
1431
1436
  "&.M4LAreasAdmin-root": {
@@ -1473,6 +1478,8 @@ const i = (o) => ({
1473
1478
  display: "flex",
1474
1479
  overflow: "hidden",
1475
1480
  width: "100%",
1481
+ backgroundColor: o.palette.state.active,
1482
+ borderRadius: "4px",
1476
1483
  "& .M4LAreasAdmin-areaChipRoot ": {
1477
1484
  margin: "0px",
1478
1485
  borderRadius: "4px 0px 0px 4px",
@@ -1487,12 +1494,11 @@ const i = (o) => ({
1487
1494
  background: o.palette.state.active,
1488
1495
  ...o.typography.body,
1489
1496
  color: o.palette.text.primary,
1490
- [o.breakpoints.down("sm")]: {
1491
- borderLeft: "1px solid",
1492
- borderColor: `${o.palette.patronus?.marbleLight[10]}!important`
1493
- },
1494
1497
  "& .M4LIconButton-root": {
1495
1498
  backgroundColor: `${o.palette.state.active}!important`,
1499
+ borderLeft: "1px solid",
1500
+ borderColor: o.palette.patronus?.marbleLight[10],
1501
+ borderRadius: "0px",
1496
1502
  "& .M4LIcon-icon": {
1497
1503
  backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1498
1504
  }
@@ -1574,6 +1580,11 @@ const i = (o) => ({
1574
1580
  }
1575
1581
  }
1576
1582
  }
1583
+ },
1584
+ "&.M4LAreasAdmin-isMobile": {
1585
+ "& .M4LAreasAdmin-areaContainerChips": {
1586
+ width: "100%"
1587
+ }
1577
1588
  }
1578
1589
  }
1579
1590
  }
@@ -1586,6 +1597,27 @@ const i = (o) => ({
1586
1597
  }
1587
1598
  }
1588
1599
  }
1600
+ },
1601
+ M4LAreasAdminMobilePopoverOptions: {
1602
+ styleOverrides: {
1603
+ "&.M4LAreasAdmin-areasPopoverMobileOptions": {
1604
+ "& .MuiPaper-root": {
1605
+ "& .M4LButton-root": {
1606
+ marginTop: "8px",
1607
+ "& .MuiButtonBase-root": {
1608
+ textWrap: "nowrap"
1609
+ }
1610
+ }
1611
+ }
1612
+ }
1613
+ }
1614
+ },
1615
+ M4LAreasAdminPopoverListWindows: {
1616
+ styleOverrides: {
1617
+ "&.M4LAreasAdmin-areasPopoverListWindows": {
1618
+ test: "root"
1619
+ }
1620
+ }
1589
1621
  }
1590
1622
  }), f = (o) => ({
1591
1623
  M4LAreasViewer: {
@@ -1851,12 +1883,13 @@ const i = (o) => ({
1851
1883
  backgroundColor: "transparent"
1852
1884
  },
1853
1885
  "& .M4LAreasViewer-windowRootContainer": {
1854
- background: o.palette.background.default,
1886
+ background: o.palette.background.background,
1855
1887
  borderRadius: "4px",
1856
1888
  "& .M4LAreasViewer-windowHeader": {
1857
1889
  height: "28px",
1858
1890
  minHeight: "28px",
1859
1891
  boxShadow: "none",
1892
+ background: o.palette.background.neutral,
1860
1893
  "& .M4LTypography-root .MuiTypography-root": {
1861
1894
  ...o.typography.body,
1862
1895
  color: o.palette.text.secondary
@@ -1870,7 +1903,7 @@ const i = (o) => ({
1870
1903
  boxShadow: o.customShadows.z3,
1871
1904
  padding: "4px",
1872
1905
  "& .M4LAreasViewer-windowHeader": {
1873
- background: o.palette.background.background,
1906
+ background: o.palette.background.neutral,
1874
1907
  height: "28px",
1875
1908
  borderRadius: "4px",
1876
1909
  boxShadow: o.customShadows.z1,
@@ -1910,11 +1943,11 @@ const i = (o) => ({
1910
1943
  " .M4LIcon-icon": {
1911
1944
  width: "100px",
1912
1945
  height: "100px",
1913
- backgroundColor: o.palette.text.secondary
1946
+ backgroundColor: o.palette.state.skeleton.default
1914
1947
  }
1915
1948
  },
1916
1949
  "& .M4LAreasViewer-areasLoadingErrorTitle": {
1917
- ...o.typography.h5,
1950
+ ...o.typography.h3,
1918
1951
  color: o.palette.text.primary,
1919
1952
  [o.breakpoints.down("sm")]: {
1920
1953
  ...o.typography.h5
@@ -1987,11 +2020,11 @@ const i = (o) => ({
1987
2020
  " .M4LIcon-icon": {
1988
2021
  width: "100px",
1989
2022
  height: "100px",
1990
- backgroundColor: o.palette.text.secondary
2023
+ backgroundColor: o.palette.state.skeleton.default
1991
2024
  }
1992
2025
  },
1993
2026
  "& .M4LAreasViewer-areasLoadingErrorTitle": {
1994
- ...o.typography.h5,
2027
+ ...o.typography.h3,
1995
2028
  color: o.palette.text.primary,
1996
2029
  [o.breakpoints.down("sm")]: {
1997
2030
  ...o.typography.h5
@@ -2073,9 +2106,14 @@ const i = (o) => ({
2073
2106
  display: "flex",
2074
2107
  width: "100%",
2075
2108
  overflow: "hidden",
2076
- height: "auto",
2109
+ height: "48px",
2077
2110
  alignItems: "center",
2078
2111
  borderRadius: "6px",
2112
+ padding: "8px",
2113
+ borderTop: "1px solid",
2114
+ borderColor: o.palette.state.default,
2115
+ background: o.palette.background.neutral,
2116
+ boxShadow: o.customShadows.z2,
2079
2117
  "& .M4LAppBar-containerIconMenuToggle": {
2080
2118
  display: "flex",
2081
2119
  justifyContent: "center",
@@ -2111,11 +2149,12 @@ const i = (o) => ({
2111
2149
  },
2112
2150
  "& .M4LAppBar-containerChilds": {
2113
2151
  display: "flex",
2114
- width: "100%",
2152
+ width: "70%",
2115
2153
  overflow: "visible",
2116
2154
  alignItems: "center",
2117
2155
  borderRadius: "4px",
2118
2156
  [o.breakpoints.down("sm")]: {
2157
+ width: "100%",
2119
2158
  alignItems: "center",
2120
2159
  gap: "8px",
2121
2160
  borderRadius: "4px 0px 0px 4px",
@@ -2199,7 +2238,7 @@ const i = (o) => ({
2199
2238
  }
2200
2239
  }
2201
2240
  }
2202
- }), C = (o) => ({
2241
+ }), k = (o) => ({
2203
2242
  M4LModuleLayout: {
2204
2243
  styleOverrides: {
2205
2244
  "&.M4LModuleLayout-root": {
@@ -2219,7 +2258,7 @@ const i = (o) => ({
2219
2258
  }
2220
2259
  }
2221
2260
  }
2222
- }), k = (o) => ({
2261
+ }), C = (o) => ({
2223
2262
  M4LMasterDetailLayout: {
2224
2263
  styleOverrides: {
2225
2264
  "&.M4LMasterDetailLayout-root": {
@@ -2345,7 +2384,11 @@ const i = (o) => ({
2345
2384
  M4LCommonActions: {
2346
2385
  styleOverrides: {
2347
2386
  "&.M4LCommonActions-root": {
2348
- padding: "14px 0"
2387
+ padding: "14px",
2388
+ display: "flex",
2389
+ gap: "14px",
2390
+ justifyContent: "flex-end",
2391
+ width: "100%"
2349
2392
  }
2350
2393
  }
2351
2394
  }
@@ -2526,6 +2569,7 @@ const i = (o) => ({
2526
2569
  "&.M4LPeriod-root": {
2527
2570
  border: "solid 1px",
2528
2571
  borderColor: o.palette.state.borderDefault,
2572
+ boxShadow: o.customShadows.z2,
2529
2573
  display: "flex",
2530
2574
  width: "100%",
2531
2575
  gap: "2px",
@@ -2594,10 +2638,14 @@ const i = (o) => ({
2594
2638
  },
2595
2639
  "&.M4LPeriod-stateError": {
2596
2640
  borderColor: o.palette.state.error.normal,
2641
+ boxShadow: o.customShadows.z2,
2597
2642
  "&.M4LPeriod-stateError:hover": {
2598
- borderColor: o.palette.state.error.normal
2643
+ borderColor: o.palette.state.error.normal,
2644
+ background: "transparent",
2645
+ boxShadow: o.customShadows.z2
2599
2646
  },
2600
- "& .MuiTextField-root": {
2647
+ "& .MuiTextField-root:hover": {
2648
+ background: "transparent",
2601
2649
  "& .MuiInputBase-root:hover": {
2602
2650
  borderRadius: "2px",
2603
2651
  paddingLeft: "4px",
@@ -2606,13 +2654,55 @@ const i = (o) => ({
2606
2654
  }
2607
2655
  },
2608
2656
  "&.M4LPeriod-stateWarning": {
2609
- borderColor: o.palette.state.warning.normal
2657
+ borderColor: o.palette.state.warning.normal,
2658
+ boxShadow: o.customShadows.z2,
2659
+ "&.M4LPeriod-stateWarning:hover": {
2660
+ borderColor: o.palette.state.warning.normal,
2661
+ background: "transparent",
2662
+ boxShadow: o.customShadows.z2,
2663
+ "& .MuiTextField-root:hover": {
2664
+ background: "transparent",
2665
+ "& .MuiInputBase-root:hover": {
2666
+ borderRadius: "2px",
2667
+ paddingLeft: "4px",
2668
+ background: "transparent"
2669
+ }
2670
+ }
2671
+ }
2610
2672
  },
2611
2673
  "&.M4LPeriod-stateSuccess": {
2612
- borderColor: o.palette.state.success.normal
2674
+ borderColor: o.palette.state.success.normal,
2675
+ boxShadow: o.customShadows.z2,
2676
+ "&.M4LPeriod-stateSuccess:hover": {
2677
+ borderColor: o.palette.state.success.normal,
2678
+ background: "transparent",
2679
+ boxShadow: o.customShadows.z2,
2680
+ "& .MuiTextField-root:hover": {
2681
+ background: "transparent",
2682
+ "& .MuiInputBase-root:hover": {
2683
+ borderRadius: "2px",
2684
+ paddingLeft: "4px",
2685
+ background: "transparent"
2686
+ }
2687
+ }
2688
+ }
2613
2689
  },
2614
2690
  "&.M4LPeriod-stateInfo": {
2615
- borderColor: o.palette.state.info.normal
2691
+ borderColor: o.palette.state.info.normal,
2692
+ boxShadow: o.customShadows.z2,
2693
+ "&.M4LPeriod-stateInfo:hover": {
2694
+ borderColor: o.palette.state.info.normal,
2695
+ background: "transparent",
2696
+ boxShadow: o.customShadows.z2,
2697
+ "& .MuiTextField-root:hover": {
2698
+ background: "transparent",
2699
+ "& .MuiInputBase-root:hover": {
2700
+ borderRadius: "2px",
2701
+ paddingLeft: "4px",
2702
+ background: "transparent"
2703
+ }
2704
+ }
2705
+ }
2616
2706
  }
2617
2707
  }
2618
2708
  }
@@ -2633,91 +2723,106 @@ const i = (o) => ({
2633
2723
  minWidth: "fit-content",
2634
2724
  margin: "0px",
2635
2725
  background: "transparent",
2636
- "& .react-resizable": {
2726
+ "& .M4LModal-windowBaseRoot": {
2727
+ display: "flex",
2728
+ flexDirection: "column",
2729
+ width: "100%",
2730
+ height: "100%",
2731
+ padding: "12px"
2732
+ },
2733
+ "& .M4LModal-containerWindow": {
2637
2734
  display: "flex",
2638
2735
  flexDirection: "column",
2639
2736
  justifyContent: "center",
2640
2737
  alignItems: "center",
2641
- height: "292px",
2642
- width: "250px",
2643
- minHeight: "292px",
2644
- minWidth: "250px",
2645
- "& .custom-handle-nw": {
2646
- position: "absolute",
2647
- top: "0",
2648
- left: "0"
2738
+ height: "100%",
2739
+ overflow: "hidden",
2740
+ width: "100%",
2741
+ gap: "24px",
2742
+ background: o.palette.background.default,
2743
+ boxShadow: o.customShadows.z3,
2744
+ borderRadius: "4px",
2745
+ "& .M4LCommonActions-root": {
2746
+ padding: "12px 12px 12px 0px",
2747
+ margin: "0px",
2748
+ width: "100%",
2749
+ height: "fit-content",
2750
+ display: "flex",
2751
+ flexDirection: "row",
2752
+ justifyContent: "flex-end",
2753
+ gap: "12px",
2754
+ background: o.palette.background.neutral
2649
2755
  },
2650
- "& .M4LModal-containerWindow": {
2756
+ "& .M4LModal-containerMassageIlustration": {
2651
2757
  display: "flex",
2652
2758
  flexDirection: "column",
2653
2759
  justifyContent: "center",
2654
2760
  alignItems: "center",
2655
- height: "fit-content",
2656
- overflow: "hidden",
2657
- width: "fit-content",
2658
- minWidth: "250px",
2659
- padding: "0px",
2660
- gap: "24px",
2661
- background: o.palette.background.default,
2662
- boxShadow: o.customShadows.z3,
2663
- borderRadius: "4px",
2664
- "& .M4LCommonActions-root": {
2665
- padding: "12px 12px 12px 0px",
2666
- margin: "0px",
2667
- width: "100%",
2668
- display: "flex",
2669
- flexDirection: "row",
2670
- justifyContent: "flex-end",
2671
- gap: "12px",
2672
- background: o.palette.background.neutral
2673
- },
2674
- "& .M4LModal-containerMassageIlustration": {
2761
+ height: "100%",
2762
+ width: "100%",
2763
+ padding: "24px 12px 0px 12px",
2764
+ "& .M4LModal-modalContent": {
2675
2765
  display: "flex",
2676
2766
  flexDirection: "column",
2677
- height: "fit-content",
2678
- width: "fit-content",
2679
- padding: "24px 12px 0px 12px",
2680
- "& .M4LModal-modalContent": {
2767
+ justifyContent: "center",
2768
+ alignItems: "center",
2769
+ gap: "12px",
2770
+ "& .M4LModal-illustrationContainer": {
2681
2771
  display: "flex",
2682
2772
  flexDirection: "column",
2683
2773
  justifyContent: "center",
2684
2774
  alignItems: "center",
2685
- gap: "12px",
2686
- "& .M4LModal-illustrationContainer": {
2687
- display: "flex",
2688
- flexDirection: "column",
2689
- justifyContent: "center",
2690
- alignItems: "center",
2691
- marginBottom: "12px",
2692
- height: "100px",
2693
- width: "100px"
2694
- },
2695
- "& .MuiTypography-subtitle": {
2696
- ...o.typography.subtitleDens,
2697
- color: o.palette.text.primary
2698
- }
2775
+ marginBottom: "12px",
2776
+ height: "100px",
2777
+ width: "100px"
2778
+ },
2779
+ "& .MuiTypography-subtitle": {
2780
+ ...o.typography.subtitleDens,
2781
+ color: o.palette.text.primary
2782
+ },
2783
+ "& .M4LModal-messageContainer": {
2784
+ ...o.typography.body,
2785
+ color: o.palette.text.primary,
2786
+ textAlign: "center"
2699
2787
  }
2700
- },
2701
- "& .M4LModal-headerContainer": {
2788
+ }
2789
+ },
2790
+ "& .M4LModal-headerContainer": {
2791
+ display: "flex",
2792
+ alignItems: "center",
2793
+ justifyContent: "space-between",
2794
+ minHeight: "36px",
2795
+ borderBottom: `1px solid ${o.palette.divider}`,
2796
+ "& .M4LModal-iconHeader": {
2702
2797
  display: "flex",
2703
2798
  alignItems: "center",
2704
- justifyContent: "space-between",
2705
- minHeight: "36px",
2706
- borderBottom: `1px solid ${o.palette.divider}`,
2707
- "& .M4LModal-iconHeader": {
2708
- display: "flex",
2709
- alignItems: "center",
2710
- justifyContent: "center",
2711
- marginRight: o.spacing(1.5)
2712
- },
2713
- "& .M4LModal-titleHeader": {
2714
- ...o.typography.subtitle1,
2715
- width: "100%",
2716
- whiteSpace: "nowrap",
2717
- textOverflow: "ellipsis",
2718
- overflow: "hidden"
2719
- },
2720
- "& .M4LModal-iconCloseHeader": {}
2799
+ justifyContent: "center",
2800
+ marginRight: o.spacing(1.5)
2801
+ },
2802
+ "& .M4LModal-titleHeader": {
2803
+ ...o.typography.subtitle1,
2804
+ width: "100%",
2805
+ whiteSpace: "nowrap",
2806
+ textOverflow: "ellipsis",
2807
+ overflow: "hidden"
2808
+ },
2809
+ "& .M4LModal-iconCloseHeader": {}
2810
+ }
2811
+ },
2812
+ "& .react-resizable": {
2813
+ display: "flex",
2814
+ flexDirection: "column",
2815
+ justifyContent: "center",
2816
+ alignItems: "center",
2817
+ "& .custom-handle-nw": {
2818
+ position: "absolute",
2819
+ top: "0",
2820
+ left: "0"
2821
+ },
2822
+ "& .M4LIcon-root": {
2823
+ "& .M4LIcon-icon": {
2824
+ background: o.palette.text.secondary,
2825
+ boxShadow: o.customShadows.z1
2721
2826
  }
2722
2827
  }
2723
2828
  }
@@ -2729,7 +2834,6 @@ const i = (o) => ({
2729
2834
  M4LPaperForm: {
2730
2835
  styleOverrides: {
2731
2836
  "&.M4LPaperForm-root": {
2732
- test: "root",
2733
2837
  margin: "0px 0px 8px 0px",
2734
2838
  padding: "0",
2735
2839
  borderRadius: "4px",
@@ -2738,7 +2842,7 @@ const i = (o) => ({
2738
2842
  border: "1px solid",
2739
2843
  borderColor: o.palette.state.default,
2740
2844
  width: "100%",
2741
- height: "100%",
2845
+ height: "auto",
2742
2846
  "& .M4LPaperForm-headerContainer": {
2743
2847
  width: "100%",
2744
2848
  height: "fit-content",
@@ -2761,7 +2865,7 @@ const i = (o) => ({
2761
2865
  },
2762
2866
  "& .M4LPaperForm-content": {
2763
2867
  height: "fit-content",
2764
- width: "fit-content",
2868
+ width: "100%",
2765
2869
  padding: "12px 8px 8px 8px"
2766
2870
  }
2767
2871
  }
@@ -2792,12 +2896,21 @@ const i = (o) => ({
2792
2896
  }
2793
2897
  }
2794
2898
  }
2899
+ }), F = (o) => ({
2900
+ M4LBadge: {
2901
+ styleOverrides: {
2902
+ "& .M4LBadge-root": {
2903
+ test: "root"
2904
+ }
2905
+ }
2906
+ }
2795
2907
  });
2796
2908
  export {
2797
- D as A,
2798
- P as B,
2799
- z as C,
2800
- V as D,
2909
+ m as A,
2910
+ D as B,
2911
+ P as C,
2912
+ z as D,
2913
+ V as E,
2801
2914
  b as M,
2802
2915
  i as a,
2803
2916
  T as b,
@@ -2807,22 +2920,22 @@ export {
2807
2920
  l as f,
2808
2921
  M as g,
2809
2922
  s as h,
2810
- c as i,
2811
- u as j,
2812
- x as k,
2813
- g as l,
2814
- y as m,
2815
- w as n,
2816
- L as o,
2817
- f as p,
2818
- v as q,
2819
- h as r,
2820
- C as s,
2923
+ F as i,
2924
+ c as j,
2925
+ u as k,
2926
+ x as l,
2927
+ g as m,
2928
+ L as n,
2929
+ w as o,
2930
+ y as p,
2931
+ f as q,
2932
+ v as r,
2933
+ h as s,
2821
2934
  k as t,
2822
- I as u,
2823
- B as v,
2824
- S as w,
2825
- R as x,
2826
- A as y,
2827
- m as z
2935
+ C as u,
2936
+ I as v,
2937
+ B as w,
2938
+ S as x,
2939
+ R as y,
2940
+ A as z
2828
2941
  };