@sebgroup/green-core-ng 2.37.0 → 2.37.2

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.
@@ -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
- * Updates the href attribute from RouterLink
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
- * Updates the href attribute from RouterLink
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
- * Updates the href attribute from RouterLink
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
- * Updates the href attribute from RouterLink
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
- * Updates the href attribute from RouterLink
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;