@aegov/designsystem-angular 4.0.0 → 4.0.1

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.
@@ -1087,7 +1087,7 @@ let AegovCheckbox = class AegovCheckbox {
1087
1087
  set size(_) { }
1088
1088
  ;
1089
1089
  /**
1090
- * Colour family. Drives rest border, checked bg/border. Focus ring stays camel; error stays aered.
1090
+ * Colour family. Drives rest border, checked bg/border. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered.
1091
1091
  */
1092
1092
  set variant(_) { }
1093
1093
  ;
@@ -1203,7 +1203,7 @@ let AegovCheckboxGroup = class AegovCheckboxGroup {
1203
1203
  set size(_) { }
1204
1204
  ;
1205
1205
  /**
1206
- * Colour family. Cascades to child checkboxes (only if child has no own variant). Focus ring stays camel; error stays aered regardless.
1206
+ * Colour family. Cascades to child checkboxes (only if child has no own variant). Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
1207
1207
  */
1208
1208
  set variant(_) { }
1209
1209
  ;
@@ -1395,7 +1395,7 @@ Layout direction always follows `dir`.
1395
1395
  set size(_) { }
1396
1396
  ;
1397
1397
  /**
1398
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
1398
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
1399
1399
  */
1400
1400
  set variant(_) { }
1401
1401
  ;
@@ -1710,7 +1710,7 @@ or 'dropzone' (drag-and-drop area). @default 'default'
1710
1710
  set size(_) { }
1711
1711
  ;
1712
1712
  /**
1713
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
1713
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
1714
1714
  */
1715
1715
  set variant(_) { }
1716
1716
  ;
@@ -2064,6 +2064,14 @@ disappears. Below it, navigation is hidden and the toggle opens the drawer.
2064
2064
  set drawerSize(_) { }
2065
2065
  ;
2066
2066
  /**
2067
+ * Colour of the UAE emblem on the `authority` variant: `"aeblack"` (default),
2068
+ `"aegold"` or `"whitely"`. Use `"whitely"` on dark backgrounds (dark mode);
2069
+ `"aegold"` is available to entities that show the emblem in gold. Ignored on
2070
+ the `ministry` variant, which has no emblem. @default 'aeblack'
2071
+ */
2072
+ set emblemColor(_) { }
2073
+ ;
2074
+ /**
2067
2075
  * Whether the main bar pins to the top of the viewport on scroll. The
2068
2076
  `aegov-header-banner` above it scrolls away; once it has, the bar gains a
2069
2077
  translucent blurred background and a shadow.
@@ -2086,12 +2094,12 @@ with `overflow: hidden` / `auto` in the consumer's page breaks it. @default fals
2086
2094
  this.el = r.nativeElement;
2087
2095
  }
2088
2096
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: AegovHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2089
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: AegovHeader, isStandalone: true, selector: "aegov-header", inputs: { collapseAt: "collapseAt", drawerSize: "drawerSize", entityDomain: "entityDomain", entityName: "entityName", isSticky: ["isSticky", "isSticky", nullableBooleanAttribute], labelMenu: "labelMenu", labelMenuClose: "labelMenuClose", logoLabel: "logoLabel", skipContentContainer: "skipContentContainer", variant: "variant" }, outputs: { aegovHeaderMenuOpen: "aegovHeaderMenuOpen", aegovHeaderMenuClose: "aegovHeaderMenuClose", aegovHeaderStuck: "aegovHeaderStuck", aegovHeaderUnstuck: "aegovHeaderUnstuck" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2097
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: AegovHeader, isStandalone: true, selector: "aegov-header", inputs: { collapseAt: "collapseAt", drawerSize: "drawerSize", emblemColor: "emblemColor", entityDomain: "entityDomain", entityName: "entityName", isSticky: ["isSticky", "isSticky", nullableBooleanAttribute], labelMenu: "labelMenu", labelMenuClose: "labelMenuClose", logoLabel: "logoLabel", skipContentContainer: "skipContentContainer", variant: "variant" }, outputs: { aegovHeaderMenuOpen: "aegovHeaderMenuOpen", aegovHeaderMenuClose: "aegovHeaderMenuClose", aegovHeaderStuck: "aegovHeaderStuck", aegovHeaderUnstuck: "aegovHeaderUnstuck" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2090
2098
  };
2091
2099
  AegovHeader = __decorate([
2092
2100
  ProxyCmp({
2093
2101
  defineCustomElementFn: defineCustomElement$p,
2094
- inputs: ['collapseAt', 'drawerSize', 'entityDomain', 'entityName', 'isSticky', 'labelMenu', 'labelMenuClose', 'logoLabel', 'skipContentContainer', 'variant'],
2102
+ inputs: ['collapseAt', 'drawerSize', 'emblemColor', 'entityDomain', 'entityName', 'isSticky', 'labelMenu', 'labelMenuClose', 'logoLabel', 'skipContentContainer', 'variant'],
2095
2103
  methods: ['openMenu', 'closeMenu', 'toggleMenu']
2096
2104
  })
2097
2105
  ], AegovHeader);
@@ -2102,7 +2110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
2102
2110
  changeDetection: ChangeDetectionStrategy.OnPush,
2103
2111
  template: '<ng-content></ng-content>',
2104
2112
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2105
- inputs: ['collapseAt', 'drawerSize', 'entityDomain', 'entityName', { name: 'isSticky', transform: nullableBooleanAttribute }, 'labelMenu', 'labelMenuClose', 'logoLabel', 'skipContentContainer', 'variant'],
2113
+ inputs: ['collapseAt', 'drawerSize', 'emblemColor', 'entityDomain', 'entityName', { name: 'isSticky', transform: nullableBooleanAttribute }, 'labelMenu', 'labelMenuClose', 'logoLabel', 'skipContentContainer', 'variant'],
2106
2114
  outputs: ['aegovHeaderMenuOpen', 'aegovHeaderMenuClose', 'aegovHeaderStuck', 'aegovHeaderUnstuck'],
2107
2115
  }]
2108
2116
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { aegovHeaderMenuOpen: [{
@@ -2175,7 +2183,7 @@ let AegovInput = class AegovInput {
2175
2183
  set size(_) { }
2176
2184
  ;
2177
2185
  /**
2178
- * Colour family. Drives idle ring, value text, and accent hover. Focus ring stays camel; error stays aered regardless.
2186
+ * Colour family. Drives idle ring, value text, and accent hover. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
2179
2187
  */
2180
2188
  set variant(_) { }
2181
2189
  ;
@@ -2315,7 +2323,7 @@ Use this to describe the purpose of a combined phone/URL/similar input group.
2315
2323
  set groupLabel(_) { }
2316
2324
  ;
2317
2325
  /**
2318
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
2326
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
2319
2327
  */
2320
2328
  set variant(_) { }
2321
2329
  ;
@@ -2362,7 +2370,7 @@ let AegovLabel = class AegovLabel {
2362
2370
  set htmlFor(_) { }
2363
2371
  ;
2364
2372
  /**
2365
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
2373
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Error stays aered regardless.
2366
2374
  */
2367
2375
  set variant(_) { }
2368
2376
  ;
@@ -2845,7 +2853,7 @@ let AegovOtp = class AegovOtp {
2845
2853
  set size(_) { }
2846
2854
  ;
2847
2855
  /**
2848
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
2856
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
2849
2857
  */
2850
2858
  set variant(_) { }
2851
2859
  ;
@@ -3221,7 +3229,7 @@ let AegovRadio = class AegovRadio {
3221
3229
  set size(_) { }
3222
3230
  ;
3223
3231
  /**
3224
- * Colour family. Drives rest border, checked bg/border. Focus ring stays camel; error stays aered.
3232
+ * Colour family. Drives rest border, checked bg/border. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered.
3225
3233
  */
3226
3234
  set variant(_) { }
3227
3235
  ;
@@ -3327,7 +3335,7 @@ let AegovRadioGroup = class AegovRadioGroup {
3327
3335
  set size(_) { }
3328
3336
  ;
3329
3337
  /**
3330
- * Colour family. Cascades to child radios (only if child has no own variant). Focus ring stays camel; error stays aered regardless.
3338
+ * Colour family. Cascades to child radios (only if child has no own variant). Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
3331
3339
  */
3332
3340
  set variant(_) { }
3333
3341
  ;
@@ -3469,7 +3477,7 @@ whenever it, `min`, `max` or `step` changes. @default 50
3469
3477
  set mode(_) { }
3470
3478
  ;
3471
3479
  /**
3472
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
3480
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
3473
3481
  */
3474
3482
  set variant(_) { }
3475
3483
  ;
@@ -3567,7 +3575,7 @@ let AegovSelect = class AegovSelect {
3567
3575
  set size(_) { }
3568
3576
  ;
3569
3577
  /**
3570
- * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring stays camel; error stays aered regardless.
3578
+ * Colour family. Drives idle ring/border, selected/checked fill, and value/accent text. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered regardless.
3571
3579
  */
3572
3580
  set variant(_) { }
3573
3581
  ;
@@ -4409,7 +4417,7 @@ let AegovToggle = class AegovToggle {
4409
4417
  set size(_) { }
4410
4418
  ;
4411
4419
  /**
4412
- * Colour family. Drives ON track bg. OFF track stays aeblack-200. Focus ring stays camel; error stays aered.
4420
+ * Colour family. Drives ON track bg. OFF track stays aeblack-200. Focus ring follows the variant's support colour (camel for primary, desert for secondary, seablue for neutral-max/neutral-min); error stays aered.
4413
4421
  */
4414
4422
  set variant(_) { }
4415
4423
  ;