@energycap/components 0.45.2-multi-select-component.20260303-1641 → 0.45.2-multi-select-component.20260303-1239

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.
Files changed (61) hide show
  1. package/README.md +188 -188
  2. package/fesm2022/energycap-components.mjs +183 -109
  3. package/fesm2022/energycap-components.mjs.map +1 -1
  4. package/package.json +1 -1
  5. package/schematics/collection.json +4 -4
  6. package/src/assets/images/favicon-ech.svg +14 -14
  7. package/src/assets/images/favicon-esa.svg +6 -6
  8. package/src/assets/images/favicon-eum.svg +13 -13
  9. package/src/assets/images/favicon-whitelabel.svg +4 -4
  10. package/src/assets/images/favicon.svg +12 -12
  11. package/src/assets/images/icon-carbonhub.svg +10 -10
  12. package/src/assets/images/icon-eum.svg +5 -5
  13. package/src/assets/images/icon-ucp.svg +12 -12
  14. package/src/assets/images/icon-wattics.svg +5 -5
  15. package/src/assets/images/icon.svg +11 -11
  16. package/src/assets/images/logo.svg +10 -10
  17. package/src/assets/images/splash-electric.svg +3 -3
  18. package/src/assets/images/splash-interval.svg +3 -3
  19. package/src/assets/images/splash-seedling.svg +11 -11
  20. package/src/assets/images/splash-water.svg +3 -3
  21. package/src/assets/locales/en_US.json +61 -61
  22. package/src/assets/scripts/unsupported-browser.js +17 -17
  23. package/src/styles/_base.scss +38 -38
  24. package/src/styles/_colors.scss +96 -96
  25. package/src/styles/_core.scss +3 -3
  26. package/src/styles/_functions.scss +114 -114
  27. package/src/styles/_global-variables.scss +230 -230
  28. package/src/styles/_icons.scss +23 -23
  29. package/src/styles/bootstrap/_grid.scss +33 -33
  30. package/src/styles/bootstrap/_reboot.scss +322 -322
  31. package/src/styles/components/_badge.scss +14 -14
  32. package/src/styles/components/_card.scss +21 -21
  33. package/src/styles/components/_link-icons.scss +37 -37
  34. package/src/styles/components/_splash.scss +188 -188
  35. package/src/styles/components/_tag.scss +18 -18
  36. package/src/styles/components/_unsupported-browsers.scss +23 -23
  37. package/src/styles/email/_email-base.scss +227 -227
  38. package/src/styles/email/email.scss +42 -42
  39. package/src/styles/index.scss +29 -29
  40. package/src/styles/mixins/_animations.scss +17 -17
  41. package/src/styles/mixins/_button-base.scss +206 -206
  42. package/src/styles/mixins/_card-base.scss +40 -40
  43. package/src/styles/mixins/_common.scss +51 -51
  44. package/src/styles/mixins/_dialog-base.scss +95 -95
  45. package/src/styles/mixins/_form-control-base.scss +674 -674
  46. package/src/styles/mixins/_login.scss +74 -74
  47. package/src/styles/mixins/_menu-base.scss +153 -153
  48. package/src/styles/mixins/_overlay-base.scss +32 -32
  49. package/src/styles/mixins/_resizable-base.scss +57 -57
  50. package/src/styles/mixins/_spinner-base.scss +34 -34
  51. package/src/styles/mixins/_table-base.scss +297 -297
  52. package/src/styles/mixins/_tabs-base.scss +146 -146
  53. package/src/styles/mixins/_tags-base.scss +121 -121
  54. package/src/styles/mixins/_text.scss +89 -89
  55. package/src/styles/mixins.scss +14 -14
  56. package/src/styles/utilities/_borders.scss +29 -29
  57. package/src/styles/utilities/_common.scss +49 -49
  58. package/src/styles/utilities/_layout.scss +115 -115
  59. package/src/styles/utilities/_spacing.scss +64 -64
  60. package/src/styles/utilities/_text.scss +139 -139
  61. package/types/energycap-components.d.ts +25 -1
