@dnb/eufemia 10.27.0 → 10.28.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 (303) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/cjs/components/anchor/style/anchor-mixins.scss +14 -20
  3. package/cjs/components/anchor/style/dnb-anchor.css +20 -34
  4. package/cjs/components/anchor/style/dnb-anchor.min.css +1 -1
  5. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +2 -2
  6. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  7. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +1 -1
  8. package/cjs/components/breadcrumb/style/dnb-breadcrumb.css +2 -2
  9. package/cjs/components/breadcrumb/style/dnb-breadcrumb.min.css +1 -1
  10. package/cjs/components/breadcrumb/style/dnb-breadcrumb.scss +2 -2
  11. package/cjs/components/checkbox/CheckIcon.d.ts +5 -0
  12. package/cjs/components/checkbox/CheckIcon.js +39 -0
  13. package/cjs/components/checkbox/CheckIcon.js.map +1 -0
  14. package/cjs/components/checkbox/Checkbox.d.ts +90 -92
  15. package/cjs/components/checkbox/Checkbox.js +145 -248
  16. package/cjs/components/checkbox/Checkbox.js.map +1 -1
  17. package/cjs/components/tabs/style/dnb-tabs.css +1 -1
  18. package/cjs/components/tabs/style/dnb-tabs.min.css +1 -1
  19. package/cjs/components/tabs/style/dnb-tabs.scss +1 -1
  20. package/cjs/components/tabs/style/themes/dnb-tabs-theme-sbanken.css +1 -0
  21. package/cjs/components/tabs/style/themes/dnb-tabs-theme-sbanken.min.css +1 -1
  22. package/cjs/components/tabs/style/themes/dnb-tabs-theme-sbanken.scss +1 -0
  23. package/cjs/extensions/forms/Form/Visibility/VisibilityDocs.js +2 -2
  24. package/cjs/extensions/forms/Form/Visibility/VisibilityDocs.js.map +1 -1
  25. package/cjs/extensions/forms/Form/data-context/getData.d.ts +3 -2
  26. package/cjs/extensions/forms/Form/data-context/getData.js +9 -0
  27. package/cjs/extensions/forms/Form/data-context/getData.js.map +1 -1
  28. package/cjs/extensions/forms/Form/data-context/useData.d.ts +5 -2
  29. package/cjs/extensions/forms/Form/data-context/useData.js +15 -6
  30. package/cjs/extensions/forms/Form/data-context/useData.js.map +1 -1
  31. package/cjs/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js +2 -2
  32. package/cjs/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js.map +1 -1
  33. package/cjs/extensions/forms/Iterate/Array/Array.js +4 -2
  34. package/cjs/extensions/forms/Iterate/Array/Array.js.map +1 -1
  35. package/cjs/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +7 -3
  36. package/cjs/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
  37. package/cjs/extensions/forms/Iterate/style/dnb-form-iterate.css +1 -1
  38. package/cjs/extensions/forms/Iterate/style/dnb-form-iterate.min.css +1 -1
  39. package/cjs/extensions/forms/Iterate/style/dnb-form-iterate.scss +3 -1
  40. package/cjs/extensions/forms/style/dnb-forms.css +1 -1
  41. package/cjs/extensions/forms/style/dnb-forms.min.css +1 -1
  42. package/cjs/extensions/payment-card/PaymentCard.d.ts +3 -1
  43. package/cjs/extensions/payment-card/icons/Credit.d.ts +3 -0
  44. package/cjs/extensions/payment-card/icons/Credit.js +23 -0
  45. package/cjs/extensions/payment-card/icons/Credit.js.map +1 -0
  46. package/cjs/extensions/payment-card/icons/Sbanken.d.ts +3 -0
  47. package/cjs/extensions/payment-card/icons/Sbanken.js +23 -0
  48. package/cjs/extensions/payment-card/icons/Sbanken.js.map +1 -0
  49. package/cjs/extensions/payment-card/icons/index.js +23 -8
  50. package/cjs/extensions/payment-card/icons/index.js.map +1 -1
  51. package/cjs/extensions/payment-card/style/dnb-payment-card.css +113 -1
  52. package/cjs/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
  53. package/cjs/extensions/payment-card/style/dnb-payment-card.scss +22 -2
  54. package/cjs/extensions/payment-card/utils/CardDesigns.d.ts +38 -0
  55. package/cjs/extensions/payment-card/utils/CardDesigns.js +26 -2
  56. package/cjs/extensions/payment-card/utils/CardDesigns.js.map +1 -1
  57. package/cjs/extensions/payment-card/utils/Types.js +5 -2
  58. package/cjs/extensions/payment-card/utils/Types.js.map +1 -1
  59. package/cjs/extensions/payment-card/utils/cardProducts.js +24 -0
  60. package/cjs/extensions/payment-card/utils/cardProducts.js.map +1 -1
  61. package/cjs/shared/Context.d.ts +2 -0
  62. package/cjs/shared/Context.js.map +1 -1
  63. package/cjs/shared/Eufemia.d.ts +1 -1
  64. package/cjs/shared/Eufemia.js +2 -2
  65. package/cjs/shared/Eufemia.js.map +1 -1
  66. package/cjs/style/core/scopes.scss +1 -1
  67. package/cjs/style/dnb-ui-basis.css +1 -1
  68. package/cjs/style/dnb-ui-basis.min.css +1 -1
  69. package/cjs/style/dnb-ui-body.css +1 -1
  70. package/cjs/style/dnb-ui-body.min.css +1 -1
  71. package/cjs/style/dnb-ui-components.css +24 -38
  72. package/cjs/style/dnb-ui-components.min.css +3 -3
  73. package/cjs/style/dnb-ui-core.css +1 -1
  74. package/cjs/style/dnb-ui-core.min.css +1 -1
  75. package/cjs/style/dnb-ui-extensions.css +114 -2
  76. package/cjs/style/dnb-ui-extensions.min.css +1 -1
  77. package/cjs/style/dnb-ui-forms.css +1 -1
  78. package/cjs/style/dnb-ui-forms.min.css +1 -1
  79. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.css +25 -39
  80. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.min.css +3 -3
  81. package/cjs/style/themes/theme-eiendom/eiendom-theme-extensions.css +114 -2
  82. package/cjs/style/themes/theme-eiendom/eiendom-theme-extensions.min.css +1 -1
  83. package/cjs/style/themes/theme-eiendom/eiendom-theme-forms.css +1 -1
  84. package/cjs/style/themes/theme-eiendom/eiendom-theme-forms.min.css +1 -1
  85. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.css +28 -41
  86. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.min.css +4 -4
  87. package/cjs/style/themes/theme-sbanken/sbanken-theme-extensions.css +114 -2
  88. package/cjs/style/themes/theme-sbanken/sbanken-theme-extensions.min.css +1 -1
  89. package/cjs/style/themes/theme-sbanken/sbanken-theme-forms.css +1 -1
  90. package/cjs/style/themes/theme-sbanken/sbanken-theme-forms.min.css +1 -1
  91. package/cjs/style/themes/theme-ui/ui-theme-components.css +25 -39
  92. package/cjs/style/themes/theme-ui/ui-theme-components.min.css +3 -3
  93. package/cjs/style/themes/theme-ui/ui-theme-extensions.css +114 -2
  94. package/cjs/style/themes/theme-ui/ui-theme-extensions.min.css +1 -1
  95. package/cjs/style/themes/theme-ui/ui-theme-forms.css +1 -1
  96. package/cjs/style/themes/theme-ui/ui-theme-forms.min.css +1 -1
  97. package/cjs/style/themes/theme-ui/ui-theme-tags.css +10 -17
  98. package/cjs/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  99. package/components/anchor/style/anchor-mixins.scss +14 -20
  100. package/components/anchor/style/dnb-anchor.css +20 -34
  101. package/components/anchor/style/dnb-anchor.min.css +1 -1
  102. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +2 -2
  103. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  104. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +1 -1
  105. package/components/breadcrumb/style/dnb-breadcrumb.css +2 -2
  106. package/components/breadcrumb/style/dnb-breadcrumb.min.css +1 -1
  107. package/components/breadcrumb/style/dnb-breadcrumb.scss +2 -2
  108. package/components/checkbox/CheckIcon.d.ts +5 -0
  109. package/components/checkbox/CheckIcon.js +30 -0
  110. package/components/checkbox/CheckIcon.js.map +1 -0
  111. package/components/checkbox/Checkbox.d.ts +90 -92
  112. package/components/checkbox/Checkbox.js +141 -245
  113. package/components/checkbox/Checkbox.js.map +1 -1
  114. package/components/tabs/style/dnb-tabs.css +1 -1
  115. package/components/tabs/style/dnb-tabs.min.css +1 -1
  116. package/components/tabs/style/dnb-tabs.scss +1 -1
  117. package/components/tabs/style/themes/dnb-tabs-theme-sbanken.css +1 -0
  118. package/components/tabs/style/themes/dnb-tabs-theme-sbanken.min.css +1 -1
  119. package/components/tabs/style/themes/dnb-tabs-theme-sbanken.scss +1 -0
  120. package/es/components/anchor/style/anchor-mixins.scss +14 -20
  121. package/es/components/anchor/style/dnb-anchor.css +20 -34
  122. package/es/components/anchor/style/dnb-anchor.min.css +1 -1
  123. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +2 -2
  124. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  125. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +1 -1
  126. package/es/components/breadcrumb/style/dnb-breadcrumb.css +2 -2
  127. package/es/components/breadcrumb/style/dnb-breadcrumb.min.css +1 -1
  128. package/es/components/breadcrumb/style/dnb-breadcrumb.scss +2 -2
  129. package/es/components/checkbox/CheckIcon.d.ts +5 -0
  130. package/es/components/checkbox/CheckIcon.js +30 -0
  131. package/es/components/checkbox/CheckIcon.js.map +1 -0
  132. package/es/components/checkbox/Checkbox.d.ts +90 -92
  133. package/es/components/checkbox/Checkbox.js +141 -245
  134. package/es/components/checkbox/Checkbox.js.map +1 -1
  135. package/es/components/tabs/style/dnb-tabs.css +1 -1
  136. package/es/components/tabs/style/dnb-tabs.min.css +1 -1
  137. package/es/components/tabs/style/dnb-tabs.scss +1 -1
  138. package/es/components/tabs/style/themes/dnb-tabs-theme-sbanken.css +1 -0
  139. package/es/components/tabs/style/themes/dnb-tabs-theme-sbanken.min.css +1 -1
  140. package/es/components/tabs/style/themes/dnb-tabs-theme-sbanken.scss +1 -0
  141. package/es/extensions/forms/Form/Visibility/VisibilityDocs.js +2 -2
  142. package/es/extensions/forms/Form/Visibility/VisibilityDocs.js.map +1 -1
  143. package/es/extensions/forms/Form/data-context/getData.d.ts +3 -2
  144. package/es/extensions/forms/Form/data-context/getData.js +8 -0
  145. package/es/extensions/forms/Form/data-context/getData.js.map +1 -1
  146. package/es/extensions/forms/Form/data-context/useData.d.ts +5 -2
  147. package/es/extensions/forms/Form/data-context/useData.js +15 -6
  148. package/es/extensions/forms/Form/data-context/useData.js.map +1 -1
  149. package/es/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js +2 -2
  150. package/es/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js.map +1 -1
  151. package/es/extensions/forms/Iterate/Array/Array.js +4 -2
  152. package/es/extensions/forms/Iterate/Array/Array.js.map +1 -1
  153. package/es/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +7 -3
  154. package/es/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
  155. package/es/extensions/forms/Iterate/style/dnb-form-iterate.css +1 -1
  156. package/es/extensions/forms/Iterate/style/dnb-form-iterate.min.css +1 -1
  157. package/es/extensions/forms/Iterate/style/dnb-form-iterate.scss +3 -1
  158. package/es/extensions/forms/style/dnb-forms.css +1 -1
  159. package/es/extensions/forms/style/dnb-forms.min.css +1 -1
  160. package/es/extensions/payment-card/PaymentCard.d.ts +3 -1
  161. package/es/extensions/payment-card/icons/Credit.d.ts +3 -0
  162. package/es/extensions/payment-card/icons/Credit.js +15 -0
  163. package/es/extensions/payment-card/icons/Credit.js.map +1 -0
  164. package/es/extensions/payment-card/icons/Sbanken.d.ts +3 -0
  165. package/es/extensions/payment-card/icons/Sbanken.js +15 -0
  166. package/es/extensions/payment-card/icons/Sbanken.js.map +1 -0
  167. package/es/extensions/payment-card/icons/index.js +19 -4
  168. package/es/extensions/payment-card/icons/index.js.map +1 -1
  169. package/es/extensions/payment-card/style/dnb-payment-card.css +113 -1
  170. package/es/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
  171. package/es/extensions/payment-card/style/dnb-payment-card.scss +22 -2
  172. package/es/extensions/payment-card/utils/CardDesigns.d.ts +38 -0
  173. package/es/extensions/payment-card/utils/CardDesigns.js +24 -2
  174. package/es/extensions/payment-card/utils/CardDesigns.js.map +1 -1
  175. package/es/extensions/payment-card/utils/Types.js +5 -2
  176. package/es/extensions/payment-card/utils/Types.js.map +1 -1
  177. package/es/extensions/payment-card/utils/cardProducts.js +25 -1
  178. package/es/extensions/payment-card/utils/cardProducts.js.map +1 -1
  179. package/es/shared/Context.d.ts +2 -0
  180. package/es/shared/Context.js.map +1 -1
  181. package/es/shared/Eufemia.d.ts +1 -1
  182. package/es/shared/Eufemia.js +2 -2
  183. package/es/shared/Eufemia.js.map +1 -1
  184. package/es/style/core/scopes.scss +1 -1
  185. package/es/style/dnb-ui-basis.css +1 -1
  186. package/es/style/dnb-ui-basis.min.css +1 -1
  187. package/es/style/dnb-ui-body.css +1 -1
  188. package/es/style/dnb-ui-body.min.css +1 -1
  189. package/es/style/dnb-ui-components.css +24 -38
  190. package/es/style/dnb-ui-components.min.css +3 -3
  191. package/es/style/dnb-ui-core.css +1 -1
  192. package/es/style/dnb-ui-core.min.css +1 -1
  193. package/es/style/dnb-ui-extensions.css +114 -2
  194. package/es/style/dnb-ui-extensions.min.css +1 -1
  195. package/es/style/dnb-ui-forms.css +1 -1
  196. package/es/style/dnb-ui-forms.min.css +1 -1
  197. package/es/style/themes/theme-eiendom/eiendom-theme-components.css +25 -39
  198. package/es/style/themes/theme-eiendom/eiendom-theme-components.min.css +3 -3
  199. package/es/style/themes/theme-eiendom/eiendom-theme-extensions.css +114 -2
  200. package/es/style/themes/theme-eiendom/eiendom-theme-extensions.min.css +1 -1
  201. package/es/style/themes/theme-eiendom/eiendom-theme-forms.css +1 -1
  202. package/es/style/themes/theme-eiendom/eiendom-theme-forms.min.css +1 -1
  203. package/es/style/themes/theme-sbanken/sbanken-theme-components.css +28 -41
  204. package/es/style/themes/theme-sbanken/sbanken-theme-components.min.css +4 -4
  205. package/es/style/themes/theme-sbanken/sbanken-theme-extensions.css +114 -2
  206. package/es/style/themes/theme-sbanken/sbanken-theme-extensions.min.css +1 -1
  207. package/es/style/themes/theme-sbanken/sbanken-theme-forms.css +1 -1
  208. package/es/style/themes/theme-sbanken/sbanken-theme-forms.min.css +1 -1
  209. package/es/style/themes/theme-ui/ui-theme-components.css +25 -39
  210. package/es/style/themes/theme-ui/ui-theme-components.min.css +3 -3
  211. package/es/style/themes/theme-ui/ui-theme-extensions.css +114 -2
  212. package/es/style/themes/theme-ui/ui-theme-extensions.min.css +1 -1
  213. package/es/style/themes/theme-ui/ui-theme-forms.css +1 -1
  214. package/es/style/themes/theme-ui/ui-theme-forms.min.css +1 -1
  215. package/es/style/themes/theme-ui/ui-theme-tags.css +10 -17
  216. package/es/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  217. package/esm/dnb-ui-basis.min.mjs +1 -1
  218. package/esm/dnb-ui-components.min.mjs +1 -1
  219. package/esm/dnb-ui-elements.min.mjs +1 -1
  220. package/esm/dnb-ui-extensions.min.mjs +3 -3
  221. package/esm/dnb-ui-lib.min.mjs +1 -1
  222. package/extensions/forms/Form/Visibility/VisibilityDocs.js +2 -2
  223. package/extensions/forms/Form/Visibility/VisibilityDocs.js.map +1 -1
  224. package/extensions/forms/Form/data-context/getData.d.ts +3 -2
  225. package/extensions/forms/Form/data-context/getData.js +8 -0
  226. package/extensions/forms/Form/data-context/getData.js.map +1 -1
  227. package/extensions/forms/Form/data-context/useData.d.ts +5 -2
  228. package/extensions/forms/Form/data-context/useData.js +15 -6
  229. package/extensions/forms/Form/data-context/useData.js.map +1 -1
  230. package/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js +2 -2
  231. package/extensions/forms/Iterate/AnimatedContainer/ElementBlock.js.map +1 -1
  232. package/extensions/forms/Iterate/Array/Array.js +4 -2
  233. package/extensions/forms/Iterate/Array/Array.js.map +1 -1
  234. package/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +7 -3
  235. package/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
  236. package/extensions/forms/Iterate/style/dnb-form-iterate.css +1 -1
  237. package/extensions/forms/Iterate/style/dnb-form-iterate.min.css +1 -1
  238. package/extensions/forms/Iterate/style/dnb-form-iterate.scss +3 -1
  239. package/extensions/forms/style/dnb-forms.css +1 -1
  240. package/extensions/forms/style/dnb-forms.min.css +1 -1
  241. package/extensions/payment-card/PaymentCard.d.ts +3 -1
  242. package/extensions/payment-card/icons/Credit.d.ts +3 -0
  243. package/extensions/payment-card/icons/Credit.js +15 -0
  244. package/extensions/payment-card/icons/Credit.js.map +1 -0
  245. package/extensions/payment-card/icons/Sbanken.d.ts +3 -0
  246. package/extensions/payment-card/icons/Sbanken.js +15 -0
  247. package/extensions/payment-card/icons/Sbanken.js.map +1 -0
  248. package/extensions/payment-card/icons/index.js +19 -4
  249. package/extensions/payment-card/icons/index.js.map +1 -1
  250. package/extensions/payment-card/style/dnb-payment-card.css +113 -1
  251. package/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
  252. package/extensions/payment-card/style/dnb-payment-card.scss +22 -2
  253. package/extensions/payment-card/utils/CardDesigns.d.ts +38 -0
  254. package/extensions/payment-card/utils/CardDesigns.js +24 -2
  255. package/extensions/payment-card/utils/CardDesigns.js.map +1 -1
  256. package/extensions/payment-card/utils/Types.js +5 -2
  257. package/extensions/payment-card/utils/Types.js.map +1 -1
  258. package/extensions/payment-card/utils/cardProducts.js +25 -1
  259. package/extensions/payment-card/utils/cardProducts.js.map +1 -1
  260. package/package.json +1 -1
  261. package/shared/Context.d.ts +2 -0
  262. package/shared/Context.js.map +1 -1
  263. package/shared/Eufemia.d.ts +1 -1
  264. package/shared/Eufemia.js +2 -2
  265. package/shared/Eufemia.js.map +1 -1
  266. package/style/core/scopes.scss +1 -1
  267. package/style/dnb-ui-basis.css +1 -1
  268. package/style/dnb-ui-basis.min.css +1 -1
  269. package/style/dnb-ui-body.css +1 -1
  270. package/style/dnb-ui-body.min.css +1 -1
  271. package/style/dnb-ui-components.css +24 -38
  272. package/style/dnb-ui-components.min.css +3 -3
  273. package/style/dnb-ui-core.css +1 -1
  274. package/style/dnb-ui-core.min.css +1 -1
  275. package/style/dnb-ui-extensions.css +114 -2
  276. package/style/dnb-ui-extensions.min.css +1 -1
  277. package/style/dnb-ui-forms.css +1 -1
  278. package/style/dnb-ui-forms.min.css +1 -1
  279. package/style/themes/theme-eiendom/eiendom-theme-components.css +25 -39
  280. package/style/themes/theme-eiendom/eiendom-theme-components.min.css +3 -3
  281. package/style/themes/theme-eiendom/eiendom-theme-extensions.css +114 -2
  282. package/style/themes/theme-eiendom/eiendom-theme-extensions.min.css +1 -1
  283. package/style/themes/theme-eiendom/eiendom-theme-forms.css +1 -1
  284. package/style/themes/theme-eiendom/eiendom-theme-forms.min.css +1 -1
  285. package/style/themes/theme-sbanken/sbanken-theme-components.css +28 -41
  286. package/style/themes/theme-sbanken/sbanken-theme-components.min.css +4 -4
  287. package/style/themes/theme-sbanken/sbanken-theme-extensions.css +114 -2
  288. package/style/themes/theme-sbanken/sbanken-theme-extensions.min.css +1 -1
  289. package/style/themes/theme-sbanken/sbanken-theme-forms.css +1 -1
  290. package/style/themes/theme-sbanken/sbanken-theme-forms.min.css +1 -1
  291. package/style/themes/theme-ui/ui-theme-components.css +25 -39
  292. package/style/themes/theme-ui/ui-theme-components.min.css +3 -3
  293. package/style/themes/theme-ui/ui-theme-extensions.css +114 -2
  294. package/style/themes/theme-ui/ui-theme-extensions.min.css +1 -1
  295. package/style/themes/theme-ui/ui-theme-forms.css +1 -1
  296. package/style/themes/theme-ui/ui-theme-forms.min.css +1 -1
  297. package/style/themes/theme-ui/ui-theme-tags.css +10 -17
  298. package/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  299. package/umd/dnb-ui-basis.min.js +1 -1
  300. package/umd/dnb-ui-components.min.js +1 -1
  301. package/umd/dnb-ui-elements.min.js +1 -1
  302. package/umd/dnb-ui-extensions.min.js +3 -3
  303. package/umd/dnb-ui-lib.min.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Types.js","names":["daggy","createDaggy","DNB","taggedSum","Colored","Visa","Platinum","Mastercard","Default","Dark","CardType","None","BankAxept","White","Black","Gold","Black20","Gray","Saga","PB","ProductType","Pluss","Intro","Bedrift","Business","PrivateBanking","BankAxeptType","Types","TAG","VALUES","TYPE","RET_TYPE","TAGS","typeName","constructors","proto","cata","sum$cata","toString","sum$toString","tags","Object","keys","typeRep","constructor","typeRepToString","prototype","is","isType","forEach","tag","fields","tagProto","create","defProp","length","makeValue","sum$isUnit","makeConstructor","sum$isVariant","sum$ctrToString","from","makeConstructorFromObject","fs","idx","TypeError","apply","arrToString","variant","$sum$isVariant","val","Boolean","unit","$sum$isUnit","$isType","values","argumentsLength","obj","prop","desc","enumerable","writable","configurable","value","defineProperty","arr","str","String","a","arguments","b","c","d","e","f","g","h","i","j","field","hasOwnProperty","call","push"],"sources":["../../../../../src/extensions/payment-card/utils/Types.js"],"sourcesContent":["// import daggy from 'daggy';\n\nconst daggy = createDaggy()\n\nconst DNB = daggy.taggedSum('DNB', {\n Colored: ['color'],\n})\n\nconst Visa = daggy.taggedSum('Visa', {\n Colored: ['color'],\n Platinum: [],\n})\n\nconst Mastercard = daggy.taggedSum('Mastercard', {\n Default: [],\n Dark: [],\n})\n\nconst CardType = daggy.taggedSum('CardType', {\n Visa: [],\n Mastercard: [],\n None: [],\n})\n\nconst BankAxept = daggy.taggedSum('BankAxept', {\n White: [],\n Black: [],\n Gold: [],\n Black20: [],\n Gray: [],\n})\n\nconst Saga = daggy.taggedSum('Saga', {\n Gold: [],\n Platinum: [],\n None: [],\n})\n\n// PrivateBanking\nconst PB = daggy.taggedSum('PB', {\n Default: [],\n None: [],\n})\n\nconst ProductType = daggy.taggedSum('ProductType', {\n Saga: [],\n Pluss: [],\n Intro: [],\n Bedrift: [],\n Business: [],\n PrivateBanking: [],\n None: [],\n})\n\nconst BankAxeptType = daggy.taggedSum('BankAxeptType', {\n BankAxept: [],\n None: [],\n})\n\nexport {\n DNB,\n Saga,\n PB,\n Mastercard,\n ProductType,\n CardType,\n BankAxept,\n BankAxeptType,\n Visa,\n}\n\nconst Types = {\n DNB,\n Saga,\n PB,\n Mastercard,\n ProductType,\n CardType,\n BankAxept,\n BankAxeptType,\n Visa,\n}\n\nexport default Types\n\nfunction createDaggy() {\n // Names of prop used to store:\n // * name of variant of a sum type\n const TAG = '@@tag'\n // * array of arguments used to create a value (to speed up `cata`)\n const VALUES = '@@values'\n // * `@@type` of its returned results\n const TYPE = '@@type'\n // * `@@type` of variant constructor's returned results\n const RET_TYPE = '@@ret_type'\n // * names of all variants of a sum type\n const TAGS = '@@tags'\n\n function taggedSum(typeName, constructors) {\n const proto = { cata: sum$cata, toString: sum$toString }\n const tags = Object.keys(constructors)\n const typeRep = (proto.constructor = {\n toString: typeRepToString,\n prototype: proto,\n is: isType(typeName),\n '@@type': typeName,\n '@@tags': tags,\n })\n tags.forEach(function (tag) {\n const fields = constructors[tag]\n const tagProto = Object.create(proto)\n defProp(tagProto, TAG, tag)\n if (fields.length === 0) {\n typeRep[tag] = makeValue(fields, tagProto, [], 0)\n typeRep[tag].is = sum$isUnit(typeRep[tag])\n return\n }\n typeRep[tag] = makeConstructor(fields, tagProto)\n typeRep[tag].is = sum$isVariant(typeRep[tag])\n typeRep[tag][TAG] = tag\n typeRep[tag][RET_TYPE] = typeName\n typeRep[tag].toString = sum$ctrToString\n typeRep[tag].from = makeConstructorFromObject(fields, tagProto)\n })\n return typeRep\n }\n\n function sum$cata(fs) {\n const tags = this.constructor[TAGS]\n let tag\n for (let idx = 0; idx < tags.length; idx += 1) {\n tag = tags[idx]\n if (!fs[tag]) {\n throw new TypeError(\n \"Constructors given to cata didn't include: \" + tag\n )\n }\n }\n return fs[this[TAG]].apply(fs, this[VALUES])\n }\n\n function sum$ctrToString() {\n return this[RET_TYPE] + '.' + this[TAG]\n }\n\n function sum$toString() {\n return (\n this.constructor[TYPE] + '.' + this[TAG] + arrToString(this[VALUES])\n )\n }\n\n function typeRepToString() {\n return this[TYPE]\n }\n\n // function tagged$toString() {\n // return this.constructor[TYPE] + arrToString(this[VALUES])\n // }\n\n function sum$isVariant(variant) {\n return function $sum$isVariant(val) {\n return (\n Boolean(val) &&\n variant[TAG] === val[TAG] &&\n variant[RET_TYPE] === typeof val\n )\n }\n }\n\n function sum$isUnit(unit) {\n return function $sum$isUnit(val) {\n return (\n unit === val ||\n (Boolean(val) &&\n unit[TAG] === val[TAG] &&\n typeof unit === typeof val)\n )\n }\n }\n\n function isType(typeName) {\n return function $isType(val) {\n return typeName === typeof val\n }\n }\n\n function makeValue(fields, proto, values, argumentsLength) {\n if (argumentsLength !== fields.length) {\n throw new TypeError(\n 'Expected ' + fields.length + ' arguments, got ' + argumentsLength\n )\n }\n const obj = Object.create(proto)\n defProp(obj, VALUES, values)\n for (let idx = 0; idx < fields.length; idx += 1) {\n obj[fields[idx]] = values[idx]\n }\n return obj\n }\n\n // adopted version of withValue from https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty\n function defProp(obj, prop, val) {\n const desc =\n defProp.desc ||\n (defProp.desc = {\n enumerable: false,\n writable: false,\n configurable: false,\n value: null,\n })\n desc.value = val\n Object.defineProperty(obj, prop, desc)\n }\n\n // optimized version of `arr.map(toString).join(', ')`\n function arrToString(arr) {\n if (arr.length === 0) return ''\n let str = '(' + String(arr[0])\n for (let idx = 1; idx < arr.length; idx += 1) {\n str = str + ', ' + String(arr[idx])\n }\n return str + ')'\n }\n\n function makeConstructor(fields, proto) {\n switch (fields.length) {\n /* eslint-disable max-len */\n case 1:\n return function (a) {\n return makeValue(fields, proto, [a], arguments.length)\n }\n case 2:\n return function (a, b) {\n return makeValue(fields, proto, [a, b], arguments.length)\n }\n case 3:\n return function (a, b, c) {\n return makeValue(fields, proto, [a, b, c], arguments.length)\n }\n case 4:\n return function (a, b, c, d) {\n return makeValue(fields, proto, [a, b, c, d], arguments.length)\n }\n case 5:\n return function (a, b, c, d, e) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e],\n arguments.length\n )\n }\n case 6:\n return function (a, b, c, d, e, f) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f],\n arguments.length\n )\n }\n case 7:\n return function (a, b, c, d, e, f, g) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g],\n arguments.length\n )\n }\n case 8:\n return function (a, b, c, d, e, f, g, h) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h],\n arguments.length\n )\n }\n case 9:\n return function (a, b, c, d, e, f, g, h, i) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h, i],\n arguments.length\n )\n }\n case 10:\n return function (a, b, c, d, e, f, g, h, i, j) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h, i, j],\n arguments.length\n )\n }\n /* eslint-enable max-len */\n default:\n return Object.defineProperty(\n function () {\n return makeValue(fields, proto, arguments, arguments.length)\n },\n 'length',\n { value: fields.length }\n )\n }\n }\n\n function makeConstructorFromObject(fields, proto) {\n return function (obj) {\n const values = []\n for (let idx = 0; idx < fields.length; idx += 1) {\n const field = fields[idx]\n if (!Object.prototype.hasOwnProperty.call(obj, field)) {\n throw new TypeError('Missing field: ' + field)\n }\n values.push(obj[field])\n }\n return makeValue(fields, proto, values, values.length)\n }\n }\n\n return { taggedSum }\n}\n"],"mappings":"AAEA,MAAMA,KAAK,GAAGC,WAAW,CAAC,CAAC;AAE3B,MAAMC,GAAG,GAAGF,KAAK,CAACG,SAAS,CAAC,KAAK,EAAE;EACjCC,OAAO,EAAE,CAAC,OAAO;AACnB,CAAC,CAAC;AAEF,MAAMC,IAAI,GAAGL,KAAK,CAACG,SAAS,CAAC,MAAM,EAAE;EACnCC,OAAO,EAAE,CAAC,OAAO,CAAC;EAClBE,QAAQ,EAAE;AACZ,CAAC,CAAC;AAEF,MAAMC,UAAU,GAAGP,KAAK,CAACG,SAAS,CAAC,YAAY,EAAE;EAC/CK,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE;AACR,CAAC,CAAC;AAEF,MAAMC,QAAQ,GAAGV,KAAK,CAACG,SAAS,CAAC,UAAU,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C,CAAC,EAAEC,CAAC,CAAC,EAC9BT,SAAS,CAAClC,MACZ,CAAC;QACH,CAAC;MAEH;QACE,OAAOd,MAAM,CAAC2C,cAAc,CAC1B,YAAY;UACV,OAAO5B,SAAS,CAACL,MAAM,EAAEhB,KAAK,EAAEsD,SAAS,EAAEA,SAAS,CAAClC,MAAM,CAAC;QAC9D,CAAC,EACD,QAAQ,EACR;UAAE4B,KAAK,EAAEhC,MAAM,CAACI;QAAO,CACzB,CAAC;IACL;EACF;EAEA,SAASO,yBAAyBA,CAACX,MAAM,EAAEhB,KAAK,EAAE;IAChD,OAAO,UAAU0C,GAAG,EAAE;MACpB,MAAMF,MAAM,GAAG,EAAE;MACjB,KAAK,IAAIX,GAAG,GAAG,CAAC,EAAEA,GAAG,GAAGb,MAAM,CAACI,MAAM,EAAES,GAAG,IAAI,CAAC,EAAE;QAC/C,MAAMmC,KAAK,GAAGhD,MAAM,CAACa,GAAG,CAAC;QACzB,IAAI,CAACvB,MAAM,CAACK,SAAS,CAACsD,cAAc,CAACC,IAAI,CAACxB,GAAG,EAAEsB,KAAK,CAAC,EAAE;UACrD,MAAM,IAAIlC,SAAS,CAAC,iBAAiB,GAAGkC,KAAK,CAAC;QAChD;QACAxB,MAAM,CAAC2B,IAAI,CAACzB,GAAG,CAACsB,KAAK,CAAC,CAAC;MACzB;MACA,OAAO3C,SAAS,CAACL,MAAM,EAAEhB,KAAK,EAAEwC,MAAM,EAAEA,MAAM,CAACpB,MAAM,CAAC;IACxD,CAAC;EACH;EAEA,OAAO;IAAEpD;EAAU,CAAC;AACtB"}
