@energycap/components 0.45.2-multi-select-component.20260304-2004 → 0.45.2-multi-select-component.20260305-0759

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 +112 -111
  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 +65 -62
  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 +22 -22
  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 +125 -125
  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 +3 -3
@@ -1,21 +1,21 @@
1
- @import '../mixins/card-base';
2
-
3
- .card {
4
- @include card;
5
- }
6
-
7
- .card-header {
8
- @include card-header;
9
- }
10
-
11
- .card-title {
12
- @include card-title;
13
- }
14
-
15
- .card-footer {
16
- @include card-footer;
17
- }
18
-
19
- .card-actions {
20
- @include card-actions;
21
- }
1
+ @import '../mixins/card-base';
2
+
3
+ .card {
4
+ @include card;
5
+ }
6
+
7
+ .card-header {
8
+ @include card-header;
9
+ }
10
+
11
+ .card-title {
12
+ @include card-title;
13
+ }
14
+
15
+ .card-footer {
16
+ @include card-footer;
17
+ }
18
+
19
+ .card-actions {
20
+ @include card-actions;
21
+ }
@@ -1,38 +1,38 @@
1
- $fa-font-path: '/assets/webfonts';
2
- @import '@fortawesome/fontawesome-pro/scss/solid';
3
- @import '../../../../icons/styles/core';
4
-
5
- a[target="_blank"] {
6
- &::after {
7
- font: var(--fa-font-solid);
8
- @extend .fa-solid;
9
- content: fa-content('\\' + get-icon-unicode($icons, 'icon-external-link'));
10
- margin-left: .125rem;
11
- opacity: .5;
12
- }
13
-
14
- &.is-map-link {
15
- &::after {
16
- content: fa-content('\\' + get-icon-unicode($icons, 'icon-map-marker-alt'));
17
- }
18
- }
19
-
20
- &.is-file-link {
21
- &::after {
22
- content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-download'));
23
- }
24
- }
25
-
26
- &.is-image-link {
27
- &::after {
28
- content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-image'));
29
- }
30
- }
31
- }
32
-
33
- .hide-external-link-icon {
34
- &[target="_blank"]::after,
35
- [target="_blank"]::after {
36
- content: '' !important;
37
- }
1
+ $fa-font-path: '/assets/webfonts';
2
+ @import '@fortawesome/fontawesome-pro/scss/solid';
3
+ @import '../../../../icons/styles/core';
4
+
5
+ a[target="_blank"] {
6
+ &::after {
7
+ font: var(--fa-font-solid);
8
+ @extend .fa-solid;
9
+ content: fa-content('\\' + get-icon-unicode($icons, 'icon-external-link'));
10
+ margin-left: .125rem;
11
+ opacity: .5;
12
+ }
13
+
14
+ &.is-map-link {
15
+ &::after {
16
+ content: fa-content('\\' + get-icon-unicode($icons, 'icon-map-marker-alt'));
17
+ }
18
+ }
19
+
20
+ &.is-file-link {
21
+ &::after {
22
+ content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-download'));
23
+ }
24
+ }
25
+
26
+ &.is-image-link {
27
+ &::after {
28
+ content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-image'));
29
+ }
30
+ }
31
+ }
32
+
33
+ .hide-external-link-icon {
34
+ &[target="_blank"]::after,
35
+ [target="_blank"]::after {
36
+ content: '' !important;
37
+ }
38
38
  }
@@ -1,188 +1,188 @@
1
- @import "../mixins/animations";
2
-
3
- $icon-size: 120px;
4
- $icon-border-size: 10px;
5
- $icon-pulse-scale: 1.2;
6
-
7
- @keyframes splash {
8
- 0% {
9
- background-position: left bottom;
10
- }
11
-
12
- 20% {
13
- background-position: left top;
14
- }
15
-
16
- 40% {
17
- background-position: right top;
18
- }
19
-
20
- 60% {
21
- background-position: right bottom;
22
- }
23
-
24
- 100% {
25
- background-position: left bottom;
26
- }
27
- }
28
-
29
- @keyframes splash-showIcon {
30
- 0% {
31
- opacity: 1;
32
- }
33
-
34
- 24.9% {
35
- opacity: 1;
36
- }
37
-
38
- 25% {
39
- opacity: 0;
40
- }
41
-
42
- 100% {
43
- opacity: 0;
44
- }
45
- }
46
-
47
- @keyframes splash-pulse {
48
-
49
- 0%,
50
- 100% {
51
- transform: scale(1);
52
- }
53
-
54
- 50% {
55
- transform: scale(#{$icon-pulse-scale});
56
- }
57
- }
58
-
59
- @keyframes splash-fade {
60
-
61
- 0%,
62
- 100% {
63
- opacity: 1;
64
- }
65
-
66
- 50% {
67
- opacity: 0.6;
68
- }
69
- }
70
-
71
- .app-splash {
72
- position: fixed;
73
- z-index: 100;
74
- display: flex;
75
- flex-direction: column;
76
- align-items: center;
77
- justify-content: center;
78
- background: var(--ec-background-splash);
79
- background-size: 110% 110%;
80
- transition-property: opacity;
81
- transition-duration: .3s;
82
- transition-timing-function: ease-out;
83
- opacity: 1;
84
- top: 0;
85
- left: 0;
86
- right: 0;
87
- bottom: 0;
88
-
89
- animation-name: splash;
90
- animation-duration: 6s;
91
- animation-iteration-count: infinite;
92
-
93
- .splash-loader {
94
- width: $icon-size;
95
- height: $icon-size;
96
- border: $icon-border-size solid #FFF;
97
- border-radius: 50%;
98
- box-sizing: border-box;
99
- position: relative;
100
- animation: splash-pulse 1s linear infinite, splash-fade 1s ease-in-out infinite;
101
- }
102
-
103
- .splash-icon-wrapper {
104
- position: absolute;
105
- top: 0;
106
- left: 0;
107
- width: 100%;
108
- height: 100%;
109
- z-index: 2;
110
- }
111
-
112
- .splash-icon-wrapper img {
113
- position: absolute;
114
- filter: brightness(0) invert(1);
115
- top: 50%;
116
- left: 50%;
117
- transform: translate(-50%, -50%);
118
- opacity: 0;
119
- }
120
-
121
- /* Electricity, Water, Interval icons */
122
- .splash-icon-wrapper img:nth-child(1),
123
- .splash-icon-wrapper img:nth-child(2),
124
- .splash-icon-wrapper img:nth-child(3) {
125
- width: 70px;
126
- height: 70px;
127
- animation: splash-showIcon 4s linear infinite;
128
- }
129
-
130
- .splash-icon-wrapper img:nth-child(1) {
131
- animation-delay: 0s;
132
- }
133
-
134
- .splash-icon-wrapper img:nth-child(2) {
135
- animation-delay: 1s;
136
- }
137
-
138
- .splash-icon-wrapper img:nth-child(3) {
139
- animation-delay: 2s;
140
- }
141
-
142
- /* Seedling icon at 56×56px */
143
- .splash-icon-wrapper img:nth-child(4) {
144
- width: 56px;
145
- height: 56px;
146
- animation: splash-showIcon 4s linear infinite;
147
- animation-delay: 3s;
148
- }
149
-
150
- &.app-loaded {
151
- opacity: 0;
152
- pointer-events: none;
153
- }
154
-
155
- .splash-message-container {
156
- position: absolute;
157
- top: calc(50% + (#{$icon-size} * #{$icon-pulse-scale} / 2) + (#{$icon-border-size} * #{$icon-pulse-scale}) + 1.5rem);
158
- left: 50%;
159
- transform: translateX(-50%);
160
- color: var(--ec-color-primary-light);
161
- text-align: center;
162
- }
163
-
164
- .splash-title {
165
- font-size: 28px;
166
- line-height: 32px;
167
- font-weight: 700;
168
- margin: 0;
169
- width: max-content;
170
- }
171
-
172
- .splash-message {
173
- position: absolute;
174
- font-size: 20px;
175
- line-height: 24px;
176
- top: 48px;
177
- left: 50%;
178
- transform: translateX(-50%);
179
- margin: 0;
180
- width: max-content;
181
- transition: opacity 0.3s ease-in-out;
182
- opacity: 0;
183
-
184
- &.is-visible {
185
- opacity: 1;
186
- }
187
- }
188
- }
1
+ @import "../mixins/animations";
2
+
3
+ $icon-size: 120px;
4
+ $icon-border-size: 10px;
5
+ $icon-pulse-scale: 1.2;
6
+
7
+ @keyframes splash {
8
+ 0% {
9
+ background-position: left bottom;
10
+ }
11
+
12
+ 20% {
13
+ background-position: left top;
14
+ }
15
+
16
+ 40% {
17
+ background-position: right top;
18
+ }
19
+
20
+ 60% {
21
+ background-position: right bottom;
22
+ }
23
+
24
+ 100% {
25
+ background-position: left bottom;
26
+ }
27
+ }
28
+
29
+ @keyframes splash-showIcon {
30
+ 0% {
31
+ opacity: 1;
32
+ }
33
+
34
+ 24.9% {
35
+ opacity: 1;
36
+ }
37
+
38
+ 25% {
39
+ opacity: 0;
40
+ }
41
+
42
+ 100% {
43
+ opacity: 0;
44
+ }
45
+ }
46
+
47
+ @keyframes splash-pulse {
48
+
49
+ 0%,
50
+ 100% {
51
+ transform: scale(1);
52
+ }
53
+
54
+ 50% {
55
+ transform: scale(#{$icon-pulse-scale});
56
+ }
57
+ }
58
+
59
+ @keyframes splash-fade {
60
+
61
+ 0%,
62
+ 100% {
63
+ opacity: 1;
64
+ }
65
+
66
+ 50% {
67
+ opacity: 0.6;
68
+ }
69
+ }
70
+
71
+ .app-splash {
72
+ position: fixed;
73
+ z-index: 100;
74
+ display: flex;
75
+ flex-direction: column;
76
+ align-items: center;
77
+ justify-content: center;
78
+ background: var(--ec-background-splash);
79
+ background-size: 110% 110%;
80
+ transition-property: opacity;
81
+ transition-duration: .3s;
82
+ transition-timing-function: ease-out;
83
+ opacity: 1;
84
+ top: 0;
85
+ left: 0;
86
+ right: 0;
87
+ bottom: 0;
88
+
89
+ animation-name: splash;
90
+ animation-duration: 6s;
91
+ animation-iteration-count: infinite;
92
+
93
+ .splash-loader {
94
+ width: $icon-size;
95
+ height: $icon-size;
96
+ border: $icon-border-size solid #FFF;
97
+ border-radius: 50%;
98
+ box-sizing: border-box;
99
+ position: relative;
100
+ animation: splash-pulse 1s linear infinite, splash-fade 1s ease-in-out infinite;
101
+ }
102
+
103
+ .splash-icon-wrapper {
104
+ position: absolute;
105
+ top: 0;
106
+ left: 0;
107
+ width: 100%;
108
+ height: 100%;
109
+ z-index: 2;
110
+ }
111
+
112
+ .splash-icon-wrapper img {
113
+ position: absolute;
114
+ filter: brightness(0) invert(1);
115
+ top: 50%;
116
+ left: 50%;
117
+ transform: translate(-50%, -50%);
118
+ opacity: 0;
119
+ }
120
+
121
+ /* Electricity, Water, Interval icons */
122
+ .splash-icon-wrapper img:nth-child(1),
123
+ .splash-icon-wrapper img:nth-child(2),
124
+ .splash-icon-wrapper img:nth-child(3) {
125
+ width: 70px;
126
+ height: 70px;
127
+ animation: splash-showIcon 4s linear infinite;
128
+ }
129
+
130
+ .splash-icon-wrapper img:nth-child(1) {
131
+ animation-delay: 0s;
132
+ }
133
+
134
+ .splash-icon-wrapper img:nth-child(2) {
135
+ animation-delay: 1s;
136
+ }
137
+
138
+ .splash-icon-wrapper img:nth-child(3) {
139
+ animation-delay: 2s;
140
+ }
141
+
142
+ /* Seedling icon at 56×56px */
143
+ .splash-icon-wrapper img:nth-child(4) {
144
+ width: 56px;
145
+ height: 56px;
146
+ animation: splash-showIcon 4s linear infinite;
147
+ animation-delay: 3s;
148
+ }
149
+
150
+ &.app-loaded {
151
+ opacity: 0;
152
+ pointer-events: none;
153
+ }
154
+
155
+ .splash-message-container {
156
+ position: absolute;
157
+ top: calc(50% + (#{$icon-size} * #{$icon-pulse-scale} / 2) + (#{$icon-border-size} * #{$icon-pulse-scale}) + 1.5rem);
158
+ left: 50%;
159
+ transform: translateX(-50%);
160
+ color: var(--ec-color-primary-light);
161
+ text-align: center;
162
+ }
163
+
164
+ .splash-title {
165
+ font-size: 28px;
166
+ line-height: 32px;
167
+ font-weight: 700;
168
+ margin: 0;
169
+ width: max-content;
170
+ }
171
+
172
+ .splash-message {
173
+ position: absolute;
174
+ font-size: 20px;
175
+ line-height: 24px;
176
+ top: 48px;
177
+ left: 50%;
178
+ transform: translateX(-50%);
179
+ margin: 0;
180
+ width: max-content;
181
+ transition: opacity 0.3s ease-in-out;
182
+ opacity: 0;
183
+
184
+ &.is-visible {
185
+ opacity: 1;
186
+ }
187
+ }
188
+ }
@@ -1,22 +1,22 @@
1
- @import '../mixins/tags-base';
2
-
3
- .tag {
4
- @include tag;
5
-
6
- &.is-subtle {
7
- @include tag-subtle;
8
- }
9
-
10
- &.is-condensed {
11
- @include tag-condensed;
12
- }
13
-
14
- a::after {
15
- opacity: 1;
16
- margin-left: .1875rem;
17
- }
18
- }
19
-
20
- .tag-close-btn {
21
- @include tag-close-btn;
22
- }
1
+ @import '../mixins/tags-base';
2
+
3
+ .tag {
4
+ @include tag;
5
+
6
+ &.is-subtle {
7
+ @include tag-subtle;
8
+ }
9
+
10
+ &.is-condensed {
11
+ @include tag-condensed;
12
+ }
13
+
14
+ a::after {
15
+ opacity: 1;
16
+ margin-left: .1875rem;
17
+ }
18
+ }
19
+
20
+ .tag-close-btn {
21
+ @include tag-close-btn;
22
+ }
@@ -1,24 +1,24 @@
1
- @import '../colors';
2
-
3
- .unsupported-browser-container {
4
- display: flex;
5
- position: fixed;
6
- z-index: 10000;
7
- top: 0;
8
- right: 0;
9
- left: 0;
10
- bottom: 0;
11
- align-items: center;
12
- background: var(--ec-background-color-splash);
13
- }
14
-
15
- .unsupported-browser {
16
- max-width: 25rem;
17
- margin: 0 auto;
18
- font-size: var(--ec-font-size-title);
19
- color: var(--ec-color-primary-light);
20
-
21
- a {
22
- color: $blue-1;
23
- }
1
+ @import '../colors';
2
+
3
+ .unsupported-browser-container {
4
+ display: flex;
5
+ position: fixed;
6
+ z-index: 10000;
7
+ top: 0;
8
+ right: 0;
9
+ left: 0;
10
+ bottom: 0;
11
+ align-items: center;
12
+ background: var(--ec-background-color-splash);
13
+ }
14
+
15
+ .unsupported-browser {
16
+ max-width: 25rem;
17
+ margin: 0 auto;
18
+ font-size: var(--ec-font-size-title);
19
+ color: var(--ec-color-primary-light);
20
+
21
+ a {
22
+ color: $blue-1;
23
+ }
24
24
  }