@norwegian/core-components 7.13.4 → 8.0.0
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/README.md +3 -3
- package/assets/documentation/accordion/accordion.md +1 -1
- package/assets/documentation/airport-select/airport-select.md +1 -0
- package/assets/documentation/alert/alert.md +1 -0
- package/assets/documentation/autocomplete/autocomplete.md +1 -1
- package/assets/documentation/backdrop/backdrop.md +1 -0
- package/assets/documentation/box/box.md +1 -1
- package/assets/documentation/button/button.md +1 -10
- package/assets/documentation/checkbox/checkbox.md +1 -7
- package/assets/documentation/container/container.md +1 -1
- package/assets/documentation/continue/continue.md +2 -1
- package/assets/documentation/cover/cover.md +1 -1
- package/assets/documentation/datepicker/datepicker.md +1 -3
- package/assets/documentation/datepicker-combo/datepicker-combo.md +2 -1
- package/assets/documentation/divider/divider.md +1 -1
- package/assets/documentation/dropdown/dropdown.md +1 -3
- package/assets/documentation/filter/filter.md +1 -0
- package/assets/documentation/grid/grid.md +1 -1
- package/assets/documentation/icon/icon.md +1 -1
- package/assets/documentation/icon-list/icon-list.md +1 -1
- package/assets/documentation/input/input.md +1 -1
- package/assets/documentation/journey/journey.md +2 -1
- package/assets/documentation/journey-availability/journey-availability.md +1 -3
- package/assets/documentation/journey-availability-list/journey-availability-list.md +1 -9
- package/assets/documentation/journey-selection/journey-selection.md +1 -1
- package/assets/documentation/journey-stopover/journey-stopover.md +2 -1
- package/assets/documentation/list/list.md +1 -1
- package/assets/documentation/micro-button/micro-button.md +2 -0
- package/assets/documentation/modal/modal.md +1 -0
- package/assets/documentation/number-field/number-field.md +1 -1
- package/assets/documentation/page-footer/page-footer.md +1 -1
- package/assets/documentation/page-header/page-header.md +1 -1
- package/assets/documentation/passenger-select/passenger-select.md +1 -1
- package/assets/documentation/phone-number/phone-number.md +1 -2
- package/assets/documentation/premium-toggle/premium-toggle.md +1 -9
- package/assets/documentation/radio/radio.md +1 -7
- package/assets/documentation/ribbon-banner/ribbon-banner.md +2 -1
- package/assets/documentation/select/select.md +1 -1
- package/assets/documentation/simple-list/simple-list.md +1 -1
- package/assets/documentation/slide-toggle/slide-toggle.md +1 -1
- package/assets/documentation/slider/slider.md +1 -1
- package/assets/documentation/sort/sort.md +1 -1
- package/assets/documentation/spinner/spinner.md +1 -1
- package/assets/documentation/status-box/status-box.md +2 -1
- package/assets/documentation/suggestions/suggestions.md +2 -1
- package/assets/documentation/tab-group/tab-group.md +1 -1
- package/assets/documentation/table/table.md +1 -8
- package/assets/documentation/tag/tag.md +1 -0
- package/assets/documentation/textarea/textarea.md +1 -1
- package/assets/documentation/toggle/toggle.md +1 -5
- package/assets/documentation/tooltip/tooltip.md +1 -0
- package/assets/documentation/trip-summary/trip-summary.md +1 -2
- package/fesm2022/norwegian-core-components.mjs +13107 -13022
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/index.d.ts +9116 -5
- package/package.json +14 -8
- package/styles/1__settings/_colors.scss +9 -9
- package/styles/1__settings/_mixins.scss +29 -25
- package/styles/1__settings/_type.scss +18 -6
- package/styles/1__settings/_vars.scss +7 -4
- package/styles/2__generic/_fonts.scss +7 -5
- package/styles/3__base/_animations.scss +84 -84
- package/styles/3__base/_body.scss +6 -4
- package/styles/3__base/_fixes.scss +1 -1
- package/styles/3__base/_form.scss +5 -2
- package/styles/3__base/_heading.scss +22 -18
- package/styles/3__base/_hr.scss +4 -0
- package/styles/3__base/_input.scss +5 -1
- package/styles/3__base/_link.scss +3 -0
- package/styles/3__base/_table.scss +8 -4
- package/styles/3__base/_type.scss +11 -7
- package/styles/_helpers.scss +4 -4
- package/styles/_index.scss +13 -13
- package/assets/documentation/campaign-header/campaign-header.md +0 -0
- package/assets/documentation/chip/chip.md +0 -1
- package/assets/documentation/info/info.md +0 -1
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -145
- package/esm2022/lib/components/accordion/accordion.module.mjs +0 -20
- package/esm2022/lib/components/accordion/index.mjs +0 -3
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -618
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +0 -487
- package/esm2022/lib/components/airport-select/airport-select.module.mjs +0 -42
- package/esm2022/lib/components/airport-select/index.mjs +0 -7
- package/esm2022/lib/components/airport-select/models/airport-select-event.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/airport-select-state.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/airport.model.mjs +0 -2
- package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +0 -3
- package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +0 -35
- package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +0 -38
- package/esm2022/lib/components/alert/alert.component.mjs +0 -169
- package/esm2022/lib/components/alert/alert.module.mjs +0 -22
- package/esm2022/lib/components/alert/index.mjs +0 -3
- package/esm2022/lib/components/alert/models/alert.model.mjs +0 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +0 -318
- package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +0 -43
- package/esm2022/lib/components/autocomplete/index.mjs +0 -4
- package/esm2022/lib/components/autocomplete/models/autocomplete.model.mjs +0 -2
- package/esm2022/lib/components/backdrop/backdrop.component.mjs +0 -58
- package/esm2022/lib/components/backdrop/backdrop.module.mjs +0 -19
- package/esm2022/lib/components/backdrop/index.mjs +0 -3
- package/esm2022/lib/components/box/box.component.mjs +0 -66
- package/esm2022/lib/components/box/box.module.mjs +0 -19
- package/esm2022/lib/components/box/index.mjs +0 -3
- package/esm2022/lib/components/button/button.component.mjs +0 -192
- package/esm2022/lib/components/button/button.module.mjs +0 -21
- package/esm2022/lib/components/button/index.mjs +0 -3
- package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +0 -51
- package/esm2022/lib/components/campaign-header/campaign-header.module.mjs +0 -20
- package/esm2022/lib/components/campaign-header/index.mjs +0 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -163
- package/esm2022/lib/components/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/components/checkbox/index.mjs +0 -3
- package/esm2022/lib/components/chip/chip.component.mjs +0 -48
- package/esm2022/lib/components/chip/chip.module.mjs +0 -19
- package/esm2022/lib/components/chip/index.mjs +0 -3
- package/esm2022/lib/components/container/container.component.mjs +0 -50
- package/esm2022/lib/components/container/container.module.mjs +0 -19
- package/esm2022/lib/components/container/index.mjs +0 -3
- package/esm2022/lib/components/continue/continue.component.mjs +0 -199
- package/esm2022/lib/components/continue/continue.module.mjs +0 -23
- package/esm2022/lib/components/continue/index.mjs +0 -3
- package/esm2022/lib/components/cover/cover.component.mjs +0 -75
- package/esm2022/lib/components/cover/cover.module.mjs +0 -21
- package/esm2022/lib/components/cover/index.mjs +0 -3
- package/esm2022/lib/components/datepicker/calendar/calendar-date.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +0 -607
- package/esm2022/lib/components/datepicker/calendar/enums/week-start.enum.mjs +0 -6
- package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +0 -2
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +0 -613
- package/esm2022/lib/components/datepicker/datepicker.module.mjs +0 -55
- package/esm2022/lib/components/datepicker/index.mjs +0 -5
- package/esm2022/lib/components/datepicker/services/calendar.service.mjs +0 -215
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +0 -401
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +0 -31
- package/esm2022/lib/components/datepicker-combo/index.mjs +0 -3
- package/esm2022/lib/components/divider/divider.component.mjs +0 -59
- package/esm2022/lib/components/divider/divider.module.mjs +0 -28
- package/esm2022/lib/components/divider/index.mjs +0 -3
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -170
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
- package/esm2022/lib/components/dropdown/index.mjs +0 -3
- package/esm2022/lib/components/filter/enums/trip-type.enum.mjs +0 -8
- package/esm2022/lib/components/filter/filter.component.mjs +0 -1307
- package/esm2022/lib/components/filter/filter.module.mjs +0 -81
- package/esm2022/lib/components/filter/index.mjs +0 -4
- package/esm2022/lib/components/grid/col/col.component.mjs +0 -49
- package/esm2022/lib/components/grid/grid.component.mjs +0 -72
- package/esm2022/lib/components/grid/grid.module.mjs +0 -20
- package/esm2022/lib/components/grid/index.mjs +0 -4
- package/esm2022/lib/components/icon/icon.component.mjs +0 -44
- package/esm2022/lib/components/icon/icon.module.mjs +0 -19
- package/esm2022/lib/components/icon/index.mjs +0 -3
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +0 -50
- package/esm2022/lib/components/icon-list/icon-list.model.mjs +0 -2
- package/esm2022/lib/components/icon-list/icon-list.module.mjs +0 -20
- package/esm2022/lib/components/icon-list/index.mjs +0 -4
- package/esm2022/lib/components/index.mjs +0 -67
- package/esm2022/lib/components/info/index.mjs +0 -4
- package/esm2022/lib/components/info/info.component.mjs +0 -116
- package/esm2022/lib/components/info/info.module.mjs +0 -36
- package/esm2022/lib/components/info/models/info.model.mjs +0 -2
- package/esm2022/lib/components/input/index.mjs +0 -3
- package/esm2022/lib/components/input/input.component.mjs +0 -228
- package/esm2022/lib/components/input/input.module.mjs +0 -35
- package/esm2022/lib/components/journey/index.mjs +0 -3
- package/esm2022/lib/components/journey/journey.component.mjs +0 -137
- package/esm2022/lib/components/journey/journey.module.mjs +0 -21
- package/esm2022/lib/components/journey/models/journey-flight.model.mjs +0 -2
- package/esm2022/lib/components/journey/models/journey.model.mjs +0 -2
- package/esm2022/lib/components/journey/models/marketing-carrier.enum.mjs +0 -8
- package/esm2022/lib/components/journey-availability/index.mjs +0 -3
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +0 -128
- package/esm2022/lib/components/journey-availability/journey-availability.module.mjs +0 -39
- package/esm2022/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs +0 -7
- package/esm2022/lib/components/journey-availability-list/index.mjs +0 -3
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +0 -182
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.module.mjs +0 -36
- package/esm2022/lib/components/journey-selection/index.mjs +0 -6
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +0 -120
- package/esm2022/lib/components/journey-selection/journey-selection.module.mjs +0 -24
- package/esm2022/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection-common.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection-expanded.model.mjs +0 -2
- package/esm2022/lib/components/journey-selection/models/journey-selection.model.mjs +0 -2
- package/esm2022/lib/components/journey-stopover/index.mjs +0 -3
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +0 -150
- package/esm2022/lib/components/journey-stopover/journey-stopover.module.mjs +0 -21
- package/esm2022/lib/components/journey-stopover/models/stopover-time.model.mjs +0 -2
- package/esm2022/lib/components/list/index.mjs +0 -4
- package/esm2022/lib/components/list/list-item/list-item.component.mjs +0 -52
- package/esm2022/lib/components/list/list.component.mjs +0 -78
- package/esm2022/lib/components/list/list.module.mjs +0 -20
- package/esm2022/lib/components/micro-button/index.mjs +0 -3
- package/esm2022/lib/components/micro-button/micro-button.component.mjs +0 -101
- package/esm2022/lib/components/micro-button/micro-button.module.mjs +0 -20
- package/esm2022/lib/components/modal/index.mjs +0 -3
- package/esm2022/lib/components/modal/modal.component.mjs +0 -156
- package/esm2022/lib/components/modal/modal.module.mjs +0 -38
- package/esm2022/lib/components/number-field/index.mjs +0 -3
- package/esm2022/lib/components/number-field/models/number-field.model.mjs +0 -2
- package/esm2022/lib/components/number-field/number-field.component.mjs +0 -162
- package/esm2022/lib/components/number-field/number-field.module.mjs +0 -39
- package/esm2022/lib/components/page-footer/index.mjs +0 -3
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +0 -52
- package/esm2022/lib/components/page-footer/page-footer.module.mjs +0 -21
- package/esm2022/lib/components/page-header/hamburger/hamburger.component.mjs +0 -22
- package/esm2022/lib/components/page-header/index.mjs +0 -5
- package/esm2022/lib/components/page-header/models/wallet.model.mjs +0 -2
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -171
- package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
- package/esm2022/lib/components/page-header/search/search.component.mjs +0 -49
- package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +0 -57
- package/esm2022/lib/components/passenger-select/enums/passenger-type.enum.mjs +0 -9
- package/esm2022/lib/components/passenger-select/index.mjs +0 -5
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +0 -2
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +0 -423
- package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +0 -28
- package/esm2022/lib/components/phone-number/index.mjs +0 -3
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +0 -182
- package/esm2022/lib/components/phone-number/phone-number.module.mjs +0 -44
- package/esm2022/lib/components/premium-toggle/index.mjs +0 -3
- package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +0 -68
- package/esm2022/lib/components/premium-toggle/premium-toggle.module.mjs +0 -20
- package/esm2022/lib/components/radio/index.mjs +0 -3
- package/esm2022/lib/components/radio/radio.component.mjs +0 -109
- package/esm2022/lib/components/radio/radio.module.mjs +0 -20
- package/esm2022/lib/components/ribbon-banner/index.mjs +0 -3
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +0 -89
- package/esm2022/lib/components/ribbon-banner/ribbon-banner.module.mjs +0 -40
- package/esm2022/lib/components/select/index.mjs +0 -6
- package/esm2022/lib/components/select/models/select-option.model.mjs +0 -2
- package/esm2022/lib/components/select/optgroup/optgroup.component.mjs +0 -29
- package/esm2022/lib/components/select/option/option.component.mjs +0 -26
- package/esm2022/lib/components/select/select.component.mjs +0 -404
- package/esm2022/lib/components/select/select.module.mjs +0 -23
- package/esm2022/lib/components/simple-list/index.mjs +0 -3
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +0 -48
- package/esm2022/lib/components/simple-list/simple-list.module.mjs +0 -19
- package/esm2022/lib/components/slide-toggle/index.mjs +0 -3
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -121
- package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +0 -20
- package/esm2022/lib/components/slider/index.mjs +0 -3
- package/esm2022/lib/components/slider/slider.component.mjs +0 -515
- package/esm2022/lib/components/slider/slider.module.mjs +0 -20
- package/esm2022/lib/components/sort/index.mjs +0 -3
- package/esm2022/lib/components/sort/sort.component.mjs +0 -98
- package/esm2022/lib/components/sort/sort.module.mjs +0 -36
- package/esm2022/lib/components/spinner/index.mjs +0 -3
- package/esm2022/lib/components/spinner/spinner.component.mjs +0 -127
- package/esm2022/lib/components/spinner/spinner.module.mjs +0 -19
- package/esm2022/lib/components/status-box/index.mjs +0 -3
- package/esm2022/lib/components/status-box/models/status-box.model.mjs +0 -2
- package/esm2022/lib/components/status-box/status-box.component.mjs +0 -109
- package/esm2022/lib/components/status-box/status-box.module.mjs +0 -21
- package/esm2022/lib/components/suggestions/index.mjs +0 -3
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +0 -44
- package/esm2022/lib/components/suggestions/suggestions.module.mjs +0 -20
- package/esm2022/lib/components/tab-group/index.mjs +0 -4
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +0 -140
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +0 -91
- package/esm2022/lib/components/tab-group/tab-group.module.mjs +0 -21
- package/esm2022/lib/components/table/column/column.component.mjs +0 -16
- package/esm2022/lib/components/table/column-group/column-group.component.mjs +0 -30
- package/esm2022/lib/components/table/index.mjs +0 -11
- package/esm2022/lib/components/table/services/table.service.mjs +0 -24
- package/esm2022/lib/components/table/table-body/table-body.component.mjs +0 -23
- package/esm2022/lib/components/table/table-foot/table-foot.component.mjs +0 -23
- package/esm2022/lib/components/table/table-head/table-head.component.mjs +0 -23
- package/esm2022/lib/components/table/table-row/table-data/table-data.component.mjs +0 -15
- package/esm2022/lib/components/table/table-row/table-header/table-header.component.mjs +0 -15
- package/esm2022/lib/components/table/table-row/table-row.component.mjs +0 -23
- package/esm2022/lib/components/table/table.component.mjs +0 -27
- package/esm2022/lib/components/table/table.module.mjs +0 -63
- package/esm2022/lib/components/tag/index.mjs +0 -3
- package/esm2022/lib/components/tag/tag.component.mjs +0 -71
- package/esm2022/lib/components/tag/tag.module.mjs +0 -28
- package/esm2022/lib/components/textarea/index.mjs +0 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +0 -139
- package/esm2022/lib/components/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/components/toggle/index.mjs +0 -3
- package/esm2022/lib/components/toggle/models/options.model.mjs +0 -3
- package/esm2022/lib/components/toggle/toggle.component.mjs +0 -102
- package/esm2022/lib/components/toggle/toggle.module.mjs +0 -35
- package/esm2022/lib/components/tooltip/index.mjs +0 -3
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -170
- package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -30
- package/esm2022/lib/components/trip-summary/index.mjs +0 -3
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +0 -167
- package/esm2022/lib/components/trip-summary/trip-summary.module.mjs +0 -36
- package/esm2022/lib/core/base/nas-component.base.mjs +0 -48
- package/esm2022/lib/core/decorators/debounce.decorator.mjs +0 -12
- package/esm2022/lib/core/directives/index.mjs +0 -3
- package/esm2022/lib/core/directives/nas-class/nas-class.directive.mjs +0 -80
- package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +0 -20
- package/esm2022/lib/core/extensions/html-element.extension.mjs +0 -31
- package/esm2022/lib/core/index.mjs +0 -5
- package/esm2022/lib/core/models/abandoned-basket-item.model.mjs +0 -2
- package/esm2022/lib/core/models/animate.model.mjs +0 -2
- package/esm2022/lib/core/models/class.model.mjs +0 -2
- package/esm2022/lib/core/models/index.mjs +0 -7
- package/esm2022/lib/core/models/link.model.mjs +0 -2
- package/esm2022/lib/core/models/position.model.mjs +0 -2
- package/esm2022/lib/core/models/utc-date.model.mjs +0 -40
- package/esm2022/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +0 -61
- package/esm2022/lib/core/services/animate-helper/animate-helper.service.mjs +0 -49
- package/esm2022/lib/core/services/bem-helper/bem-helper.service.mjs +0 -44
- package/esm2022/lib/core/services/date/date-compare.enum.mjs +0 -7
- package/esm2022/lib/core/services/date/date-helper.service.mjs +0 -199
- package/esm2022/lib/core/services/device/device-helper.service.mjs +0 -46
- package/esm2022/lib/core/services/geolocation/geolocation-state.enum.mjs +0 -8
- package/esm2022/lib/core/services/geolocation/geolocation.service.mjs +0 -66
- package/esm2022/lib/core/services/index.mjs +0 -10
- package/esm2022/lib/core/services/language/language-helper.service.mjs +0 -114
- package/esm2022/lib/core/services/sort/sort.service.mjs +0 -25
- package/esm2022/lib/core/services/viewport/viewport.service.mjs +0 -36
- package/esm2022/lib/index.mjs +0 -5
- package/esm2022/lib/services/get-position.service.mjs +0 -23
- package/esm2022/lib/services/index.mjs +0 -2
- package/esm2022/lib/shared/index.mjs +0 -2
- package/esm2022/lib/shared/models/flight-details.mjs +0 -3
- package/esm2022/lib/shared/models/index.mjs +0 -6
- package/esm2022/lib/shared/models/journey-availability-sort.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-availability.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-duration.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-stopover.model.mjs +0 -2
- package/esm2022/lib/shared/models/journey-transit-info.model.mjs +0 -2
- package/esm2022/lib/shared/models/operating-carrier.model.mjs +0 -2
- package/esm2022/lib/shared/models/sort-option.model.mjs +0 -2
- package/esm2022/lib/shared/models/sort.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-item-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-summary-details.model.mjs +0 -2
- package/esm2022/lib/shared/models/trip-summary.model.mjs +0 -2
- package/esm2022/norwegian-core-components.mjs +0 -5
- package/esm2022/public_api.mjs +0 -2
- package/lib/components/accordion/accordion.component.d.ts +0 -215
- package/lib/components/accordion/accordion.module.d.ts +0 -10
- package/lib/components/accordion/index.d.ts +0 -2
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -99
- package/lib/components/airport-select/airport-select.component.d.ts +0 -323
- package/lib/components/airport-select/airport-select.module.d.ts +0 -13
- package/lib/components/airport-select/index.d.ts +0 -6
- package/lib/components/airport-select/models/airport-select-event.model.d.ts +0 -4
- package/lib/components/airport-select/models/airport-select-state.model.d.ts +0 -5
- package/lib/components/airport-select/models/airport.model.d.ts +0 -11
- package/lib/components/airport-select/models/results-labels.model.d.ts +0 -7
- package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +0 -10
- package/lib/components/airport-select/services/airport-select.service.d.ts +0 -8
- package/lib/components/alert/alert.component.d.ts +0 -129
- package/lib/components/alert/alert.module.d.ts +0 -12
- package/lib/components/alert/index.d.ts +0 -2
- package/lib/components/alert/models/alert.model.d.ts +0 -10
- package/lib/components/autocomplete/autocomplete.component.d.ts +0 -135
- package/lib/components/autocomplete/autocomplete.module.d.ts +0 -13
- package/lib/components/autocomplete/index.d.ts +0 -3
- package/lib/components/autocomplete/models/autocomplete.model.d.ts +0 -5
- package/lib/components/backdrop/backdrop.component.d.ts +0 -38
- package/lib/components/backdrop/backdrop.module.d.ts +0 -9
- package/lib/components/backdrop/index.d.ts +0 -2
- package/lib/components/box/box.component.d.ts +0 -78
- package/lib/components/box/box.module.d.ts +0 -9
- package/lib/components/box/index.d.ts +0 -2
- package/lib/components/button/button.component.d.ts +0 -294
- package/lib/components/button/button.module.d.ts +0 -11
- package/lib/components/button/index.d.ts +0 -2
- package/lib/components/campaign-header/campaign-header.component.d.ts +0 -58
- package/lib/components/campaign-header/campaign-header.module.d.ts +0 -10
- package/lib/components/campaign-header/index.d.ts +0 -2
- package/lib/components/checkbox/checkbox.component.d.ts +0 -151
- package/lib/components/checkbox/checkbox.module.d.ts +0 -10
- package/lib/components/checkbox/index.d.ts +0 -2
- package/lib/components/chip/chip.component.d.ts +0 -48
- package/lib/components/chip/chip.module.d.ts +0 -9
- package/lib/components/chip/index.d.ts +0 -2
- package/lib/components/container/container.component.d.ts +0 -52
- package/lib/components/container/container.module.d.ts +0 -9
- package/lib/components/container/index.d.ts +0 -2
- package/lib/components/continue/continue.component.d.ts +0 -171
- package/lib/components/continue/continue.module.d.ts +0 -11
- package/lib/components/continue/index.d.ts +0 -2
- package/lib/components/cover/cover.component.d.ts +0 -125
- package/lib/components/cover/cover.module.d.ts +0 -11
- package/lib/components/cover/index.d.ts +0 -2
- package/lib/components/datepicker/calendar/calendar-date.model.d.ts +0 -5
- package/lib/components/datepicker/calendar/calendar.component.d.ts +0 -169
- package/lib/components/datepicker/calendar/enums/week-start.enum.d.ts +0 -4
- package/lib/components/datepicker/calendar/models/day.model.d.ts +0 -10
- package/lib/components/datepicker/calendar/models/select-option.model.d.ts +0 -4
- package/lib/components/datepicker/calendar/models/week.model.d.ts +0 -5
- package/lib/components/datepicker/datepicker.component.d.ts +0 -289
- package/lib/components/datepicker/datepicker.module.d.ts +0 -16
- package/lib/components/datepicker/index.d.ts +0 -4
- package/lib/components/datepicker/services/calendar.service.d.ts +0 -27
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +0 -322
- package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +0 -10
- package/lib/components/datepicker-combo/index.d.ts +0 -2
- package/lib/components/divider/divider.component.d.ts +0 -68
- package/lib/components/divider/divider.module.d.ts +0 -10
- package/lib/components/divider/index.d.ts +0 -2
- package/lib/components/dropdown/dropdown.component.d.ts +0 -80
- package/lib/components/dropdown/dropdown.module.d.ts +0 -11
- package/lib/components/dropdown/index.d.ts +0 -2
- package/lib/components/filter/enums/trip-type.enum.d.ts +0 -6
- package/lib/components/filter/filter.component.d.ts +0 -862
- package/lib/components/filter/filter.module.d.ts +0 -22
- package/lib/components/filter/index.d.ts +0 -3
- package/lib/components/grid/col/col.component.d.ts +0 -45
- package/lib/components/grid/grid.component.d.ts +0 -92
- package/lib/components/grid/grid.module.d.ts +0 -10
- package/lib/components/grid/index.d.ts +0 -3
- package/lib/components/icon/icon.component.d.ts +0 -53
- package/lib/components/icon/icon.module.d.ts +0 -9
- package/lib/components/icon/index.d.ts +0 -2
- package/lib/components/icon-list/icon-list.component.d.ts +0 -49
- package/lib/components/icon-list/icon-list.model.d.ts +0 -8
- package/lib/components/icon-list/icon-list.module.d.ts +0 -10
- package/lib/components/icon-list/index.d.ts +0 -3
- package/lib/components/index.d.ts +0 -66
- package/lib/components/info/index.d.ts +0 -3
- package/lib/components/info/info.component.d.ts +0 -108
- package/lib/components/info/info.module.d.ts +0 -12
- package/lib/components/info/models/info.model.d.ts +0 -9
- package/lib/components/input/index.d.ts +0 -2
- package/lib/components/input/input.component.d.ts +0 -214
- package/lib/components/input/input.module.d.ts +0 -11
- package/lib/components/journey/index.d.ts +0 -2
- package/lib/components/journey/journey.component.d.ts +0 -102
- package/lib/components/journey/journey.module.d.ts +0 -11
- package/lib/components/journey/models/journey-flight.model.d.ts +0 -13
- package/lib/components/journey/models/journey.model.d.ts +0 -5
- package/lib/components/journey/models/marketing-carrier.enum.d.ts +0 -6
- package/lib/components/journey-availability/index.d.ts +0 -2
- package/lib/components/journey-availability/journey-availability.component.d.ts +0 -93
- package/lib/components/journey-availability/journey-availability.module.d.ts +0 -12
- package/lib/components/journey-availability-list/enums/availability-sort-option.enum.d.ts +0 -5
- package/lib/components/journey-availability-list/index.d.ts +0 -2
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +0 -114
- package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +0 -12
- package/lib/components/journey-selection/index.d.ts +0 -5
- package/lib/components/journey-selection/journey-selection.component.d.ts +0 -84
- package/lib/components/journey-selection/journey-selection.module.d.ts +0 -11
- package/lib/components/journey-selection/models/journey-selection-collapsed.model.d.ts +0 -11
- package/lib/components/journey-selection/models/journey-selection-common.model.d.ts +0 -7
- package/lib/components/journey-selection/models/journey-selection-expanded.model.d.ts +0 -5
- package/lib/components/journey-selection/models/journey-selection.model.d.ts +0 -14
- package/lib/components/journey-stopover/index.d.ts +0 -2
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +0 -131
- package/lib/components/journey-stopover/journey-stopover.module.d.ts +0 -11
- package/lib/components/journey-stopover/models/stopover-time.model.d.ts +0 -4
- package/lib/components/list/index.d.ts +0 -3
- package/lib/components/list/list-item/list-item.component.d.ts +0 -35
- package/lib/components/list/list.component.d.ts +0 -76
- package/lib/components/list/list.module.d.ts +0 -10
- package/lib/components/micro-button/index.d.ts +0 -2
- package/lib/components/micro-button/micro-button.component.d.ts +0 -139
- package/lib/components/micro-button/micro-button.module.d.ts +0 -10
- package/lib/components/modal/index.d.ts +0 -2
- package/lib/components/modal/modal.component.d.ts +0 -119
- package/lib/components/modal/modal.module.d.ts +0 -12
- package/lib/components/number-field/index.d.ts +0 -2
- package/lib/components/number-field/models/number-field.model.d.ts +0 -5
- package/lib/components/number-field/number-field.component.d.ts +0 -124
- package/lib/components/number-field/number-field.module.d.ts +0 -12
- package/lib/components/page-footer/index.d.ts +0 -2
- package/lib/components/page-footer/page-footer.component.d.ts +0 -53
- package/lib/components/page-footer/page-footer.module.d.ts +0 -11
- package/lib/components/page-header/hamburger/hamburger.component.d.ts +0 -12
- package/lib/components/page-header/index.d.ts +0 -4
- package/lib/components/page-header/models/wallet.model.d.ts +0 -21
- package/lib/components/page-header/page-header.component.d.ts +0 -127
- package/lib/components/page-header/page-header.module.d.ts +0 -17
- package/lib/components/page-header/search/search.component.d.ts +0 -26
- package/lib/components/page-header/wallet/wallet.component.d.ts +0 -23
- package/lib/components/passenger-select/enums/passenger-type.enum.d.ts +0 -7
- package/lib/components/passenger-select/index.d.ts +0 -4
- package/lib/components/passenger-select/models/passengers.model.d.ts +0 -11
- package/lib/components/passenger-select/passenger-select.component.d.ts +0 -141
- package/lib/components/passenger-select/passenger-select.module.d.ts +0 -10
- package/lib/components/phone-number/index.d.ts +0 -2
- package/lib/components/phone-number/phone-number.component.d.ts +0 -263
- package/lib/components/phone-number/phone-number.module.d.ts +0 -13
- package/lib/components/premium-toggle/index.d.ts +0 -2
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +0 -50
- package/lib/components/premium-toggle/premium-toggle.module.d.ts +0 -10
- package/lib/components/radio/index.d.ts +0 -2
- package/lib/components/radio/radio.component.d.ts +0 -137
- package/lib/components/radio/radio.module.d.ts +0 -10
- package/lib/components/ribbon-banner/index.d.ts +0 -2
- package/lib/components/ribbon-banner/ribbon-banner.component.d.ts +0 -66
- package/lib/components/ribbon-banner/ribbon-banner.module.d.ts +0 -13
- package/lib/components/select/index.d.ts +0 -5
- package/lib/components/select/models/select-option.model.d.ts +0 -4
- package/lib/components/select/optgroup/optgroup.component.d.ts +0 -25
- package/lib/components/select/option/option.component.d.ts +0 -24
- package/lib/components/select/select.component.d.ts +0 -197
- package/lib/components/select/select.module.d.ts +0 -13
- package/lib/components/simple-list/index.d.ts +0 -2
- package/lib/components/simple-list/simple-list.component.d.ts +0 -60
- package/lib/components/simple-list/simple-list.module.d.ts +0 -9
- package/lib/components/slide-toggle/index.d.ts +0 -2
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -70
- package/lib/components/slide-toggle/slide-toggle.module.d.ts +0 -10
- package/lib/components/slider/index.d.ts +0 -2
- package/lib/components/slider/slider.component.d.ts +0 -216
- package/lib/components/slider/slider.module.d.ts +0 -10
- package/lib/components/sort/index.d.ts +0 -2
- package/lib/components/sort/sort.component.d.ts +0 -55
- package/lib/components/sort/sort.module.d.ts +0 -12
- package/lib/components/spinner/index.d.ts +0 -2
- package/lib/components/spinner/spinner.component.d.ts +0 -104
- package/lib/components/spinner/spinner.module.d.ts +0 -9
- package/lib/components/status-box/index.d.ts +0 -2
- package/lib/components/status-box/models/status-box.model.d.ts +0 -5
- package/lib/components/status-box/status-box.component.d.ts +0 -92
- package/lib/components/status-box/status-box.module.d.ts +0 -11
- package/lib/components/suggestions/index.d.ts +0 -2
- package/lib/components/suggestions/suggestions.component.d.ts +0 -36
- package/lib/components/suggestions/suggestions.module.d.ts +0 -10
- package/lib/components/tab-group/index.d.ts +0 -3
- package/lib/components/tab-group/tab/tab.component.d.ts +0 -97
- package/lib/components/tab-group/tab-group.component.d.ts +0 -42
- package/lib/components/tab-group/tab-group.module.d.ts +0 -11
- package/lib/components/table/column/column.component.d.ts +0 -6
- package/lib/components/table/column-group/column-group.component.d.ts +0 -15
- package/lib/components/table/index.d.ts +0 -10
- package/lib/components/table/services/table.service.d.ts +0 -8
- package/lib/components/table/table-body/table-body.component.d.ts +0 -15
- package/lib/components/table/table-foot/table-foot.component.d.ts +0 -15
- package/lib/components/table/table-head/table-head.component.d.ts +0 -15
- package/lib/components/table/table-row/table-data/table-data.component.d.ts +0 -5
- package/lib/components/table/table-row/table-header/table-header.component.d.ts +0 -5
- package/lib/components/table/table-row/table-row.component.d.ts +0 -15
- package/lib/components/table/table.component.d.ts +0 -19
- package/lib/components/table/table.module.d.ts +0 -17
- package/lib/components/tag/index.d.ts +0 -2
- package/lib/components/tag/tag.component.d.ts +0 -71
- package/lib/components/tag/tag.module.d.ts +0 -10
- package/lib/components/textarea/index.d.ts +0 -2
- package/lib/components/textarea/textarea.component.d.ts +0 -156
- package/lib/components/textarea/textarea.module.d.ts +0 -11
- package/lib/components/toggle/index.d.ts +0 -2
- package/lib/components/toggle/models/options.model.d.ts +0 -7
- package/lib/components/toggle/toggle.component.d.ts +0 -159
- package/lib/components/toggle/toggle.module.d.ts +0 -11
- package/lib/components/tooltip/index.d.ts +0 -2
- package/lib/components/tooltip/tooltip.component.d.ts +0 -63
- package/lib/components/tooltip/tooltip.module.d.ts +0 -10
- package/lib/components/trip-summary/index.d.ts +0 -2
- package/lib/components/trip-summary/trip-summary.component.d.ts +0 -162
- package/lib/components/trip-summary/trip-summary.module.d.ts +0 -12
- package/lib/core/base/nas-component.base.d.ts +0 -11
- package/lib/core/decorators/debounce.decorator.d.ts +0 -1
- package/lib/core/directives/index.d.ts +0 -2
- package/lib/core/directives/nas-class/nas-class.directive.d.ts +0 -14
- package/lib/core/directives/nas-class/nas-class.module.d.ts +0 -8
- package/lib/core/extensions/html-element.extension.d.ts +0 -6
- package/lib/core/index.d.ts +0 -4
- package/lib/core/models/abandoned-basket-item.model.d.ts +0 -14
- package/lib/core/models/animate.model.d.ts +0 -6
- package/lib/core/models/class.model.d.ts +0 -7
- package/lib/core/models/index.d.ts +0 -6
- package/lib/core/models/link.model.d.ts +0 -5
- package/lib/core/models/position.model.d.ts +0 -4
- package/lib/core/models/utc-date.model.d.ts +0 -13
- package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +0 -10
- package/lib/core/services/animate-helper/animate-helper.service.d.ts +0 -9
- package/lib/core/services/bem-helper/bem-helper.service.d.ts +0 -7
- package/lib/core/services/date/date-compare.enum.d.ts +0 -5
- package/lib/core/services/date/date-helper.service.d.ts +0 -22
- package/lib/core/services/device/device-helper.service.d.ts +0 -16
- package/lib/core/services/geolocation/geolocation-state.enum.d.ts +0 -6
- package/lib/core/services/geolocation/geolocation.service.d.ts +0 -9
- package/lib/core/services/index.d.ts +0 -9
- package/lib/core/services/language/language-helper.service.d.ts +0 -12
- package/lib/core/services/sort/sort.service.d.ts +0 -6
- package/lib/core/services/viewport/viewport.service.d.ts +0 -11
- package/lib/index.d.ts +0 -4
- package/lib/services/get-position.service.d.ts +0 -9
- package/lib/services/index.d.ts +0 -1
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/models/flight-details.d.ts +0 -22
- package/lib/shared/models/index.d.ts +0 -5
- package/lib/shared/models/journey-availability-sort.model.d.ts +0 -8
- package/lib/shared/models/journey-availability.model.d.ts +0 -25
- package/lib/shared/models/journey-details.model.d.ts +0 -8
- package/lib/shared/models/journey-duration.model.d.ts +0 -7
- package/lib/shared/models/journey-stopover.model.d.ts +0 -15
- package/lib/shared/models/journey-transit-info.model.d.ts +0 -5
- package/lib/shared/models/operating-carrier.model.d.ts +0 -4
- package/lib/shared/models/sort-option.model.d.ts +0 -11
- package/lib/shared/models/sort.model.d.ts +0 -10
- package/lib/shared/models/trip-item-details.model.d.ts +0 -12
- package/lib/shared/models/trip-summary-details.model.d.ts +0 -5
- package/lib/shared/models/trip-summary.model.d.ts +0 -4
- package/public_api.d.ts +0 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ When it's in there, you can start importing the stuff you need. Like this:
|
|
|
14
14
|
|
|
15
15
|
In app.module.ts:
|
|
16
16
|
|
|
17
|
-
```
|
|
17
|
+
```typescript
|
|
18
18
|
import { ButtonModule } from '@norwegian/core-components';
|
|
19
19
|
|
|
20
20
|
@NgModule({
|
|
@@ -41,7 +41,7 @@ The SCSS files for each component is compiled and injected into the component st
|
|
|
41
41
|
If you just want the styles:
|
|
42
42
|
|
|
43
43
|
```scss
|
|
44
|
-
@
|
|
44
|
+
@use '~@norwegian/core-components/styles/index';
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
|
|
@@ -64,7 +64,7 @@ Add the following line to the `apps.assets` array:
|
|
|
64
64
|
|
|
65
65
|
### Tech details
|
|
66
66
|
|
|
67
|
-
- Angular
|
|
67
|
+
- Angular 20
|
|
68
68
|
- AOT/JIT compatible component library
|
|
69
69
|
- Styles and templates are inlined at build-time, no transpiling
|
|
70
70
|
- Cherry-pick the modules you need. No need to include everything
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Accordion component displays collapsible sections that reveal or hide content. It supports multiple variants, sizes, icons, and states, making it suitable for dense information layouts, FAQs, and structured content blocks.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Airport Select component provides an interactive UI element for selecting airports from a predefined list. It supports both single- and dual-input (combo) modes, dynamic updates, external labels, and integration with reactive forms.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Alert component displays contextual messages such as information, warnings, errors, or success states. It supports optional titles, icons, timestamps, HTML content, sanitized text, close functionality, and can be driven either by individual inputs or by passing an Alert Model.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Autocomplete component provides a searchable dropdown list where items are filtered dynamically based on user input. It supports simple binding, model-driven forms, and customizable item display using an Autocomplete model.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Backdrop component in the Norwegian Design System is used to display an overlay behind interactive elements, typically to focus the user’s attention on a modal-like UI element or prevent interaction with the rest of the page while an action is in progress.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Box component from the Norwegian Design System is a layout/display component used to visually group content within a styled container. It provides several predefined variants that change the look and emphasis of the content inside.
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
Norwegian
|
|
2
|
-
|
|
3
|
-
Native `button` and `a` elements are always used in order to provide the most straightforward and accessible experience for users. A `button` element should be used whenever some action is performed. An `a` element should be used whenever the user will navigate to another view.
|
|
4
|
-
|
|
5
|
-
### Example syntax for primary button
|
|
6
|
-
|
|
7
|
-
`<nas-button primary>Click me!</nas-button>`
|
|
8
|
-
|
|
9
|
-
### Accessibility
|
|
10
|
-
Norwegian Assets uses `button` and `a` elements to ensure an accessible experience by default. The `button` element should be used for any interaction that performs an action on the current page. The `a` element should be used for any interaction that navigates to another view.
|
|
1
|
+
The Button component in the Norwegian Design System provides a versatile, customizable button used across the UI. It supports multiple colors, sizes, states, icons, link behavior, and utility properties.
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
```<nas-checkbox>``` provides the same functionality as a native ```<input type="checkbox">``` enhanced with Norwegian Brand styling and animations. The checkbox component is compatible with @angular/forms. Currently it only supports FormsModule, but ReactiveFormsModule is on the feature list.
|
|
3
|
-
|
|
4
|
-
### Accessibility
|
|
5
|
-
The ```<nas-checkbox>``` uses an internal ```<input type="checkbox">``` to provide an accessible experience. This internal checkbox receives focus and is automatically labelled by the text content of the ```<nas-checkbox>``` element.
|
|
6
|
-
|
|
7
|
-
Checkboxes without text or labels should be given a meaningful label via aria-label or aria-labelledby.
|
|
1
|
+
The Checkbox component in the Norwegian Design System provides a flexible, accessible form control with multiple visual styles and behavioral options. It supports validation states, layout variations, reactive forms, and different UI themes.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Container component is a layout utility used to control width, spacing, alignment, and grouping of content. It provides multiple sizing and formatting options to structure pages consistently across the Norwegian Design System.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Continue component is a layout/action element that presents a prominent “Continue” button, typically used at the end of forms, steps, or flows. It can include icons, custom content, sticky behavior, and visual variants.
|
|
2
|
+
It is designed to make progression actions clear, consistent, and visually aligned with the Norwegian brand.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Cover component is a flexible layout/header element used to introduce sections, pages, or content blocks with a title, optional description, illustration, and additional metadata. It supports multiple layout variations, sizes, and configurations.
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
It accepts 'Array' of complete month data to show in 'DayModel' format. i.e. Array<DayModel>
|
|
3
|
-
User can set formats in which the date is shown in the input once selected and get the date once selected.
|
|
1
|
+
The Datepicker component provides a form control for selecting calendar dates. It supports preselected values, disabled states, dynamic availability, accessibility features, and layout variations such as a compact mode.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
Datepicker Combo
|
|
1
|
+
The Datepicker Combo component combines two datepickers—typically Outbound and Inbound—into a unified UI. It supports constraints between the two dates, availability logic, locale formatting, time selection, custom formats, and layout variations.
|
|
2
|
+
It is primarily used for round-trip or multi-date selection scenarios such as booking flights.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Divider component is a simple visual separator used to break content into sections. It supports multiple color variants, spacing options, and line styles to match different layout and design needs.
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
The
|
|
2
|
-
|
|
3
|
-
It exist in two variations; regular and inline. The inline dropdown is meant for us inside e.x. text.
|
|
1
|
+
The Dropdown component provides a labeled, toggleable list used for selecting one option from a set. It supports multiple layout modes, custom styling, and event listeners.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Filter component is a powerful, multi-input filtering interface designed for travel-related searches (e.g., flights). It supports origin/destination selection, datepickers, passenger counts, trip-type toggles, and additional switches. The component adapts between desktop and mobile layouts and works with both template-driven and reactive forms.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Grid component is a flexible, responsive layout system based on a 12-column structure. It allows developers to create structured, consistent page layouts by placing content inside rows and columns with configurable widths, offsets, alignment, and breakpoints.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Icon component provides a large library of visual symbols used throughout the Norwegian Design System. Icons come in multiple styles, sizes, and categories and can be used inline with text, in buttons, lists, and UI controls.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Icon List component displays a structured list of items, each paired with an icon, title, and optional description. It is commonly used to present key benefits, features, services, or selectable options in a visually recognizable way.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Input component provides a flexible and accessible text input field with extensive configuration options. It supports labels (inside or outside), icons, validation states, disabled mode, reactive forms, event outputs, and browser-level enhancements like autocomplete and input modes.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
The Journey component visually represents a flight journey, showing one or more flight segments along with detailed information such as airports, flight numbers, times, delays, disruptions, and icons for status indicators (e.g., check-in, boarding, arrival).s
|
|
2
|
+
It is designed to clearly communicate travel progress, disruptions, and multi-leg itineraries.
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
The Journey
|
|
2
|
-
it shoes the resultant UI, with departure-time, arrival-time, number of days/time inbetween(stop time) and airports(iata code).
|
|
3
|
-
It accepts data in AvailabilityResultModel format and returns a component.
|
|
1
|
+
The Journey Availability component displays a compact overview of available flight options for a given route. Each availability card highlights key information such as departure/arrival times, total duration, number of stops, and operating carrier details.
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
The Journey availability list
|
|
2
|
-
it shoes the results in a list-form with time of departure to arrival, number of days/time inbetween(stop time) and airports.
|
|
3
|
-
It accepts data in AvailabilityResultModel format and returns a component.
|
|
4
|
-
|
|
5
|
-
It exist in three variations
|
|
6
|
-
- if dataset provided is empty, it will show the component with 'no result' caption.
|
|
7
|
-
- No result caption has to be provided by the parent component.
|
|
8
|
-
- if dataset provided is undefined, it will not show its component(UI) at all.
|
|
9
|
-
- if dataset provided has data, it will show the list of availability results.
|
|
1
|
+
The Journey Availability List component displays multiple journey availability options in a scrollable or selectable list. Each item in the list is a Journey Availability card, and the component manages selection, sorting, and interaction for the entire list.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Journey
|
|
1
|
+
The Journey Selection component presents a chosen journey option in a compact, interactive format. It’s typically used in booking flows where the customer must confirm their selected flight or expand/collapse details to review or change them.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
The Journey Stopover component displays a layover or stopover between two flight segments in a journey. It is used to show where a passenger will transit, how long they will wait, and any relevant timing information.
|
|
2
|
+
It appears between segments in multi-leg itineraries, helping users understand the flow of their trip.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The List component provides a flexible, stylized way to display collections of items with optional icons, markers, table formatting, and custom styling. It supports a variety of list types, making it suitable for feature lists, positive/negative feedback lists, navigation, and structured content.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Modal component provides a flexible overlay container for presenting important information or actions. It is used to capture user attention and require a response before continuing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Number
|
|
1
|
+
The Number Field component is a numeric input control with increment/decrement buttons, optional limits, compact modes, validation support, and integration with Angular reactive forms. It is ideal for any use case requiring numeric input with controlled behavior (passengers, baggage, quantities, etc.).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Page Footer component is a simple layout element used to display footer navigation links and optional metadata at the bottom of a page. It is typically used across the Norwegian design system to provide documentation links, navigation to related pages, or a “Back to top” button.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Page Header component is a versatile top-of-page navigation/header bar supporting multiple layouts, actions, and states. It is used for page-level navigation, profile access, search, wallet, icons, breadcrumbs, and more.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Passenger
|
|
1
|
+
The Passenger Select component is used to choose passenger counts for a booking. It supports multiple passenger types, validation rules, dropdown or inline layouts, and integration with both template-driven and reactive Angular forms.
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
- country code selection error is shown by red bordering the dropdown while writing phone number error is textual along with red bottom boder which can be passed into the component as an input.
|
|
1
|
+
The Phone Number component provides a structured and validated way to capture international phone numbers, supporting country codes, prefixes, formatting, validation, and both template-driven and reactive forms.
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
The
|
|
2
|
-
|
|
3
|
-
`nas-premium-toogle` have very options, as the goal is to standarize cabin type selection. Currently the toggle is e.x. used with the low fare calendar.
|
|
4
|
-
|
|
5
|
-
The component support input for economy/standard and premium cabin labels. It also supports default value. When user clickes on toggle, and ´handleChange´ event will fire.
|
|
6
|
-
|
|
7
|
-
Default value can either be 'standard' or 'premium'.
|
|
8
|
-
|
|
9
|
-
The premium toggle is always centered.
|
|
1
|
+
The Premium Toggle component allows users to switch between Economy cabin and Premium cabin selections in a clean, compact UI. It is typically used when presenting upgrade options or fare class selections.
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
```<nas-radio>``` provides the same functionality as a native ```<input type="radio">``` enhanced with Norwegian Brand styling and animations. The radio component is compatible with @angular/forms. Currently it only supports FormsModule, but ReactiveFormsModule is on the feature list.
|
|
3
|
-
|
|
4
|
-
### Accessibility
|
|
5
|
-
The ```<nas-radio>``` uses an internal ```<input type="radio">``` to provide an accessible experience. This internal checkbox receives focus and is automatically labelled by the text content of the ```<nas-radio>``` element.
|
|
6
|
-
|
|
7
|
-
Checkboxes without text or labels should be given a meaningful label via aria-label or aria-labelledby.
|
|
1
|
+
The Radio component allows users to select one option from a group. It supports styling, validation, accessibility, and integration with reactive forms.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
The Ribbon Banner displays important messages across the top of the page, above the header menu.
|
|
2
|
+
It is used for alerts, warnings, info messages, and neutral notifications.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Select component allows users to choose from a dropdown list and supports extensive variants such as content inside options, inline mode, errors, compact mode, filled mode, disabled mode, and reactive forms.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Simple List component provides a flexible way to display lists with different visual styles and marker types. It supports several predefined marker styles, spacing options, and a table-like layout.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Simple List component provides a flexible way to display lists with different visual styles and marker types. It supports several predefined marker styles, spacing options, and a table-like layout.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Slider component allows users to select a numeric value or range within predefined boundaries. It supports regular sliders, range sliders, reactive form integration, snapping behavior, suffix affixes, prefixes, and disabled states.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Sort component provides a dropdown-style UI for choosing sorting options. It supports optional apply buttons, auto-apply behavior, and layout variations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Spinner component is used to indicate loading states, ongoing processes, or asynchronous actions. It supports multiple sizes, overlays, labels, refresh buttons, and styling variations.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Status Box component is used to display prominent status messages to the user.
|
|
2
|
+
It visually communicates states such as info, success, warning, and error, and may include supporting text and optional action buttons.
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
The Suggestions component provides an interactive dropdown list of suggested values based on user input.
|
|
2
|
+
It is commonly used for airport selection, search fields, or any scenario where the user should choose from predefined options with auto-complete behavior.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
The
|
|
1
|
+
The Tab Group component is used to organize content into multiple tabs, allowing the user to switch between different views without navigating away from the page. It is commonly used for dashboards, forms, grouped settings, and any UI requiring categorized content.
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
The
|
|
2
|
-
* An optional `[caption]`
|
|
3
|
-
* Zero or more `<nas-column-group>`
|
|
4
|
-
* An optional `<nas-table-head>`
|
|
5
|
-
* Either one of the following
|
|
6
|
-
* Zero or more `<nas-table-body>`
|
|
7
|
-
* One or more `<nas-table-row>`
|
|
8
|
-
* An optional `<nas-table-foot>`
|
|
1
|
+
The Table component displays structured information in rows and columns. It supports several layout configurations, provides semantic grouping (thead, tfoot, tbody), and includes styling options such as colgroups, colored columns, and captions.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Tag component displays small, colored labels used to categorize, highlight, or convey quick status information. Tags are compact UI elements ideal for statuses, metadata, or classification labels.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
The Textarea component provides a multi-line text input field used for longer user-entered text such as comments, descriptions, or messages. It supports validation states, resizing behavior, disabled mode, and integration with both template-driven and reactive forms.
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
## Layout and orientation
|
|
4
|
-
|
|
5
|
-
The `nas-toggles` can be rendered in a vertical orientation by adding the vertical attribute. It also support large, compact and light visual layout.
|
|
1
|
+
The Toggle component is a versatile UI control used to let users switch between multiple options. It supports simple binary toggles, grouped toggles, icon-based selections, validations, and advanced configurations such as grouped buttons, responsive layouts, and reactive form integration.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
The Tooltip component provides short, helpful information when the user hovers over an element. It allows explaining UI elements without taking extra space and supports multiple positional and behavioral configurations.
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
- it also contains links to change(delete/edit/change) few subscriptions
|
|
1
|
+
The Trip Summary component displays key information about a flight itinerary. It is used to present segments, layovers, and detailed metadata (duration, times, airports, stopovers) in a compact, readable way. It supports multiple display modes and customization options.
|