1
+ {"version":3,"file":"Types.js","names":["daggy","createDaggy","DNB","taggedSum","Colored","Sbanken","Visa","Platinum","Mastercard","Default","Dark","CardType","None","BankAxept","White","Black","Gold","Black20","Gray","GrayDark","Saga","PB","ProductType","Pluss","Intro","Bedrift","Business","PrivateBanking","BankAxeptType","Credit","Types","TAG","VALUES","TYPE","RET_TYPE","TAGS","typeName","constructors","proto","cata","sum$cata","toString","sum$toString","tags","Object","keys","typeRep","constructor","typeRepToString","prototype","is","isType","forEach","tag","fields","tagProto","create","defProp","length","makeValue","sum$isUnit","makeConstructor","sum$isVariant","sum$ctrToString","from","makeConstructorFromObject","fs","idx","TypeError","apply","arrToString","variant","$sum$isVariant","val","Boolean","unit","$sum$isUnit","$isType","values","argumentsLength","obj","prop","desc","enumerable","writable","configurable","value","defineProperty","arr","str","String","a","arguments","b","c","d","e","f","g","h","i","j","field","hasOwnProperty","call","push"],"sources":["../../../../../src/extensions/payment-card/utils/Types.js"],"sourcesContent":["// import daggy from 'daggy';\n\nconst daggy = createDaggy()\n\nconst DNB = daggy.taggedSum('DNB', {\n Colored: ['color'],\n Sbanken: ['color'],\n})\n\nconst Visa = daggy.taggedSum('Visa', {\n Colored: ['color'],\n Platinum: [],\n})\n\nconst Mastercard = daggy.taggedSum('Mastercard', {\n Default: [],\n Dark: [],\n})\n\nconst CardType = daggy.taggedSum('CardType', {\n Visa: [],\n Mastercard: [],\n None: [],\n})\n\nconst BankAxept = daggy.taggedSum('BankAxept', {\n White: [],\n Black: [],\n Gold: [],\n Black20: [],\n Gray: [],\n GrayDark: [],\n})\n\nconst Saga = daggy.taggedSum('Saga', {\n Gold: [],\n Platinum: [],\n None: [],\n})\n\n// PrivateBanking\nconst PB = daggy.taggedSum('PB', {\n Default: [],\n None: [],\n})\n\nconst ProductType = daggy.taggedSum('ProductType', {\n Saga: [],\n Pluss: [],\n Intro: [],\n Bedrift: [],\n Business: [],\n PrivateBanking: [],\n None: [],\n})\n\nconst BankAxeptType = daggy.taggedSum('BankAxeptType', {\n BankAxept: [],\n Credit: [],\n None: [],\n})\n\nexport {\n DNB,\n Saga,\n PB,\n Mastercard,\n ProductType,\n CardType,\n BankAxept,\n BankAxeptType,\n Visa,\n}\n\nconst Types = {\n DNB,\n Saga,\n PB,\n Mastercard,\n ProductType,\n CardType,\n BankAxept,\n BankAxeptType,\n Visa,\n}\n\nexport default Types\n\nfunction createDaggy() {\n // Names of prop used to store:\n // * name of variant of a sum type\n const TAG = '@@tag'\n // * array of arguments used to create a value (to speed up `cata`)\n const VALUES = '@@values'\n // * `@@type` of its returned results\n const TYPE = '@@type'\n // * `@@type` of variant constructor's returned results\n const RET_TYPE = '@@ret_type'\n // * names of all variants of a sum type\n const TAGS = '@@tags'\n\n function taggedSum(typeName, constructors) {\n const proto = { cata: sum$cata, toString: sum$toString }\n const tags = Object.keys(constructors)\n const typeRep = (proto.constructor = {\n toString: typeRepToString,\n prototype: proto,\n is: isType(typeName),\n '@@type': typeName,\n '@@tags': tags,\n })\n tags.forEach(function (tag) {\n const fields = constructors[tag]\n const tagProto = Object.create(proto)\n defProp(tagProto, TAG, tag)\n if (fields.length === 0) {\n typeRep[tag] = makeValue(fields, tagProto, [], 0)\n typeRep[tag].is = sum$isUnit(typeRep[tag])\n return\n }\n typeRep[tag] = makeConstructor(fields, tagProto)\n typeRep[tag].is = sum$isVariant(typeRep[tag])\n typeRep[tag][TAG] = tag\n typeRep[tag][RET_TYPE] = typeName\n typeRep[tag].toString = sum$ctrToString\n typeRep[tag].from = makeConstructorFromObject(fields, tagProto)\n })\n return typeRep\n }\n\n function sum$cata(fs) {\n const tags = this.constructor[TAGS]\n let tag\n for (let idx = 0; idx < tags.length; idx += 1) {\n tag = tags[idx]\n if (!fs[tag]) {\n throw new TypeError(\n \"Constructors given to cata didn't include: \" + tag\n )\n }\n }\n return fs[this[TAG]].apply(fs, this[VALUES])\n }\n\n function sum$ctrToString() {\n return this[RET_TYPE] + '.' + this[TAG]\n }\n\n function sum$toString() {\n return (\n this.constructor[TYPE] + '.' + this[TAG] + arrToString(this[VALUES])\n )\n }\n\n function typeRepToString() {\n return this[TYPE]\n }\n\n // function tagged$toString() {\n // return this.constructor[TYPE] + arrToString(this[VALUES])\n // }\n\n function sum$isVariant(variant) {\n return function $sum$isVariant(val) {\n return (\n Boolean(val) &&\n variant[TAG] === val[TAG] &&\n variant[RET_TYPE] === typeof val\n )\n }\n }\n\n function sum$isUnit(unit) {\n return function $sum$isUnit(val) {\n return (\n unit === val ||\n (Boolean(val) &&\n unit[TAG] === val[TAG] &&\n typeof unit === typeof val)\n )\n }\n }\n\n function isType(typeName) {\n return function $isType(val) {\n return typeName === typeof val\n }\n }\n\n function makeValue(fields, proto, values, argumentsLength) {\n if (argumentsLength !== fields.length) {\n throw new TypeError(\n 'Expected ' + fields.length + ' arguments, got ' + argumentsLength\n )\n }\n const obj = Object.create(proto)\n defProp(obj, VALUES, values)\n for (let idx = 0; idx < fields.length; idx += 1) {\n obj[fields[idx]] = values[idx]\n }\n return obj\n }\n\n // adopted version of withValue from https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty\n function defProp(obj, prop, val) {\n const desc =\n defProp.desc ||\n (defProp.desc = {\n enumerable: false,\n writable: false,\n configurable: false,\n value: null,\n })\n desc.value = val\n Object.defineProperty(obj, prop, desc)\n }\n\n // optimized version of `arr.map(toString).join(', ')`\n function arrToString(arr) {\n if (arr.length === 0) return ''\n let str = '(' + String(arr[0])\n for (let idx = 1; idx < arr.length; idx += 1) {\n str = str + ', ' + String(arr[idx])\n }\n return str + ')'\n }\n\n function makeConstructor(fields, proto) {\n switch (fields.length) {\n /* eslint-disable max-len */\n case 1:\n return function (a) {\n return makeValue(fields, proto, [a], arguments.length)\n }\n case 2:\n return function (a, b) {\n return makeValue(fields, proto, [a, b], arguments.length)\n }\n case 3:\n return function (a, b, c) {\n return makeValue(fields, proto, [a, b, c], arguments.length)\n }\n case 4:\n return function (a, b, c, d) {\n return makeValue(fields, proto, [a, b, c, d], arguments.length)\n }\n case 5:\n return function (a, b, c, d, e) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e],\n arguments.length\n )\n }\n case 6:\n return function (a, b, c, d, e, f) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f],\n arguments.length\n )\n }\n case 7:\n return function (a, b, c, d, e, f, g) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g],\n arguments.length\n )\n }\n case 8:\n return function (a, b, c, d, e, f, g, h) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h],\n arguments.length\n )\n }\n case 9:\n return function (a, b, c, d, e, f, g, h, i) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h, i],\n arguments.length\n )\n }\n case 10:\n return function (a, b, c, d, e, f, g, h, i, j) {\n return makeValue(\n fields,\n proto,\n [a, b, c, d, e, f, g, h, i, j],\n arguments.length\n )\n }\n /* eslint-enable max-len */\n default:\n return Object.defineProperty(\n function () {\n return makeValue(fields, proto, arguments, arguments.length)\n },\n 'length',\n { value: fields.length }\n )\n }\n }\n\n function makeConstructorFromObject(fields, proto) {\n return function (obj) {\n const values = []\n for (let idx = 0; idx < fields.length; idx += 1) {\n const field = fields[idx]\n if (!Object.prototype.hasOwnProperty.call(obj, field)) {\n throw new TypeError('Missing field: ' + field)\n }\n values.push(obj[field])\n }\n return makeValue(fields, proto, values, values.length)\n }\n }\n\n return { taggedSum }\n}\n"],"mappings":"AAEA,MAAMA,KAAK,GAAGC,WAAW,CAAC,CAAC;AAE3B,MAAMC,GAAG,GAAGF,KAAK,CAACG,SAAS,CAAC,KAAK,EAAE;EACjCC,OAAO,EAAE,CAAC,OAAO,CAAC;EAClBC,OAAO,EAAE,CAAC,OAAO;AACnB,CAAC,CAAC;AAEF,MAAMC,IAAI,GAAGN,KAAK,CAACG,SAAS,CAAC,MAAM,EAAE;EACnCC,OAAO,EAAE,CAAC,OAAO,CAAC;EAClBG,QAAQ,EAAE;AACZ,CAAC,CAAC;AAEF,MAAMC,UAAU,GAAGR,KAAK,CAACG,SAAS,CAAC,YAAY,EAAE;EAC/CM,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE;AACR,CAAC,CAAC;AAEF,MAAMC,QAAQ,GAAGX,KAAK,CAACG,SAAS,CAAC,UAAU,EAAE;EAC3CG,IAAI,EAAE,EAAE;EACRE,UAAU,EAAE,EAAE;EACdI,IAAI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AAC,CAAC,EAC9BT,SAAS,CAAClC,MACZ,CAAC;QACH,CAAC;MAEH;QACE,OAAOd,MAAM,CAAC2C,cAAc,CAC1B,YAAY;UACV,OAAO5B,SAAS,CAACL,MAAM,EAAEhB,KAAK,EAAEsD,SAAS,EAAEA,SAAS,CAAClC,MAAM,CAAC;QAC9D,CAAC,EACD,QAAQ,EACR;UAAE4B,KAAK,EAAEhC,MAAM,CAACI;QAAO,CACzB,CAAC;IACL;EACF;EAEA,SAASO,yBAAyBA,CAACX,MAAM,EAAEhB,KAAK,EAAE;IAChD,OAAO,UAAU0C,GAAG,EAAE;MACpB,MAAMF,MAAM,GAAG,EAAE;MACjB,KAAK,IAAIX,GAAG,GAAG,CAAC,EAAEA,GAAG,GAAGb,MAAM,CAACI,MAAM,EAAES,GAAG,IAAI,CAAC,EAAE;QAC/C,MAAMmC,KAAK,GAAGhD,MAAM,CAACa,GAAG,CAAC;QACzB,IAAI,CAACvB,MAAM,CAACK,SAAS,CAACsD,cAAc,CAACC,IAAI,CAACxB,GAAG,EAAEsB,KAAK,CAAC,EAAE;UACrD,MAAM,IAAIlC,SAAS,CAAC,iBAAiB,GAAGkC,KAAK,CAAC;QAChD;QACAxB,MAAM,CAAC2B,IAAI,CAACzB,GAAG,CAACsB,KAAK,CAAC,CAAC;MACzB;MACA,OAAO3C,SAAS,CAACL,MAAM,EAAEhB,KAAK,EAAEwC,MAAM,EAAEA,MAAM,CAACpB,MAAM,CAAC;IACxD,CAAC;EACH;EAEA,OAAO;IAAEvD;EAAU,CAAC;AACtB"}
@@ -1,4 +1,4 @@
1
- import { defaultDesign, pluss, young, myFirst, youth, gold, saga, sagaPlatinum, privateBanking, mcBlack, businessNoVisa, businessWithVisa } from './CardDesigns';
1
+ import { defaultDesign, pluss, young, myFirst, youth, gold, saga, sagaPlatinum, privateBanking, mcBlack, businessNoVisa, businessWithVisa, sbankenVisa, sbankenMastercard } from './CardDesigns';
2
2
  import { CardType, ProductType, BankAxeptType } from './Types';
