@norwegian/core-components 7.13.5 → 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.
Files changed (599) hide show
  1. package/README.md +3 -3
  2. package/assets/documentation/accordion/accordion.md +1 -1
  3. package/assets/documentation/airport-select/airport-select.md +1 -0
  4. package/assets/documentation/alert/alert.md +1 -0
  5. package/assets/documentation/autocomplete/autocomplete.md +1 -1
  6. package/assets/documentation/backdrop/backdrop.md +1 -0
  7. package/assets/documentation/box/box.md +1 -1
  8. package/assets/documentation/button/button.md +1 -10
  9. package/assets/documentation/checkbox/checkbox.md +1 -7
  10. package/assets/documentation/container/container.md +1 -1
  11. package/assets/documentation/continue/continue.md +2 -1
  12. package/assets/documentation/cover/cover.md +1 -1
  13. package/assets/documentation/datepicker/datepicker.md +1 -3
  14. package/assets/documentation/datepicker-combo/datepicker-combo.md +2 -1
  15. package/assets/documentation/divider/divider.md +1 -1
  16. package/assets/documentation/dropdown/dropdown.md +1 -3
  17. package/assets/documentation/filter/filter.md +1 -0
  18. package/assets/documentation/grid/grid.md +1 -1
  19. package/assets/documentation/icon/icon.md +1 -1
  20. package/assets/documentation/icon-list/icon-list.md +1 -1
  21. package/assets/documentation/input/input.md +1 -1
  22. package/assets/documentation/journey/journey.md +2 -1
  23. package/assets/documentation/journey-availability/journey-availability.md +1 -3
  24. package/assets/documentation/journey-availability-list/journey-availability-list.md +1 -9
  25. package/assets/documentation/journey-selection/journey-selection.md +1 -1
  26. package/assets/documentation/journey-stopover/journey-stopover.md +2 -1
  27. package/assets/documentation/list/list.md +1 -1
  28. package/assets/documentation/micro-button/micro-button.md +2 -0
  29. package/assets/documentation/modal/modal.md +1 -0
  30. package/assets/documentation/number-field/number-field.md +1 -1
  31. package/assets/documentation/page-footer/page-footer.md +1 -1
  32. package/assets/documentation/page-header/page-header.md +1 -1
  33. package/assets/documentation/passenger-select/passenger-select.md +1 -1
  34. package/assets/documentation/phone-number/phone-number.md +1 -2
  35. package/assets/documentation/premium-toggle/premium-toggle.md +1 -9
  36. package/assets/documentation/radio/radio.md +1 -7
  37. package/assets/documentation/ribbon-banner/ribbon-banner.md +2 -1
  38. package/assets/documentation/select/select.md +1 -1
  39. package/assets/documentation/simple-list/simple-list.md +1 -1
  40. package/assets/documentation/slide-toggle/slide-toggle.md +1 -1
  41. package/assets/documentation/slider/slider.md +1 -1
  42. package/assets/documentation/sort/sort.md +1 -1
  43. package/assets/documentation/spinner/spinner.md +1 -1
  44. package/assets/documentation/status-box/status-box.md +2 -1
  45. package/assets/documentation/suggestions/suggestions.md +2 -1
  46. package/assets/documentation/tab-group/tab-group.md +1 -1
  47. package/assets/documentation/table/table.md +1 -8
  48. package/assets/documentation/tag/tag.md +1 -0
  49. package/assets/documentation/textarea/textarea.md +1 -1
  50. package/assets/documentation/toggle/toggle.md +1 -5
  51. package/assets/documentation/tooltip/tooltip.md +1 -0
  52. package/assets/documentation/trip-summary/trip-summary.md +1 -2
  53. package/fesm2022/norwegian-core-components.mjs +13107 -13039
  54. package/fesm2022/norwegian-core-components.mjs.map +1 -1
  55. package/index.d.ts +9116 -5
  56. package/package.json +14 -8
  57. package/styles/1__settings/_colors.scss +9 -9
  58. package/styles/1__settings/_mixins.scss +29 -25
  59. package/styles/1__settings/_type.scss +18 -6
  60. package/styles/1__settings/_vars.scss +7 -4
  61. package/styles/2__generic/_fonts.scss +7 -5
  62. package/styles/3__base/_animations.scss +84 -84
  63. package/styles/3__base/_body.scss +6 -4
  64. package/styles/3__base/_fixes.scss +1 -1
  65. package/styles/3__base/_form.scss +5 -2
  66. package/styles/3__base/_heading.scss +22 -18
  67. package/styles/3__base/_hr.scss +4 -0
  68. package/styles/3__base/_input.scss +5 -1
  69. package/styles/3__base/_link.scss +3 -0
  70. package/styles/3__base/_table.scss +8 -4
  71. package/styles/3__base/_type.scss +11 -7
  72. package/styles/_helpers.scss +4 -4
  73. package/styles/_index.scss +13 -13
  74. package/assets/documentation/campaign-header/campaign-header.md +0 -0
  75. package/assets/documentation/chip/chip.md +0 -1
  76. package/assets/documentation/info/info.md +0 -1
  77. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -145
  78. package/esm2022/lib/components/accordion/accordion.module.mjs +0 -20
  79. package/esm2022/lib/components/accordion/index.mjs +0 -3
  80. package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +0 -622
  81. package/esm2022/lib/components/airport-select/airport-select.component.mjs +0 -498
  82. package/esm2022/lib/components/airport-select/airport-select.module.mjs +0 -42
  83. package/esm2022/lib/components/airport-select/index.mjs +0 -7
  84. package/esm2022/lib/components/airport-select/models/airport-select-event.model.mjs +0 -2
  85. package/esm2022/lib/components/airport-select/models/airport-select-state.model.mjs +0 -2
  86. package/esm2022/lib/components/airport-select/models/airport.model.mjs +0 -2
  87. package/esm2022/lib/components/airport-select/models/results-labels.model.mjs +0 -3
  88. package/esm2022/lib/components/airport-select/services/airport-select-dropdown.service.mjs +0 -35
  89. package/esm2022/lib/components/airport-select/services/airport-select.service.mjs +0 -38
  90. package/esm2022/lib/components/alert/alert.component.mjs +0 -169
  91. package/esm2022/lib/components/alert/alert.module.mjs +0 -22
  92. package/esm2022/lib/components/alert/index.mjs +0 -4
  93. package/esm2022/lib/components/alert/models/alert.model.mjs +0 -2
  94. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +0 -318
  95. package/esm2022/lib/components/autocomplete/autocomplete.module.mjs +0 -43
  96. package/esm2022/lib/components/autocomplete/index.mjs +0 -4
  97. package/esm2022/lib/components/autocomplete/models/autocomplete.model.mjs +0 -2
  98. package/esm2022/lib/components/backdrop/backdrop.component.mjs +0 -58
  99. package/esm2022/lib/components/backdrop/backdrop.module.mjs +0 -19
  100. package/esm2022/lib/components/backdrop/index.mjs +0 -3
  101. package/esm2022/lib/components/box/box.component.mjs +0 -66
  102. package/esm2022/lib/components/box/box.module.mjs +0 -19
  103. package/esm2022/lib/components/box/index.mjs +0 -3
  104. package/esm2022/lib/components/button/button.component.mjs +0 -192
  105. package/esm2022/lib/components/button/button.module.mjs +0 -21
  106. package/esm2022/lib/components/button/index.mjs +0 -3
  107. package/esm2022/lib/components/campaign-header/campaign-header.component.mjs +0 -51
  108. package/esm2022/lib/components/campaign-header/campaign-header.module.mjs +0 -20
  109. package/esm2022/lib/components/campaign-header/index.mjs +0 -3
  110. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -163
  111. package/esm2022/lib/components/checkbox/checkbox.module.mjs +0 -20
  112. package/esm2022/lib/components/checkbox/index.mjs +0 -3
  113. package/esm2022/lib/components/chip/chip.component.mjs +0 -48
  114. package/esm2022/lib/components/chip/chip.module.mjs +0 -19
  115. package/esm2022/lib/components/chip/index.mjs +0 -3
  116. package/esm2022/lib/components/container/container.component.mjs +0 -50
  117. package/esm2022/lib/components/container/container.module.mjs +0 -19
  118. package/esm2022/lib/components/container/index.mjs +0 -3
  119. package/esm2022/lib/components/continue/continue.component.mjs +0 -199
  120. package/esm2022/lib/components/continue/continue.module.mjs +0 -23
  121. package/esm2022/lib/components/continue/index.mjs +0 -3
  122. package/esm2022/lib/components/cover/cover.component.mjs +0 -75
  123. package/esm2022/lib/components/cover/cover.module.mjs +0 -21
  124. package/esm2022/lib/components/cover/index.mjs +0 -3
  125. package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +0 -607
  126. package/esm2022/lib/components/datepicker/calendar/enums/week-start.enum.mjs +0 -6
  127. package/esm2022/lib/components/datepicker/calendar/models/calendar-date.model.mjs +0 -2
  128. package/esm2022/lib/components/datepicker/calendar/models/calendar.model.mjs +0 -2
  129. package/esm2022/lib/components/datepicker/calendar/models/day.model.mjs +0 -2
  130. package/esm2022/lib/components/datepicker/calendar/models/select-option.model.mjs +0 -2
  131. package/esm2022/lib/components/datepicker/calendar/models/week.model.mjs +0 -2
  132. package/esm2022/lib/components/datepicker/datepicker.component.mjs +0 -613
  133. package/esm2022/lib/components/datepicker/datepicker.module.mjs +0 -55
  134. package/esm2022/lib/components/datepicker/index.mjs +0 -9
  135. package/esm2022/lib/components/datepicker/services/calendar.service.mjs +0 -215
  136. package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +0 -401
  137. package/esm2022/lib/components/datepicker-combo/datepicker-combo.module.mjs +0 -31
  138. package/esm2022/lib/components/datepicker-combo/index.mjs +0 -3
  139. package/esm2022/lib/components/divider/divider.component.mjs +0 -59
  140. package/esm2022/lib/components/divider/divider.module.mjs +0 -28
  141. package/esm2022/lib/components/divider/index.mjs +0 -3
  142. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -170
  143. package/esm2022/lib/components/dropdown/dropdown.module.mjs +0 -21
  144. package/esm2022/lib/components/dropdown/index.mjs +0 -3
  145. package/esm2022/lib/components/filter/enums/trip-type.enum.mjs +0 -8
  146. package/esm2022/lib/components/filter/filter.component.mjs +0 -1309
  147. package/esm2022/lib/components/filter/filter.module.mjs +0 -81
  148. package/esm2022/lib/components/filter/index.mjs +0 -4
  149. package/esm2022/lib/components/grid/col/col.component.mjs +0 -49
  150. package/esm2022/lib/components/grid/grid.component.mjs +0 -72
  151. package/esm2022/lib/components/grid/grid.module.mjs +0 -20
  152. package/esm2022/lib/components/grid/index.mjs +0 -4
  153. package/esm2022/lib/components/icon/icon.component.mjs +0 -44
  154. package/esm2022/lib/components/icon/icon.module.mjs +0 -19
  155. package/esm2022/lib/components/icon/index.mjs +0 -3
  156. package/esm2022/lib/components/icon-list/icon-list.component.mjs +0 -50
  157. package/esm2022/lib/components/icon-list/icon-list.module.mjs +0 -20
  158. package/esm2022/lib/components/icon-list/index.mjs +0 -4
  159. package/esm2022/lib/components/icon-list/models/icon-list.model.mjs +0 -2
  160. package/esm2022/lib/components/index.mjs +0 -67
  161. package/esm2022/lib/components/info/index.mjs +0 -4
  162. package/esm2022/lib/components/info/info.component.mjs +0 -116
  163. package/esm2022/lib/components/info/info.module.mjs +0 -36
  164. package/esm2022/lib/components/info/models/info.model.mjs +0 -2
  165. package/esm2022/lib/components/input/index.mjs +0 -3
  166. package/esm2022/lib/components/input/input.component.mjs +0 -228
  167. package/esm2022/lib/components/input/input.module.mjs +0 -35
  168. package/esm2022/lib/components/journey/index.mjs +0 -6
  169. package/esm2022/lib/components/journey/journey.component.mjs +0 -137
  170. package/esm2022/lib/components/journey/journey.module.mjs +0 -21
  171. package/esm2022/lib/components/journey/models/journey-flight.model.mjs +0 -2
  172. package/esm2022/lib/components/journey/models/journey.model.mjs +0 -2
  173. package/esm2022/lib/components/journey/models/marketing-carrier.enum.mjs +0 -8
  174. package/esm2022/lib/components/journey-availability/index.mjs +0 -3
  175. package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +0 -128
  176. package/esm2022/lib/components/journey-availability/journey-availability.module.mjs +0 -39
  177. package/esm2022/lib/components/journey-availability-list/enums/availability-sort-option.enum.mjs +0 -7
  178. package/esm2022/lib/components/journey-availability-list/index.mjs +0 -4
  179. package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +0 -182
  180. package/esm2022/lib/components/journey-availability-list/journey-availability-list.module.mjs +0 -36
  181. package/esm2022/lib/components/journey-selection/index.mjs +0 -7
  182. package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +0 -120
  183. package/esm2022/lib/components/journey-selection/journey-selection.module.mjs +0 -24
  184. package/esm2022/lib/components/journey-selection/models/journey-selection-collapsed.model.mjs +0 -2
  185. package/esm2022/lib/components/journey-selection/models/journey-selection-common.model.mjs +0 -2
  186. package/esm2022/lib/components/journey-selection/models/journey-selection-expanded.model.mjs +0 -2
  187. package/esm2022/lib/components/journey-selection/models/journey-selection.model.mjs +0 -2
  188. package/esm2022/lib/components/journey-stopover/index.mjs +0 -4
  189. package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +0 -150
  190. package/esm2022/lib/components/journey-stopover/journey-stopover.module.mjs +0 -21
  191. package/esm2022/lib/components/journey-stopover/models/stopover-time.model.mjs +0 -2
  192. package/esm2022/lib/components/list/index.mjs +0 -4
  193. package/esm2022/lib/components/list/list-item/list-item.component.mjs +0 -52
  194. package/esm2022/lib/components/list/list.component.mjs +0 -78
  195. package/esm2022/lib/components/list/list.module.mjs +0 -20
  196. package/esm2022/lib/components/micro-button/index.mjs +0 -3
  197. package/esm2022/lib/components/micro-button/micro-button.component.mjs +0 -101
  198. package/esm2022/lib/components/micro-button/micro-button.module.mjs +0 -20
  199. package/esm2022/lib/components/modal/index.mjs +0 -3
  200. package/esm2022/lib/components/modal/modal.component.mjs +0 -156
  201. package/esm2022/lib/components/modal/modal.module.mjs +0 -38
  202. package/esm2022/lib/components/number-field/index.mjs +0 -4
  203. package/esm2022/lib/components/number-field/models/number-field.model.mjs +0 -2
  204. package/esm2022/lib/components/number-field/number-field.component.mjs +0 -162
  205. package/esm2022/lib/components/number-field/number-field.module.mjs +0 -39
  206. package/esm2022/lib/components/page-footer/index.mjs +0 -3
  207. package/esm2022/lib/components/page-footer/page-footer.component.mjs +0 -52
  208. package/esm2022/lib/components/page-footer/page-footer.module.mjs +0 -21
  209. package/esm2022/lib/components/page-header/hamburger/hamburger.component.mjs +0 -22
  210. package/esm2022/lib/components/page-header/index.mjs +0 -6
  211. package/esm2022/lib/components/page-header/models/wallet.model.mjs +0 -2
  212. package/esm2022/lib/components/page-header/page-header.component.mjs +0 -171
  213. package/esm2022/lib/components/page-header/page-header.module.mjs +0 -55
  214. package/esm2022/lib/components/page-header/search/search.component.mjs +0 -49
  215. package/esm2022/lib/components/page-header/wallet/wallet.component.mjs +0 -57
  216. package/esm2022/lib/components/passenger-select/enums/passenger-type.enum.mjs +0 -9
  217. package/esm2022/lib/components/passenger-select/index.mjs +0 -5
  218. package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +0 -2
  219. package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +0 -423
  220. package/esm2022/lib/components/passenger-select/passenger-select.module.mjs +0 -28
  221. package/esm2022/lib/components/phone-number/index.mjs +0 -3
  222. package/esm2022/lib/components/phone-number/phone-number.component.mjs +0 -182
  223. package/esm2022/lib/components/phone-number/phone-number.module.mjs +0 -44
  224. package/esm2022/lib/components/premium-toggle/index.mjs +0 -3
  225. package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +0 -68
  226. package/esm2022/lib/components/premium-toggle/premium-toggle.module.mjs +0 -20
  227. package/esm2022/lib/components/radio/index.mjs +0 -3
  228. package/esm2022/lib/components/radio/radio.component.mjs +0 -109
  229. package/esm2022/lib/components/radio/radio.module.mjs +0 -20
  230. package/esm2022/lib/components/ribbon-banner/index.mjs +0 -3
  231. package/esm2022/lib/components/ribbon-banner/ribbon-banner.component.mjs +0 -89
  232. package/esm2022/lib/components/ribbon-banner/ribbon-banner.module.mjs +0 -40
  233. package/esm2022/lib/components/select/index.mjs +0 -6
  234. package/esm2022/lib/components/select/models/select-option.model.mjs +0 -2
  235. package/esm2022/lib/components/select/optgroup/optgroup.component.mjs +0 -29
  236. package/esm2022/lib/components/select/option/option.component.mjs +0 -26
  237. package/esm2022/lib/components/select/select.component.mjs +0 -404
  238. package/esm2022/lib/components/select/select.module.mjs +0 -23
  239. package/esm2022/lib/components/simple-list/index.mjs +0 -3
  240. package/esm2022/lib/components/simple-list/simple-list.component.mjs +0 -48
  241. package/esm2022/lib/components/simple-list/simple-list.module.mjs +0 -19
  242. package/esm2022/lib/components/slide-toggle/index.mjs +0 -3
  243. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +0 -121
  244. package/esm2022/lib/components/slide-toggle/slide-toggle.module.mjs +0 -20
  245. package/esm2022/lib/components/slider/index.mjs +0 -3
  246. package/esm2022/lib/components/slider/slider.component.mjs +0 -515
  247. package/esm2022/lib/components/slider/slider.module.mjs +0 -20
  248. package/esm2022/lib/components/sort/index.mjs +0 -3
  249. package/esm2022/lib/components/sort/sort.component.mjs +0 -98
  250. package/esm2022/lib/components/sort/sort.module.mjs +0 -36
  251. package/esm2022/lib/components/spinner/index.mjs +0 -3
  252. package/esm2022/lib/components/spinner/spinner.component.mjs +0 -127
  253. package/esm2022/lib/components/spinner/spinner.module.mjs +0 -19
  254. package/esm2022/lib/components/status-box/index.mjs +0 -4
  255. package/esm2022/lib/components/status-box/models/status-box.model.mjs +0 -2
  256. package/esm2022/lib/components/status-box/status-box.component.mjs +0 -109
  257. package/esm2022/lib/components/status-box/status-box.module.mjs +0 -21
  258. package/esm2022/lib/components/suggestions/index.mjs +0 -3
  259. package/esm2022/lib/components/suggestions/suggestions.component.mjs +0 -44
  260. package/esm2022/lib/components/suggestions/suggestions.module.mjs +0 -20
  261. package/esm2022/lib/components/tab-group/index.mjs +0 -4
  262. package/esm2022/lib/components/tab-group/tab/tab.component.mjs +0 -140
  263. package/esm2022/lib/components/tab-group/tab-group.component.mjs +0 -91
  264. package/esm2022/lib/components/tab-group/tab-group.module.mjs +0 -21
  265. package/esm2022/lib/components/table/column/column.component.mjs +0 -16
  266. package/esm2022/lib/components/table/column-group/column-group.component.mjs +0 -30
  267. package/esm2022/lib/components/table/index.mjs +0 -11
  268. package/esm2022/lib/components/table/services/table.service.mjs +0 -24
  269. package/esm2022/lib/components/table/table-body/table-body.component.mjs +0 -23
  270. package/esm2022/lib/components/table/table-foot/table-foot.component.mjs +0 -23
  271. package/esm2022/lib/components/table/table-head/table-head.component.mjs +0 -23
  272. package/esm2022/lib/components/table/table-row/table-data/table-data.component.mjs +0 -15
  273. package/esm2022/lib/components/table/table-row/table-header/table-header.component.mjs +0 -15
  274. package/esm2022/lib/components/table/table-row/table-row.component.mjs +0 -23
  275. package/esm2022/lib/components/table/table.component.mjs +0 -27
  276. package/esm2022/lib/components/table/table.module.mjs +0 -63
  277. package/esm2022/lib/components/tag/index.mjs +0 -3
  278. package/esm2022/lib/components/tag/tag.component.mjs +0 -71
  279. package/esm2022/lib/components/tag/tag.module.mjs +0 -28
  280. package/esm2022/lib/components/textarea/index.mjs +0 -3
  281. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -139
  282. package/esm2022/lib/components/textarea/textarea.module.mjs +0 -21
  283. package/esm2022/lib/components/toggle/index.mjs +0 -3
  284. package/esm2022/lib/components/toggle/models/options.model.mjs +0 -3
  285. package/esm2022/lib/components/toggle/toggle.component.mjs +0 -102
  286. package/esm2022/lib/components/toggle/toggle.module.mjs +0 -35
  287. package/esm2022/lib/components/tooltip/index.mjs +0 -3
  288. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -170
  289. package/esm2022/lib/components/tooltip/tooltip.module.mjs +0 -30
  290. package/esm2022/lib/components/trip-summary/index.mjs +0 -3
  291. package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +0 -167
  292. package/esm2022/lib/components/trip-summary/trip-summary.module.mjs +0 -36
  293. package/esm2022/lib/core/base/nas-component.base.mjs +0 -48
  294. package/esm2022/lib/core/decorators/debounce.decorator.mjs +0 -12
  295. package/esm2022/lib/core/directives/index.mjs +0 -3
  296. package/esm2022/lib/core/directives/nas-class/nas-class.directive.mjs +0 -80
  297. package/esm2022/lib/core/directives/nas-class/nas-class.module.mjs +0 -20
  298. package/esm2022/lib/core/extensions/html-element.extension.mjs +0 -31
  299. package/esm2022/lib/core/index.mjs +0 -5
  300. package/esm2022/lib/core/models/abandoned-basket-item.model.mjs +0 -2
  301. package/esm2022/lib/core/models/animate.model.mjs +0 -2
  302. package/esm2022/lib/core/models/class.model.mjs +0 -2
  303. package/esm2022/lib/core/models/index.mjs +0 -7
  304. package/esm2022/lib/core/models/link.model.mjs +0 -2
  305. package/esm2022/lib/core/models/position.model.mjs +0 -2
  306. package/esm2022/lib/core/models/utc-date.model.mjs +0 -40
  307. package/esm2022/lib/core/services/abandoned-basket/abandoned-basket.service.mjs +0 -61
  308. package/esm2022/lib/core/services/animate-helper/animate-helper.service.mjs +0 -49
  309. package/esm2022/lib/core/services/bem-helper/bem-helper.service.mjs +0 -44
  310. package/esm2022/lib/core/services/date/date-compare.enum.mjs +0 -7
  311. package/esm2022/lib/core/services/date/date-helper.service.mjs +0 -199
  312. package/esm2022/lib/core/services/device/device-helper.service.mjs +0 -46
  313. package/esm2022/lib/core/services/geolocation/geolocation-state.enum.mjs +0 -8
  314. package/esm2022/lib/core/services/geolocation/geolocation.service.mjs +0 -66
  315. package/esm2022/lib/core/services/index.mjs +0 -10
  316. package/esm2022/lib/core/services/language/language-helper.service.mjs +0 -114
  317. package/esm2022/lib/core/services/sort/sort.service.mjs +0 -25
  318. package/esm2022/lib/core/services/viewport/viewport.service.mjs +0 -36
  319. package/esm2022/lib/index.mjs +0 -5
  320. package/esm2022/lib/services/get-position.service.mjs +0 -23
  321. package/esm2022/lib/services/index.mjs +0 -2
  322. package/esm2022/lib/shared/index.mjs +0 -2
  323. package/esm2022/lib/shared/models/flight-details.mjs +0 -3
  324. package/esm2022/lib/shared/models/index.mjs +0 -6
  325. package/esm2022/lib/shared/models/journey-availability-sort.model.mjs +0 -2
  326. package/esm2022/lib/shared/models/journey-availability.model.mjs +0 -2
  327. package/esm2022/lib/shared/models/journey-details.model.mjs +0 -2
  328. package/esm2022/lib/shared/models/journey-duration.model.mjs +0 -2
  329. package/esm2022/lib/shared/models/journey-stopover.model.mjs +0 -2
  330. package/esm2022/lib/shared/models/journey-transit-info.model.mjs +0 -2
  331. package/esm2022/lib/shared/models/operating-carrier.model.mjs +0 -2
  332. package/esm2022/lib/shared/models/sort-option.model.mjs +0 -2
  333. package/esm2022/lib/shared/models/sort.model.mjs +0 -2
  334. package/esm2022/lib/shared/models/trip-item-details.model.mjs +0 -2
  335. package/esm2022/lib/shared/models/trip-summary-details.model.mjs +0 -2
  336. package/esm2022/lib/shared/models/trip-summary.model.mjs +0 -2
  337. package/esm2022/norwegian-core-components.mjs +0 -5
  338. package/esm2022/public_api.mjs +0 -2
  339. package/lib/components/accordion/accordion.component.d.ts +0 -215
  340. package/lib/components/accordion/accordion.module.d.ts +0 -10
  341. package/lib/components/accordion/index.d.ts +0 -2
  342. package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +0 -100
  343. package/lib/components/airport-select/airport-select.component.d.ts +0 -330
  344. package/lib/components/airport-select/airport-select.module.d.ts +0 -13
  345. package/lib/components/airport-select/index.d.ts +0 -6
  346. package/lib/components/airport-select/models/airport-select-event.model.d.ts +0 -4
  347. package/lib/components/airport-select/models/airport-select-state.model.d.ts +0 -5
  348. package/lib/components/airport-select/models/airport.model.d.ts +0 -11
  349. package/lib/components/airport-select/models/results-labels.model.d.ts +0 -8
  350. package/lib/components/airport-select/services/airport-select-dropdown.service.d.ts +0 -10
  351. package/lib/components/airport-select/services/airport-select.service.d.ts +0 -8
  352. package/lib/components/alert/alert.component.d.ts +0 -129
  353. package/lib/components/alert/alert.module.d.ts +0 -12
  354. package/lib/components/alert/index.d.ts +0 -3
  355. package/lib/components/alert/models/alert.model.d.ts +0 -10
  356. package/lib/components/autocomplete/autocomplete.component.d.ts +0 -135
  357. package/lib/components/autocomplete/autocomplete.module.d.ts +0 -13
  358. package/lib/components/autocomplete/index.d.ts +0 -3
  359. package/lib/components/autocomplete/models/autocomplete.model.d.ts +0 -5
  360. package/lib/components/backdrop/backdrop.component.d.ts +0 -38
  361. package/lib/components/backdrop/backdrop.module.d.ts +0 -9
  362. package/lib/components/backdrop/index.d.ts +0 -2
  363. package/lib/components/box/box.component.d.ts +0 -78
  364. package/lib/components/box/box.module.d.ts +0 -9
  365. package/lib/components/box/index.d.ts +0 -2
  366. package/lib/components/button/button.component.d.ts +0 -294
  367. package/lib/components/button/button.module.d.ts +0 -11
  368. package/lib/components/button/index.d.ts +0 -2
  369. package/lib/components/campaign-header/campaign-header.component.d.ts +0 -58
  370. package/lib/components/campaign-header/campaign-header.module.d.ts +0 -10
  371. package/lib/components/campaign-header/index.d.ts +0 -2
  372. package/lib/components/checkbox/checkbox.component.d.ts +0 -151
  373. package/lib/components/checkbox/checkbox.module.d.ts +0 -10
  374. package/lib/components/checkbox/index.d.ts +0 -2
  375. package/lib/components/chip/chip.component.d.ts +0 -48
  376. package/lib/components/chip/chip.module.d.ts +0 -9
  377. package/lib/components/chip/index.d.ts +0 -2
  378. package/lib/components/container/container.component.d.ts +0 -52
  379. package/lib/components/container/container.module.d.ts +0 -9
  380. package/lib/components/container/index.d.ts +0 -2
  381. package/lib/components/continue/continue.component.d.ts +0 -171
  382. package/lib/components/continue/continue.module.d.ts +0 -11
  383. package/lib/components/continue/index.d.ts +0 -2
  384. package/lib/components/cover/cover.component.d.ts +0 -125
  385. package/lib/components/cover/cover.module.d.ts +0 -11
  386. package/lib/components/cover/index.d.ts +0 -2
  387. package/lib/components/datepicker/calendar/calendar.component.d.ts +0 -169
  388. package/lib/components/datepicker/calendar/enums/week-start.enum.d.ts +0 -4
  389. package/lib/components/datepicker/calendar/models/calendar-date.model.d.ts +0 -5
  390. package/lib/components/datepicker/calendar/models/calendar.model.d.ts +0 -4
  391. package/lib/components/datepicker/calendar/models/day.model.d.ts +0 -10
  392. package/lib/components/datepicker/calendar/models/select-option.model.d.ts +0 -4
  393. package/lib/components/datepicker/calendar/models/week.model.d.ts +0 -5
  394. package/lib/components/datepicker/datepicker.component.d.ts +0 -289
  395. package/lib/components/datepicker/datepicker.module.d.ts +0 -16
  396. package/lib/components/datepicker/index.d.ts +0 -8
  397. package/lib/components/datepicker/services/calendar.service.d.ts +0 -27
  398. package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +0 -322
  399. package/lib/components/datepicker-combo/datepicker-combo.module.d.ts +0 -10
  400. package/lib/components/datepicker-combo/index.d.ts +0 -2
  401. package/lib/components/divider/divider.component.d.ts +0 -68
  402. package/lib/components/divider/divider.module.d.ts +0 -10
  403. package/lib/components/divider/index.d.ts +0 -2
  404. package/lib/components/dropdown/dropdown.component.d.ts +0 -80
  405. package/lib/components/dropdown/dropdown.module.d.ts +0 -11
  406. package/lib/components/dropdown/index.d.ts +0 -2
  407. package/lib/components/filter/enums/trip-type.enum.d.ts +0 -6
  408. package/lib/components/filter/filter.component.d.ts +0 -868
  409. package/lib/components/filter/filter.module.d.ts +0 -22
  410. package/lib/components/filter/index.d.ts +0 -3
  411. package/lib/components/grid/col/col.component.d.ts +0 -45
  412. package/lib/components/grid/grid.component.d.ts +0 -92
  413. package/lib/components/grid/grid.module.d.ts +0 -10
  414. package/lib/components/grid/index.d.ts +0 -3
  415. package/lib/components/icon/icon.component.d.ts +0 -53
  416. package/lib/components/icon/icon.module.d.ts +0 -9
  417. package/lib/components/icon/index.d.ts +0 -2
  418. package/lib/components/icon-list/icon-list.component.d.ts +0 -49
  419. package/lib/components/icon-list/icon-list.module.d.ts +0 -10
  420. package/lib/components/icon-list/index.d.ts +0 -3
  421. package/lib/components/icon-list/models/icon-list.model.d.ts +0 -8
  422. package/lib/components/index.d.ts +0 -66
  423. package/lib/components/info/index.d.ts +0 -3
  424. package/lib/components/info/info.component.d.ts +0 -108
  425. package/lib/components/info/info.module.d.ts +0 -12
  426. package/lib/components/info/models/info.model.d.ts +0 -9
  427. package/lib/components/input/index.d.ts +0 -2
  428. package/lib/components/input/input.component.d.ts +0 -214
  429. package/lib/components/input/input.module.d.ts +0 -11
  430. package/lib/components/journey/index.d.ts +0 -5
  431. package/lib/components/journey/journey.component.d.ts +0 -102
  432. package/lib/components/journey/journey.module.d.ts +0 -11
  433. package/lib/components/journey/models/journey-flight.model.d.ts +0 -13
  434. package/lib/components/journey/models/journey.model.d.ts +0 -5
  435. package/lib/components/journey/models/marketing-carrier.enum.d.ts +0 -6
  436. package/lib/components/journey-availability/index.d.ts +0 -2
  437. package/lib/components/journey-availability/journey-availability.component.d.ts +0 -93
  438. package/lib/components/journey-availability/journey-availability.module.d.ts +0 -12
  439. package/lib/components/journey-availability-list/enums/availability-sort-option.enum.d.ts +0 -5
  440. package/lib/components/journey-availability-list/index.d.ts +0 -3
  441. package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +0 -114
  442. package/lib/components/journey-availability-list/journey-availability-list.module.d.ts +0 -12
  443. package/lib/components/journey-selection/index.d.ts +0 -6
  444. package/lib/components/journey-selection/journey-selection.component.d.ts +0 -84
  445. package/lib/components/journey-selection/journey-selection.module.d.ts +0 -11
  446. package/lib/components/journey-selection/models/journey-selection-collapsed.model.d.ts +0 -11
  447. package/lib/components/journey-selection/models/journey-selection-common.model.d.ts +0 -7
  448. package/lib/components/journey-selection/models/journey-selection-expanded.model.d.ts +0 -5
  449. package/lib/components/journey-selection/models/journey-selection.model.d.ts +0 -14
  450. package/lib/components/journey-stopover/index.d.ts +0 -3
  451. package/lib/components/journey-stopover/journey-stopover.component.d.ts +0 -131
  452. package/lib/components/journey-stopover/journey-stopover.module.d.ts +0 -11
  453. package/lib/components/journey-stopover/models/stopover-time.model.d.ts +0 -4
  454. package/lib/components/list/index.d.ts +0 -3
  455. package/lib/components/list/list-item/list-item.component.d.ts +0 -35
  456. package/lib/components/list/list.component.d.ts +0 -76
  457. package/lib/components/list/list.module.d.ts +0 -10
  458. package/lib/components/micro-button/index.d.ts +0 -2
  459. package/lib/components/micro-button/micro-button.component.d.ts +0 -139
  460. package/lib/components/micro-button/micro-button.module.d.ts +0 -10
  461. package/lib/components/modal/index.d.ts +0 -2
  462. package/lib/components/modal/modal.component.d.ts +0 -119
  463. package/lib/components/modal/modal.module.d.ts +0 -12
  464. package/lib/components/number-field/index.d.ts +0 -3
  465. package/lib/components/number-field/models/number-field.model.d.ts +0 -5
  466. package/lib/components/number-field/number-field.component.d.ts +0 -124
  467. package/lib/components/number-field/number-field.module.d.ts +0 -12
  468. package/lib/components/page-footer/index.d.ts +0 -2
  469. package/lib/components/page-footer/page-footer.component.d.ts +0 -53
  470. package/lib/components/page-footer/page-footer.module.d.ts +0 -11
  471. package/lib/components/page-header/hamburger/hamburger.component.d.ts +0 -12
  472. package/lib/components/page-header/index.d.ts +0 -5
  473. package/lib/components/page-header/models/wallet.model.d.ts +0 -21
  474. package/lib/components/page-header/page-header.component.d.ts +0 -127
  475. package/lib/components/page-header/page-header.module.d.ts +0 -17
  476. package/lib/components/page-header/search/search.component.d.ts +0 -26
  477. package/lib/components/page-header/wallet/wallet.component.d.ts +0 -23
  478. package/lib/components/passenger-select/enums/passenger-type.enum.d.ts +0 -7
  479. package/lib/components/passenger-select/index.d.ts +0 -4
  480. package/lib/components/passenger-select/models/passengers.model.d.ts +0 -11
  481. package/lib/components/passenger-select/passenger-select.component.d.ts +0 -141
  482. package/lib/components/passenger-select/passenger-select.module.d.ts +0 -10
  483. package/lib/components/phone-number/index.d.ts +0 -2
  484. package/lib/components/phone-number/phone-number.component.d.ts +0 -263
  485. package/lib/components/phone-number/phone-number.module.d.ts +0 -13
  486. package/lib/components/premium-toggle/index.d.ts +0 -2
  487. package/lib/components/premium-toggle/premium-toggle.component.d.ts +0 -50
  488. package/lib/components/premium-toggle/premium-toggle.module.d.ts +0 -10
  489. package/lib/components/radio/index.d.ts +0 -2
  490. package/lib/components/radio/radio.component.d.ts +0 -137
  491. package/lib/components/radio/radio.module.d.ts +0 -10
  492. package/lib/components/ribbon-banner/index.d.ts +0 -2
  493. package/lib/components/ribbon-banner/ribbon-banner.component.d.ts +0 -66
  494. package/lib/components/ribbon-banner/ribbon-banner.module.d.ts +0 -13
  495. package/lib/components/select/index.d.ts +0 -5
  496. package/lib/components/select/models/select-option.model.d.ts +0 -4
  497. package/lib/components/select/optgroup/optgroup.component.d.ts +0 -25
  498. package/lib/components/select/option/option.component.d.ts +0 -24
  499. package/lib/components/select/select.component.d.ts +0 -197
  500. package/lib/components/select/select.module.d.ts +0 -13
  501. package/lib/components/simple-list/index.d.ts +0 -2
  502. package/lib/components/simple-list/simple-list.component.d.ts +0 -60
  503. package/lib/components/simple-list/simple-list.module.d.ts +0 -9
  504. package/lib/components/slide-toggle/index.d.ts +0 -2
  505. package/lib/components/slide-toggle/slide-toggle.component.d.ts +0 -70
  506. package/lib/components/slide-toggle/slide-toggle.module.d.ts +0 -10
  507. package/lib/components/slider/index.d.ts +0 -2
  508. package/lib/components/slider/slider.component.d.ts +0 -216
  509. package/lib/components/slider/slider.module.d.ts +0 -10
  510. package/lib/components/sort/index.d.ts +0 -2
  511. package/lib/components/sort/sort.component.d.ts +0 -55
  512. package/lib/components/sort/sort.module.d.ts +0 -12
  513. package/lib/components/spinner/index.d.ts +0 -2
  514. package/lib/components/spinner/spinner.component.d.ts +0 -104
  515. package/lib/components/spinner/spinner.module.d.ts +0 -9
  516. package/lib/components/status-box/index.d.ts +0 -3
  517. package/lib/components/status-box/models/status-box.model.d.ts +0 -5
  518. package/lib/components/status-box/status-box.component.d.ts +0 -92
  519. package/lib/components/status-box/status-box.module.d.ts +0 -11
  520. package/lib/components/suggestions/index.d.ts +0 -2
  521. package/lib/components/suggestions/suggestions.component.d.ts +0 -36
  522. package/lib/components/suggestions/suggestions.module.d.ts +0 -10
  523. package/lib/components/tab-group/index.d.ts +0 -3
  524. package/lib/components/tab-group/tab/tab.component.d.ts +0 -97
  525. package/lib/components/tab-group/tab-group.component.d.ts +0 -42
  526. package/lib/components/tab-group/tab-group.module.d.ts +0 -11
  527. package/lib/components/table/column/column.component.d.ts +0 -6
  528. package/lib/components/table/column-group/column-group.component.d.ts +0 -15
  529. package/lib/components/table/index.d.ts +0 -10
  530. package/lib/components/table/services/table.service.d.ts +0 -8
  531. package/lib/components/table/table-body/table-body.component.d.ts +0 -15
  532. package/lib/components/table/table-foot/table-foot.component.d.ts +0 -15
  533. package/lib/components/table/table-head/table-head.component.d.ts +0 -15
  534. package/lib/components/table/table-row/table-data/table-data.component.d.ts +0 -5
  535. package/lib/components/table/table-row/table-header/table-header.component.d.ts +0 -5
  536. package/lib/components/table/table-row/table-row.component.d.ts +0 -15
  537. package/lib/components/table/table.component.d.ts +0 -19
  538. package/lib/components/table/table.module.d.ts +0 -17
  539. package/lib/components/tag/index.d.ts +0 -2
  540. package/lib/components/tag/tag.component.d.ts +0 -71
  541. package/lib/components/tag/tag.module.d.ts +0 -10
  542. package/lib/components/textarea/index.d.ts +0 -2
  543. package/lib/components/textarea/textarea.component.d.ts +0 -156
  544. package/lib/components/textarea/textarea.module.d.ts +0 -11
  545. package/lib/components/toggle/index.d.ts +0 -2
  546. package/lib/components/toggle/models/options.model.d.ts +0 -7
  547. package/lib/components/toggle/toggle.component.d.ts +0 -159
  548. package/lib/components/toggle/toggle.module.d.ts +0 -11
  549. package/lib/components/tooltip/index.d.ts +0 -2
  550. package/lib/components/tooltip/tooltip.component.d.ts +0 -63
  551. package/lib/components/tooltip/tooltip.module.d.ts +0 -10
  552. package/lib/components/trip-summary/index.d.ts +0 -2
  553. package/lib/components/trip-summary/trip-summary.component.d.ts +0 -162
  554. package/lib/components/trip-summary/trip-summary.module.d.ts +0 -12
  555. package/lib/core/base/nas-component.base.d.ts +0 -11
  556. package/lib/core/decorators/debounce.decorator.d.ts +0 -1
  557. package/lib/core/directives/index.d.ts +0 -2
  558. package/lib/core/directives/nas-class/nas-class.directive.d.ts +0 -14
  559. package/lib/core/directives/nas-class/nas-class.module.d.ts +0 -8
  560. package/lib/core/extensions/html-element.extension.d.ts +0 -6
  561. package/lib/core/index.d.ts +0 -4
  562. package/lib/core/models/abandoned-basket-item.model.d.ts +0 -14
  563. package/lib/core/models/animate.model.d.ts +0 -6
  564. package/lib/core/models/class.model.d.ts +0 -7
  565. package/lib/core/models/index.d.ts +0 -6
  566. package/lib/core/models/link.model.d.ts +0 -5
  567. package/lib/core/models/position.model.d.ts +0 -4
  568. package/lib/core/models/utc-date.model.d.ts +0 -13
  569. package/lib/core/services/abandoned-basket/abandoned-basket.service.d.ts +0 -10
  570. package/lib/core/services/animate-helper/animate-helper.service.d.ts +0 -9
  571. package/lib/core/services/bem-helper/bem-helper.service.d.ts +0 -7
  572. package/lib/core/services/date/date-compare.enum.d.ts +0 -5
  573. package/lib/core/services/date/date-helper.service.d.ts +0 -22
  574. package/lib/core/services/device/device-helper.service.d.ts +0 -16
  575. package/lib/core/services/geolocation/geolocation-state.enum.d.ts +0 -6
  576. package/lib/core/services/geolocation/geolocation.service.d.ts +0 -9
  577. package/lib/core/services/index.d.ts +0 -9
  578. package/lib/core/services/language/language-helper.service.d.ts +0 -12
  579. package/lib/core/services/sort/sort.service.d.ts +0 -6
  580. package/lib/core/services/viewport/viewport.service.d.ts +0 -11
  581. package/lib/index.d.ts +0 -4
  582. package/lib/services/get-position.service.d.ts +0 -9
  583. package/lib/services/index.d.ts +0 -1
  584. package/lib/shared/index.d.ts +0 -1
  585. package/lib/shared/models/flight-details.d.ts +0 -22
  586. package/lib/shared/models/index.d.ts +0 -5
  587. package/lib/shared/models/journey-availability-sort.model.d.ts +0 -8
  588. package/lib/shared/models/journey-availability.model.d.ts +0 -25
  589. package/lib/shared/models/journey-details.model.d.ts +0 -8
  590. package/lib/shared/models/journey-duration.model.d.ts +0 -7
  591. package/lib/shared/models/journey-stopover.model.d.ts +0 -15
  592. package/lib/shared/models/journey-transit-info.model.d.ts +0 -5
  593. package/lib/shared/models/operating-carrier.model.d.ts +0 -4
  594. package/lib/shared/models/sort-option.model.d.ts +0 -11
  595. package/lib/shared/models/sort.model.d.ts +0 -10
  596. package/lib/shared/models/trip-item-details.model.d.ts +0 -12
  597. package/lib/shared/models/trip-summary-details.model.d.ts +0 -5
  598. package/lib/shared/models/trip-summary.model.d.ts +0 -4
  599. 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