@@ -1,228 +1,228 @@
1
- // Most email clients do not support CSS Custom Properties (variables),
2
- // so we need to reference SCSS variables instead.
3
- $ec-color-primary-dark: rgb(26, 26, 35);
4
- $ec-color-secondary-dark: rgba(26, 26, 35, .66);
5
- $ec-color-interactive: rgb(0, 132, 169);
6
- $ec-background-color: rgb(255, 255, 255);
7
- $ec-border-color: #D6D6D7;
8
- $ec-border-color-dark: #383840;
9
- $ec-font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
10
- $green-3: #cfd856;
11
- $ec-color-danger: rgb(197, 1, 36);
12
-
13
- @mixin body {
14
- font-size: 14px;
15
- font-weight: 400;
16
- color: $ec-color-primary-dark;
17
- line-height: 1.2;
18
- font-family: $ec-font-family;
19
- text-align: left;
20
- }
21
-
22
- @mixin content {
23
- h1, h2, h3, h4, h5, h6, p, ol, ul {
24
- margin-top: 0;
25
- margin-bottom: 16px;
26
- }
27
-
28
- h1, h2 {
29
- font-size: 20px;
30
- line-height: 24px;
31
- }
32
-
33
- h3, h4 {
34
- font-size: 16px;
35
- line-height: 24px;
36
- }
37
-
38
- h5, h6 {
39
- font-size: 12px;
40
- line-height: 16px;
41
- text-transform: uppercase;
42
- color: $ec-color-secondary-dark;
43
- }
44
-
45
- h1, h3, h5 {
46
- font-weight: bold;
47
- }
48
-
49
- h2, h4, h6 {
50
- font-weight: normal;
51
- }
52
-
53
- ol ol,
54
- ul ul,
55
- ol ul,
56
- ul ol {
57
- margin-bottom: 0;
58
- }
59
-
60
- b,
61
- strong {
62
- font-weight: bolder;
63
- }
64
-
65
- a {
66
- color: $ec-color-interactive;
67
- text-decoration: none;
68
- background-color: transparent;
69
- }
70
-
71
- th,
72
- td {
73
- text-align: left;
74
- }
75
-
76
- a:hover {
77
- text-decoration: underline;
78
- }
79
-
80
- a:focus {
81
- outline: $ec-color-interactive solid 2px;
82
- outline-offset: 2px;
83
- border-radius: 2px;
84
- }
85
-
86
- a:not([href]):not([tabindex]) {
87
- color: inherit;
88
- text-decoration: none;
89
- }
90
-
91
- a:not([href]):not([tabindex]),
92
- a:not([href]):not([tabindex]):focus {
93
- color: inherit;
94
- text-decoration: none;
95
- }
96
-
97
- a:not([href]):not([tabindex]):focus {
98
- outline: 0;
99
- }
100
-
101
- .email-button,
102
- .email-button-primary {
103
- display: inline-block;
104
- margin-right: 8px;
105
- margin-bottom: 8px;
106
- background-color: #D6D6D7;
107
- padding: 0 16px;
108
- line-height: 32px;
109
- border-radius: 4px;
110
- color: $ec-color-primary-dark !important;
111
- }
112
-
113
- .email-button-primary {
114
- background-color: $green-3;
115
- }
116
-
117
- .email-cta {
118
- display: inline-block;
119
- margin-right: 8px;
120
- margin-bottom: 8px;
121
- background-color: #17303B;
122
- color: #D8E902 !important;
123
- line-height: 48px;
124
- padding: 0 24px;
125
- min-width: 176px;
126
- text-align: center;
127
- border-radius: 6px;
128
- }
129
-
130
- .email-table {
131
- width: 100%;
132
- border-spacing: 0;
133
- border-collapse: separate;
134
- font-size: 12px;
135
- margin-bottom: 16px;
136
-
137
- th,
138
- td {
139
- height: 32px;
140
- line-height: 16px;
141
- padding: 8px;
142
- }
143
-
144
- th {
145
- font-weight: normal;
146
- vertical-align: middle;
147
- color: $ec-color-secondary-dark;
148
- border-bottom: 1px solid $ec-border-color-dark;
149
- }
150
-
151
- td {
152
- border-top: 1px solid $ec-border-color;
153
- vertical-align: top;
154
- }
155
-
156
- th:first-child,
157
- td:first-child {
158
- padding-left: 0;
159
- }
160
-
161
- th:last-child,
162
- td:last-child {
163
- padding-right: 0;
164
- }
165
-
166
- tr:first-child td {
167
- border-top: 0;
168
- }
169
- }
170
-
171
- img {
172
- max-width: 100%;
173
- height: auto;
174
- }
175
-
176
- hr {
177
- height: 0;
178
- border: 0;
179
- overflow: visible;
180
- margin: 16px 0;
181
- border-top: 1px solid $ec-border-color;
182
- }
183
-
184
- .text-left {
185
- text-align: left;
186
- }
187
-
188
- .text-center {
189
- text-align: center;
190
- }
191
-
192
- .text-right {
193
- text-align: right;
194
- }
195
-
196
- .text-underline {
197
- text-decoration: underline;
198
- }
199
-
200
- .text-caption-1 {
201
- color: $ec-color-secondary-dark;
202
- font-size: 12px;
203
- }
204
-
205
- .text-caption-2 {
206
- color: $ec-color-secondary-dark;
207
- font-size: 10px;
208
- }
209
-
210
- .font-color-danger {
211
- color: $ec-color-danger;
212
- }
213
- }
214
-
215
- @mixin logos {
216
- .email-logo {
217
- width: 100%;
218
- max-width: 292px;
219
- font-size: 28px;
220
- font-weight: normal;
221
- }
222
-
223
- .email-logo-wl {
224
- margin-left: 4px;
225
- width: 56px;
226
- max-width: 56px;
227
- }
1
+ // Most email clients do not support CSS Custom Properties (variables),
2
+ // so we need to reference SCSS variables instead.
3
+ $ec-color-primary-dark: rgb(26, 26, 35);
4
+ $ec-color-secondary-dark: rgba(26, 26, 35, .66);
5
+ $ec-color-interactive: rgb(0, 132, 169);
6
+ $ec-background-color: rgb(255, 255, 255);
7
+ $ec-border-color: #D6D6D7;
8
+ $ec-border-color-dark: #383840;
9
+ $ec-font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
10
+ $green-3: #cfd856;
11
+ $ec-color-danger: rgb(197, 1, 36);
12
+
13
+ @mixin body {
14
+ font-size: 14px;
15
+ font-weight: 400;
16
+ color: $ec-color-primary-dark;
17
+ line-height: 1.2;
18
+ font-family: $ec-font-family;
19
+ text-align: left;
20
+ }
21
+
22
+ @mixin content {
23
+ h1, h2, h3, h4, h5, h6, p, ol, ul {
24
+ margin-top: 0;
25
+ margin-bottom: 16px;
26
+ }
27
+
28
+ h1, h2 {
29
+ font-size: 20px;
30
+ line-height: 24px;
31
+ }
32
+
33
+ h3, h4 {
34
+ font-size: 16px;
35
+ line-height: 24px;
36
+ }
37
+
38
+ h5, h6 {
39
+ font-size: 12px;
40
+ line-height: 16px;
41
+ text-transform: uppercase;
42
+ color: $ec-color-secondary-dark;
43
+ }
44
+
45
+ h1, h3, h5 {
46
+ font-weight: bold;
47
+ }
48
+
49
+ h2, h4, h6 {
50
+ font-weight: normal;
51
+ }
52
+
53
+ ol ol,
54
+ ul ul,
55
+ ol ul,
56
+ ul ol {
57
+ margin-bottom: 0;
58
+ }
59
+
60
+ b,
61
+ strong {
62
+ font-weight: bolder;
63
+ }
64
+
65
+ a {
66
+ color: $ec-color-interactive;
67
+ text-decoration: none;
68
+ background-color: transparent;
69
+ }
70
+
71
+ th,
72
+ td {
73
+ text-align: left;
74
+ }
75
+
76
+ a:hover {
77
+ text-decoration: underline;
78
+ }
79
+
80
+ a:focus {
81
+ outline: $ec-color-interactive solid 2px;
82
+ outline-offset: 2px;
83
+ border-radius: 2px;
84
+ }
85
+
86
+ a:not([href]):not([tabindex]) {
87
+ color: inherit;
88
+ text-decoration: none;
89
+ }
90
+
91
+ a:not([href]):not([tabindex]),
92
+ a:not([href]):not([tabindex]):focus {
93
+ color: inherit;
94
+ text-decoration: none;
95
+ }
96
+
97
+ a:not([href]):not([tabindex]):focus {
98
+ outline: 0;
99
+ }
100
+
101
+ .email-button,
102
+ .email-button-primary {
103
+ display: inline-block;
104
+ margin-right: 8px;
105
+ margin-bottom: 8px;
106
+ background-color: #D6D6D7;
107
+ padding: 0 16px;
108
+ line-height: 32px;
109
+ border-radius: 4px;
110
+ color: $ec-color-primary-dark !important;
111
+ }
112
+
113
+ .email-button-primary {
114
+ background-color: $green-3;
115
+ }
116
+
117
+ .email-cta {
118
+ display: inline-block;
119
+ margin-right: 8px;
120
+ margin-bottom: 8px;
121
+ background-color: #17303B;
122
+ color: #D8E902 !important;
123
+ line-height: 48px;
124
+ padding: 0 24px;
125
+ min-width: 176px;
126
+ text-align: center;
127
+ border-radius: 6px;
128
+ }
129
+
130
+ .email-table {
131
+ width: 100%;
132
+ border-spacing: 0;
133
+ border-collapse: separate;
134
+ font-size: 12px;
135
+ margin-bottom: 16px;
136
+
137
+ th,
138
+ td {
139
+ height: 32px;
140
+ line-height: 16px;
141
+ padding: 8px;
142
+ }
143
+
144
+ th {
145
+ font-weight: normal;
146
+ vertical-align: middle;
147
+ color: $ec-color-secondary-dark;
148
+ border-bottom: 1px solid $ec-border-color-dark;
149
+ }
150
+
151
+ td {
152
+ border-top: 1px solid $ec-border-color;
153
+ vertical-align: top;
154
+ }
155
+
156
+ th:first-child,
157
+ td:first-child {
158
+ padding-left: 0;
159
+ }
160
+
161
+ th:last-child,
162
+ td:last-child {
163
+ padding-right: 0;
164
+ }
165
+
166
+ tr:first-child td {
167
+ border-top: 0;
168
+ }
169
+ }
170
+
171
+ img {
172
+ max-width: 100%;
173
+ height: auto;
174
+ }
175
+
176
+ hr {
177
+ height: 0;
178
+ border: 0;
179
+ overflow: visible;
180
+ margin: 16px 0;
181
+ border-top: 1px solid $ec-border-color;
182
+ }
183
+
184
+ .text-left {
185
+ text-align: left;
186
+ }
187
+
188
+ .text-center {
189
+ text-align: center;
190
+ }
191
+
192
+ .text-right {
193
+ text-align: right;
194
+ }
195
+
196
+ .text-underline {
197
+ text-decoration: underline;
198
+ }
199
+
200
+ .text-caption-1 {
201
+ color: $ec-color-secondary-dark;
202
+ font-size: 12px;
203
+ }
204
+
205
+ .text-caption-2 {
206
+ color: $ec-color-secondary-dark;
207
+ font-size: 10px;
208
+ }
209
+
210
+ .font-color-danger {
211
+ color: $ec-color-danger;
212
+ }
213
+ }
214
+
215
+ @mixin logos {
216
+ .email-logo {
217
+ width: 100%;
218
+ max-width: 292px;
219
+ font-size: 28px;
220
+ font-weight: normal;
221
+ }
222
+
223
+ .email-logo-wl {
224
+ margin-left: 4px;
225
+ width: 56px;
226
+ max-width: 56px;
227
+ }
228
228
  }
@@ -1,43 +1,43 @@
1
- /** Standalone styles for energycap application emails. Include the generated css (dist/components/energycap-email.min.css) in a style element in the head of the email document. */
2
- @import 'email-base';
3
-
4
- html {
5
- background-color: $ec-background-color;
6
- font-size: 16px;
7
- }
8
-
9
- body {
10
- @include body;
11
- margin: 0;
12
- }
13
-
14
- table {
15
- width: 100%;
16
- border-spacing: 0;
17
- font-size: 14px;
18
- }
19
-
20
- tr, td {
21
- border-image-width: 0;
22
- }
23
-
24
- .email-wrapper {
25
- width: 600px;
26
- padding-top: 48px;
27
- }
28
-
29
- .email-header {
30
- padding-right: 16px;
31
- padding-left: 16px;
32
- }
33
-
34
- .email-body {
35
- padding: 32px 24px;
36
- }
37
-
38
- [tabindex="-1"]:focus {
39
- outline: 0 !important;
40
- }
41
-
42
- @include content;
1
+ /** Standalone styles for energycap application emails. Include the generated css (dist/components/energycap-email.min.css) in a style element in the head of the email document. */
2
+ @import 'email-base';
3
+
4
+ html {
5
+ background-color: $ec-background-color;
6
+ font-size: 16px;
7
+ }
8
+
9
+ body {
10
+ @include body;
11
+ margin: 0;
12
+ }
13
+
14
+ table {
15
+ width: 100%;
16
+ border-spacing: 0;
17
+ font-size: 14px;
18
+ }
19
+
20
+ tr, td {
21
+ border-image-width: 0;
22
+ }
23
+
24
+ .email-wrapper {
25
+ width: 600px;
26
+ padding-top: 48px;
27
+ }
28
+
29
+ .email-header {
30
+ padding-right: 16px;
31
+ padding-left: 16px;
32
+ }
33
+
34
+ .email-body {
35
+ padding: 32px 24px;
36
+ }
37
+
38
+ [tabindex="-1"]:focus {
39
+ outline: 0 !important;
40
+ }
41
+
42
+ @include content;
43
43
  @include logos;
@@ -1,29 +1,29 @@
1
- @import 'bootstrap/reboot';
2
- @import '@angular/cdk/overlay-prebuilt.css';
3
-
4
- /*!
5
- * EnergyCAP Components - Base Styles
6
- */
7
- @import 'global-variables';
8
- @import 'core';
9
- @import 'base';
10
- @import 'bootstrap/grid';
11
-
12
- /*!
13
- * EnergyCAP Components - Global Component Styles
14
- */
15
- @import 'components/card';
16
- @import 'components/splash';
17
- @import 'components/unsupported-browsers';
18
- @import 'components/link-icons';
19
- @import 'components/tag';
20
- @import 'components/badge';
21
-
22
- /*!
23
- * EnergyCAP Components - Utility Styles
24
- */
25
- @import 'utilities/layout';
26
- @import 'utilities/spacing';
27
- @import 'utilities/text';
28
- @import 'utilities/borders';
29
- @import 'utilities/common';
1
+ @import 'bootstrap/reboot';
2
+ @import '@angular/cdk/overlay-prebuilt.css';
3
+
4
+ /*!
5
+ * EnergyCAP Components - Base Styles
6
+ */
7
+ @import 'global-variables';
8
+ @import 'core';
9
+ @import 'base';
10
+ @import 'bootstrap/grid';
11
+
12
+ /*!
13
+ * EnergyCAP Components - Global Component Styles
14
+ */
15
+ @import 'components/card';
16
+ @import 'components/splash';
17
+ @import 'components/unsupported-browsers';
18
+ @import 'components/link-icons';
19
+ @import 'components/tag';
20
+ @import 'components/badge';
21
+
22
+ /*!
23
+ * EnergyCAP Components - Utility Styles
24
+ */
25
+ @import 'utilities/layout';
26
+ @import 'utilities/spacing';
27
+ @import 'utilities/text';
28
+ @import 'utilities/borders';
29
+ @import 'utilities/common';
@@ -1,18 +1,18 @@
1
- @keyframes spin {
2
- from { transform: rotate(0); }
3
- to { transform: rotate(1turn); }
4
- }
5
-
6
- @mixin spin {
7
- animation: spin .8s linear infinite
8
- }
9
-
10
- @keyframes fade-in-out {
11
- 0% { opacity: .6;}
12
- 50% { opacity: 1;}
13
- 100% { opacity: .6;}
14
- }
15
-
16
- @mixin fade-in-out {
17
- animation: fade-in-out 1.5s ease-in infinite;
1
+ @keyframes spin {
2
+ from { transform: rotate(0); }
3
+ to { transform: rotate(1turn); }
4
+ }
5
+
6
+ @mixin spin {
7
+ animation: spin .8s linear infinite
8
+ }
9
+
10
+ @keyframes fade-in-out {
11
+ 0% { opacity: .6;}
12
+ 50% { opacity: 1;}
13
+ 100% { opacity: .6;}
14
+ }
15
+
16
+ @mixin fade-in-out {
17
+ animation: fade-in-out 1.5s ease-in infinite;
18
18
  }