@sebgroup/green-core-ng 2.37.1 → 2.37.3
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/fesm2022/sebgroup-green-core-ng.mjs +395 -45
- package/fesm2022/sebgroup-green-core-ng.mjs.map +1 -1
- package/generated/breadcrumb/breadcrumb.component.d.ts +14 -1
- package/generated/button/button.component.d.ts +14 -1
- package/generated/card-linked/card-linked.component.d.ts +14 -1
- package/generated/card-pattern-01/card-pattern-01.component.d.ts +14 -1
- package/generated/fab/fab.component.d.ts +14 -1
- package/generated/link/link.component.d.ts +14 -1
- package/generated/menu-button/menu-button.component.d.ts +14 -1
- package/package.json +2 -2
|
@@ -10,6 +10,9 @@ export declare class GdsBreadcrumbComponent implements OnInit, OnChanges, AfterV
|
|
|
10
10
|
private zone;
|
|
11
11
|
private cdr;
|
|
12
12
|
private renderer;
|
|
13
|
+
private router;
|
|
14
|
+
private locationStrategy;
|
|
15
|
+
private destroyRef;
|
|
13
16
|
private routerLink;
|
|
14
17
|
private routerLinkActive;
|
|
15
18
|
get element(): GdsBreadcrumb;
|
|
@@ -25,7 +28,17 @@ export declare class GdsBreadcrumbComponent implements OnInit, OnChanges, AfterV
|
|
|
25
28
|
/** When true, the breadcrumb item will render as an overflow menu instead of a regular link. */
|
|
26
29
|
overflow?: GdsBreadcrumb['overflow'];
|
|
27
30
|
/**
|
|
28
|
-
*
|
|
31
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
32
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
33
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
34
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
35
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
36
|
+
* still open a new tab.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
private preventNativeNavigation;
|
|
40
|
+
/**
|
|
41
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
29
42
|
* @internal
|
|
30
43
|
*/
|
|
31
44
|
private updateHref;
|
|
@@ -7,6 +7,9 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
export declare class GdsButtonComponent extends GdsFormControlBase {
|
|
10
|
+
private router;
|
|
11
|
+
private locationStrategy;
|
|
12
|
+
private destroyRef;
|
|
10
13
|
private routerLink;
|
|
11
14
|
private routerLinkActive;
|
|
12
15
|
/** Style Expression Property that controls the `width` property.
|
|
@@ -100,7 +103,17 @@ export declare class GdsButtonComponent extends GdsFormControlBase {
|
|
|
100
103
|
/** Fired when the button is clicked. */
|
|
101
104
|
click: EventEmitter<MouseEvent>;
|
|
102
105
|
/**
|
|
103
|
-
*
|
|
106
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
107
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
108
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
109
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
110
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
111
|
+
* still open a new tab.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
private preventNativeNavigation;
|
|
115
|
+
/**
|
|
116
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
104
117
|
* @internal
|
|
105
118
|
*/
|
|
106
119
|
private updateHref;
|
|
@@ -10,6 +10,9 @@ export declare class GdsCardLinkedComponent implements OnInit, OnChanges, AfterV
|
|
|
10
10
|
private zone;
|
|
11
11
|
private cdr;
|
|
12
12
|
private renderer;
|
|
13
|
+
private router;
|
|
14
|
+
private locationStrategy;
|
|
15
|
+
private destroyRef;
|
|
13
16
|
private routerLink;
|
|
14
17
|
private routerLinkActive;
|
|
15
18
|
get element(): GdsCardLinked;
|
|
@@ -241,7 +244,17 @@ export declare class GdsCardLinkedComponent implements OnInit, OnChanges, AfterV
|
|
|
241
244
|
Supports all valid CSS `pointer-events` values. */
|
|
242
245
|
pointerEvents?: GdsCardLinked['pointer-events'];
|
|
243
246
|
/**
|
|
244
|
-
*
|
|
247
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
248
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
249
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
250
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
251
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
252
|
+
* still open a new tab.
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
private preventNativeNavigation;
|
|
256
|
+
/**
|
|
257
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
245
258
|
* @internal
|
|
246
259
|
*/
|
|
247
260
|
private updateHref;
|
|
@@ -10,6 +10,9 @@ export declare class GdsCardPattern01Component implements OnInit, OnChanges, Aft
|
|
|
10
10
|
private zone;
|
|
11
11
|
private cdr;
|
|
12
12
|
private renderer;
|
|
13
|
+
private router;
|
|
14
|
+
private locationStrategy;
|
|
15
|
+
private destroyRef;
|
|
13
16
|
private routerLink;
|
|
14
17
|
private routerLinkActive;
|
|
15
18
|
get element(): GdsCardPattern01;
|
|
@@ -121,7 +124,17 @@ export declare class GdsCardPattern01Component implements OnInit, OnChanges, Aft
|
|
|
121
124
|
/** Decoding strategy for the image */
|
|
122
125
|
decoding?: GdsCardPattern01['decoding'];
|
|
123
126
|
/**
|
|
124
|
-
*
|
|
127
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
128
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
129
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
130
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
131
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
132
|
+
* still open a new tab.
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
private preventNativeNavigation;
|
|
136
|
+
/**
|
|
137
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
125
138
|
* @internal
|
|
126
139
|
*/
|
|
127
140
|
private updateHref;
|
|
@@ -7,6 +7,9 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
export declare class GdsFabComponent extends GdsFormControlBase {
|
|
10
|
+
private router;
|
|
11
|
+
private locationStrategy;
|
|
12
|
+
private destroyRef;
|
|
10
13
|
private routerLink;
|
|
11
14
|
private routerLinkActive;
|
|
12
15
|
/** Style Expression Property that controls the `position` property.
|
|
@@ -107,7 +110,17 @@ export declare class GdsFabComponent extends GdsFormControlBase {
|
|
|
107
110
|
value?: GdsFab['value'];
|
|
108
111
|
name?: GdsFab['name'];
|
|
109
112
|
/**
|
|
110
|
-
*
|
|
113
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
114
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
115
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
116
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
117
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
118
|
+
* still open a new tab.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private preventNativeNavigation;
|
|
122
|
+
/**
|
|
123
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
111
124
|
* @internal
|
|
112
125
|
*/
|
|
113
126
|
private updateHref;
|
|
@@ -10,6 +10,9 @@ export declare class GdsLinkComponent implements OnInit, OnChanges, AfterViewIni
|
|
|
10
10
|
private zone;
|
|
11
11
|
private cdr;
|
|
12
12
|
private renderer;
|
|
13
|
+
private router;
|
|
14
|
+
private locationStrategy;
|
|
15
|
+
private destroyRef;
|
|
13
16
|
private routerLink;
|
|
14
17
|
private routerLinkActive;
|
|
15
18
|
get element(): GdsLink;
|
|
@@ -96,7 +99,17 @@ export declare class GdsLinkComponent implements OnInit, OnChanges, AfterViewIni
|
|
|
96
99
|
/** Fired when the link is clicked. */
|
|
97
100
|
click: EventEmitter<MouseEvent>;
|
|
98
101
|
/**
|
|
99
|
-
*
|
|
102
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
103
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
104
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
105
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
106
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
107
|
+
* still open a new tab.
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private preventNativeNavigation;
|
|
111
|
+
/**
|
|
112
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
100
113
|
* @internal
|
|
101
114
|
*/
|
|
102
115
|
private updateHref;
|
|
@@ -10,6 +10,9 @@ export declare class GdsMenuButtonComponent implements OnInit, OnChanges, AfterV
|
|
|
10
10
|
private zone;
|
|
11
11
|
private cdr;
|
|
12
12
|
private renderer;
|
|
13
|
+
private router;
|
|
14
|
+
private locationStrategy;
|
|
15
|
+
private destroyRef;
|
|
13
16
|
private routerLink;
|
|
14
17
|
private routerLinkActive;
|
|
15
18
|
get element(): GdsMenuButton;
|
|
@@ -76,7 +79,17 @@ export declare class GdsMenuButtonComponent implements OnInit, OnChanges, AfterV
|
|
|
76
79
|
/** Fired when the button is clicked. */
|
|
77
80
|
click: EventEmitter<MouseEvent>;
|
|
78
81
|
/**
|
|
79
|
-
*
|
|
82
|
+
* Prevent the browser from following the href when RouterLink handles
|
|
83
|
+
* navigation. RouterLink calls Router.navigateByUrl() for all elements,
|
|
84
|
+
* but only calls preventDefault() for native <a> tags. For custom
|
|
85
|
+
* elements we must do it ourselves, respecting modifier-key and
|
|
86
|
+
* target-attribute semantics so that ctrl-click / cmd-click / target=_blank
|
|
87
|
+
* still open a new tab.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private preventNativeNavigation;
|
|
91
|
+
/**
|
|
92
|
+
* Updates the href attribute from RouterLink using only public Angular APIs.
|
|
80
93
|
* @internal
|
|
81
94
|
*/
|
|
82
95
|
private updateHref;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-core-ng",
|
|
3
3
|
"description": "Angular wrappers for @sebgroup/green-core web components.",
|
|
4
|
-
"version": "2.37.
|
|
4
|
+
"version": "2.37.3",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"module": "fesm2022/sebgroup-green-core-ng.mjs",
|
|
7
7
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"directory": "../../dist/libs/core-ng"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@sebgroup/green-core": "2.37.
|
|
25
|
+
"@sebgroup/green-core": "2.37.3",
|
|
26
26
|
"tslib": "^2.3.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|