- ```ts
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
- @import '~@norwegian/core-components/styles/index';
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 16
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 accordion component can be used in many different context, but has the main goal to collect and categories different content in a spesific context. The accordion have five different looks; regular, with icon, simple, small and inverted.
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 autocomplete component is a generic dropdown with possibility to dynamically pass in data models.
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 buttons are either `button` or `a` elements enhanced with Norwegian Brand styling.
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
- A container component is used as a wrapper component (have no visual styling), to add correct paddings and margins a cross pages and processes.
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 continue component is used for call to action in each step in a process. E.x. a form, purchase process etc. In purchase processes it is recommended that the continue component is sticky, to increase conversion.
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 cover component is used as a cover/ heading element on a page or step in a process. It can be customized with different icons, but have clouds as defualt.
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
- Date picker is a input popup which activates by clicking into the input box and shows a calendar to pick the date from.
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 is meant to be used when selecting outbound and inbound flights. Therefore, use of `disablePastSelection` attribute and passing in `availableDates` is recommended.
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 dropdown component looks like a ordinary select box, but can contain any kind of content as it is using `ng-content`, e.x. number fields, toggles, checkboxes, radio buttons or just text content.
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 grid component is used together with the column component. The grid component is the wrapper, while the column component specify the layout.
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
- We have our own custom icon and illustration language. The visual language of the icons and illustrations draws on the characteristics of our main font Apercu.
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
- This component makes a list of links with optional icons and optional ingress.
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
- `nas-input` component uses the native `input` element with support of setting type to text and email. The component have error handling to have a different error styling, and to display error messages.
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
- - A summary of the booking from origin to destination
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 availability component is a result box for a particular route.
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 component is a result-box of user,s query of flight-search for a particular date,
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 selection component displays journey searched for/selected journey along with the close dates to change the searhed/selected 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
- - A summary of the transit or stopover between origin and destination.
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 `nas-list` component is used together with `nas-list-item` components. The `nas-list` component is the wrapper where the layout of the list is specified, while the `nas-list-item` components are representing each item in the list. The `nas-list-item` component can contain custom elements and can have custom CSS classes and styling.
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,2 @@
1
+ The Micro Button is a compact button style used for small UI actions where space is limited. It is visually lightweight but still supports multiple variants, icons, disabled states, and events.
2
+ It is ideal for tables, card headers, lists, filters, and inline actions.
@@ -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 field is a number selector, e.x. selector for passengers (adults, child, infant, etc). The Number field uses a native `input` element, with two native `button` elements to add and subtract. Number field component support max and min limits, and two different styles; compact and simple.
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
- `nas-page-footer` is used as the footer element on a Norwegian site. It supports to show a list of links, a go to the top button and bottom text, usually used for terms and conditions.
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 `nas-page-header` component is used as the page header for a Norwegian site, and supports links and search field in header, and any content put into it. If no content is added inside the `nas-page-header` component, the hamburger menu will not be displayed.
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 select it typically used together with a `<nas-dropdown>` element.
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
- - Phone number component takes in list of country codes, lets user select the coutry code and enables user to write the phone number.
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 `nas-premium-toggle` component is an simple cabin type toggle, where customer can select Premium or Economy cabin. The component uses the generic `nas-toggle` component.
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
- `nas-select` is a form control for selecting a value from a set of options, similar to the native `<select>` element. The Select component uses the native version.
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 simple list component uses the native html `ul` and `li` elements for creating a custom list with Norwegian Brand styling.
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
- `nas-slide-toggle` is an on/off toggle slider which acts as a switch. This toggle will render as a checkbox in the markup.
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
- `nas-slider` is an `<input>` element of type range that let the user specify a numeric value which must be no less than a given value, and no more than another given value. The precise value, however, is not considered important. This is typically represented using a slider or dial control rather than a text entry box like the number input type. Because this kind of widget is imprecise, it shouldn't typically be used unless the control's exact value isn't important.
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
- It is generic sort component which will input list of types of sort and toggle them while output the click/press events.
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 spinner component is used as a loading indicator when waiting for operations, processes etc. to finish. The spinner have 3 different "layouts"; small, with text and as overlay. Overlay can be combined with the other two. The component can be configured to enable the spinner after 500ms. If `enable` attribute is set to false again within 500ms, the spinner will not be displayed at all.
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 status box is used to show different messages based on use case.
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
- Is meant to be used below an airport select in order to come up with suggetsions for selected airports.
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 `nas-tab` component is used together with the `nas-tab-group` component. The `nas-tab-group` component is a wrapper where the layout of the tabs are specified, while the `nas-tab` component are representing each tab in the tab group. The `nas-tab` component can contain custom element and can have custom CSS classes and styling.
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 `<nas-table>` component is used together with the `<nas-table-row>`, `<nas-table-head>`, `<nas-table-body>`, `<nas-table-foot>`, `<nas-column-group>` and `<nas-column>` components. It can have the following content:
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
- `nas-textarea` component uses the native textarea element. The component inherits most of its inputs from `nax-input`. Refer to that page for examples that are not exclusive to `nas-textarea`.
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
- `nas-toggle` are on/off toggles with the appearance of a button. These toggles can be configured to behave as radio-buttons. By default, `nas-toggle` acts like a radio-button group - only one item can be selected..
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
- - A summary of the booking from origin to destination and return(if applicable) with all the services(subscribed)
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.