coer-elements 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/components/lib/coer-button/coer-button.component.mjs +2 -2
- package/esm2022/components/lib/coer-checkbox/coer-checkbox.component.mjs +2 -2
- package/esm2022/components/lib/coer-filebox/coer-filebox.component.mjs +2 -2
- package/esm2022/components/lib/coer-grid/coer-grid.component.mjs +2 -2
- package/esm2022/components/lib/coer-numberbox/coer-numberbox.component.mjs +2 -2
- package/esm2022/components/lib/coer-page-title/coer-page-title.component.mjs +2 -2
- package/esm2022/components/lib/coer-selectbox/coer-selectbox.component.mjs +2 -2
- package/esm2022/components/lib/coer-switch/coer-switch.component.mjs +2 -2
- package/esm2022/components/lib/coer-tab/coer-tab.component.mjs +2 -2
- package/esm2022/components/lib/coer-textarea/coer-textarea.component.mjs +2 -2
- package/esm2022/components/lib/coer-textbox/coer-textbox.component.mjs +2 -2
- package/esm2022/tools/lib/coer-alert/coer-alert.component.mjs +8 -7
- package/esm2022/tools/lib/colors.class.mjs +68 -0
- package/esm2022/tools/public-api.mjs +2 -1
- package/fesm2022/coer-elements-components.mjs +22 -22
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +75 -7
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/bootstrap.scss +2 -1
- package/styles/coer-elements.css +287 -0
- package/styles/colors.scss +2 -0
- package/tools/lib/colors.class.d.ts +21 -0
- package/tools/public-api.d.ts +1 -0
package/styles/coer-elements.css
CHANGED
@@ -194,6 +194,7 @@ mat-nav-list.coer-menu-option mat-list-item:hover {
|
|
194
194
|
--white: #f5f5f5;
|
195
195
|
--black: #252525;
|
196
196
|
--orange: #fd6031;
|
197
|
+
--purple: #a615bc;
|
197
198
|
}
|
198
199
|
|
199
200
|
.text-blue {
|
@@ -549,6 +550,7 @@ div.coer-text-box * {
|
|
549
550
|
--white: #f5f5f5;
|
550
551
|
--black: #252525;
|
551
552
|
--orange: #fd6031;
|
553
|
+
--purple: #a615bc;
|
552
554
|
}
|
553
555
|
div.coer-text-box .text-blue {
|
554
556
|
color: #0d6efd !important;
|
@@ -801,6 +803,7 @@ div.coer-textarea * {
|
|
801
803
|
--white: #f5f5f5;
|
802
804
|
--black: #252525;
|
803
805
|
--orange: #fd6031;
|
806
|
+
--purple: #a615bc;
|
804
807
|
}
|
805
808
|
div.coer-textarea .text-blue {
|
806
809
|
color: #0d6efd !important;
|
@@ -1035,6 +1038,7 @@ div.coer-select-box * {
|
|
1035
1038
|
--white: #f5f5f5;
|
1036
1039
|
--black: #252525;
|
1037
1040
|
--orange: #fd6031;
|
1041
|
+
--purple: #a615bc;
|
1038
1042
|
}
|
1039
1043
|
div.coer-select-box .text-blue {
|
1040
1044
|
color: #0d6efd !important;
|
@@ -1331,6 +1335,7 @@ div.coer-number-box * {
|
|
1331
1335
|
--white: #f5f5f5;
|
1332
1336
|
--black: #252525;
|
1333
1337
|
--orange: #fd6031;
|
1338
|
+
--purple: #a615bc;
|
1334
1339
|
}
|
1335
1340
|
div.coer-number-box .text-blue {
|
1336
1341
|
color: #0d6efd !important;
|
@@ -1591,6 +1596,7 @@ div.coer-switch * {
|
|
1591
1596
|
--white: #f5f5f5;
|
1592
1597
|
--black: #252525;
|
1593
1598
|
--orange: #fd6031;
|
1599
|
+
--purple: #a615bc;
|
1594
1600
|
}
|
1595
1601
|
div.coer-switch .text-blue {
|
1596
1602
|
color: #0d6efd !important;
|
@@ -1769,6 +1775,7 @@ div.coer-checkbox * {
|
|
1769
1775
|
--white: #f5f5f5;
|
1770
1776
|
--black: #252525;
|
1771
1777
|
--orange: #fd6031;
|
1778
|
+
--purple: #a615bc;
|
1772
1779
|
}
|
1773
1780
|
div.coer-checkbox .text-blue {
|
1774
1781
|
color: #0d6efd !important;
|
@@ -1972,6 +1979,7 @@ div.coer-tab * {
|
|
1972
1979
|
--white: #f5f5f5;
|
1973
1980
|
--black: #252525;
|
1974
1981
|
--orange: #fd6031;
|
1982
|
+
--purple: #a615bc;
|
1975
1983
|
}
|
1976
1984
|
div.coer-tab .text-blue {
|
1977
1985
|
color: #0d6efd !important;
|
@@ -2166,6 +2174,7 @@ header.coer-page-title * {
|
|
2166
2174
|
--white: #f5f5f5;
|
2167
2175
|
--black: #252525;
|
2168
2176
|
--orange: #fd6031;
|
2177
|
+
--purple: #a615bc;
|
2169
2178
|
}
|
2170
2179
|
header.coer-page-title .text-blue {
|
2171
2180
|
color: #0d6efd !important;
|
@@ -2355,6 +2364,7 @@ div.coer-grid * {
|
|
2355
2364
|
--white: #f5f5f5;
|
2356
2365
|
--black: #252525;
|
2357
2366
|
--orange: #fd6031;
|
2367
|
+
--purple: #a615bc;
|
2358
2368
|
}
|
2359
2369
|
div.coer-grid .text-blue {
|
2360
2370
|
color: #0d6efd !important;
|
@@ -2722,6 +2732,282 @@ div.modal-content {
|
|
2722
2732
|
--white: #f5f5f5;
|
2723
2733
|
--black: #252525;
|
2724
2734
|
--orange: #fd6031;
|
2735
|
+
--purple: #a615bc;
|
2736
|
+
}
|
2737
|
+
|
2738
|
+
.text-blue {
|
2739
|
+
color: #0d6efd !important;
|
2740
|
+
}
|
2741
|
+
|
2742
|
+
.text-blue-bold {
|
2743
|
+
color: #0d6efd !important;
|
2744
|
+
font-weight: bold !important;
|
2745
|
+
}
|
2746
|
+
|
2747
|
+
.background-blue {
|
2748
|
+
background-color: #0d6efd !important;
|
2749
|
+
}
|
2750
|
+
|
2751
|
+
.background-border-blue {
|
2752
|
+
background-color: #0d6efd !important;
|
2753
|
+
border-color: #0d6efd !important;
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
.border-blue {
|
2757
|
+
border-color: #0d6efd !important;
|
2758
|
+
}
|
2759
|
+
|
2760
|
+
.text-gray {
|
2761
|
+
color: #6c757d !important;
|
2762
|
+
}
|
2763
|
+
|
2764
|
+
.text-gray-bold {
|
2765
|
+
color: #6c757d !important;
|
2766
|
+
font-weight: bold !important;
|
2767
|
+
}
|
2768
|
+
|
2769
|
+
.background-gray {
|
2770
|
+
background-color: #6c757d !important;
|
2771
|
+
}
|
2772
|
+
|
2773
|
+
.background-border-gray {
|
2774
|
+
background-color: #6c757d !important;
|
2775
|
+
border-color: #6c757d !important;
|
2776
|
+
}
|
2777
|
+
|
2778
|
+
.border-gray {
|
2779
|
+
border-color: #6c757d !important;
|
2780
|
+
}
|
2781
|
+
|
2782
|
+
.text-green {
|
2783
|
+
color: #198754 !important;
|
2784
|
+
}
|
2785
|
+
|
2786
|
+
.text-green-bold {
|
2787
|
+
color: #198754 !important;
|
2788
|
+
font-weight: bold !important;
|
2789
|
+
}
|
2790
|
+
|
2791
|
+
.background-green {
|
2792
|
+
background-color: #198754 !important;
|
2793
|
+
}
|
2794
|
+
|
2795
|
+
.background-border-green {
|
2796
|
+
background-color: #198754 !important;
|
2797
|
+
border-color: #198754 !important;
|
2798
|
+
}
|
2799
|
+
|
2800
|
+
.border-green {
|
2801
|
+
border-color: #198754 !important;
|
2802
|
+
}
|
2803
|
+
|
2804
|
+
.text-yellow {
|
2805
|
+
color: #ffc107 !important;
|
2806
|
+
}
|
2807
|
+
|
2808
|
+
.text-yellow-bold {
|
2809
|
+
color: #ffc107 !important;
|
2810
|
+
font-weight: bold !important;
|
2811
|
+
}
|
2812
|
+
|
2813
|
+
.background-yellow {
|
2814
|
+
background-color: #ffc107 !important;
|
2815
|
+
}
|
2816
|
+
|
2817
|
+
.background-border-yellow {
|
2818
|
+
background-color: #ffc107 !important;
|
2819
|
+
border-color: #ffc107 !important;
|
2820
|
+
}
|
2821
|
+
|
2822
|
+
.border-yellow {
|
2823
|
+
border-color: #ffc107 !important;
|
2824
|
+
}
|
2825
|
+
|
2826
|
+
.text-red {
|
2827
|
+
color: #dc3545 !important;
|
2828
|
+
}
|
2829
|
+
|
2830
|
+
.text-red-bold {
|
2831
|
+
color: #dc3545 !important;
|
2832
|
+
font-weight: bold !important;
|
2833
|
+
}
|
2834
|
+
|
2835
|
+
.background-red {
|
2836
|
+
background-color: #dc3545 !important;
|
2837
|
+
}
|
2838
|
+
|
2839
|
+
.background-border-red {
|
2840
|
+
background-color: #dc3545 !important;
|
2841
|
+
border-color: #dc3545 !important;
|
2842
|
+
}
|
2843
|
+
|
2844
|
+
.border-red {
|
2845
|
+
border-color: #dc3545 !important;
|
2846
|
+
}
|
2847
|
+
|
2848
|
+
.text-white {
|
2849
|
+
color: #f5f5f5 !important;
|
2850
|
+
}
|
2851
|
+
|
2852
|
+
.text-white-bold {
|
2853
|
+
color: #f5f5f5 !important;
|
2854
|
+
font-weight: bold !important;
|
2855
|
+
}
|
2856
|
+
|
2857
|
+
.background-white {
|
2858
|
+
background-color: #f5f5f5 !important;
|
2859
|
+
}
|
2860
|
+
|
2861
|
+
.background-border-white {
|
2862
|
+
background-color: #f5f5f5 !important;
|
2863
|
+
border-color: #f5f5f5 !important;
|
2864
|
+
}
|
2865
|
+
|
2866
|
+
.border-white {
|
2867
|
+
border-color: #f5f5f5 !important;
|
2868
|
+
}
|
2869
|
+
|
2870
|
+
.text-black {
|
2871
|
+
color: #252525 !important;
|
2872
|
+
}
|
2873
|
+
|
2874
|
+
.text-black-bold {
|
2875
|
+
color: #252525 !important;
|
2876
|
+
font-weight: bold !important;
|
2877
|
+
}
|
2878
|
+
|
2879
|
+
.background-black {
|
2880
|
+
background-color: #252525 !important;
|
2881
|
+
}
|
2882
|
+
|
2883
|
+
.background-border-black {
|
2884
|
+
background-color: #252525 !important;
|
2885
|
+
border-color: #252525 !important;
|
2886
|
+
}
|
2887
|
+
|
2888
|
+
.border-black {
|
2889
|
+
border-color: #252525 !important;
|
2890
|
+
}
|
2891
|
+
|
2892
|
+
.text-orange {
|
2893
|
+
color: #fd6031 !important;
|
2894
|
+
}
|
2895
|
+
|
2896
|
+
.text-orange-bold {
|
2897
|
+
color: #fd6031 !important;
|
2898
|
+
font-weight: bold !important;
|
2899
|
+
}
|
2900
|
+
|
2901
|
+
.background-orange {
|
2902
|
+
background-color: #fd6031 !important;
|
2903
|
+
}
|
2904
|
+
|
2905
|
+
.background-border-orange {
|
2906
|
+
background-color: #fd6031 !important;
|
2907
|
+
border-color: #fd6031 !important;
|
2908
|
+
}
|
2909
|
+
|
2910
|
+
.border-orange {
|
2911
|
+
border-color: #fd6031 !important;
|
2912
|
+
}
|
2913
|
+
|
2914
|
+
aside.toast-container {
|
2915
|
+
position: fixed;
|
2916
|
+
bottom: 0px;
|
2917
|
+
right: 0px;
|
2918
|
+
padding: 15px !important;
|
2919
|
+
z-index: 2000 !important;
|
2920
|
+
}
|
2921
|
+
aside.toast-container i, aside.toast-container svg {
|
2922
|
+
display: flex;
|
2923
|
+
align-items: center;
|
2924
|
+
}
|
2925
|
+
aside.toast-container strong {
|
2926
|
+
margin: 0px auto 0px 5px;
|
2927
|
+
}
|
2928
|
+
aside.toast-container div.toast,
|
2929
|
+
aside.toast-container div.toast-header {
|
2930
|
+
border-top-left-radius: 10px;
|
2931
|
+
border-top-right-radius: 10px;
|
2932
|
+
color: #f5f5f5;
|
2933
|
+
}
|
2934
|
+
aside.toast-container div.toast,
|
2935
|
+
aside.toast-container div.toast-body {
|
2936
|
+
border-bottom-left-radius: 10px;
|
2937
|
+
border-bottom-right-radius: 10px;
|
2938
|
+
color: #f5f5f5;
|
2939
|
+
}
|
2940
|
+
aside.toast-container div.toast-body {
|
2941
|
+
min-height: 36px;
|
2942
|
+
}
|
2943
|
+
aside.toast-container pre {
|
2944
|
+
font-family: Roboto, RobotoFallback, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;
|
2945
|
+
white-space: pre-wrap;
|
2946
|
+
font-size: medium;
|
2947
|
+
}
|
2948
|
+
aside.toast-container button {
|
2949
|
+
margin: 0px 2px !important;
|
2950
|
+
width: 10px !important;
|
2951
|
+
height: 10px !important;
|
2952
|
+
box-shadow: none !important;
|
2953
|
+
outline: none !important;
|
2954
|
+
border: none !important;
|
2955
|
+
}
|
2956
|
+
aside.toast-container div#alert-success div.toast-header,
|
2957
|
+
aside.toast-container div#alert-success div.toast-body {
|
2958
|
+
background-color: #198754;
|
2959
|
+
}
|
2960
|
+
aside.toast-container div#alert-info div.toast-header,
|
2961
|
+
aside.toast-container div#alert-info div.toast-body {
|
2962
|
+
background-color: #0d6efd;
|
2963
|
+
}
|
2964
|
+
aside.toast-container div#alert-error div.toast-header,
|
2965
|
+
aside.toast-container div#alert-error div.toast-body {
|
2966
|
+
background-color: #dc3545;
|
2967
|
+
}
|
2968
|
+
aside.toast-container div#alert-warning div.toast-header,
|
2969
|
+
aside.toast-container div#alert-warning div.toast-body {
|
2970
|
+
background-color: #ffc107;
|
2971
|
+
border-color: #252525;
|
2972
|
+
color: #252525;
|
2973
|
+
}
|
2974
|
+
aside.toast-container div#alert-success:hover,
|
2975
|
+
aside.toast-container div#alert-info:hover,
|
2976
|
+
aside.toast-container div#alert-error:hover,
|
2977
|
+
aside.toast-container div#alert-warning:hover {
|
2978
|
+
transform: scale(1.01);
|
2979
|
+
box-shadow: 2px 2px 10px lightslategray;
|
2980
|
+
cursor: default;
|
2981
|
+
}
|
2982
|
+
|
2983
|
+
button.sweet-alert-button {
|
2984
|
+
width: 100px !important;
|
2985
|
+
height: 40px !important;
|
2986
|
+
display: flex !important;
|
2987
|
+
align-items: center !important;
|
2988
|
+
justify-content: center !important;
|
2989
|
+
margin: 0px 5px !important;
|
2990
|
+
outline: none !important;
|
2991
|
+
border: none !important;
|
2992
|
+
box-shadow: none !important;
|
2993
|
+
}
|
2994
|
+
|
2995
|
+
aside.toast-container > * {
|
2996
|
+
border: none !important;
|
2997
|
+
z-index: 2000 !important;
|
2998
|
+
margin: 15px 0px 0px 0px !important;
|
2999
|
+
}
|
3000
|
+
|
3001
|
+
* {
|
3002
|
+
--blue: #0d6efd;
|
3003
|
+
--gray: #6c757d;
|
3004
|
+
--green: #198754;
|
3005
|
+
--yellow: #ffc107;
|
3006
|
+
--red: #dc3545;
|
3007
|
+
--white: #f5f5f5;
|
3008
|
+
--black: #252525;
|
3009
|
+
--orange: #fd6031;
|
3010
|
+
--purple: #a615bc;
|
2725
3011
|
}
|
2726
3012
|
|
2727
3013
|
.text-blue {
|
@@ -2970,6 +3256,7 @@ div.modal-content {
|
|
2970
3256
|
--white: #f5f5f5;
|
2971
3257
|
--black: #252525;
|
2972
3258
|
--orange: #fd6031;
|
3259
|
+
--purple: #a615bc;
|
2973
3260
|
}
|
2974
3261
|
|
2975
3262
|
.text-blue {
|
package/styles/colors.scss
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
--white: #f5f5f5;
|
8
8
|
--black: #252525;
|
9
9
|
--orange: #fd6031;
|
10
|
+
--purple: #a615bc;
|
10
11
|
}
|
11
12
|
|
12
13
|
$blue: #0d6efd;
|
@@ -17,6 +18,7 @@ $red: #dc3545;
|
|
17
18
|
$white: #f5f5f5;
|
18
19
|
$black: #252525;
|
19
20
|
$orange: #fd6031;
|
21
|
+
$purple: #a615bc;
|
20
22
|
|
21
23
|
//Blue
|
22
24
|
.text-blue {
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare class Colors {
|
2
|
+
static readonly blue = "#0d6efd";
|
3
|
+
static readonly gray = "#6c757d";
|
4
|
+
static readonly green = "#198754";
|
5
|
+
static readonly yellow = "#ffc107";
|
6
|
+
static readonly red = "#dc3545";
|
7
|
+
static readonly white = "#f5f5f5";
|
8
|
+
static readonly black = "#252525";
|
9
|
+
static readonly orange = "#fd6031";
|
10
|
+
static readonly purple = "#a615bc";
|
11
|
+
/** Returns the color palette in hexadecimal */
|
12
|
+
private static readonly colorsHex;
|
13
|
+
/** Returns the color palette in RGB */
|
14
|
+
private static readonly ColorsRGB;
|
15
|
+
/** Returns a random color in hexadecimal */
|
16
|
+
static GetRandomColorHex: () => string;
|
17
|
+
/** Returns the number of colors requested */
|
18
|
+
static GetColorHexList(quantity: number): string[];
|
19
|
+
/** Returns the number of colors requested with opacity */
|
20
|
+
static GetColorRGBList(quantity: number): string[];
|
21
|
+
}
|
package/tools/public-api.d.ts
CHANGED