@energycap/components 0.46.5 → 0.46.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.46.5",
3
+ "version": "0.46.6",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
@@ -58,6 +58,7 @@
58
58
  "DateInput_LatestDataAvailableTitle": "Select most recent data available",
59
59
  "DateInput_CalendarCloseButton_Label": "Close",
60
60
  "DateInput_CalendarTodayButton_Label": "Go to today",
61
+ "Banner_CloseButtonLabel": "Close",
61
62
  "SelectAllMultiSelect_TC": "Select All",
62
63
  "Search_TC": "Search",
63
64
  "AddCustomItem_TC": "Add {{customItem}}",
@@ -149,6 +149,9 @@
149
149
  --ec-background-splash: radial-gradient(104.77% 95.14% at 90.16% 85.25%, rgba(113,235,111,0.60) 0%, rgba(255, 255, 255, 0) 100%),
150
150
  radial-gradient(156.88% 63.71% at 8.4% 78.12%, rgba(219, 141, 255, 0.60) 0%, rgba(255, 255, 255, 0) 100%),
151
151
  radial-gradient(265.09% 182.17% at 24.49% 5.63%, rgba(0, 87, 255, 0.60) 0%, rgba(255, 255, 255, 0) 100%), #FFF;
152
+ --ec-background-watts: radial-gradient(104.77% 95.14% at 90.16% 85.25%, rgba(23, 151, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%),
153
+ radial-gradient(180% 75% at 8.4% 78.12%, rgba(222, 160, 90, 1) 0%, rgba(255, 255, 255, 0) 100%),
154
+ radial-gradient(265.09% 182.17% at 24.49% 5.63%, rgba(200, 74, 230, 0.90) 0%, rgba(255, 255, 255, 0) 100%), #FFF;
152
155
  --ec-background-color-detail: rgba(26, 26, 35, .03);
153
156
  --ec-background-color-disabled: rgba(26,26,35, .1);
154
157
  --ec-background-color-hover: rgb(195, 212, 247);
@@ -50,6 +50,12 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
50
50
  * The text on the button
51
51
  */
52
52
  label?: string;
53
+ /**
54
+ * Accessible label for the button. Use this to provide an accessible name without visible text.
55
+ * This sets the aria-label attribute on the native button element.
56
+ * Note: If both label and ariaLabel are provided, ariaLabel will be ignored as the visible label text provides the accessible name.
57
+ */
58
+ ariaLabel?: string;
53
59
  /**
54
60
  * Text to place in a badge to the right of the button
55
61
  */
@@ -100,7 +106,7 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
100
106
  onClick(event: any): void;
101
107
  focus(): void;
102
108
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ec-button", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "lockButton": { "alias": "lockButton"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "pendingIcon": { "alias": "pendingIcon"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "isSubmit": { "alias": "isSubmit"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ec-button", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "lockButton": { "alias": "lockButton"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "pendingIcon": { "alias": "pendingIcon"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "isSubmit": { "alias": "isSubmit"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
104
110
  }
105
111
 
106
112
  interface LinkItem {