3
3
  const cardData = [{
4
4
  productCode: 'NK1',
@@ -320,6 +320,30 @@ const cardData = [{
320
320
  productType: ProductType.None,
321
321
  cardType: CardType.Mastercard,
322
322
  bankAxept: BankAxeptType.None
323
+ }, {
324
+ productCode: 'VO3',
325
+ productName: 'SBanken Visa',
326
+ displayName: 'SBanken Visa',
327
+ cardDesign: sbankenVisa,
328
+ productType: ProductType.None,
329
+ cardType: CardType.Visa,
330
+ bankAxept: BankAxeptType.BankAxept
331
+ }, {
332
+ productCode: 'VS8',
333
+ productName: 'SBanken et konsept fra DNB',
334
+ displayName: 'SBanken et Konsept fra DNB',
335
+ cardDesign: sbankenVisa,
336
+ productType: ProductType.None,
337
+ cardType: CardType.Visa,
338
+ bankAxept: BankAxeptType.BankAxept
339
+ }, {
340
+ productCode: 'P103',
341
+ productName: 'SBanken et konsept fra DNB',
342
+ displayName: 'SBanken et konsept fra DNB',
343
+ cardDesign: sbankenMastercard,
344
+ productType: ProductType.None,
345
+ cardType: CardType.Mastercard,
346
+ bankAxept: BankAxeptType.Credit
323
347
  }];
324
348
  export default cardData;
325
349
  //# sourceMappingURL=cardProducts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cardProducts.js","names":["defaultDesign","pluss","young","myFirst","youth","gold","saga","sagaPlatinum","privateBanking","mcBlack","businessNoVisa","businessWithVisa","CardType","ProductType","BankAxeptType","cardData","productCode","productName","displayName","cardDesign","cardType","None","productType","bankAxept","BankAxept","Visa","Saga","Mastercard","Pluss","PrivateBanking","Intro","Bedrift","Business"],"sources":["../../../../../src/extensions/payment-card/utils/cardProducts.js"],"sourcesContent":["import {\n defaultDesign,\n pluss,\n young,\n myFirst,\n youth,\n gold,\n saga,\n sagaPlatinum,\n privateBanking,\n mcBlack,\n businessNoVisa,\n businessWithVisa,\n} from './CardDesigns'\n\nimport { CardType, ProductType, BankAxeptType } from './Types'\n\nconst cardData = [\n {\n productCode: 'NK1',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'NK4',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'NK5',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VE1',\n productName: 'DNB Electron',\n displayName: 'DNB Electron',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VE2',\n productName: 'DNB Electron u/leg',\n displayName: 'DNB Electron',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VG1',\n productName: 'SAGA Gull Visa',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Visa,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VG4',\n productName: 'SAGA Gull Visa u/leg',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Visa,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '053',\n productName: 'SAGA Gull Mastercard',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Mastercard,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VK2',\n productName: 'DNB Visa',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VK4',\n productName: 'DNB Visa',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '084',\n productName: 'Pluss Mastercard(leve)',\n displayName: 'Pluss Mastercard',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VL1',\n productName: 'Sølv Visa',\n displayName: 'Pluss Visa',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL2',\n productName: 'Hvitt Visa',\n displayName: 'Hvitt kort',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL3',\n productName: 'Sølv Visa',\n displayName: 'Pluss Visa',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL4',\n productName: 'DNB Visa u/leg',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL6',\n productName: 'Hvitt Visa u/leg',\n displayName: 'Hvitt kort',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '085',\n productName: 'Ung Mastercard(student)',\n displayName: 'Ung Mastercard',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VO1',\n productName: 'DNB Visa Online',\n displayName: 'DNB Visa Online',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP2',\n productName: 'SAGA Platinum Visa',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP3',\n productName: 'Private Banking Visa',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP4',\n productName: 'SAGA Platinum Visa u/leg',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '069',\n productName: 'SAGA Platinum Mastercard',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VP5',\n productName: 'Private Banking Visa u/leg',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '080',\n productName: 'Private Banking Mastercard',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VX1',\n productName: 'Mitt første kort',\n displayName: 'Mitt første kort',\n cardDesign: myFirst,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VX3',\n productName: 'Ungdomskortet',\n displayName: 'Ungdomskort',\n cardDesign: youth,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VX4',\n productName: 'Mitt første kort u/leg',\n displayName: 'Mitt første kort',\n cardDesign: myFirst,\n productType: ProductType.Intro,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VX5',\n productName: 'Ungdomskortet u/leg',\n displayName: 'Ungdomskort',\n cardDesign: youth,\n productType: ProductType.Intro,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '096',\n productName: 'DNB Mastercard',\n displayName: 'DNB Mastercard',\n cardDesign: gold,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '044',\n productName: 'Hvitt Mastercard',\n displayName: 'Student',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '043',\n productName: 'Sølv MasterCard',\n displayName: 'Pluss Mastercard',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '098',\n productName: 'SAGA Gull Mastercard',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '074',\n productName: 'SAGA Platinum Mastercard',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '062',\n productName: 'Private Banking Mastercard',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'BK1',\n productName: 'Bedriftskort (småkjøpskort)',\n displayName: 'Bedriftskort (småkjøpskort)',\n cardDesign: businessNoVisa,\n productType: ProductType.Bedrift,\n cardType: CardType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'BP1',\n productName: 'Bedriftskort (småkjøpskort)',\n displayName: 'Bedriftskort (småkjøpskort)',\n cardDesign: businessNoVisa,\n productType: ProductType.Bedrift,\n cardType: CardType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB1',\n productName: 'Bedriftskort med Visa',\n displayName: 'Bedriftskort med Visa',\n cardDesign: businessWithVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB2',\n productName: 'Visa Business',\n displayName: 'Visa Business',\n cardDesign: businessWithVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB5',\n productName: 'Bedriftskort med Visa',\n displayName: 'Bedriftskort med Visa',\n cardDesign: businessWithVisa,\n productType: ProductType.Business,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'P101',\n productName: '?',\n displayName: 'Black Mastercard',\n cardDesign: mcBlack,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n]\n\nexport default cardData\n"],"mappings":"AAAA,SACEA,aAAa,EACbC,KAAK,EACLC,KAAK,EACLC,OAAO,EACPC,KAAK,EACLC,IAAI,EACJC,IAAI,EACJC,YAAY,EACZC,cAAc,EACdC,OAAO,EACPC,cAAc,EACdC,gBAAgB,QACX,eAAe;AAEtB,SAASC,QAAQ,EAAEC,WAAW,EAAEC,aAAa,QAAQ,SAAS;AAE9D,MAAMC,QAAQ,GAAG,CACf;EACEC,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,YAAY;EACzBC,WAAW,EAAE,YAAY;EACzBC,UAAU,EAAEnB,aAAa;EACzBoB,QAAQ,EAAER,QAAQ,CAACS,IAAI;EACvBC,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BE,SAAS,EAAET,aAAa,CAACU;AAC3B,CAAC,EACD;EACER,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,YAAY;EACzBC,WAAW,EAAE,YAAY;EACzBC,UAAU,EAAEnB,aAAa;EACzBoB,QAAQ,EAAER,QAAQ,CAACS,IAAI;EACvBC,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BE,SAAS,EAAET,aAAa,CAACU;AAC3B,CAAC,EACD;EACER,WAAW,EAAE,KAAK;EAClBC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AAET,aAAa,CAACO;AAC3B,CAAC,EACD;EACEL,WAAW,EAAE,MAAM;EACnBC,WAAW,EAAE,GAAG;EAChBC,WAAW,EAAE,kBAAkB;EAC/BC,UAAU,EAAEV,OAAO;EACnBa,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BD,QAAQ,EAAER,QAAQ,CAACe,UAAU;EAC7BJ,SAAS,EAAET,aAAa,CAACO;AAC3B,CAAC,CACF;AAED,eAAeN,QAAQ"}
1
+ {"version":3,"file":"cardProducts.js","names":["defaultDesign","pluss","young","myFirst","youth","gold","saga","sagaPlatinum","privateBanking","mcBlack","businessNoVisa","businessWithVisa","sbankenVisa","sbankenMastercard","CardType","ProductType","BankAxeptType","cardData","productCode","productName","displayName","cardDesign","cardType","None","productType","bankAxept","BankAxept","Visa","Saga","Mastercard","Pluss","PrivateBanking","Intro","Bedrift","Business","Credit"],"sources":["../../../../../src/extensions/payment-card/utils/cardProducts.js"],"sourcesContent":["import {\n defaultDesign,\n pluss,\n young,\n myFirst,\n youth,\n gold,\n saga,\n sagaPlatinum,\n privateBanking,\n mcBlack,\n businessNoVisa,\n businessWithVisa,\n sbankenVisa,\n sbankenMastercard,\n} from './CardDesigns'\n\nimport { CardType, ProductType, BankAxeptType } from './Types'\n\nconst cardData = [\n {\n productCode: 'NK1',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'NK4',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'NK5',\n productName: 'DNB Kortet',\n displayName: 'DNB Kortet',\n cardDesign: defaultDesign,\n cardType: CardType.None,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VE1',\n productName: 'DNB Electron',\n displayName: 'DNB Electron',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VE2',\n productName: 'DNB Electron u/leg',\n displayName: 'DNB Electron',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VG1',\n productName: 'SAGA Gull Visa',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Visa,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VG4',\n productName: 'SAGA Gull Visa u/leg',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Visa,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '053',\n productName: 'SAGA Gull Mastercard',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n cardType: CardType.Mastercard,\n productType: ProductType.Saga,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VK2',\n productName: 'DNB Visa',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VK4',\n productName: 'DNB Visa',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '084',\n productName: 'Pluss Mastercard(leve)',\n displayName: 'Pluss Mastercard',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VL1',\n productName: 'Sølv Visa',\n displayName: 'Pluss Visa',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL2',\n productName: 'Hvitt Visa',\n displayName: 'Hvitt kort',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL3',\n productName: 'Sølv Visa',\n displayName: 'Pluss Visa',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL4',\n productName: 'DNB Visa u/leg',\n displayName: 'DNB Visa',\n cardDesign: defaultDesign,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VL6',\n productName: 'Hvitt Visa u/leg',\n displayName: 'Hvitt kort',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '085',\n productName: 'Ung Mastercard(student)',\n displayName: 'Ung Mastercard',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VO1',\n productName: 'DNB Visa Online',\n displayName: 'DNB Visa Online',\n cardDesign: defaultDesign,\n cardType: CardType.Visa,\n productType: ProductType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP2',\n productName: 'SAGA Platinum Visa',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP3',\n productName: 'Private Banking Visa',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VP4',\n productName: 'SAGA Platinum Visa u/leg',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '069',\n productName: 'SAGA Platinum Mastercard',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VP5',\n productName: 'Private Banking Visa u/leg',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '080',\n productName: 'Private Banking Mastercard',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VX1',\n productName: 'Mitt første kort',\n displayName: 'Mitt første kort',\n cardDesign: myFirst,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VX3',\n productName: 'Ungdomskortet',\n displayName: 'Ungdomskort',\n cardDesign: youth,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VX4',\n productName: 'Mitt første kort u/leg',\n displayName: 'Mitt første kort',\n cardDesign: myFirst,\n productType: ProductType.Intro,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VX5',\n productName: 'Ungdomskortet u/leg',\n displayName: 'Ungdomskort',\n cardDesign: youth,\n productType: ProductType.Intro,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: '096',\n productName: 'DNB Mastercard',\n displayName: 'DNB Mastercard',\n cardDesign: gold,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '044',\n productName: 'Hvitt Mastercard',\n displayName: 'Student',\n cardDesign: young,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '043',\n productName: 'Sølv MasterCard',\n displayName: 'Pluss Mastercard',\n cardDesign: pluss,\n productType: ProductType.Pluss,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '098',\n productName: 'SAGA Gull Mastercard',\n displayName: 'SAGA Gull',\n cardDesign: saga,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '074',\n productName: 'SAGA Platinum Mastercard',\n displayName: 'SAGA Platinum',\n cardDesign: sagaPlatinum,\n productType: ProductType.Saga,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: '062',\n productName: 'Private Banking Mastercard',\n displayName: 'Private Banking',\n cardDesign: privateBanking,\n productType: ProductType.PrivateBanking,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'BK1',\n productName: 'Bedriftskort (småkjøpskort)',\n displayName: 'Bedriftskort (småkjøpskort)',\n cardDesign: businessNoVisa,\n productType: ProductType.Bedrift,\n cardType: CardType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'BP1',\n productName: 'Bedriftskort (småkjøpskort)',\n displayName: 'Bedriftskort (småkjøpskort)',\n cardDesign: businessNoVisa,\n productType: ProductType.Bedrift,\n cardType: CardType.None,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB1',\n productName: 'Bedriftskort med Visa',\n displayName: 'Bedriftskort med Visa',\n cardDesign: businessWithVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB2',\n productName: 'Visa Business',\n displayName: 'Visa Business',\n cardDesign: businessWithVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VB5',\n productName: 'Bedriftskort med Visa',\n displayName: 'Bedriftskort med Visa',\n cardDesign: businessWithVisa,\n productType: ProductType.Business,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'P101',\n productName: '?',\n displayName: 'Black Mastercard',\n cardDesign: mcBlack,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.None,\n },\n {\n productCode: 'VO3',\n productName: 'SBanken Visa',\n displayName: 'SBanken Visa',\n cardDesign: sbankenVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'VS8',\n productName: 'SBanken et konsept fra DNB',\n displayName: 'SBanken et Konsept fra DNB',\n cardDesign: sbankenVisa,\n productType: ProductType.None,\n cardType: CardType.Visa,\n bankAxept: BankAxeptType.BankAxept,\n },\n {\n productCode: 'P103',\n productName: 'SBanken et konsept fra DNB',\n displayName: 'SBanken et konsept fra DNB',\n cardDesign: sbankenMastercard,\n productType: ProductType.None,\n cardType: CardType.Mastercard,\n bankAxept: BankAxeptType.Credit,\n },\n]\n\nexport default cardData\n"],"mappings":"AAAA,SACEA,aAAa,EACbC,KAAK,EACLC,KAAK,EACLC,OAAO,EACPC,KAAK,EACLC,IAAI,EACJC,IAAI,EACJC,YAAY,EACZC,cAAc,EACdC,OAAO,EACPC,cAAc,EACdC,gBAAgB,EAChBC,WAAW,EACXC,iBAAiB,QACZ,eAAe;AAEtB,SAASC,QAAQ,EAAEC,WAAW,EAAEC,aAAa,QAAQ,SAAS;AAE9D,MAAMC,QAAQ,GAAG,CACf;EACEC,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,YAAY;EACzBC,WAAW,EAAE,YAAY;EACzBC,UAAU,EAAErB,aAAa;EACzBsB,QAAQ,EAAER,QAAQ,CAACS,IAAI;EACvBC,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BE,SAAS,EAAET,aAAa,CAACU;AAC3B,CAAC,EACD;EACER,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,YAAY;EACzBC,WAAW,EAAE,YAAY;EACzBC,UAAU,EAAErB,aAAa;EACzBsB,QAAQ,EAAER,QAAQ,CAACS,IAAI;EACvBC,WAAW,EAAET,WAAW,C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BAAgB;EAC5Ba,WAAW,EAAET,WAAW,CAACmB,QAAQ;EACjCZ,QAAQ,EAAER,QAAQ,CAACa,IAAI;EACvBF,SAAS,EAAET,aAAa,CAACO;AAC3B,CAAC,EACD;EACEL,WAAW,EAAE,MAAM;EACnBC,WAAW,EAAE,GAAG;EAChBC,WAAW,EAAE,kBAAkB;EAC/BC,UAAU,EAAEZ,OAAO;EACnBe,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BD,QAAQ,EAAER,QAAQ,CAACe,UAAU;EAC7BJ,SAAS,EAAET,aAAa,CAACO;AAC3B,CAAC,EACD;EACEL,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,cAAc;EAC3BC,WAAW,EAAE,cAAc;EAC3BC,UAAU,EAAET,WAAW;EACvBY,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BD,QAAQ,EAAER,QAAQ,CAACa,IAAI;EACvBF,SAAS,EAAET,aAAa,CAACU;AAC3B,CAAC,EACD;EACER,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,4BAA4B;EACzCC,WAAW,EAAE,4BAA4B;EACzCC,UAAU,EAAET,WAAW;EACvBY,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BD,QAAQ,EAAER,QAAQ,CAACa,IAAI;EACvBF,SAAS,EAAET,aAAa,CAACU;AAC3B,CAAC,EACD;EACER,WAAW,EAAE,MAAM;EACnBC,WAAW,EAAE,4BAA4B;EACzCC,WAAW,EAAE,4BAA4B;EACzCC,UAAU,EAAER,iBAAiB;EAC7BW,WAAW,EAAET,WAAW,CAACQ,IAAI;EAC7BD,QAAQ,EAAER,QAAQ,CAACe,UAAU;EAC7BJ,SAAS,EAAET,aAAa,CAACmB;AAC3B,CAAC,CACF;AAED,eAAelB,QAAQ"}
@@ -12,6 +12,7 @@ import type { AvatarGroupProps } from '../components/avatar/AvatarGroup';
12
12
  import type { BadgeProps } from '../components/badge/Badge';
13
13
  import type { BreadcrumbProps } from '../components/breadcrumb/Breadcrumb';
14
14
  import type { BreadcrumbItemProps } from '../components/breadcrumb/BreadcrumbItem';
15
+ import type { CheckboxProps } from '../components/Checkbox';
15
16
  import type { InfoCardProps } from '../components/info-card/InfoCard';
16
17
  import type { SliderProps } from '../components/slider/Slider';
17
18
  import type { TagProps } from '../components/tag/Tag';
@@ -48,6 +49,7 @@ export type ContextComponents = {
48
49
  Badge?: Partial<BadgeProps>;
49
50
  Breadcrumb?: Partial<BreadcrumbProps>;
50
51
  BreadcrumbItem?: Partial<BreadcrumbItemProps>;
52
+ Checkbox?: Partial<CheckboxProps>;
51
53
  InfoCard?: Partial<InfoCardProps>;
52
54
  Slider?: Partial<SliderProps>;
53
55
  Tag?: Partial<TagProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Context.js","names":["React","LOCALE","CURRENCY","CURRENCY_DISPLAY","defaultLocales","extend","prepareContext","props","locales","translations","__context__","Object","assign","key","handleLocaleFallbacks","locale","translation","destruct","context","_objectSpread","updateTranslation","getTranslation","lang","breakpoints","skeleton","split","Context","createContext","currency","currency_display","source","validKeys","k","String","includes","list","val","last","length","forEach","i"],"sources":["../../../src/shared/Context.tsx"],"sourcesContent":["/**\n * Web Context Context\n *\n */\n\nimport React from 'react'\nimport { LOCALE, CURRENCY, CURRENCY_DISPLAY } from './defaults'\nimport defaultLocales from './locales'\nimport { extend } from './component-helper'\n\n// All TypeScript based Eufemia elements\nimport type { ScrollViewProps } from '../fragments/scroll-view/ScrollView'\n\n// All TypeScript based Eufemia components\nimport type { AnchorProps } from '../components/Anchor'\nimport type { ButtonProps } from '../components/button/Button'\nimport type { AvatarProps } from '../components/avatar/Avatar'\nimport type { AvatarGroupProps } from '../components/avatar/AvatarGroup'\nimport type { BadgeProps } from '../components/badge/Badge'\nimport type { BreadcrumbProps } from '../components/breadcrumb/Breadcrumb'\nimport type { BreadcrumbItemProps } from '../components/breadcrumb/BreadcrumbItem'\nimport type { InfoCardProps } from '../components/info-card/InfoCard'\nimport type { SliderProps } from '../components/slider/Slider'\nimport type { TagProps } from '../components/tag/Tag'\nimport type { TagGroupProps } from '../components/tag/TagGroup'\nimport type { TimelineProps } from '../components/timeline/Timeline'\nimport type { TimelineItemProps } from '../components/timeline/TimelineItem'\nimport type { VisuallyHiddenProps } from '../components/visually-hidden/VisuallyHidden'\nimport type { DrawerProps } from '../components/drawer/types'\nimport type { DialogProps } from '../components/dialog/types'\nimport type { TooltipProps } from '../components/tooltip/types'\nimport type { SectionProps } from '../components/section/Section'\nimport type { FormRowProps } from '../components/form-row/FormRowHelpers'\nimport type { UploadProps } from '../components/upload/types'\nimport type { SkeletonProps, SkeletonShow } from '../components/Skeleton'\nimport type { HelpButtonProps } from '../components/HelpButton'\nimport type { TableProps } from '../components/Table'\nimport type { GlobalErrorProps } from '../components/GlobalError'\nimport type { ModalProps } from '../components/modal/types'\nimport type { AccordionProps } from '../components/Accordion'\nimport type { StepIndicatorProps } from '../components/StepIndicator'\nimport type { FormLabelProps } from '../components/FormLabel'\nimport type { InputProps } from '../components/Input'\nimport type { NumberFormatCurrency } from '../components/NumberFormat'\nimport type { ProgressIndicatorProps } from '../components/ProgressIndicator'\n\nimport type { FormElementProps } from './helpers/filterValidProps'\nimport type { ThemeProps } from './Theme'\nimport type { FormsTranslation } from '../extensions/forms/hooks/useTranslation'\nimport type { DeepPartial } from './types'\n\nexport type ContextComponents = {\n Button?: Partial<ButtonProps>\n Anchor?: Partial<AnchorProps>\n Avatar?: Partial<AvatarProps>\n AvatarGroup?: Partial<AvatarGroupProps>\n Badge?: Partial<BadgeProps>\n Breadcrumb?: Partial<BreadcrumbProps>\n BreadcrumbItem?: Partial<BreadcrumbItemProps>\n InfoCard?: Partial<InfoCardProps>\n Slider?: Partial<SliderProps>\n Tag?: Partial<TagProps>\n TagGroup?: Partial<TagGroupProps>\n Timeline?: Partial<TimelineProps>\n TimelineItem?: Partial<TimelineItemProps>\n VisuallyHidden?: Partial<VisuallyHiddenProps>\n Drawer?: Partial<DrawerProps>\n Dialog?: Partial<DialogProps>\n Tooltip?: Partial<TooltipProps>\n Section?: Partial<SectionProps>\n ScrollView?: Partial<ScrollViewProps>\n Upload?: Partial<UploadProps>\n Skeleton?: Partial<SkeletonProps>\n HelpButton?: Partial<HelpButtonProps>\n Table?: Partial<TableProps>\n GlobalError?: Partial<GlobalErrorProps>\n Modal?: Partial<ModalProps>\n Accordion?: Partial<AccordionProps>\n StepIndicator?: Partial<StepIndicatorProps>\n FormLabel?: Partial<FormLabelProps>\n Input?: Partial<InputProps>\n ProgressIndicator?: Partial<ProgressIndicatorProps>\n\n // -- TODO: Not converted yet --\n NumberFormat?: Record<string, unknown>\n Pagination?: Record<string, unknown>\n\n /**\n * @deprecated – can be removed in v11\n */\n FormRow?: FormRowProps\n\n // Common props\n formElement?: FormElementProps\n}\n\nexport type ContextProps = ContextComponents & {\n // -- All TypeScript based Eufemia components --\n\n // -- Global properties --\n\n /**\n * Contains theme related properties, such as a theme name\n */\n theme?: ThemeProps\n\n /**\n * Will enable all skeletons inside this provider/context scope\n */\n skeleton?: SkeletonShow\n\n /**\n * Define what breakpoints should be used by the MediaQuery component and hook\n */\n breakpoints?: Record<string, string>\n\n /**\n * Defines the locale (internal translation) used by some components\n */\n locale?: InternalLocale\n\n /**\n * Provide your own translations. Use the same format as defined in the translation files\n */\n translation?: Translation\n\n /**\n * Defines the currency used by the NumberFormat component\n */\n currency?: NumberFormatCurrency\n\n /**\n * Defines the currencyDisplay used by the NumberFormat component\n */\n currency_display?: string\n\n /**\n * Update any given provider/context properties\n */\n update?: (props: ContextProps) => void\n\n /**\n * Update any given provider/context properties, but only for the particular scope\n */\n updateCurrent?: (props: ContextProps) => void\n\n /**\n * Update the used locale from within the context\n */\n setLocale?: (locale: InternalLocale) => void\n\n /**\n * Update the used locale from within the context, but only for the particular scope\n */\n setCurrentLocale?: (locale: InternalLocale) => void\n\n /**\n * Overwrite existing internal translation strings or define new strings via the Provider\n */\n translations?: Locales | TranslationCustomLocales\n\n /**\n * @deprecated Use `translations` instead\n */\n locales?: Locales | TranslationCustomLocales\n\n // -- For internal use --\n __context__?: Record<string, unknown>\n updateTranslation?: (\n locale: InternalLocale,\n translation: Translation\n ) => void\n getTranslation?: (props: GetTranslationProps) => Translation\n}\n\nexport type GetTranslationProps = Partial<{\n lang?: InternalLocale | HTMLElement['lang']\n locale?: InternalLocale\n}>\n\nexport type Locale = TranslationLocale | 'en-US'\nexport type AnyLocale = string\nexport type InternalLocale =\n | Locale\n\n /** Used in tests and stories */\n | 'no'\n | 'en'\n | 'sv-SE'\n | 'de-CH'\n | 'de-DE'\n | 'fr-CH'\nexport type ComponentTranslationsName = keyof ContextComponents | string\nexport type ComponentTranslation = string\nexport type Locales =\n | Partial<Record<InternalLocale, Translation | TranslationFlat>>\n | Partial<Record<InternalLocale, FormsTranslation>>\nexport type TranslationDefaultLocales = typeof defaultLocales\nexport type TranslationLocale = keyof TranslationDefaultLocales\nexport type TranslationKeys =\n keyof TranslationDefaultLocales[TranslationLocale]\nexport type TranslationValues =\n TranslationDefaultLocales[TranslationLocale] & {\n Forms?: Record<string, unknown>\n }\nexport type TranslationCustomLocales = Record<\n never,\n string | Record<string, string>\n>\n\n/**\n * E.g. \"HelpButton: { title: '...' }\"\n */\nexport type Translation = DeepPartial<TranslationValues>\n\n/**\n * E.g. \"HelpButton.title\"\n */\nexport type TranslationFlat = Record<\n ComponentTranslationsName,\n TranslationKeys | ComponentTranslation\n>\n\nexport function prepareContext<Props>(\n props: ContextProps = {}\n): Props & ContextProps {\n const locales: Locales =\n props.translations || props.locales\n ? extend(defaultLocales, props.translations || props.locales)\n : defaultLocales\n\n if (props.__context__) {\n Object.assign(props, props.__context__)\n delete props.__context__\n }\n\n const key = handleLocaleFallbacks(props.locale || LOCALE, locales)\n const translation = locales[key] || defaultLocales[LOCALE] || {} // here we could use Object.freeze\n\n /**\n * The code above adds support for strings, defined like:\n * {\n * \"Modal.close_title\": \"Lukk\",\n * }\n */\n if (locales[key]) {\n locales[key] = destruct(locales[key] as TranslationFlat, translation)\n }\n\n const context = {\n // We may use that in future\n updateTranslation: (locale, translation) => {\n context.translation = (context.translations || context.locales)[\n locale\n ] = translation\n },\n getTranslation: (props) => {\n if (props) {\n const lang = props.lang || props.locale\n if (\n lang &&\n (context.translations || context.locales)[lang] &&\n lang !== key\n ) {\n return (context.translations || context.locales)[lang]\n }\n }\n return context.translation\n },\n\n locales,\n locale: null,\n breakpoints: null,\n skeleton: null,\n\n ...props,\n\n /**\n * Make sure we set this after props, since we update this one!\n */\n translation,\n } as Props & ContextProps\n\n return context\n}\n\nfunction handleLocaleFallbacks(\n locale: InternalLocale | AnyLocale,\n locales: Locales\n) {\n if (!locales[locale]) {\n if (locale === 'en' || locale.split('-')[0] === 'en') {\n return 'en-GB'\n }\n }\n return locale\n}\n\n// If no provider is given, we use the default context from here\nconst Context = React.createContext<ContextProps>(\n prepareContext({\n locale: LOCALE,\n currency: CURRENCY,\n currency_display: CURRENCY_DISPLAY,\n })\n)\n\nexport default Context\n\nfunction destruct(\n source: TranslationFlat,\n validKeys: Record<string, unknown>\n): TranslationFlat {\n for (const k in source) {\n if (String(k).includes('.')) {\n const list = k.split('.')\n\n if (validKeys[list[0]]) {\n const val = source[k]\n const last = list.length - 1\n\n list.forEach((k, i) => {\n source[k] = i === last ? val : source[k]\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n source = source[k] || {}\n })\n }\n }\n }\n\n return source\n}\n"],"mappings":";;;AAKA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,QAAQ,EAAEC,gBAAgB,QAAQ,YAAY;AAC/D,OAAOC,cAAc,MAAM,WAAW;AACtC,SAASC,MAAM,QAAQ,oBAAoB;AAuN3C,OAAO,SAASC,cAAcA,CAC5BC,KAAmB,GAAG,CAAC,CAAC,EACF;EACtB,MAAMC,OAAgB,GACpBD,KAAK,CAACE,YAAY,IAAIF,KAAK,CAACC,OAAO,GAC/BH,MAAM,CAACD,cAAc,EAAEG,KAAK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}
1
+ {"version":3,"file":"Context.js","names":["React","LOCALE","CURRENCY","CURRENCY_DISPLAY","defaultLocales","extend","prepareContext","props","locales","translations","__context__","Object","assign","key","handleLocaleFallbacks","locale","translation","destruct","context","_objectSpread","updateTranslation","getTranslation","lang","breakpoints","skeleton","split","Context","createContext","currency","currency_display","source","validKeys","k","String","includes","list","val","last","length","forEach","i"],"sources":["../../../src/shared/Context.tsx"],"sourcesContent":["/**\n * Web Context Context\n *\n */\n\nimport React from 'react'\nimport { LOCALE, CURRENCY, CURRENCY_DISPLAY } from './defaults'\nimport defaultLocales from './locales'\nimport { extend } from './component-helper'\n\n// All TypeScript based Eufemia elements\nimport type { ScrollViewProps } from '../fragments/scroll-view/ScrollView'\n\n// All TypeScript based Eufemia components\nimport type { AnchorProps } from '../components/Anchor'\nimport type { ButtonProps } from '../components/button/Button'\nimport type { AvatarProps } from '../components/avatar/Avatar'\nimport type { AvatarGroupProps } from '../components/avatar/AvatarGroup'\nimport type { BadgeProps } from '../components/badge/Badge'\nimport type { BreadcrumbProps } from '../components/breadcrumb/Breadcrumb'\nimport type { BreadcrumbItemProps } from '../components/breadcrumb/BreadcrumbItem'\nimport type { CheckboxProps } from '../components/Checkbox'\nimport type { InfoCardProps } from '../components/info-card/InfoCard'\nimport type { SliderProps } from '../components/slider/Slider'\nimport type { TagProps } from '../components/tag/Tag'\nimport type { TagGroupProps } from '../components/tag/TagGroup'\nimport type { TimelineProps } from '../components/timeline/Timeline'\nimport type { TimelineItemProps } from '../components/timeline/TimelineItem'\nimport type { VisuallyHiddenProps } from '../components/visually-hidden/VisuallyHidden'\nimport type { DrawerProps } from '../components/drawer/types'\nimport type { DialogProps } from '../components/dialog/types'\nimport type { TooltipProps } from '../components/tooltip/types'\nimport type { SectionProps } from '../components/section/Section'\nimport type { FormRowProps } from '../components/form-row/FormRowHelpers'\nimport type { UploadProps } from '../components/upload/types'\nimport type { SkeletonProps, SkeletonShow } from '../components/Skeleton'\nimport type { HelpButtonProps } from '../components/HelpButton'\nimport type { TableProps } from '../components/Table'\nimport type { GlobalErrorProps } from '../components/GlobalError'\nimport type { ModalProps } from '../components/modal/types'\nimport type { AccordionProps } from '../components/Accordion'\nimport type { StepIndicatorProps } from '../components/StepIndicator'\nimport type { FormLabelProps } from '../components/FormLabel'\nimport type { InputProps } from '../components/Input'\nimport type { NumberFormatCurrency } from '../components/NumberFormat'\nimport type { ProgressIndicatorProps } from '../components/ProgressIndicator'\n\nimport type { FormElementProps } from './helpers/filterValidProps'\nimport type { ThemeProps } from './Theme'\nimport type { FormsTranslation } from '../extensions/forms/hooks/useTranslation'\nimport type { DeepPartial } from './types'\n\nexport type ContextComponents = {\n Button?: Partial<ButtonProps>\n Anchor?: Partial<AnchorProps>\n Avatar?: Partial<AvatarProps>\n AvatarGroup?: Partial<AvatarGroupProps>\n Badge?: Partial<BadgeProps>\n Breadcrumb?: Partial<BreadcrumbProps>\n BreadcrumbItem?: Partial<BreadcrumbItemProps>\n Checkbox?: Partial<CheckboxProps>\n InfoCard?: Partial<InfoCardProps>\n Slider?: Partial<SliderProps>\n Tag?: Partial<TagProps>\n TagGroup?: Partial<TagGroupProps>\n Timeline?: Partial<TimelineProps>\n TimelineItem?: Partial<TimelineItemProps>\n VisuallyHidden?: Partial<VisuallyHiddenProps>\n Drawer?: Partial<DrawerProps>\n Dialog?: Partial<DialogProps>\n Tooltip?: Partial<TooltipProps>\n Section?: Partial<SectionProps>\n ScrollView?: Partial<ScrollViewProps>\n Upload?: Partial<UploadProps>\n Skeleton?: Partial<SkeletonProps>\n HelpButton?: Partial<HelpButtonProps>\n Table?: Partial<TableProps>\n GlobalError?: Partial<GlobalErrorProps>\n Modal?: Partial<ModalProps>\n Accordion?: Partial<AccordionProps>\n StepIndicator?: Partial<StepIndicatorProps>\n FormLabel?: Partial<FormLabelProps>\n Input?: Partial<InputProps>\n ProgressIndicator?: Partial<ProgressIndicatorProps>\n\n // -- TODO: Not converted yet --\n NumberFormat?: Record<string, unknown>\n Pagination?: Record<string, unknown>\n\n /**\n * @deprecated – can be removed in v11\n */\n FormRow?: FormRowProps\n\n // Common props\n formElement?: FormElementProps\n}\n\nexport type ContextProps = ContextComponents & {\n // -- All TypeScript based Eufemia components --\n\n // -- Global properties --\n\n /**\n * Contains theme related properties, such as a theme name\n */\n theme?: ThemeProps\n\n /**\n * Will enable all skeletons inside this provider/context scope\n */\n skeleton?: SkeletonShow\n\n /**\n * Define what breakpoints should be used by the MediaQuery component and hook\n */\n breakpoints?: Record<string, string>\n\n /**\n * Defines the locale (internal translation) used by some components\n */\n locale?: InternalLocale\n\n /**\n * Provide your own translations. Use the same format as defined in the translation files\n */\n translation?: Translation\n\n /**\n * Defines the currency used by the NumberFormat component\n */\n currency?: NumberFormatCurrency\n\n /**\n * Defines the currencyDisplay used by the NumberFormat component\n */\n currency_display?: string\n\n /**\n * Update any given provider/context properties\n */\n update?: (props: ContextProps) => void\n\n /**\n * Update any given provider/context properties, but only for the particular scope\n */\n updateCurrent?: (props: ContextProps) => void\n\n /**\n * Update the used locale from within the context\n */\n setLocale?: (locale: InternalLocale) => void\n\n /**\n * Update the used locale from within the context, but only for the particular scope\n */\n setCurrentLocale?: (locale: InternalLocale) => void\n\n /**\n * Overwrite existing internal translation strings or define new strings via the Provider\n */\n translations?: Locales | TranslationCustomLocales\n\n /**\n * @deprecated Use `translations` instead\n */\n locales?: Locales | TranslationCustomLocales\n\n // -- For internal use --\n __context__?: Record<string, unknown>\n updateTranslation?: (\n locale: InternalLocale,\n translation: Translation\n ) => void\n getTranslation?: (props: GetTranslationProps) => Translation\n}\n\nexport type GetTranslationProps = Partial<{\n lang?: InternalLocale | HTMLElement['lang']\n locale?: InternalLocale\n}>\n\nexport type Locale = TranslationLocale | 'en-US'\nexport type AnyLocale = string\nexport type InternalLocale =\n | Locale\n\n /** Used in tests and stories */\n | 'no'\n | 'en'\n | 'sv-SE'\n | 'de-CH'\n | 'de-DE'\n | 'fr-CH'\nexport type ComponentTranslationsName = keyof ContextComponents | string\nexport type ComponentTranslation = string\nexport type Locales =\n | Partial<Record<InternalLocale, Translation | TranslationFlat>>\n | Partial<Record<InternalLocale, FormsTranslation>>\nexport type TranslationDefaultLocales = typeof defaultLocales\nexport type TranslationLocale = keyof TranslationDefaultLocales\nexport type TranslationKeys =\n keyof TranslationDefaultLocales[TranslationLocale]\nexport type TranslationValues =\n TranslationDefaultLocales[TranslationLocale] & {\n Forms?: Record<string, unknown>\n }\nexport type TranslationCustomLocales = Record<\n never,\n string | Record<string, string>\n>\n\n/**\n * E.g. \"HelpButton: { title: '...' }\"\n */\nexport type Translation = DeepPartial<TranslationValues>\n\n/**\n * E.g. \"HelpButton.title\"\n */\nexport type TranslationFlat = Record<\n ComponentTranslationsName,\n TranslationKeys | ComponentTranslation\n>\n\nexport function prepareContext<Props>(\n props: ContextProps = {}\n): Props & ContextProps {\n const locales: Locales =\n props.translations || props.locales\n ? extend(defaultLocales, props.translations || props.locales)\n : defaultLocales\n\n if (props.__context__) {\n Object.assign(props, props.__context__)\n delete props.__context__\n }\n\n const key = handleLocaleFallbacks(props.locale || LOCALE, locales)\n const translation = locales[key] || defaultLocales[LOCALE] || {} // here we could use Object.freeze\n\n /**\n * The code above adds support for strings, defined like:\n * {\n * \"Modal.close_title\": \"Lukk\",\n * }\n */\n if (locales[key]) {\n locales[key] = destruct(locales[key] as TranslationFlat, translation)\n }\n\n const context = {\n // We may use that in future\n updateTranslation: (locale, translation) => {\n context.translation = (context.translations || context.locales)[\n locale\n ] = translation\n },\n getTranslation: (props) => {\n if (props) {\n const lang = props.lang || props.locale\n if (\n lang &&\n (context.translations || context.locales)[lang] &&\n lang !== key\n ) {\n return (context.translations || context.locales)[lang]\n }\n }\n return context.translation\n },\n\n locales,\n locale: null,\n breakpoints: null,\n skeleton: null,\n\n ...props,\n\n /**\n * Make sure we set this after props, since we update this one!\n */\n translation,\n } as Props & ContextProps\n\n return context\n}\n\nfunction handleLocaleFallbacks(\n locale: InternalLocale | AnyLocale,\n locales: Locales\n) {\n if (!locales[locale]) {\n if (locale === 'en' || locale.split('-')[0] === 'en') {\n return 'en-GB'\n }\n }\n return locale\n}\n\n// If no provider is given, we use the default context from here\nconst Context = React.createContext<ContextProps>(\n prepareContext({\n locale: LOCALE,\n currency: CURRENCY,\n currency_display: CURRENCY_DISPLAY,\n })\n)\n\nexport default Context\n\nfunction destruct(\n source: TranslationFlat,\n validKeys: Record<string, unknown>\n): TranslationFlat {\n for (const k in source) {\n if (String(k).includes('.')) {\n const list = k.split('.')\n\n if (validKeys[list[0]]) {\n const val = source[k]\n const last = list.length - 1\n\n list.forEach((k, i) => {\n source[k] = i === last ? val : source[k]\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n source = source[k] || {}\n })\n }\n }\n }\n\n return source\n}\n"],"mappings":";;;AAKA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,QAAQ,EAAEC,gBAAgB,QAAQ,YAAY;AAC/D,OAAOC,cAAc,MAAM,WAAW;AACtC,SAASC,MAAM,QAAQ,oBAAoB;AAyN3C,OAAO,SAASC,cAAcA,CAC5BC,KAAmB,GAAG,CAAC,CAAC,EACF;EACtB,MAAMC,OAAgB,GACpBD,KAAK,CAACE,YAAY,IAAIF,KAAK,CAACC,OAAO,GAC/BH,MAAM,CAACD,cAAc,EAAEG,KAAK,CAACE,YAAY,IAAIF,KAAK,CAACC,OAAO,CAAC,GAC3DJ,cAAc;EAEpB,IAAIG,KAAK,CAACG,WAAW,EAAE;IACrBC,MAAM,CAACC,MAAM,CAACL,KAAK,EAAEA,KAAK,CAACG,WAAW,CAAC;IACvC,OAAOH,KAAK,CAACG,WAAW;EAC1B;EAEA,MAAMG,GAAG,GAAGC,qBAAqB,CAACP,KAAK,CAACQ,MAAM,IAAId,MAAM,EAAEO,OAAO,CAAC;EAClE,MAAMQ,WAAW,GAAGR,OAAO,CAACK,GAAG,CAAC,IAAIT,cAAc,CAACH,MAAM,CAAC,IAAI,CAAC,CAAC;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,cAAc,CAAC;EACbS,MAAM,EAAEd,MAAM;EACd2B,QAAQ,EAAE1B,QAAQ;EAClB2B,gBAAgB,EAAE1B;AACpB,CAAC,CACH,CAAC;AAED,eAAeuB,OAAO;AAEtB,SAAST,QAAQA,CACfa,MAAuB,EACvBC,SAAkC,EACjB;EACjB,KAAK,MAAMC,CAAC,IAAIF,MAAM,EAAE;IACtB,IAAIG,MAAM,CAACD,CAAC,CAAC,CAACE,QAAQ,CAAC,GAAG,CAAC,EAAE;MAC3B,MAAMC,IAAI,GAAGH,CAAC,CAACP,KAAK,CAAC,GAAG,CAAC;MAEzB,IAAIM,SAAS,CAACI,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;QACtB,MAAMC,GAAG,GAAGN,MAAM,CAACE,CAAC,CAAC;QACrB,MAAMK,IAAI,GAAGF,IAAI,CAACG,MAAM,GAAG,CAAC;QAE5BH,IAAI,CAACI,OAAO,CAAC,CAACP,CAAC,EAAEQ,CAAC,KAAK;UACrBV,MAAM,CAACE,CAAC,CAAC,GAAGQ,CAAC,KAAKH,IAAI,GAAGD,GAAG,GAAGN,MAAM,CAACE,CAAC,CAAC;UAIxCF,MAAM,GAAGA,MAAM,CAACE,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1B,CAAC,CAAC;MACJ;IACF;EACF;EAEA,OAAOF,MAAM;AACf"}
@@ -1,2 +1,2 @@
1
- export declare const version = "10.27.0";
1
+ export declare const version = "10.28.0";
2
2
  export declare function init(): void;
@@ -1,9 +1,9 @@
1
- export const version = '10.27.0';
1
+ export const version = '10.28.0';
2
2
  export function init() {
3
3
  if (typeof window !== 'undefined') {
4
4
  class Eufemia {
5
5
  get version() {
6
- return '10.27.0';
6
+ return '10.28.0';
7
7
  }
8
8
  }
9
9
  window.Eufemia = new Eufemia();
@@ -1 +1 @@
1
- {"version":3,"file":"Eufemia.js","names":["version","init","window","Eufemia"],"sources":["../../../src/shared/Eufemia.ts"],"sourcesContent":["export const version = '10.27.0'\n\nexport function init() {\n if (typeof window !== 'undefined') {\n class Eufemia {\n get version() {\n return '10.27.0'\n }\n }\n\n window.Eufemia = new Eufemia()\n }\n}\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,SAAS;AAEhC,OAAO,SAASC,IAAIA,CAAA,EAAG;EACrB,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjC,MAAMC,OAAO,CAAC;MACZ,IAAIH,OAAOA,CAAA,EAAG;QACZ,OAAO,SAAS;MAClB;IACF;IAEAE,MAAM,CAACC,OAAO,GAAG,IAAIA,OAAO,CAAC,CAAC;EAChC;AACF"}
1
+ {"version":3,"file":"Eufemia.js","names":["version","init","window","Eufemia"],"sources":["../../../src/shared/Eufemia.ts"],"sourcesContent":["export const version = '10.28.0'\n\nexport function init() {\n if (typeof window !== 'undefined') {\n class Eufemia {\n get version() {\n return '10.28.0'\n }\n }\n\n window.Eufemia = new Eufemia()\n }\n}\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,SAAS;AAEhC,OAAO,SAASC,IAAIA,CAAA,EAAG;EACrB,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjC,MAAMC,OAAO,CAAC;MACZ,IAAIH,OAAOA,CAAA,EAAG;QACZ,OAAO,SAAS;MAClB;IACF;IAEAE,MAAM,CAACC,OAAO,GAAG,IAAIA,OAAO,CAAC,CAAC;EAChC;AACF"}
@@ -45,7 +45,7 @@
45
45
  word-break: break-word;
46
46
 
47
47
  // Will add this to the body tag – later we can test for a version mismatch
48
- --eufemia-version: '10.27.0';
48
+ --eufemia-version: '10.28.0';
49
49
 
50
50
  @content;
51
51
  }
@@ -251,7 +251,7 @@ body {
251
251
  /* stylelint-disable-next-line */
252
252
  -webkit-text-size-adjust: 100%;
253
253
  word-break: break-word;
254
- --eufemia-version: "10.27.0";
254
+ --eufemia-version: "10.28.0";
255
255
  }
256
256
  .dnb-core-style *,
257
257
  .dnb-core-style ::before,
@@ -1 +1 @@
1
- @charset "UTF-8";html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{margin:0}.dnb-core-style{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.27.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}.dnb-core-style *,.dnb-core-style :after,.dnb-core-style :before{background-repeat:no-repeat;box-sizing:border-box}.dnb-core-style :after,.dnb-core-style :before{text-decoration:inherit;vertical-align:inherit}.dnb-core-style hr{height:0;overflow:visible}.dnb-core-style main{display:block}.dnb-core-style nav ol,.dnb-core-style nav ul{list-style:none}.dnb-core-style abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.dnb-core-style b,.dnb-core-style strong{font-weight:bolder}.dnb-core-style code,.dnb-core-style kbd,.dnb-core-style pre,.dnb-core-style samp{font-family:var(--font-family-monospace)}.dnb-core-style ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}.dnb-core-style audio,.dnb-core-style canvas,.dnb-core-style iframe,.dnb-core-style img,.dnb-core-style svg,.dnb-core-style video{vertical-align:middle}.dnb-core-style audio,.dnb-core-style video{display:inline-block}.dnb-core-style audio:not([controls]){display:none;height:0}.dnb-core-style img{border-style:none}.dnb-core-style svg:not([fill]){fill:currentcolor}.dnb-core-style svg:not(:root){overflow:hidden}.dnb-core-style table{border-collapse:collapse}.dnb-core-style button,.dnb-core-style input,.dnb-core-style select,.dnb-core-style textarea{font-family:inherit;font-size:inherit;line-height:inherit}.dnb-core-style button,.dnb-core-style figure,.dnb-core-style input,.dnb-core-style select{margin:0}.dnb-core-style button{overflow:visible;text-transform:none}.dnb-core-style fieldset{padding:.35rem .75rem .625rem}.dnb-core-style input{overflow:visible;word-break:normal}.dnb-core-style legend{color:inherit;display:table;max-width:100%;white-space:normal}.dnb-core-style progress{display:inline-block;vertical-align:baseline}.dnb-core-style select{text-transform:none}.dnb-core-style textarea{overflow:auto;resize:vertical}.dnb-core-style [type=checkbox],.dnb-core-style [type=radio]{padding:0}.dnb-core-style input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}.dnb-core-style ::-webkit-inner-spin-button,.dnb-core-style ::-webkit-outer-spin-button{height:auto}.dnb-core-style ::input-placeholder{color:inherit;opacity:.54}.dnb-core-style ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.dnb-core-style ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}.dnb-core-style ::-moz-focus-inner{border-style:none;padding:0}.dnb-core-style details{display:block}.dnb-core-style summary{display:list-item}.dnb-core-style canvas{display:inline-block}.dnb-core-style template{display:none}.dnb-core-style [tabindex],.dnb-core-style a,.dnb-core-style area,.dnb-core-style button,.dnb-core-style input,.dnb-core-style label,.dnb-core-style select,.dnb-core-style summary,.dnb-core-style textarea{touch-action:manipulation}.dnb-core-style [hidden]{display:none}.dnb-core-style [aria-busy=true]{cursor:progress}.dnb-core-style [aria-controls]:not(input){cursor:pointer}.dnb-core-style [aria-disabled=true],.dnb-core-style [disabled]{cursor:not-allowed}.dnb-core-style [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{.dnb-core-style{background-color:#fff;color:#000}}.dnb-core-style .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}.dnb-no-focus,.dnb-tab-focus,.dnb-tab-focus:focus{outline:none}html[data-whatinput=keyboard] .dnb-tab-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-mouse-focus,.dnb-mouse-focus:focus{outline:none}html[data-whatinput=mouse] .dnb-mouse-focus:focus{box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-focus-ring,html[data-whatinput=mouse] .dnb-mouse-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent}.dnb-focus-ring{box-shadow:0 0 0 var(--border-width) var(--border-color)!important}.dnb-scrollbar-appearance{-webkit-overflow-scrolling:touch;-ms-overflow-style:auto;scrollbar-color:var(--scrollbar-thumb-color,#888) transparent}@supports not (scrollbar-color:auto){.dnb-scrollbar-appearance::-webkit-scrollbar{background-color:var(--scrollbar-track-color,#eee);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:vertical{width:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:horizontal{height:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color,#888);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color,#666)}}.dnb-skip-link{opacity:.3;position:absolute;top:-100vh;transition:opacity .3s ease-out;z-index:0}.dnb-skip-link--active,.dnb-skip-link:focus{background-color:transparent;border:none;border-radius:0;box-shadow:none;color:var(--skip-link-color);font-size:var(--font-size-basis);left:40%;margin:0;outline:none;padding:.5rem 1rem;position:fixed;text-align:center;-webkit-text-decoration:none;text-decoration:none;top:5%;user-select:none;-webkit-user-select:none;white-space:nowrap;z-index:9999}.dnb-skip-link--active:after,.dnb-skip-link:focus:after{background-color:hsla(0,0%,100%,.85);box-shadow:150vw 150vh 0 0 hsla(0,0%,100%,.85);content:"";height:150vh;left:-200vw;position:absolute;top:-200vh;width:150vw;z-index:-2}.dnb-skip-link--active:before,.dnb-skip-link:focus:before{background-color:var(--skip-link-background);border-radius:1.5rem;content:"";height:100%;left:0;outline:none;position:absolute;top:0;width:100%;z-index:-1}html[data-whatinput=mouse] .dnb-skip-link--active:before,html[data-whatinput=mouse] .dnb-skip-link:focus:before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:hover:before,.dnb-skip-link:focus:hover:before{background-color:var(--skip-link-background--hover)}.dnb-skip-link--active:active:before,.dnb-skip-link:focus:active:before{background-color:var(--skip-link-background--active)}.dnb-skip-link--active:focus:not(:active):before,.dnb-skip-link:focus:focus:not(:active):before{outline:none}html[data-whatinput=keyboard] .dnb-skip-link--active:focus:not(:active):before,html[data-whatinput=keyboard] .dnb-skip-link:focus:focus:not(:active):before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:focus,.dnb-skip-link:focus:focus{opacity:1}.dnb-skip-link--active:hover,.dnb-skip-link:focus:hover{background-color:transparent;box-shadow:none;color:var(--skip-link-color--hover)}.dnb-skip-link--active:focus:not(:hover):not(:active),.dnb-skip-link:focus:focus:not(:hover):not(:active){background-color:transparent;box-shadow:none;color:var(--skip-link-color)}.dnb-skip-link--active:active,.dnb-skip-link:focus:active{background-color:transparent;color:var(--skip-link-color--active)}html[data-whatintent=touch] .dnb-skip-link{display:none}.dnb-alignment-helper,.dnb-alignment-helper:before{speak:none;display:inline-block;font-size:var(--font-size-small);height:0;width:0}.dnb-alignment-helper:before{content:"‌"}.dnb-drop-shadow{box-shadow:var(--shadow-default)}.dnb-sr-only{-webkit-touch-callout:none!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;margin:0!important;max-height:1px!important;max-width:1px!important;overflow:hidden!important;padding:0!important;pointer-events:none!important;position:absolute!important;-webkit-user-select:none!important;user-select:none!important;white-space:nowrap!important}.dnb-suffix{font-size:var(--font-size-basis);line-height:var(--line-height-basis);padding-left:.5rem;word-break:normal}
1
+ @charset "UTF-8";html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{margin:0}.dnb-core-style{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.28.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}.dnb-core-style *,.dnb-core-style :after,.dnb-core-style :before{background-repeat:no-repeat;box-sizing:border-box}.dnb-core-style :after,.dnb-core-style :before{text-decoration:inherit;vertical-align:inherit}.dnb-core-style hr{height:0;overflow:visible}.dnb-core-style main{display:block}.dnb-core-style nav ol,.dnb-core-style nav ul{list-style:none}.dnb-core-style abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.dnb-core-style b,.dnb-core-style strong{font-weight:bolder}.dnb-core-style code,.dnb-core-style kbd,.dnb-core-style pre,.dnb-core-style samp{font-family:var(--font-family-monospace)}.dnb-core-style ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}.dnb-core-style audio,.dnb-core-style canvas,.dnb-core-style iframe,.dnb-core-style img,.dnb-core-style svg,.dnb-core-style video{vertical-align:middle}.dnb-core-style audio,.dnb-core-style video{display:inline-block}.dnb-core-style audio:not([controls]){display:none;height:0}.dnb-core-style img{border-style:none}.dnb-core-style svg:not([fill]){fill:currentcolor}.dnb-core-style svg:not(:root){overflow:hidden}.dnb-core-style table{border-collapse:collapse}.dnb-core-style button,.dnb-core-style input,.dnb-core-style select,.dnb-core-style textarea{font-family:inherit;font-size:inherit;line-height:inherit}.dnb-core-style button,.dnb-core-style figure,.dnb-core-style input,.dnb-core-style select{margin:0}.dnb-core-style button{overflow:visible;text-transform:none}.dnb-core-style fieldset{padding:.35rem .75rem .625rem}.dnb-core-style input{overflow:visible;word-break:normal}.dnb-core-style legend{color:inherit;display:table;max-width:100%;white-space:normal}.dnb-core-style progress{display:inline-block;vertical-align:baseline}.dnb-core-style select{text-transform:none}.dnb-core-style textarea{overflow:auto;resize:vertical}.dnb-core-style [type=checkbox],.dnb-core-style [type=radio]{padding:0}.dnb-core-style input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}.dnb-core-style ::-webkit-inner-spin-button,.dnb-core-style ::-webkit-outer-spin-button{height:auto}.dnb-core-style ::input-placeholder{color:inherit;opacity:.54}.dnb-core-style ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.dnb-core-style ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}.dnb-core-style ::-moz-focus-inner{border-style:none;padding:0}.dnb-core-style details{display:block}.dnb-core-style summary{display:list-item}.dnb-core-style canvas{display:inline-block}.dnb-core-style template{display:none}.dnb-core-style [tabindex],.dnb-core-style a,.dnb-core-style area,.dnb-core-style button,.dnb-core-style input,.dnb-core-style label,.dnb-core-style select,.dnb-core-style summary,.dnb-core-style textarea{touch-action:manipulation}.dnb-core-style [hidden]{display:none}.dnb-core-style [aria-busy=true]{cursor:progress}.dnb-core-style [aria-controls]:not(input){cursor:pointer}.dnb-core-style [aria-disabled=true],.dnb-core-style [disabled]{cursor:not-allowed}.dnb-core-style [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{.dnb-core-style{background-color:#fff;color:#000}}.dnb-core-style .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}.dnb-no-focus,.dnb-tab-focus,.dnb-tab-focus:focus{outline:none}html[data-whatinput=keyboard] .dnb-tab-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-mouse-focus,.dnb-mouse-focus:focus{outline:none}html[data-whatinput=mouse] .dnb-mouse-focus:focus{box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-focus-ring,html[data-whatinput=mouse] .dnb-mouse-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent}.dnb-focus-ring{box-shadow:0 0 0 var(--border-width) var(--border-color)!important}.dnb-scrollbar-appearance{-webkit-overflow-scrolling:touch;-ms-overflow-style:auto;scrollbar-color:var(--scrollbar-thumb-color,#888) transparent}@supports not (scrollbar-color:auto){.dnb-scrollbar-appearance::-webkit-scrollbar{background-color:var(--scrollbar-track-color,#eee);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:vertical{width:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:horizontal{height:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color,#888);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color,#666)}}.dnb-skip-link{opacity:.3;position:absolute;top:-100vh;transition:opacity .3s ease-out;z-index:0}.dnb-skip-link--active,.dnb-skip-link:focus{background-color:transparent;border:none;border-radius:0;box-shadow:none;color:var(--skip-link-color);font-size:var(--font-size-basis);left:40%;margin:0;outline:none;padding:.5rem 1rem;position:fixed;text-align:center;-webkit-text-decoration:none;text-decoration:none;top:5%;user-select:none;-webkit-user-select:none;white-space:nowrap;z-index:9999}.dnb-skip-link--active:after,.dnb-skip-link:focus:after{background-color:hsla(0,0%,100%,.85);box-shadow:150vw 150vh 0 0 hsla(0,0%,100%,.85);content:"";height:150vh;left:-200vw;position:absolute;top:-200vh;width:150vw;z-index:-2}.dnb-skip-link--active:before,.dnb-skip-link:focus:before{background-color:var(--skip-link-background);border-radius:1.5rem;content:"";height:100%;left:0;outline:none;position:absolute;top:0;width:100%;z-index:-1}html[data-whatinput=mouse] .dnb-skip-link--active:before,html[data-whatinput=mouse] .dnb-skip-link:focus:before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:hover:before,.dnb-skip-link:focus:hover:before{background-color:var(--skip-link-background--hover)}.dnb-skip-link--active:active:before,.dnb-skip-link:focus:active:before{background-color:var(--skip-link-background--active)}.dnb-skip-link--active:focus:not(:active):before,.dnb-skip-link:focus:focus:not(:active):before{outline:none}html[data-whatinput=keyboard] .dnb-skip-link--active:focus:not(:active):before,html[data-whatinput=keyboard] .dnb-skip-link:focus:focus:not(:active):before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:focus,.dnb-skip-link:focus:focus{opacity:1}.dnb-skip-link--active:hover,.dnb-skip-link:focus:hover{background-color:transparent;box-shadow:none;color:var(--skip-link-color--hover)}.dnb-skip-link--active:focus:not(:hover):not(:active),.dnb-skip-link:focus:focus:not(:hover):not(:active){background-color:transparent;box-shadow:none;color:var(--skip-link-color)}.dnb-skip-link--active:active,.dnb-skip-link:focus:active{background-color:transparent;color:var(--skip-link-color--active)}html[data-whatintent=touch] .dnb-skip-link{display:none}.dnb-alignment-helper,.dnb-alignment-helper:before{speak:none;display:inline-block;font-size:var(--font-size-small);height:0;width:0}.dnb-alignment-helper:before{content:"‌"}.dnb-drop-shadow{box-shadow:var(--shadow-default)}.dnb-sr-only{-webkit-touch-callout:none!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;margin:0!important;max-height:1px!important;max-width:1px!important;overflow:hidden!important;padding:0!important;pointer-events:none!important;position:absolute!important;-webkit-user-select:none!important;user-select:none!important;white-space:nowrap!important}.dnb-suffix{font-size:var(--font-size-basis);line-height:var(--line-height-basis);padding-left:.5rem;word-break:normal}
@@ -277,7 +277,7 @@ body {
277
277
  /* stylelint-disable-next-line */
278
278
  -webkit-text-size-adjust: 100%;
279
279
  word-break: break-word;
280
- --eufemia-version: "10.27.0";
280
+ --eufemia-version: "10.28.0";
281
281
  }
282
282
  body *,
283
283
  body ::before,
@@ -1 +1 @@
1
- html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;cursor:default;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:var(--line-height-basis);-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.27.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}body *,body :after,body :before{background-repeat:no-repeat;box-sizing:border-box}body :after,body :before{text-decoration:inherit;vertical-align:inherit}body hr{height:0;overflow:visible}body main{display:block}body nav ol,body nav ul{list-style:none}body abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body b,body strong{font-weight:bolder}body code,body kbd,body pre,body samp{font-family:var(--font-family-monospace)}body ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}body audio,body canvas,body iframe,body img,body svg,body video{vertical-align:middle}body audio,body video{display:inline-block}body audio:not([controls]){display:none;height:0}body img{border-style:none}body svg:not([fill]){fill:currentcolor}body svg:not(:root){overflow:hidden}body table{border-collapse:collapse}body button,body input,body select,body textarea{font-family:inherit;font-size:inherit;line-height:inherit}body button,body figure,body input,body select{margin:0}body button{overflow:visible;text-transform:none}body fieldset{padding:.35rem .75rem .625rem}body input{overflow:visible;word-break:normal}body legend{color:inherit;display:table;max-width:100%;white-space:normal}body progress{display:inline-block;vertical-align:baseline}body select{text-transform:none}body textarea{overflow:auto;resize:vertical}body [type=checkbox],body [type=radio]{padding:0}body input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}body ::-webkit-inner-spin-button,body ::-webkit-outer-spin-button{height:auto}body ::input-placeholder{color:inherit;opacity:.54}body ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}body ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}body ::-moz-focus-inner{border-style:none;padding:0}body details{display:block}body summary{display:list-item}body canvas{display:inline-block}body template{display:none}body [tabindex],body a,body area,body button,body input,body label,body select,body summary,body textarea{touch-action:manipulation}body [hidden]{display:none}body [aria-busy=true]{cursor:progress}body [aria-controls]:not(input){cursor:pointer}body [aria-disabled=true],body [disabled]{cursor:not-allowed}body [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{body{background-color:#fff;color:#000}}body .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}
1
+ html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;cursor:default;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:var(--line-height-basis);-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.28.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}body *,body :after,body :before{background-repeat:no-repeat;box-sizing:border-box}body :after,body :before{text-decoration:inherit;vertical-align:inherit}body hr{height:0;overflow:visible}body main{display:block}body nav ol,body nav ul{list-style:none}body abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body b,body strong{font-weight:bolder}body code,body kbd,body pre,body samp{font-family:var(--font-family-monospace)}body ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}body audio,body canvas,body iframe,body img,body svg,body video{vertical-align:middle}body audio,body video{display:inline-block}body audio:not([controls]){display:none;height:0}body img{border-style:none}body svg:not([fill]){fill:currentcolor}body svg:not(:root){overflow:hidden}body table{border-collapse:collapse}body button,body input,body select,body textarea{font-family:inherit;font-size:inherit;line-height:inherit}body button,body figure,body input,body select{margin:0}body button{overflow:visible;text-transform:none}body fieldset{padding:.35rem .75rem .625rem}body input{overflow:visible;word-break:normal}body legend{color:inherit;display:table;max-width:100%;white-space:normal}body progress{display:inline-block;vertical-align:baseline}body select{text-transform:none}body textarea{overflow:auto;resize:vertical}body [type=checkbox],body [type=radio]{padding:0}body input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}body ::-webkit-inner-spin-button,body ::-webkit-outer-spin-button{height:auto}body ::input-placeholder{color:inherit;opacity:.54}body ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}body ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}body ::-moz-focus-inner{border-style:none;padding:0}body details{display:block}body summary{display:list-item}body canvas{display:inline-block}body template{display:none}body [tabindex],body a,body area,body button,body input,body label,body select,body summary,body textarea{touch-action:manipulation}body [hidden]{display:none}body [aria-busy=true]{cursor:progress}body [aria-controls]:not(input){cursor:pointer}body [aria-disabled=true],body [disabled]{cursor:not-allowed}body [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{body{background-color:#fff;color:#000}}body .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}
@@ -958,7 +958,7 @@ html[data-visual-test] .dnb-form-submit-indicator__content b {
958
958
  flex: 1;
959
959
  margin-bottom: var(--space);
960
960
  padding: var(--padding, 1rem);
961
- transition: transform 400ms var(--easing-default) 50ms;
961
+ transition: transform 400ms var(--easing-default) 50ms, box-shadow 0.8s var(--easing-default);
962
962
  transform: translateY(-2.5rem);
963
963
  }
964
964
  .dnb-form-iterate-block__inner:not([class*=dnb-flex-container--spacing]) {
@@ -1335,7 +1335,7 @@ button.dnb-anchor {
1335
1335
  --anchor-underline-thickness: 0.0938rem;
1336
1336
  --anchor-icon-gutter: 0.25em;
1337
1337
  --anchor-icon-seperator: "⁠";
1338
- --anchor-icon-fallback-position: translateY(-0.125em);
1338
+ --anchor-icon-position: translateY(-0.175em);
1339
1339
  display: inline;
1340
1340
  padding: 0.05575em 0;
1341
1341
  font-size: var(--font-size-basis);
@@ -1398,23 +1398,16 @@ sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, sub :where(:not(.dnb-anchor-
1398
1398
  }
1399
1399
  :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon {
1400
1400
  display: inline;
1401
- vertical-align: baseline;
1401
+ vertical-align: middle;
1402
1402
  white-space: nowrap;
1403
- font-size: inherit;
1404
1403
  }
1405
1404
  :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon svg {
1406
- vertical-align: middle;
1407
- transform: var(--anchor-icon-fallback-position);
1408
- }
1409
- @supports (height: 1lh) {
1410
- :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon {
1411
- vertical-align: top;
1412
- line-height: 1lh;
1413
- }
1414
- :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon svg {
1415
- vertical-align: top;
1416
- transform: translateY(calc(0.5lh - 0.5em));
1417
- }
1405
+ vertical-align: baseline;
1406
+ transform: scale(2) var(--anchor-icon-position);
1407
+ font-size: 0.5em;
1408
+ width: 2em;
1409
+ height: 1em;
1410
+ pointer-events: none;
1418
1411
  }
1419
1412
  :where(:not(.dnb-anchor--no-style)).dnb-anchor--no-icon .dnb-icon {
1420
1413
  display: none;
@@ -1423,13 +1416,13 @@ sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, sub :where(:not(.dnb-anchor-
1423
1416
  content: var(--anchor-icon-seperator);
1424
1417
  }
1425
1418
  :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-left .dnb-icon:first-child svg {
1426
- margin-right: var(--anchor-icon-gutter);
1419
+ margin-right: calc(var(--anchor-icon-gutter) * 2);
1427
1420
  }
1428
1421
  :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-right .dnb-icon:last-child::before {
1429
1422
  content: var(--anchor-icon-seperator);
1430
1423
  }
1431
1424
  :where(:not(.dnb-anchor--no-style)).dnb-anchor--icon-right .dnb-icon:last-child svg {
1432
- margin-left: var(--anchor-icon-gutter);
1425
+ margin-left: calc(var(--anchor-icon-gutter) * 2);
1433
1426
  }
1434
1427
  :where(:not(.dnb-anchor--no-style)).dnb-anchor .dnb-icon--default {
1435
1428
  font-size: 0.8888888889em;
@@ -1473,7 +1466,7 @@ sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, sub :where(:not(.dnb-anchor-
1473
1466
  --anchor-underline-thickness: 0.0938rem;
1474
1467
  --anchor-icon-gutter: 0.25em;
1475
1468
  --anchor-icon-seperator: "⁠";
1476
- --anchor-icon-fallback-position: translateY(-0.125em);
1469
+ --anchor-icon-position: translateY(-0.175em);
1477
1470
  display: inline;
1478
1471
  padding: 0.05575em 0;
1479
1472
  font-size: var(--font-size-basis);
@@ -1536,23 +1529,16 @@ sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, sub :where(:not(.dnb-anchor-
1536
1529
  }
1537
1530
  :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon {
1538
1531
  display: inline;
1539
- vertical-align: baseline;
1532
+ vertical-align: middle;
1540
1533
  white-space: nowrap;
1541
- font-size: inherit;
1542
1534
  }
1543
1535
  :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon svg {
1544
- vertical-align: middle;
1545
- transform: var(--anchor-icon-fallback-position);
1546
- }
1547
- @supports (height: 1lh) {
1548
- :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon {
1549
- vertical-align: top;
1550
- line-height: 1lh;
1551
- }
1552
- :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon svg {
1553
- vertical-align: top;
1554
- transform: translateY(calc(0.5lh - 0.5em));
1555
- }
1536
+ vertical-align: baseline;
1537
+ transform: scale(2) var(--anchor-icon-position);
1538
+ font-size: 0.5em;
1539
+ width: 2em;
1540
+ height: 1em;
1541
+ pointer-events: none;
1556
1542
  }
1557
1543
  :not(.dnb-anchor--no-style).dnb-anchor--no-icon .dnb-icon {
1558
1544
  display: none;
@@ -1561,13 +1547,13 @@ sup :where(:not(.dnb-anchor--no-style)).dnb-anchor, sub :where(:not(.dnb-anchor-
1561
1547
  content: var(--anchor-icon-seperator);
1562
1548
  }
1563
1549
  :not(.dnb-anchor--no-style).dnb-anchor--icon-left .dnb-icon:first-child svg {
1564
- margin-right: var(--anchor-icon-gutter);
1550
+ margin-right: calc(var(--anchor-icon-gutter) * 2);
1565
1551
  }
1566
1552
  :not(.dnb-anchor--no-style).dnb-anchor--icon-right .dnb-icon:last-child::before {
1567
1553
  content: var(--anchor-icon-seperator);
1568
1554
  }
1569
1555
  :not(.dnb-anchor--no-style).dnb-anchor--icon-right .dnb-icon:last-child svg {
1570
- margin-left: var(--anchor-icon-gutter);
1556
+ margin-left: calc(var(--anchor-icon-gutter) * 2);
1571
1557
  }
1572
1558
  :not(.dnb-anchor--no-style).dnb-anchor .dnb-icon--default {
1573
1559
  font-size: 0.8888888889em;
@@ -2128,8 +2114,8 @@ label + .dnb-autocomplete[class*=__form-status] .dnb-autocomplete__shell {
2128
2114
  margin-right: 0.5rem;
2129
2115
  }
2130
2116
  .dnb-breadcrumb__item .dnb-anchor {
2131
- line-height: 1rem;
2132
- padding: 0.25rem 0;
2117
+ line-height: 1.5rem;
2118
+ padding: 0;
2133
2119
  position: relative;
2134
2120
  }
2135
2121
  .dnb-breadcrumb__item .dnb-anchor::after {
@@ -8927,7 +8913,7 @@ html[data-whatinput=keyboard] .dnb-tabs__button:focus::before, html[data-whatinp
8927
8913
  right: -0.375rem;
8928
8914
  bottom: 0.5rem;
8929
8915
  border-radius: 1.5rem;
8930
- background-color: var(--sb-color-blue-light-3);
8916
+ background-color: var(--tab-focus-background-color, none);
8931
8917
  }
8932
8918
  .dnb-tabs__button:not([disabled]):active::after, .dnb-tabs__button:not([disabled]).selected::after, .dnb-core-style .dnb-tabs .dnb-tabs__button:not([disabled]):active::after, .dnb-core-style .dnb-tabs .dnb-tabs__button:not([disabled]).selected::after {
8933
8919
  height: 2px;