@norwegian/core-components 7.4.7 → 7.4.8
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/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +1 -1
- package/esm2022/lib/components/button/button.component.mjs +17 -3
- package/esm2022/lib/components/continue/continue.component.mjs +1 -1
- package/esm2022/lib/components/cover/cover.component.mjs +1 -1
- package/esm2022/lib/components/filter/filter.component.mjs +51 -62
- package/esm2022/lib/components/info/info.component.mjs +1 -1
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +1 -1
- package/esm2022/lib/components/modal/modal.component.mjs +1 -1
- package/esm2022/lib/components/number-field/number-field.component.mjs +1 -1
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +1 -1
- package/esm2022/lib/components/page-header/page-header.component.mjs +1 -1
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +1 -1
- package/esm2022/lib/components/radio/radio.component.mjs +2 -2
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +1 -1
- package/esm2022/lib/components/sort/sort.component.mjs +1 -1
- package/esm2022/lib/components/status-box/status-box.component.mjs +1 -1
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +1 -1
- package/fesm2022/norwegian-core-components.mjs +82 -79
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/button/button.component.d.ts +9 -1
- package/lib/components/filter/filter.component.d.ts +6 -3
- package/package.json +1 -1
|
@@ -256,6 +256,12 @@ export declare class ButtonComponent extends NasComponentBase {
|
|
|
256
256
|
* <nas-button (clickChange)="myFunction()">Click on me!</nas-button>
|
|
257
257
|
*/
|
|
258
258
|
clickChange: EventEmitter<Event>;
|
|
259
|
+
/**
|
|
260
|
+
* @property Output
|
|
261
|
+
* @description
|
|
262
|
+
* An event that is fired when the destination dropdown closes.
|
|
263
|
+
*/
|
|
264
|
+
focusOnNext: EventEmitter<KeyboardEvent>;
|
|
259
265
|
get buttonStyle(): any;
|
|
260
266
|
get buttonId(): string;
|
|
261
267
|
get modifiers(): Array<string>;
|
|
@@ -271,6 +277,8 @@ export declare class ButtonComponent extends NasComponentBase {
|
|
|
271
277
|
getClasses(element?: string, modifiers?: any): Array<ClassModel>;
|
|
272
278
|
emitTrackingEvent(): void;
|
|
273
279
|
emitTrackingAndClickEvent(event: Event): void;
|
|
280
|
+
setFocusOnNext(event: KeyboardEvent): void;
|
|
281
|
+
onKeydown(event: KeyboardEvent): void;
|
|
274
282
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
275
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "nas-button", never, { "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "link": { "alias": "link"; "required": false; }; "light": { "alias": "light"; "required": false; }; "large": { "alias": "large"; "required": false; }; "block": { "alias": "block"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "right": { "alias": "right"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "href": { "alias": "href"; "required": false; }; "trackingvalue": { "alias": "trackingvalue"; "required": false; }; "canContinueOnDisabled": { "alias": "canContinueOnDisabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "overrideBaseCssClass": { "alias": "overrideBaseCssClass"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "id": { "alias": "id"; "required": false; }; "target": { "alias": "target"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "buttonlink": { "alias": "buttonlink"; "required": false; }; }, { "clickChange": "clickChange"; }, never, ["*"], false, never>;
|
|
283
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "nas-button", never, { "primary": { "alias": "primary"; "required": false; }; "secondary": { "alias": "secondary"; "required": false; }; "link": { "alias": "link"; "required": false; }; "light": { "alias": "light"; "required": false; }; "large": { "alias": "large"; "required": false; }; "block": { "alias": "block"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "right": { "alias": "right"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "href": { "alias": "href"; "required": false; }; "trackingvalue": { "alias": "trackingvalue"; "required": false; }; "canContinueOnDisabled": { "alias": "canContinueOnDisabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "overrideBaseCssClass": { "alias": "overrideBaseCssClass"; "required": false; }; "useRouterLink": { "alias": "useRouterLink"; "required": false; }; "id": { "alias": "id"; "required": false; }; "target": { "alias": "target"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "buttonlink": { "alias": "buttonlink"; "required": false; }; }, { "clickChange": "clickChange"; "focusOnNext": "focusOnNext"; }, never, ["*"], false, never>;
|
|
276
284
|
}
|
|
@@ -20,6 +20,7 @@ import { PassengerSelectComponent } from '../passenger-select/passenger-select.c
|
|
|
20
20
|
import { DatepickerComboComponent } from '../datepicker-combo/datepicker-combo.component';
|
|
21
21
|
import { AirportSelectComponent } from '../airport-select/airport-select.component';
|
|
22
22
|
import { RadioComponent } from '../radio/radio.component';
|
|
23
|
+
import { ButtonComponent } from '../button/button.component';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
/**
|
|
25
26
|
* @description
|
|
@@ -32,10 +33,10 @@ export declare class FilterComponent extends NasComponentBase implements OnInit,
|
|
|
32
33
|
private dateService;
|
|
33
34
|
elementRef: ElementRef;
|
|
34
35
|
changeDetector: ChangeDetectorRef;
|
|
35
|
-
passengerSelectDropdown:
|
|
36
|
+
passengerSelectDropdown: ElementRef;
|
|
36
37
|
passengerSelect: PassengerSelectComponent;
|
|
37
38
|
tripSwitch: DropdownComponent;
|
|
38
|
-
transitSwitch:
|
|
39
|
+
transitSwitch: ButtonComponent;
|
|
39
40
|
airportSelect: AirportSelectComponent;
|
|
40
41
|
datepickerCombo: DatepickerComboComponent;
|
|
41
42
|
container: ElementRef;
|
|
@@ -822,12 +823,14 @@ export declare class FilterComponent extends NasComponentBase implements OnInit,
|
|
|
822
823
|
onPassengersSelectFocusOnPrevious(): void;
|
|
823
824
|
passengerKeyDown(event: KeyboardEvent): void;
|
|
824
825
|
onTripSwitchKeyDown(event: KeyboardEvent): void;
|
|
826
|
+
onTripSwitchFocusNext(event: KeyboardEvent): void;
|
|
825
827
|
transitKeyDown(event: KeyboardEvent): void;
|
|
826
828
|
onPassengersSelectFocusOnNext(): void;
|
|
827
829
|
focusAsync(refElement: ElementRef): void;
|
|
830
|
+
onTransitSwitchFocusNext(event: KeyboardEvent): void;
|
|
828
831
|
onTransitSwitchFocusOnPrevious(): void;
|
|
829
832
|
onDatepickerFocusOnPrevious(event: KeyboardEvent | MouseEvent): void;
|
|
830
|
-
onFocusOnNextChange(event: KeyboardEvent
|
|
833
|
+
onFocusOnNextChange(event: KeyboardEvent): void;
|
|
831
834
|
isMobileDisplay(): boolean;
|
|
832
835
|
isTabletDisplay(): boolean;
|
|
833
836
|
onOriginOpen(open: boolean): void;
|