@dnb/eufemia 10.0.0-beta.7 → 10.0.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/cjs/components/anchor/Anchor.d.ts +5 -1
  3. package/cjs/components/anchor/Anchor.js +53 -4
  4. package/cjs/components/anchor/style/anchor-mixins.scss +8 -4
  5. package/cjs/components/anchor/style/dnb-anchor.css +8 -9
  6. package/cjs/components/anchor/style/dnb-anchor.min.css +1 -1
  7. package/cjs/components/anchor/style/dnb-anchor.scss +2 -1
  8. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  9. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  10. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  11. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  12. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  13. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  14. package/cjs/components/autocomplete/Autocomplete.d.ts +3 -2
  15. package/cjs/components/autocomplete/Autocomplete.js +8 -5
  16. package/cjs/components/button/Button.d.ts +3 -2
  17. package/cjs/components/button/Button.js +8 -5
  18. package/cjs/components/button/style/dnb-button--tertiary.css +16 -7
  19. package/cjs/components/button/style/dnb-button--tertiary.min.css +1 -1
  20. package/cjs/components/button/style/dnb-button--tertiary.scss +28 -18
  21. package/cjs/components/button/style/dnb-button.css +1 -3
  22. package/cjs/components/button/style/dnb-button.min.css +1 -1
  23. package/cjs/components/button/style/dnb-button.scss +0 -1
  24. package/cjs/components/button/style/themes/button-mixins.scss +4 -4
  25. package/cjs/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  26. package/cjs/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  27. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  28. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  29. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  30. package/cjs/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  31. package/cjs/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  32. package/cjs/components/checkbox/Checkbox.d.ts +3 -2
  33. package/cjs/components/checkbox/Checkbox.js +8 -5
  34. package/cjs/components/date-picker/DatePicker.d.ts +3 -2
  35. package/cjs/components/date-picker/DatePicker.js +9 -5
  36. package/cjs/components/dialog/style/dnb-dialog.css +3 -3
  37. package/cjs/components/dialog/style/dnb-dialog.min.css +1 -1
  38. package/cjs/components/dialog/style/dnb-dialog.scss +2 -4
  39. package/cjs/components/dropdown/Dropdown.d.ts +3 -2
  40. package/cjs/components/dropdown/Dropdown.js +8 -5
  41. package/cjs/components/form-row/FormRow.d.ts +2 -1
  42. package/cjs/components/form-row/FormRow.js +8 -5
  43. package/cjs/components/form-set/FormSet.d.ts +2 -1
  44. package/cjs/components/form-status/FormStatus.d.ts +6 -6
  45. package/cjs/components/form-status/FormStatus.js +13 -7
  46. package/cjs/components/global-status/GlobalStatus.d.ts +8 -0
  47. package/cjs/components/help-button/HelpButton.d.ts +1 -3
  48. package/cjs/components/help-button/HelpButton.js +9 -17
  49. package/cjs/components/icon/style/dnb-icon.css +7 -3
  50. package/cjs/components/icon/style/dnb-icon.min.css +1 -1
  51. package/cjs/components/icon/style/dnb-icon.scss +16 -10
  52. package/cjs/components/input/Input.d.ts +11 -5
  53. package/cjs/components/input/Input.js +8 -5
  54. package/cjs/components/input-masked/InputMasked.d.ts +3 -2
  55. package/cjs/components/input-masked/InputMaskedUtils.js +7 -3
  56. package/cjs/components/lib.d.ts +1 -1
  57. package/cjs/components/modal/Modal.js +21 -7
  58. package/cjs/components/modal/ModalContent.js +2 -2
  59. package/cjs/components/number-format/NumberUtils.js +5 -4
  60. package/cjs/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  61. package/cjs/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  62. package/cjs/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  63. package/cjs/components/radio/Radio.d.ts +4 -3
  64. package/cjs/components/radio/Radio.js +8 -5
  65. package/cjs/components/radio/RadioGroup.d.ts +4 -3
  66. package/cjs/components/radio/RadioGroup.js +8 -5
  67. package/cjs/components/slider/SliderInstance.js +2 -3
  68. package/cjs/components/slider/SliderProvider.js +2 -2
  69. package/cjs/components/slider/types.d.ts +2 -1
  70. package/cjs/components/switch/Switch.d.ts +3 -2
  71. package/cjs/components/switch/Switch.js +8 -5
  72. package/cjs/components/textarea/Textarea.d.ts +3 -2
  73. package/cjs/components/textarea/Textarea.js +8 -5
  74. package/cjs/components/timeline/TimelineItem.d.ts +2 -2
  75. package/cjs/components/toggle-button/ToggleButton.d.ts +3 -2
  76. package/cjs/components/toggle-button/ToggleButton.js +8 -5
  77. package/cjs/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  78. package/cjs/components/toggle-button/ToggleButtonGroup.js +8 -5
  79. package/cjs/components/tooltip/TooltipWithEvents.d.ts +2 -2
  80. package/cjs/components/tooltip/TooltipWithEvents.js +6 -1
  81. package/cjs/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  82. package/cjs/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  83. package/cjs/elements/Link.d.ts +1 -1
  84. package/cjs/elements/lib.d.ts +1 -1
  85. package/cjs/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  86. package/cjs/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  87. package/cjs/elements/typography/style/typography-mixins.scss +33 -0
  88. package/cjs/shared/Eufemia.d.ts +1 -0
  89. package/cjs/shared/Eufemia.js +4 -1
  90. package/cjs/shared/Theme.d.ts +6 -2
  91. package/cjs/shared/Theme.js +11 -5
  92. package/cjs/shared/VisibilityByTheme.js +1 -1
  93. package/cjs/style/core/scopes.scss +1 -1
  94. package/cjs/style/core/utilities.scss +17 -13
  95. package/cjs/style/dnb-ui-basis.css +16 -16
  96. package/cjs/style/dnb-ui-basis.min.css +1 -1
  97. package/cjs/style/dnb-ui-body.css +2 -2
  98. package/cjs/style/dnb-ui-body.min.css +1 -1
  99. package/cjs/style/dnb-ui-components.css +33 -32
  100. package/cjs/style/dnb-ui-components.min.css +1 -1
  101. package/cjs/style/dnb-ui-core.css +16 -16
  102. package/cjs/style/dnb-ui-core.min.css +1 -1
  103. package/cjs/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  104. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  105. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  106. package/cjs/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  107. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  108. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  109. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  110. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  111. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  112. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  113. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  114. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  115. package/cjs/style/themes/theme-ui/ui-theme-basis.css +5 -0
  116. package/cjs/style/themes/theme-ui/ui-theme-components.css +53 -43
  117. package/cjs/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  118. package/cjs/style/themes/theme-ui/ui-theme-elements.css +5 -0
  119. package/cjs/style/themes/theme-ui/ui-theme-tags.css +3 -3
  120. package/cjs/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  121. package/components/anchor/Anchor.d.ts +5 -1
  122. package/components/anchor/Anchor.js +49 -4
  123. package/components/anchor/style/anchor-mixins.scss +8 -4
  124. package/components/anchor/style/dnb-anchor.css +8 -9
  125. package/components/anchor/style/dnb-anchor.min.css +1 -1
  126. package/components/anchor/style/dnb-anchor.scss +2 -1
  127. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  128. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  129. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  130. package/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  131. package/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  132. package/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  133. package/components/autocomplete/Autocomplete.d.ts +3 -2
  134. package/components/autocomplete/Autocomplete.js +8 -5
  135. package/components/button/Button.d.ts +3 -2
  136. package/components/button/Button.js +8 -5
  137. package/components/button/style/dnb-button--tertiary.css +16 -7
  138. package/components/button/style/dnb-button--tertiary.min.css +1 -1
  139. package/components/button/style/dnb-button--tertiary.scss +28 -18
  140. package/components/button/style/dnb-button.css +1 -3
  141. package/components/button/style/dnb-button.min.css +1 -1
  142. package/components/button/style/dnb-button.scss +0 -1
  143. package/components/button/style/themes/button-mixins.scss +4 -4
  144. package/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  145. package/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  146. package/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  147. package/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  148. package/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  149. package/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  150. package/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  151. package/components/checkbox/Checkbox.d.ts +3 -2
  152. package/components/checkbox/Checkbox.js +8 -5
  153. package/components/date-picker/DatePicker.d.ts +3 -2
  154. package/components/date-picker/DatePicker.js +9 -5
  155. package/components/dialog/style/dnb-dialog.css +3 -3
  156. package/components/dialog/style/dnb-dialog.min.css +1 -1
  157. package/components/dialog/style/dnb-dialog.scss +2 -4
  158. package/components/dropdown/Dropdown.d.ts +3 -2
  159. package/components/dropdown/Dropdown.js +8 -5
  160. package/components/form-row/FormRow.d.ts +2 -1
  161. package/components/form-row/FormRow.js +8 -5
  162. package/components/form-set/FormSet.d.ts +2 -1
  163. package/components/form-status/FormStatus.d.ts +6 -6
  164. package/components/form-status/FormStatus.js +13 -7
  165. package/components/global-status/GlobalStatus.d.ts +8 -0
  166. package/components/help-button/HelpButton.d.ts +1 -3
  167. package/components/help-button/HelpButton.js +9 -16
  168. package/components/icon/style/dnb-icon.css +7 -3
  169. package/components/icon/style/dnb-icon.min.css +1 -1
  170. package/components/icon/style/dnb-icon.scss +16 -10
  171. package/components/input/Input.d.ts +11 -5
  172. package/components/input/Input.js +8 -5
  173. package/components/input-masked/InputMasked.d.ts +3 -2
  174. package/components/input-masked/InputMaskedUtils.js +7 -3
  175. package/components/lib.d.ts +1 -1
  176. package/components/modal/Modal.js +21 -7
  177. package/components/modal/ModalContent.js +2 -2
  178. package/components/number-format/NumberUtils.js +5 -4
  179. package/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  180. package/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  181. package/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  182. package/components/radio/Radio.d.ts +4 -3
  183. package/components/radio/Radio.js +8 -5
  184. package/components/radio/RadioGroup.d.ts +4 -3
  185. package/components/radio/RadioGroup.js +8 -5
  186. package/components/slider/SliderInstance.js +2 -3
  187. package/components/slider/SliderProvider.js +2 -2
  188. package/components/slider/types.d.ts +2 -1
  189. package/components/switch/Switch.d.ts +3 -2
  190. package/components/switch/Switch.js +8 -5
  191. package/components/textarea/Textarea.d.ts +3 -2
  192. package/components/textarea/Textarea.js +8 -5
  193. package/components/timeline/TimelineItem.d.ts +2 -2
  194. package/components/toggle-button/ToggleButton.d.ts +3 -2
  195. package/components/toggle-button/ToggleButton.js +8 -5
  196. package/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  197. package/components/toggle-button/ToggleButtonGroup.js +8 -5
  198. package/components/tooltip/TooltipWithEvents.d.ts +2 -2
  199. package/components/tooltip/TooltipWithEvents.js +6 -1
  200. package/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  201. package/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  202. package/elements/Link.d.ts +1 -1
  203. package/elements/lib.d.ts +1 -1
  204. package/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  205. package/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  206. package/elements/typography/style/typography-mixins.scss +33 -0
  207. package/es/components/anchor/Anchor.d.ts +5 -1
  208. package/es/components/anchor/Anchor.js +49 -4
  209. package/es/components/anchor/style/anchor-mixins.scss +8 -4
  210. package/es/components/anchor/style/dnb-anchor.css +8 -9
  211. package/es/components/anchor/style/dnb-anchor.min.css +1 -1
  212. package/es/components/anchor/style/dnb-anchor.scss +2 -1
  213. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  214. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  215. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  216. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  217. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  218. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  219. package/es/components/autocomplete/Autocomplete.d.ts +3 -2
  220. package/es/components/autocomplete/Autocomplete.js +8 -5
  221. package/es/components/button/Button.d.ts +3 -2
  222. package/es/components/button/Button.js +8 -5
  223. package/es/components/button/style/dnb-button--tertiary.css +16 -7
  224. package/es/components/button/style/dnb-button--tertiary.min.css +1 -1
  225. package/es/components/button/style/dnb-button--tertiary.scss +28 -18
  226. package/es/components/button/style/dnb-button.css +1 -3
  227. package/es/components/button/style/dnb-button.min.css +1 -1
  228. package/es/components/button/style/dnb-button.scss +0 -1
  229. package/es/components/button/style/themes/button-mixins.scss +4 -4
  230. package/es/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  231. package/es/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  232. package/es/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  233. package/es/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  234. package/es/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  235. package/es/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  236. package/es/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  237. package/es/components/checkbox/Checkbox.d.ts +3 -2
  238. package/es/components/checkbox/Checkbox.js +8 -5
  239. package/es/components/date-picker/DatePicker.d.ts +3 -2
  240. package/es/components/date-picker/DatePicker.js +9 -5
  241. package/es/components/dialog/style/dnb-dialog.css +3 -3
  242. package/es/components/dialog/style/dnb-dialog.min.css +1 -1
  243. package/es/components/dialog/style/dnb-dialog.scss +2 -4
  244. package/es/components/dropdown/Dropdown.d.ts +3 -2
  245. package/es/components/dropdown/Dropdown.js +8 -5
  246. package/es/components/form-row/FormRow.d.ts +2 -1
  247. package/es/components/form-row/FormRow.js +8 -5
  248. package/es/components/form-set/FormSet.d.ts +2 -1
  249. package/es/components/form-status/FormStatus.d.ts +6 -6
  250. package/es/components/form-status/FormStatus.js +13 -7
  251. package/es/components/global-status/GlobalStatus.d.ts +8 -0
  252. package/es/components/help-button/HelpButton.d.ts +1 -3
  253. package/es/components/help-button/HelpButton.js +9 -16
  254. package/es/components/icon/style/dnb-icon.css +7 -3
  255. package/es/components/icon/style/dnb-icon.min.css +1 -1
  256. package/es/components/icon/style/dnb-icon.scss +16 -10
  257. package/es/components/input/Input.d.ts +11 -5
  258. package/es/components/input/Input.js +8 -5
  259. package/es/components/input-masked/InputMasked.d.ts +3 -2
  260. package/es/components/input-masked/InputMaskedUtils.js +7 -3
  261. package/es/components/lib.d.ts +1 -1
  262. package/es/components/modal/Modal.js +21 -7
  263. package/es/components/modal/ModalContent.js +2 -2
  264. package/es/components/number-format/NumberUtils.js +5 -4
  265. package/es/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  266. package/es/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  267. package/es/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  268. package/es/components/radio/Radio.d.ts +4 -3
  269. package/es/components/radio/Radio.js +8 -5
  270. package/es/components/radio/RadioGroup.d.ts +4 -3
  271. package/es/components/radio/RadioGroup.js +8 -5
  272. package/es/components/slider/SliderInstance.js +2 -3
  273. package/es/components/slider/SliderProvider.js +2 -2
  274. package/es/components/slider/types.d.ts +2 -1
  275. package/es/components/switch/Switch.d.ts +3 -2
  276. package/es/components/switch/Switch.js +8 -5
  277. package/es/components/textarea/Textarea.d.ts +3 -2
  278. package/es/components/textarea/Textarea.js +8 -5
  279. package/es/components/timeline/TimelineItem.d.ts +2 -2
  280. package/es/components/toggle-button/ToggleButton.d.ts +3 -2
  281. package/es/components/toggle-button/ToggleButton.js +8 -5
  282. package/es/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  283. package/es/components/toggle-button/ToggleButtonGroup.js +8 -5
  284. package/es/components/tooltip/TooltipWithEvents.d.ts +2 -2
  285. package/es/components/tooltip/TooltipWithEvents.js +6 -1
  286. package/es/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  287. package/es/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  288. package/es/elements/Link.d.ts +1 -1
  289. package/es/elements/lib.d.ts +1 -1
  290. package/es/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  291. package/es/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  292. package/es/elements/typography/style/typography-mixins.scss +33 -0
  293. package/es/shared/Eufemia.d.ts +1 -0
  294. package/es/shared/Eufemia.js +2 -1
  295. package/es/shared/Theme.d.ts +6 -2
  296. package/es/shared/Theme.js +11 -5
  297. package/es/shared/VisibilityByTheme.js +1 -1
  298. package/es/style/core/scopes.scss +1 -1
  299. package/es/style/core/utilities.scss +17 -13
  300. package/es/style/dnb-ui-basis.css +16 -16
  301. package/es/style/dnb-ui-basis.min.css +1 -1
  302. package/es/style/dnb-ui-body.css +2 -2
  303. package/es/style/dnb-ui-body.min.css +1 -1
  304. package/es/style/dnb-ui-components.css +33 -32
  305. package/es/style/dnb-ui-components.min.css +1 -1
  306. package/es/style/dnb-ui-core.css +16 -16
  307. package/es/style/dnb-ui-core.min.css +1 -1
  308. package/es/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  309. package/es/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  310. package/es/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  311. package/es/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  312. package/es/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  313. package/es/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  314. package/es/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  315. package/es/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  316. package/es/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  317. package/es/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  318. package/es/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  319. package/es/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  320. package/es/style/themes/theme-ui/ui-theme-basis.css +5 -0
  321. package/es/style/themes/theme-ui/ui-theme-components.css +53 -43
  322. package/es/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  323. package/es/style/themes/theme-ui/ui-theme-elements.css +5 -0
  324. package/es/style/themes/theme-ui/ui-theme-tags.css +3 -3
  325. package/es/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  326. package/esm/dnb-ui-basis.min.mjs +1 -1
  327. package/esm/dnb-ui-components.min.mjs +1 -1
  328. package/esm/dnb-ui-elements.min.mjs +1 -1
  329. package/esm/dnb-ui-extensions.min.mjs +1 -1
  330. package/esm/dnb-ui-lib.min.mjs +1 -1
  331. package/package.json +1 -1
  332. package/shared/Eufemia.d.ts +1 -0
  333. package/shared/Eufemia.js +2 -1
  334. package/shared/Theme.d.ts +6 -2
  335. package/shared/Theme.js +11 -5
  336. package/shared/VisibilityByTheme.js +1 -1
  337. package/style/core/scopes.scss +1 -1
  338. package/style/core/utilities.scss +17 -13
  339. package/style/dnb-ui-basis.css +16 -16
  340. package/style/dnb-ui-basis.min.css +1 -1
  341. package/style/dnb-ui-body.css +2 -2
  342. package/style/dnb-ui-body.min.css +1 -1
  343. package/style/dnb-ui-components.css +33 -32
  344. package/style/dnb-ui-components.min.css +1 -1
  345. package/style/dnb-ui-core.css +16 -16
  346. package/style/dnb-ui-core.min.css +1 -1
  347. package/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  348. package/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  349. package/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  350. package/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  351. package/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  352. package/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  353. package/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  354. package/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  355. package/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  356. package/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  357. package/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  358. package/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  359. package/style/themes/theme-ui/ui-theme-basis.css +5 -0
  360. package/style/themes/theme-ui/ui-theme-components.css +53 -43
  361. package/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  362. package/style/themes/theme-ui/ui-theme-elements.css +5 -0
  363. package/style/themes/theme-ui/ui-theme-tags.css +3 -3
  364. package/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  365. package/umd/dnb-ui-basis.min.js +1 -1
  366. package/umd/dnb-ui-components.min.js +1 -1
  367. package/umd/dnb-ui-elements.min.js +1 -1
  368. package/umd/dnb-ui-extensions.min.js +1 -1
  369. package/umd/dnb-ui-lib.min.js +1 -1
@@ -6,12 +6,12 @@
6
6
  &:hover,
7
7
  &:active {
8
8
  color: var(--color-sea-green);
9
- background-color: var(--color-mint-green-50);
9
+ @include anchor-mixins.anchorBackground(var(--color-mint-green-50));
10
10
  }
11
11
 
12
12
  &:active {
13
13
  color: var(--color-mint-green);
14
- background-color: var(--color-emerald-green);
14
+ @include anchor-mixins.anchorBackground(var(--color-emerald-green));
15
15
  }
16
16
 
17
17
  &:focus {
@@ -23,12 +23,12 @@
23
23
 
24
24
  .dnb-anchor--hover {
25
25
  color: var(--color-sea-green);
26
- background-color: var(--color-mint-green-50);
26
+ @include anchor-mixins.anchorBackground(var(--color-mint-green-50));
27
27
  }
28
28
 
29
29
  .dnb-anchor--active {
30
30
  color: var(--color-mint-green);
31
- background-color: var(--color-emerald-green);
31
+ @include anchor-mixins.anchorBackground(var(--color-emerald-green));
32
32
  }
33
33
 
34
34
  .dnb-anchor--focus {
@@ -11,6 +11,7 @@ import type {
11
11
  FormStatusState,
12
12
  FormStatusText
13
13
  } from '../FormStatus';
14
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
14
15
  import type { IconIcon, IconSize } from '../Icon';
15
16
  import type { SkeletonShow } from '../Skeleton';
16
17
  import type { SpacingProps } from '../space/types';
@@ -170,9 +171,9 @@ export interface AutocompleteProps
170
171
  status_no_animation?: boolean;
171
172
 
172
173
  /**
173
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
174
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
174
175
  */
175
- global_status_id?: string;
176
+ globalStatus?: GlobalStatusConfigObject;
176
177
 
177
178
  /**
178
179
  * If set to `true`, word highlighting will still be active, but no options will be filtered out. Defaults to `false`.
@@ -46,7 +46,7 @@ var _DrawerListHelpers = require("../../fragments/drawer-list/DrawerListHelpers"
46
46
  var _IconPrimary, _AlignmentHelper;
47
47
 
48
48
  const _excluded = ["fillDataIfEmpty"],
49
- _excluded2 = ["title", "placeholder", "label", "label_direction", "label_sr_only", "icon", "icon_size", "input_icon", "size", "align_autocomplete", "fixed_position", "status", "status_state", "status_props", "status_no_animation", "global_status_id", "suffix", "scrollable", "focusable", "keep_open", "keep_value", "keep_value_and_selection", "show_clear_button", "prevent_close", "no_animation", "no_scroll_animation", "show_submit_button", "submit_element", "input_element", "options_render", "prevent_selection", "max_height", "default_value", "search_numbers", "search_in_word_index", "show_options_sr", "selected_sr", "submit_button_title", "submit_button_icon", "portal_class", "drawer_class", "input_ref", "className", "class", "disabled", "stretch", "skeleton", "triangle_position", "icon_position", "skip_portal", "mode", "data", "children", "direction", "id", "opened", "value", "input_value", "indicator_label", "no_options", "show_all", "aria_live_options", "disable_highlighting", "ariaLiveDelay"];
49
+ _excluded2 = ["title", "placeholder", "label", "label_direction", "label_sr_only", "icon", "icon_size", "input_icon", "size", "align_autocomplete", "fixed_position", "status", "status_state", "status_props", "status_no_animation", "globalStatus", "suffix", "scrollable", "focusable", "keep_open", "keep_value", "keep_value_and_selection", "show_clear_button", "prevent_close", "no_animation", "no_scroll_animation", "show_submit_button", "submit_element", "input_element", "options_render", "prevent_selection", "max_height", "default_value", "search_numbers", "search_in_word_index", "show_options_sr", "selected_sr", "submit_button_title", "submit_button_icon", "portal_class", "drawer_class", "input_ref", "className", "class", "disabled", "stretch", "skeleton", "triangle_position", "icon_position", "skip_portal", "mode", "data", "children", "direction", "id", "opened", "value", "input_value", "indicator_label", "no_options", "show_all", "aria_live_options", "disable_highlighting", "ariaLiveDelay"];
50
50
 
51
51
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
52
52
 
@@ -119,7 +119,7 @@ _defineProperty(Autocomplete, "defaultProps", {
119
119
  status_state: 'error',
120
120
  status_props: null,
121
121
  status_no_animation: null,
122
- global_status_id: null,
122
+ globalStatus: null,
123
123
  suffix: null,
124
124
  disable_filter: false,
125
125
  disable_reorder: false,
@@ -199,7 +199,10 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes = _objectSpread(_
199
199
  status_state: _propTypes.default.string,
200
200
  status_props: _propTypes.default.object,
201
201
  status_no_animation: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
202
- global_status_id: _propTypes.default.string,
202
+ globalStatus: _propTypes.default.shape({
203
+ id: _propTypes.default.string,
204
+ message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
205
+ }),
203
206
  suffix: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func, _propTypes.default.node]),
204
207
  disable_filter: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
205
208
  disable_reorder: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
@@ -1468,7 +1471,7 @@ class AutocompleteInstance extends _react.default.PureComponent {
1468
1471
  status_state,
1469
1472
  status_props,
1470
1473
  status_no_animation,
1471
- global_status_id,
1474
+ globalStatus,
1472
1475
  suffix,
1473
1476
  scrollable,
1474
1477
  focusable,
@@ -1638,7 +1641,7 @@ class AutocompleteInstance extends _react.default.PureComponent {
1638
1641
  }, _AlignmentHelper || (_AlignmentHelper = _react.default.createElement(_AlignmentHelper2.default, null)), _react.default.createElement(_FormStatus.default, _extends({
1639
1642
  show: showStatus,
1640
1643
  id: id + '-form-status',
1641
- global_status_id: global_status_id,
1644
+ globalStatus: globalStatus,
1642
1645
  label: label,
1643
1646
  text_id: id + '-status',
1644
1647
  text: status,
@@ -7,6 +7,7 @@ import type {
7
7
  FormStatusState,
8
8
  FormStatusText
9
9
  } from '../FormStatus';
10
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
10
11
  export type ButtonText = string | React.ReactNode;
11
12
  export type ButtonVariant =
12
13
  | 'primary'
@@ -100,9 +101,9 @@ export type ButtonProps = {
100
101
  status_no_animation?: boolean;
101
102
 
102
103
  /**
103
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
104
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
104
105
  */
105
- global_status_id?: string;
106
+ globalStatus?: GlobalStatusConfigObject;
106
107
  id?: string;
107
108
 
108
109
  /**
@@ -33,7 +33,7 @@ var _Tooltip = _interopRequireDefault(require("../tooltip/Tooltip"));
33
33
 
34
34
  var _span, _span2, _span3;
35
35
 
36
- const _excluded = ["class", "className", "variant", "size", "title", "custom_content", "tooltip", "status", "status_state", "status_props", "status_no_animation", "global_status_id", "id", "disabled", "text", "icon", "icon_position", "icon_size", "wrap", "bounding", "stretch", "skeleton", "element", "inner_ref", "innerRef"];
36
+ const _excluded = ["class", "className", "variant", "size", "title", "custom_content", "tooltip", "status", "status_state", "status_props", "status_no_animation", "globalStatus", "id", "disabled", "text", "icon", "icon_position", "icon_size", "wrap", "bounding", "stretch", "skeleton", "element", "inner_ref", "innerRef"];
37
37
 
38
38
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
39
39
 
@@ -110,7 +110,7 @@ class Button extends _react.default.PureComponent {
110
110
  status_state,
111
111
  status_props,
112
112
  status_no_animation,
113
- global_status_id,
113
+ globalStatus,
114
114
  id,
115
115
  disabled,
116
116
  text: _text,
@@ -211,7 +211,7 @@ class Button extends _react.default.PureComponent {
211
211
  }))), this.state.afterContent, _react.default.createElement(_FormStatus.default, _extends({
212
212
  show: showStatus,
213
213
  id: this._id + '-form-status',
214
- global_status_id: global_status_id,
214
+ globalStatus: globalStatus,
215
215
  label: text,
216
216
  text: status,
217
217
  state: status_state,
@@ -245,7 +245,10 @@ process.env.NODE_ENV !== "production" ? Button.propTypes = _objectSpread(_object
245
245
  status_state: _propTypes.default.string,
246
246
  status_props: _propTypes.default.object,
247
247
  status_no_animation: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.bool]),
248
- global_status_id: _propTypes.default.string,
248
+ globalStatus: _propTypes.default.shape({
249
+ id: _propTypes.default.string,
250
+ message: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node])
251
+ }),
249
252
  id: _propTypes.default.string,
250
253
  class: _propTypes.default.string,
251
254
  href: _propTypes.default.string,
@@ -292,7 +295,7 @@ Button.defaultProps = {
292
295
  status_state: 'error',
293
296
  status_props: null,
294
297
  status_no_animation: null,
295
- global_status_id: null,
298
+ globalStatus: null,
296
299
  inner_ref: null,
297
300
  className: null,
298
301
  innerRef: null,
@@ -5,6 +5,9 @@
5
5
  * Button mixins
6
6
  *
7
7
  */
8
+ .dnb-button--tertiary {
9
+ --button-tertiary-focus-overflow: -1rem;
10
+ }
8
11
  .dnb-button--tertiary .dnb-button__text {
9
12
  position: relative;
10
13
  }
@@ -83,17 +86,23 @@ html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-bu
83
86
  html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text::after, html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text::after {
84
87
  visibility: hidden;
85
88
  }
86
- .dnb-button--tertiary .dnb-button__icon {
89
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon {
87
90
  align-self: flex-start;
88
91
  margin-top: calc(var(--button-height) / 2 - 0.5rem);
89
92
  }
90
- .dnb-button--tertiary.dnb-button--size-large .dnb-button__icon {
93
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--medium {
94
+ margin-top: calc(var(--button-height) / 2 - 0.75rem);
95
+ }
96
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--large {
97
+ margin-top: calc(var(--button-height) / 2 - 1rem);
98
+ }
99
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-large .dnb-button__icon {
91
100
  margin-top: calc(var(--button-height--large) / 2 - 0.5rem);
92
101
  }
93
- .dnb-button--tertiary.dnb-button--size-medium .dnb-button__icon {
102
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-medium .dnb-button__icon {
94
103
  margin-top: calc(var(--button-height--medium) / 2 - 0.5rem);
95
104
  }
96
- .dnb-button--tertiary.dnb-button--size-small .dnb-button__icon {
105
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-small .dnb-button__icon {
97
106
  margin-top: calc(var(--button-height--small) / 2 - 0.5rem);
98
107
  }
99
108
  .dnb-button--tertiary.dnb-button--icon-position-top {
@@ -104,7 +113,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
104
113
  .dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text {
105
114
  padding: 0;
106
115
  }
107
- .dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__icon {
116
+ .dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text .dnb-button__icon {
108
117
  margin-top: 0.5rem;
109
118
  align-self: center;
110
119
  }
@@ -146,7 +155,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
146
155
  cursor: not-allowed;
147
156
  }
148
157
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled])::before, html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled])::before {
149
- right: -1rem;
158
+ right: var(--button-tertiary-focus-overflow);
150
159
  }
151
160
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right {
152
161
  /* stylelint-disable */
@@ -173,7 +182,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
173
182
  cursor: not-allowed;
174
183
  }
175
184
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled])::before, html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled])::before {
176
- left: -1rem;
185
+ left: var(--button-tertiary-focus-overflow);
177
186
  }
178
187
  .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled] {
179
188
  cursor: not-allowed;
@@ -1 +1 @@
1
- .dnb-button--tertiary .dnb-button__text{position:relative}.dnb-button--tertiary .dnb-button__text:after{background-color:currentcolor;border-radius:.0475rem;bottom:0;bottom:-.0625rem;color:var(--color-sea-green);color:transparent;content:"";height:.095rem;left:0;position:absolute;right:0;transition:color .25s ease-in-out;width:auto;z-index:1}[data-visual-test-wrapper] .dnb-button--tertiary .dnb-button__text:after{transition:none}.dnb-skeleton .dnb-button--tertiary .dnb-button__text:after{content:none}.dnb-button--tertiary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){box-shadow:none}.dnb-button--tertiary:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):before{border-radius:inherit;bottom:0;content:"";height:inherit;left:-.5rem;outline:none;position:absolute;right:-.5rem;top:0;z-index:1}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]):before,html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):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-button--tertiary:focus:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]) .dnb-button__text:after{visibility:hidden}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{visibility:visible}.dnb-button--tertiary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled]{cursor:not-allowed}.dnb-button--tertiary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:active:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){box-shadow:none}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{opacity:1;transition:none;visibility:visible}html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{visibility:hidden}.dnb-button--tertiary .dnb-button__icon{align-self:flex-start;margin-top:calc(var(--button-height)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-large .dnb-button__icon{margin-top:calc(var(--button-height--large)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-medium .dnb-button__icon{margin-top:calc(var(--button-height--medium)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-small .dnb-button__icon{margin-top:calc(var(--button-height--small)/2 - .5rem)}.dnb-button--tertiary.dnb-button--icon-position-top{border-radius:.5rem;flex-direction:column;vertical-align:middle}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text{padding:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__icon{align-self:center;margin-top:.5rem}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{font-size:var(--font-size-x-small);margin-bottom:.25rem;margin-top:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text:after{left:0;right:0}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--size-large .dnb-button__text{font-size:var(--font-size-small)}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__alignment{height:0;order:3}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text{padding-left:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text:after{left:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__icon{margin-left:0;margin-right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text{margin-left:1rem;padding-left:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text:after{left:-.5rem;right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before{right:-1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text{padding-right:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text:after{right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__icon{margin-left:-.5rem;margin-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text{margin-right:1rem;padding-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text:after{right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before{left:-1rem}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before{left:0;right:0}html[data-whatinput=keyboard] .dnb-button--tertiary:hover:focus .dnb-button__text:after{visibility:hidden}
1
+ .dnb-button--tertiary{--button-tertiary-focus-overflow:-1rem}.dnb-button--tertiary .dnb-button__text{position:relative}.dnb-button--tertiary .dnb-button__text:after{background-color:currentcolor;border-radius:.0475rem;bottom:0;bottom:-.0625rem;color:var(--color-sea-green);color:transparent;content:"";height:.095rem;left:0;position:absolute;right:0;transition:color .25s ease-in-out;width:auto;z-index:1}[data-visual-test-wrapper] .dnb-button--tertiary .dnb-button__text:after{transition:none}.dnb-skeleton .dnb-button--tertiary .dnb-button__text:after{content:none}.dnb-button--tertiary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){box-shadow:none}.dnb-button--tertiary:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):before{border-radius:inherit;bottom:0;content:"";height:inherit;left:-.5rem;outline:none;position:absolute;right:-.5rem;top:0;z-index:1}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]):before,html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):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-button--tertiary:focus:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]) .dnb-button__text:after{visibility:hidden}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{visibility:visible}.dnb-button--tertiary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled]{cursor:not-allowed}.dnb-button--tertiary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:active:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){box-shadow:none}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{opacity:1;transition:none;visibility:visible}html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{visibility:hidden}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon{align-self:flex-start;margin-top:calc(var(--button-height)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--medium{margin-top:calc(var(--button-height)/2 - .75rem)}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--large{margin-top:calc(var(--button-height)/2 - 1rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-large .dnb-button__icon{margin-top:calc(var(--button-height--large)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-medium .dnb-button__icon{margin-top:calc(var(--button-height--medium)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-small .dnb-button__icon{margin-top:calc(var(--button-height--small)/2 - .5rem)}.dnb-button--tertiary.dnb-button--icon-position-top{border-radius:.5rem;flex-direction:column;vertical-align:middle}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text{padding:0}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text .dnb-button__icon{align-self:center;margin-top:.5rem}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{font-size:var(--font-size-x-small);margin-bottom:.25rem;margin-top:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text:after{left:0;right:0}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--size-large .dnb-button__text{font-size:var(--font-size-small)}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__alignment{height:0;order:3}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text{padding-left:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text:after{left:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__icon{margin-left:0;margin-right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text{margin-left:1rem;padding-left:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text:after{left:-.5rem;right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before{right:var(--button-tertiary-focus-overflow)}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text{padding-right:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text:after{right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__icon{margin-left:-.5rem;margin-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text{margin-right:1rem;padding-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text:after{right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before{left:var(--button-tertiary-focus-overflow)}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before{left:0;right:0}html[data-whatinput=keyboard] .dnb-button--tertiary:hover:focus .dnb-button__text:after{visibility:hidden}
@@ -3,6 +3,7 @@
3
3
 
4
4
  .dnb-button {
5
5
  &--tertiary {
6
+ --button-tertiary-focus-overflow: -1rem;
6
7
  // create underline (::after)
7
8
  .dnb-button__text {
8
9
  position: relative; // because of the underline
@@ -50,18 +51,27 @@
50
51
  }
51
52
  }
52
53
 
53
- .dnb-button__icon {
54
- align-self: flex-start; // needed to vertically center icon
55
- margin-top: calc(var(--button-height) / 2 - 0.5rem);
56
- }
57
- &.dnb-button--size-large .dnb-button__icon {
58
- margin-top: calc(var(--button-height--large) / 2 - 0.5rem);
59
- }
60
- &.dnb-button--size-medium .dnb-button__icon {
61
- margin-top: calc(var(--button-height--medium) / 2 - 0.5rem);
62
- }
63
- &.dnb-button--size-small .dnb-button__icon {
64
- margin-top: calc(var(--button-height--small) / 2 - 0.5rem);
54
+ &.dnb-button--has-text {
55
+ .dnb-button__icon {
56
+ align-self: flex-start; // needed to vertically center icon
57
+
58
+ margin-top: calc(var(--button-height) / 2 - 0.5rem);
59
+ &.dnb-icon--medium {
60
+ margin-top: calc(var(--button-height) / 2 - 0.75rem);
61
+ }
62
+ &.dnb-icon--large {
63
+ margin-top: calc(var(--button-height) / 2 - 1rem);
64
+ }
65
+ }
66
+ &.dnb-button--size-large .dnb-button__icon {
67
+ margin-top: calc(var(--button-height--large) / 2 - 0.5rem);
68
+ }
69
+ &.dnb-button--size-medium .dnb-button__icon {
70
+ margin-top: calc(var(--button-height--medium) / 2 - 0.5rem);
71
+ }
72
+ &.dnb-button--size-small .dnb-button__icon {
73
+ margin-top: calc(var(--button-height--small) / 2 - 0.5rem);
74
+ }
65
75
  }
66
76
 
67
77
  &.dnb-button--icon-position-top {
@@ -71,11 +81,11 @@
71
81
 
72
82
  &.dnb-button--has-text {
73
83
  padding: 0;
74
- }
75
84
 
76
- .dnb-button__icon {
77
- margin-top: 0.5rem;
78
- align-self: center;
85
+ .dnb-button__icon {
86
+ margin-top: 0.5rem;
87
+ align-self: center;
88
+ }
79
89
  }
80
90
 
81
91
  .dnb-button__text {
@@ -132,7 +142,7 @@
132
142
 
133
143
  @include focus() {
134
144
  &::before {
135
- right: -1rem;
145
+ right: var(--button-tertiary-focus-overflow);
136
146
  }
137
147
  }
138
148
  }
@@ -166,7 +176,7 @@
166
176
 
167
177
  @include focus() {
168
178
  &::before {
169
- left: -1rem;
179
+ left: var(--button-tertiary-focus-overflow);
170
180
  }
171
181
  }
172
182
  }
@@ -170,9 +170,7 @@
170
170
  .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__icon, .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__icon {
171
171
  order: 1;
172
172
  }
173
- .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left > *,
174
- .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text, .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top > *,
175
- .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text {
173
+ .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text, .dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text {
176
174
  order: 2;
177
175
  }
178
176
  .dnb-button--stretch {
@@ -1 +1 @@
1
- :root{--button-icon-size:1rem;--button-height:2.5rem;--button-border-radius:calc(var(--button-height)/2)}.dnb-button{--button-font-size:var(--font-size-basis);--button-font-size-small:var(--font-size-small);--button-width:2.5rem;--button-width--small:1.5rem;--button-height--small:1.5rem;--button-width--medium:2rem;--button-height--medium:2rem;--button-width--large:3rem;--button-height--large:3rem;--button-border-width:0.0625rem;--button-border-width--hover:0.1875rem;--button-border-radius--small:calc(var(--button-height--small)/2);--button-border-radius--medium:calc(var(--button-height--medium)/2);--button-border-radius--large:calc(var(--button-height--large)/2);align-items:center;border:none;border-radius:var(--button-border-radius);box-shadow:none;cursor:pointer;display:inline-flex;font-size:var(--font-size-small);height:auto;justify-content:center;padding:0;position:relative;text-align:left;text-decoration:none;user-select:none;-webkit-user-select:none;white-space:nowrap;width:var(--button-width)}.dnb-button--wrap{overflow-wrap:break-word;white-space:normal}.dnb-button,.dnb-core-style .dnb-button{line-height:var(--button-height)}.dnb-button__text{color:inherit;font-size:var(--button-font-size);line-height:var(--line-height-basis);margin:.5rem 0;transform:translateY(-.03125rem)}.dnb-button__text [data-os=linux]{transform:translateY(-.035rem)}.dnb-button__alignment{display:inline-block;width:0}.dnb-button__bounding{background-color:transparent;border-radius:var(--button-border-radius);bottom:0;left:0;position:absolute;right:0;top:0;transform:scale(1.1,1.4)}.dnb-button--has-text{padding-left:1.5rem;padding-right:1.5rem}.dnb-button--size-small{border-radius:var(--button-border-radius--small);font-size:var(--button-font-size-small);width:var(--button-width--small)}.dnb-button--size-small,.dnb-core-style .dnb-button--size-small{line-height:var(--button-height--small)}.dnb-button--size-small .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-small{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-small{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-small{padding-right:.5rem}.dnb-button--size-medium{border-radius:var(--button-border-radius--medium);width:var(--button-width--medium)}.dnb-button--size-medium,.dnb-core-style .dnb-button--size-medium{line-height:var(--button-height--medium)}.dnb-button--size-medium .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-medium{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-medium{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-medium{padding-right:.5rem}.dnb-button--size-large{border-radius:var(--button-border-radius--large);width:var(--button-width--large)}.dnb-button--size-large,.dnb-core-style .dnb-button--size-large{line-height:var(--button-height--large)}.dnb-button--has-text.dnb-button--size-large{padding-left:2rem;padding-right:2rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-large{padding-left:1rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-large{padding-right:1rem}.dnb-button--has-text{width:auto}.dnb-button--has-text .dnb-button__icon{margin:0 calc(var(--button-icon-size)/2)}.dnb-button--has-text.dnb-button--icon-position-left{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right{padding-right:.5rem}.dnb-button--has-text.dnb-button--has-icon .dnb-button__icon{order:2}.dnb-button--has-text.dnb-button--has-icon .dnb-button__text{order:1}.dnb-button:not(.dnb-button--has-text) .dnb-button__icon{width:inherit}.dnb-button__icon.dnb-icon svg:not([width]):not([height]){height:var(--button-icon-size);width:var(--button-icon-size)}[href]>.dnb-button__icon.dnb-icon{line-height:var(--button-font-size)}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__icon,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__icon{order:1}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left>*,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top>*{order:2}.dnb-button--stretch{width:100%}.dnb-button--reset{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;box-shadow:none;color:inherit;font:inherit;height:auto;line-height:inherit;margin:0;overflow:visible;padding:0;text-align:inherit;width:auto}html:not([data-whatintent=touch]) .dnb-button--reset:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--reset:hover:not([disabled]){border:none;box-shadow:none}.dnb-button--reset:not([disabled]):active,.dnb-button--reset:not([disabled]):focus{outline:none}html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):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)}html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):active,html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):focus{border:none;box-shadow:none;color:inherit}.dnb-button[type=button],.dnb-button[type=reset],.dnb-button[type=submit]{appearance:none;-moz-appearance:none;-webkit-appearance:none}.dnb-button[disabled]{cursor:not-allowed;outline:none}.dnb-form-row--vertical .dnb-form-row__content>.dnb-button{align-self:flex-start}.dnb-form-row--horizontal .dnb-form-row__content .dnb-button__text{white-space:nowrap}.dnb-button+.dnb-form-status{margin-top:.5rem}button.dnb-button::-moz-focus-inner{border:none}
1
+ :root{--button-icon-size:1rem;--button-height:2.5rem;--button-border-radius:calc(var(--button-height)/2)}.dnb-button{--button-font-size:var(--font-size-basis);--button-font-size-small:var(--font-size-small);--button-width:2.5rem;--button-width--small:1.5rem;--button-height--small:1.5rem;--button-width--medium:2rem;--button-height--medium:2rem;--button-width--large:3rem;--button-height--large:3rem;--button-border-width:0.0625rem;--button-border-width--hover:0.1875rem;--button-border-radius--small:calc(var(--button-height--small)/2);--button-border-radius--medium:calc(var(--button-height--medium)/2);--button-border-radius--large:calc(var(--button-height--large)/2);align-items:center;border:none;border-radius:var(--button-border-radius);box-shadow:none;cursor:pointer;display:inline-flex;font-size:var(--font-size-small);height:auto;justify-content:center;padding:0;position:relative;text-align:left;text-decoration:none;user-select:none;-webkit-user-select:none;white-space:nowrap;width:var(--button-width)}.dnb-button--wrap{overflow-wrap:break-word;white-space:normal}.dnb-button,.dnb-core-style .dnb-button{line-height:var(--button-height)}.dnb-button__text{color:inherit;font-size:var(--button-font-size);line-height:var(--line-height-basis);margin:.5rem 0;transform:translateY(-.03125rem)}.dnb-button__text [data-os=linux]{transform:translateY(-.035rem)}.dnb-button__alignment{display:inline-block;width:0}.dnb-button__bounding{background-color:transparent;border-radius:var(--button-border-radius);bottom:0;left:0;position:absolute;right:0;top:0;transform:scale(1.1,1.4)}.dnb-button--has-text{padding-left:1.5rem;padding-right:1.5rem}.dnb-button--size-small{border-radius:var(--button-border-radius--small);font-size:var(--button-font-size-small);width:var(--button-width--small)}.dnb-button--size-small,.dnb-core-style .dnb-button--size-small{line-height:var(--button-height--small)}.dnb-button--size-small .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-small{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-small{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-small{padding-right:.5rem}.dnb-button--size-medium{border-radius:var(--button-border-radius--medium);width:var(--button-width--medium)}.dnb-button--size-medium,.dnb-core-style .dnb-button--size-medium{line-height:var(--button-height--medium)}.dnb-button--size-medium .dnb-button__text{margin:0}.dnb-button--has-text.dnb-button--size-medium{padding-left:1rem;padding-right:1rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-medium{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-medium{padding-right:.5rem}.dnb-button--size-large{border-radius:var(--button-border-radius--large);width:var(--button-width--large)}.dnb-button--size-large,.dnb-core-style .dnb-button--size-large{line-height:var(--button-height--large)}.dnb-button--has-text.dnb-button--size-large{padding-left:2rem;padding-right:2rem}.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--size-large{padding-left:1rem}.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--size-large{padding-right:1rem}.dnb-button--has-text{width:auto}.dnb-button--has-text .dnb-button__icon{margin:0 calc(var(--button-icon-size)/2)}.dnb-button--has-text.dnb-button--icon-position-left{padding-left:.5rem}.dnb-button--has-text.dnb-button--icon-position-right{padding-right:.5rem}.dnb-button--has-text.dnb-button--has-icon .dnb-button__icon{order:2}.dnb-button--has-text.dnb-button--has-icon .dnb-button__text{order:1}.dnb-button:not(.dnb-button--has-text) .dnb-button__icon{width:inherit}.dnb-button__icon.dnb-icon svg:not([width]):not([height]){height:var(--button-icon-size);width:var(--button-icon-size)}[href]>.dnb-button__icon.dnb-icon{line-height:var(--button-font-size)}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__icon,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__icon{order:1}.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-left .dnb-button__text,.dnb-button--has-text.dnb-button--has-icon.dnb-button--icon-position-top .dnb-button__text{order:2}.dnb-button--stretch{width:100%}.dnb-button--reset{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:0;box-shadow:none;color:inherit;font:inherit;height:auto;line-height:inherit;margin:0;overflow:visible;padding:0;text-align:inherit;width:auto}html:not([data-whatintent=touch]) .dnb-button--reset:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--reset:hover:not([disabled]){border:none;box-shadow:none}.dnb-button--reset:not([disabled]):active,.dnb-button--reset:not([disabled]):focus{outline:none}html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):active,html[data-whatinput=keyboard] .dnb-button--reset:not([disabled]):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)}html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):active,html[data-whatinput=mouse] .dnb-button--reset:not([disabled]):focus{border:none;box-shadow:none;color:inherit}.dnb-button[type=button],.dnb-button[type=reset],.dnb-button[type=submit]{appearance:none;-moz-appearance:none;-webkit-appearance:none}.dnb-button[disabled]{cursor:not-allowed;outline:none}.dnb-form-row--vertical .dnb-form-row__content>.dnb-button{align-self:flex-start}.dnb-form-row--horizontal .dnb-form-row__content .dnb-button__text{white-space:nowrap}.dnb-button+.dnb-form-status{margin-top:.5rem}button.dnb-button::-moz-focus-inner{border:none}
@@ -221,7 +221,6 @@
221
221
  .dnb-button__icon {
222
222
  order: 1;
223
223
  }
224
- & > *,
225
224
  .dnb-button__text {
226
225
  order: 2;
227
226
  }
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  // Used in tertiary button variant
68
- @mixin buttonFocusRing($whatinput: null) {
68
+ @mixin buttonFocusRing($whatinput: null, $overflow: -0.5rem, $inset: null) {
69
69
  // Create focus-ring
70
70
  &::before {
71
71
  content: '';
@@ -73,14 +73,14 @@
73
73
  z-index: 1; // to be visible in other absolute contexts
74
74
 
75
75
  top: 0;
76
- left: -0.5rem;
76
+ left: $overflow;
77
77
  bottom: 0;
78
- right: -0.5rem;
78
+ right: $overflow;
79
79
 
80
80
  height: inherit;
81
81
  border-radius: inherit;
82
82
 
83
- @include focusRing($whatinput);
83
+ @include focusRing($whatinput, null, $inset);
84
84
  }
85
85
  }
86
86
 
@@ -20,6 +20,9 @@
20
20
  * Button mixins
21
21
  *
22
22
  */
23
+ .dnb-button--tertiary {
24
+ --button-tertiary-focus-overflow: -1rem;
25
+ }
23
26
  .dnb-button--tertiary .dnb-button__text {
24
27
  position: relative;
25
28
  }
@@ -98,17 +101,23 @@ html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-bu
98
101
  html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text::after, html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text::after {
99
102
  visibility: hidden;
100
103
  }
101
- .dnb-button--tertiary .dnb-button__icon {
104
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon {
102
105
  align-self: flex-start;
103
106
  margin-top: calc(var(--button-height) / 2 - 0.5rem);
104
107
  }
105
- .dnb-button--tertiary.dnb-button--size-large .dnb-button__icon {
108
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--medium {
109
+ margin-top: calc(var(--button-height) / 2 - 0.75rem);
110
+ }
111
+ .dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--large {
112
+ margin-top: calc(var(--button-height) / 2 - 1rem);
113
+ }
114
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-large .dnb-button__icon {
106
115
  margin-top: calc(var(--button-height--large) / 2 - 0.5rem);
107
116
  }
108
- .dnb-button--tertiary.dnb-button--size-medium .dnb-button__icon {
117
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-medium .dnb-button__icon {
109
118
  margin-top: calc(var(--button-height--medium) / 2 - 0.5rem);
110
119
  }
111
- .dnb-button--tertiary.dnb-button--size-small .dnb-button__icon {
120
+ .dnb-button--tertiary.dnb-button--has-text.dnb-button--size-small .dnb-button__icon {
112
121
  margin-top: calc(var(--button-height--small) / 2 - 0.5rem);
113
122
  }
114
123
  .dnb-button--tertiary.dnb-button--icon-position-top {
@@ -119,7 +128,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
119
128
  .dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text {
120
129
  padding: 0;
121
130
  }
122
- .dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__icon {
131
+ .dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text .dnb-button__icon {
123
132
  margin-top: 0.5rem;
124
133
  align-self: center;
125
134
  }
@@ -161,7 +170,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
161
170
  cursor: not-allowed;
162
171
  }
163
172
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled])::before, html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled])::before {
164
- right: -1rem;
173
+ right: var(--button-tertiary-focus-overflow);
165
174
  }
166
175
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right {
167
176
  /* stylelint-disable */
@@ -188,7 +197,7 @@ html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .
188
197
  cursor: not-allowed;
189
198
  }
190
199
  .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled])::before, html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled])::before {
191
- left: -1rem;
200
+ left: var(--button-tertiary-focus-overflow);
192
201
  }
193
202
  .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled], html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled] {
194
203
  cursor: not-allowed;
@@ -1 +1 @@
1
- .dnb-button--tertiary .dnb-button__text{position:relative}.dnb-button--tertiary .dnb-button__text:after{background-color:currentcolor;border-radius:.0475rem;bottom:0;bottom:-.0625rem;color:var(--color-sea-green);color:transparent;content:"";height:.095rem;left:0;position:absolute;right:0;transition:color .25s ease-in-out;width:auto;z-index:1}[data-visual-test-wrapper] .dnb-button--tertiary .dnb-button__text:after{transition:none}.dnb-skeleton .dnb-button--tertiary .dnb-button__text:after{content:none}.dnb-button--tertiary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){box-shadow:none}.dnb-button--tertiary:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):before{border-radius:inherit;bottom:0;content:"";height:inherit;left:-.5rem;outline:none;position:absolute;right:-.5rem;top:0;z-index:1}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]):before,html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):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-button--tertiary:focus:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]) .dnb-button__text:after{visibility:hidden}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{visibility:visible}.dnb-button--tertiary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:active:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){box-shadow:none}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{opacity:1;transition:none;visibility:visible}html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{visibility:hidden}.dnb-button--tertiary .dnb-button__icon{align-self:flex-start;margin-top:calc(var(--button-height)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-large .dnb-button__icon{margin-top:calc(var(--button-height--large)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-medium .dnb-button__icon{margin-top:calc(var(--button-height--medium)/2 - .5rem)}.dnb-button--tertiary.dnb-button--size-small .dnb-button__icon{margin-top:calc(var(--button-height--small)/2 - .5rem)}.dnb-button--tertiary.dnb-button--icon-position-top{border-radius:.5rem;flex-direction:column;vertical-align:middle}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text{padding:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__icon{align-self:center;margin-top:.5rem}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{margin-bottom:.25rem;margin-top:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text:after{left:0;right:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__alignment{height:0;order:3}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text{padding-left:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text:after{left:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__icon{margin-left:0;margin-right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text{margin-left:1rem;padding-left:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text:after{left:-.5rem;right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before{right:-1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text{padding-right:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text:after{right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__icon{margin-left:-.5rem;margin-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text{margin-right:1rem;padding-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text:after{right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before{left:-1rem}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before{left:0;right:0}html[data-whatinput=keyboard] .dnb-button--tertiary:hover:focus .dnb-button__text:after{visibility:hidden}.dnb-button--primary{background-color:var(--color-sea-green);color:var(--color-white)}html:not([data-whatintent=touch]) .dnb-button--primary:hover:not([disabled]){--border-color:var(--color-emerald-green);background-color:var(--color-white);color:var(--color-sea-green)}.dnb-button--primary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--primary:focus[disabled]{cursor:not-allowed}.dnb-button--primary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--primary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--primary:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--primary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:active:not([disabled]){background-color:var(--color-mint-green-50);color:var(--color-sea-green)}.dnb-button--primary[disabled]{background-color:var(--color-sea-green-30);color:var(--color-white)}.dnb-button:not([disabled]).dnb-button--primary.dnb-button__status--error{background-color:var(--color-fire-red);color:var(--color-white)}.dnb-button--secondary{--border-color:var(--color-sea-green);background-color:var(--color-white);box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--secondary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--secondary:hover:not([disabled]){--border-color:var(--color-emerald-green);--border-width:0.125rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--secondary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:focus[disabled]{cursor:not-allowed}.dnb-button--secondary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--secondary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--secondary:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--secondary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:active:not([disabled]){background-color:var(--color-mint-green-50);color:var(--color-sea-green)}.dnb-button--secondary[disabled],.dnb-button--secondary[disabled]:focus{--border-color:var(--color-sea-green-30);--border-width:0.0625rem;background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green-30)}.dnb-button:not([disabled]).dnb-button--secondary.dnb-button__status--error{--border-color:var(--color-fire-red);--border-width:0.0625rem;border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-fire-red)}.dnb-button:not([disabled]).dnb-button--secondary.dnb-button__status--error .dnb-button__icon{color:inherit}html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):hover:not([disabled]){--border-color:var(--color-emerald-green);--border-width:0.125rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]){background-color:var(--color-mint-green-50)}.dnb-button--secondary:not(.dnb-button--has-text):not(.dnb-button--input-button).dnb-button--size-large{line-height:calc(var(--button-height--large) - .5rem);width:calc(var(--button-width--large) - .5rem)}.dnb-button--active{--border-color:var(--color-emerald-green);--border-width:0.125rem;border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-button--tertiary{background-color:transparent;color:var(--color-sea-green)}.dnb-button--tertiary.dnb-button--has-text{padding-left:0;padding-right:0}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{color:var(--color-emerald-green)}.dnb-button--tertiary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled]{cursor:not-allowed}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{color:var(--color-emerald-green)}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{font-size:var(--font-size-x-small)}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--size-large .dnb-button__text{font-size:var(--font-size-small)}.dnb-button--tertiary[disabled]{color:var(--color-sea-green-30)}.dnb-button--signal{background-color:var(--color-accent-yellow);color:var(--color-ocean-green)}html:not([data-whatintent=touch]) .dnb-button--signal:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--signal:hover:not([disabled]){--border-color:var(--color-ocean-green);--border-width:0.125rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}html:not([data-whatintent=touch]) html[data-whatintent=touch] .dnb-button--signal:active[disabled],html[data-whatintent=touch] .dnb-button--signal:active[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) html[data-whatintent=touch] .dnb-button--signal:active:not([disabled]),html[data-whatintent=touch] .dnb-button--signal:active:not([disabled]){--border-color:var(--color-ocean-green);--border-width:0.125rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--signal:focus[disabled]{cursor:not-allowed}.dnb-button--signal:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--signal:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--signal:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--signal:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal:active[disabled],html:not([data-whatintent=touch]) .dnb-button--signal:active[disabled]{cursor:not-allowed}.dnb-button--signal:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--signal:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal[disabled]{background-color:var(--color-accent-yellow-30);color:var(--color-black-20)}.dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]){background-color:transparent;box-shadow:none}.dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):after{background-color:currentcolor;bottom:0;content:"";left:0;position:absolute;top:0;width:.0625rem}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover{box-shadow:none;color:var(--color-white)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus:after,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover:after{background-color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):not(:active):hover{border-radius:0}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active{box-shadow:none;color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active:after{background-color:var(--color-mint-green-50)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text)[disabled]{background-color:var(--color-black-3);color:var(--color-black-55)}.dnb-button--primary{background-color:var(--color-emerald-green)}html:not([data-whatintent=touch]) .dnb-button--primary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--primary:hover:not([disabled]){--border-color:var(--color-sea-green);--border-width:0.125rem;background-color:var(--color-sea-green);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-white)}.dnb-button--primary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--primary:active[disabled]{cursor:not-allowed}.dnb-button--primary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-sea-green);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-white)}.dnb-button--primary[disabled]{--border-color:var(--color-black-55);--border-width:0.0625rem;background-color:var(--color-black-8);color:var(--color-black-55)}.dnb-button--primary[disabled],.dnb-button--secondary{border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-button--secondary{--border-color:var(--color-emerald-green);--border-width:0.0625rem;color:var(--color-emerald-green)}.dnb-button--secondary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:active[disabled]{cursor:not-allowed}.dnb-button--secondary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-pistachio);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary[disabled]{--border-color:var(--color-black-55);--border-width:0.0625rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-black-55)}.dnb-button--secondary:not(.dnb-button--has-text):active[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active[disabled]{cursor:not-allowed}.dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-pistachio);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--tertiary{color:var(--color-emerald-green)}.dnb-button--tertiary[disabled]{color:var(--color-black-55)}
1
+ .dnb-button--tertiary{--button-tertiary-focus-overflow:-1rem}.dnb-button--tertiary .dnb-button__text{position:relative}.dnb-button--tertiary .dnb-button__text:after{background-color:currentcolor;border-radius:.0475rem;bottom:0;bottom:-.0625rem;color:var(--color-sea-green);color:transparent;content:"";height:.095rem;left:0;position:absolute;right:0;transition:color .25s ease-in-out;width:auto;z-index:1}[data-visual-test-wrapper] .dnb-button--tertiary .dnb-button__text:after{transition:none}.dnb-skeleton .dnb-button--tertiary .dnb-button__text:after{content:none}.dnb-button--tertiary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]){box-shadow:none}.dnb-button--tertiary:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):before{border-radius:inherit;bottom:0;content:"";height:inherit;left:-.5rem;outline:none;position:absolute;right:-.5rem;top:0;z-index:1}html[data-whatinput=keyboard] .dnb-button--tertiary:focus:not([disabled]):before,html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]):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-button--tertiary:focus:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) .dnb-button--tertiary:focus:not([disabled]) .dnb-button__text:after{visibility:hidden}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{visibility:visible}.dnb-button--tertiary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){outline:initial}html[data-whatinput=keyboard] .dnb-button--tertiary:active:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]){box-shadow:none}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{opacity:1;transition:none;visibility:visible}html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html:not([data-whatintent=touch]) html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{visibility:hidden}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon{align-self:flex-start;margin-top:calc(var(--button-height)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--medium{margin-top:calc(var(--button-height)/2 - .75rem)}.dnb-button--tertiary.dnb-button--has-text .dnb-button__icon.dnb-icon--large{margin-top:calc(var(--button-height)/2 - 1rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-large .dnb-button__icon{margin-top:calc(var(--button-height--large)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-medium .dnb-button__icon{margin-top:calc(var(--button-height--medium)/2 - .5rem)}.dnb-button--tertiary.dnb-button--has-text.dnb-button--size-small .dnb-button__icon{margin-top:calc(var(--button-height--small)/2 - .5rem)}.dnb-button--tertiary.dnb-button--icon-position-top{border-radius:.5rem;flex-direction:column;vertical-align:middle}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text{padding:0}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--has-text .dnb-button__icon{align-self:center;margin-top:.5rem}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{margin-bottom:.25rem;margin-top:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text:after{left:0;right:0}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__alignment{height:0;order:3}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text{padding-left:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__text:after{left:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left .dnb-button__icon{margin-left:0;margin-right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text{margin-left:1rem;padding-left:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left.dnb-button--icon-size-medium .dnb-button__text:after{left:-.5rem;right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-left:focus:not([disabled]):before{right:var(--button-tertiary-focus-overflow)}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text{padding-right:1rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__text:after{right:-.5rem}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right .dnb-button__icon{margin-left:-.5rem;margin-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text{margin-right:1rem;padding-right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-large .dnb-button__text:after,.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right.dnb-button--icon-size-medium .dnb-button__text:after{right:0}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon.dnb-button--has-text.dnb-button--icon-position-right:focus:not([disabled]):before{left:var(--button-tertiary-focus-overflow)}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before,html:not([data-whatintent=touch]) .dnb-button--tertiary.dnb-button--has-icon:not(.dnb-button--has-text):focus:not([disabled]):before{left:0;right:0}html[data-whatinput=keyboard] .dnb-button--tertiary:hover:focus .dnb-button__text:after{visibility:hidden}.dnb-button--primary{background-color:var(--color-sea-green);color:var(--color-white)}html:not([data-whatintent=touch]) .dnb-button--primary:hover:not([disabled]){--border-color:var(--color-emerald-green);background-color:var(--color-white);color:var(--color-sea-green)}.dnb-button--primary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--primary:focus[disabled]{cursor:not-allowed}.dnb-button--primary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--primary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--primary:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--primary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:active:not([disabled]){background-color:var(--color-mint-green-50);color:var(--color-sea-green)}.dnb-button--primary[disabled]{background-color:var(--color-sea-green-30);color:var(--color-white)}.dnb-button:not([disabled]).dnb-button--primary.dnb-button__status--error{background-color:var(--color-fire-red);color:var(--color-white)}.dnb-button--secondary{--border-color:var(--color-sea-green);background-color:var(--color-white);box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--secondary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--secondary:hover:not([disabled]){--border-color:var(--color-emerald-green);--border-width:0.125rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--secondary:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:focus[disabled]{cursor:not-allowed}.dnb-button--secondary:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--secondary:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--secondary:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green)}.dnb-button--secondary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:active:not([disabled]){background-color:var(--color-mint-green-50);color:var(--color-sea-green)}.dnb-button--secondary[disabled],.dnb-button--secondary[disabled]:focus{--border-color:var(--color-sea-green-30);--border-width:0.0625rem;background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-sea-green-30)}.dnb-button:not([disabled]).dnb-button--secondary.dnb-button__status--error{--border-color:var(--color-fire-red);--border-width:0.0625rem;border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-fire-red)}.dnb-button:not([disabled]).dnb-button--secondary.dnb-button__status--error .dnb-button__icon{color:inherit}html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):hover:not([disabled]){--border-color:var(--color-emerald-green);--border-width:0.125rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary:not(.dnb-button--has-text):focus[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus[disabled]{cursor:not-allowed}.dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-white);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]){background-color:var(--color-mint-green-50)}.dnb-button--secondary:not(.dnb-button--has-text):not(.dnb-button--input-button).dnb-button--size-large{line-height:calc(var(--button-height--large) - .5rem);width:calc(var(--button-width--large) - .5rem)}.dnb-button--active{--border-color:var(--color-emerald-green);--border-width:0.125rem;border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-button--tertiary{background-color:transparent;color:var(--color-sea-green)}.dnb-button--tertiary.dnb-button--has-text{padding-left:0;padding-right:0}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--tertiary:hover:not([disabled]) .dnb-button__text:after{color:var(--color-emerald-green)}.dnb-button--tertiary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--tertiary:active[disabled]{cursor:not-allowed}html[data-whatintent=touch] .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after,html[data-whatintent=touch] html:not([data-whatintent=touch]) .dnb-button--tertiary:active:not([disabled]) .dnb-button__text:after{color:var(--color-emerald-green)}.dnb-button--tertiary.dnb-button--icon-position-top .dnb-button__text{font-size:var(--font-size-x-small)}.dnb-button--tertiary.dnb-button--icon-position-top.dnb-button--size-large .dnb-button__text{font-size:var(--font-size-small)}.dnb-button--tertiary[disabled]{color:var(--color-sea-green-30)}.dnb-button--signal{background-color:var(--color-accent-yellow);color:var(--color-ocean-green)}html:not([data-whatintent=touch]) .dnb-button--signal:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--signal:hover:not([disabled]){--border-color:var(--color-ocean-green);--border-width:0.125rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}html:not([data-whatintent=touch]) html[data-whatintent=touch] .dnb-button--signal:active[disabled],html[data-whatintent=touch] .dnb-button--signal:active[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) html[data-whatintent=touch] .dnb-button--signal:active:not([disabled]),html[data-whatintent=touch] .dnb-button--signal:active:not([disabled]){--border-color:var(--color-ocean-green);--border-width:0.125rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal:focus[disabled],html:not([data-whatintent=touch]) .dnb-button--signal:focus[disabled]{cursor:not-allowed}.dnb-button--signal:focus:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--signal:focus:not([disabled]){outline:none}html[data-whatinput=keyboard] .dnb-button--signal:focus:not([disabled]),html[data-whatinput=keyboard] html:not([data-whatintent=touch]) .dnb-button--signal:focus:not([disabled]){--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:inset 0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal:active[disabled],html:not([data-whatintent=touch]) .dnb-button--signal:active[disabled]{cursor:not-allowed}.dnb-button--signal:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--signal:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-accent-yellow);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-ocean-green)}.dnb-button--signal[disabled]{background-color:var(--color-accent-yellow-30);color:var(--color-black-20)}.dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]){background-color:transparent;box-shadow:none}.dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):after{background-color:currentcolor;bottom:0;content:"";left:0;position:absolute;top:0;width:.0625rem}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover{box-shadow:none;color:var(--color-white)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):focus:after,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):hover:after{background-color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):not(:active):hover{border-radius:0}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active{box-shadow:none;color:var(--color-sea-green)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active,html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text):not([disabled]):active:after{background-color:var(--color-mint-green-50)}html:not([data-whatintent=touch]) .dnb-button--input-button.dnb-button--secondary:not(.dnb-button--has-text)[disabled]{background-color:var(--color-black-3);color:var(--color-black-55)}.dnb-button--primary{background-color:var(--color-emerald-green)}html:not([data-whatintent=touch]) .dnb-button--primary:hover[disabled]{cursor:not-allowed}html:not([data-whatintent=touch]) .dnb-button--primary:hover:not([disabled]){--border-color:var(--color-sea-green);--border-width:0.125rem;background-color:var(--color-sea-green);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-white)}.dnb-button--primary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--primary:active[disabled]{cursor:not-allowed}.dnb-button--primary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--primary:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-sea-green);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-white)}.dnb-button--primary[disabled]{--border-color:var(--color-black-55);--border-width:0.0625rem;background-color:var(--color-black-8);color:var(--color-black-55)}.dnb-button--primary[disabled],.dnb-button--secondary{border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-button--secondary{--border-color:var(--color-emerald-green);--border-width:0.0625rem;color:var(--color-emerald-green)}.dnb-button--secondary:active[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:active[disabled]{cursor:not-allowed}.dnb-button--secondary:active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-pistachio);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--secondary[disabled]{--border-color:var(--color-black-55);--border-width:0.0625rem;background-color:var(--color-white);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-black-55)}.dnb-button--secondary:not(.dnb-button--has-text):active[disabled],html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active[disabled]{cursor:not-allowed}.dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]),html:not([data-whatintent=touch]) .dnb-button--secondary:not(.dnb-button--has-text):active:not([disabled]){--border-color:transparent;--border-width:0.0625rem;background-color:var(--color-pistachio);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color);color:var(--color-emerald-green)}.dnb-button--tertiary{color:var(--color-emerald-green)}.dnb-button--tertiary[disabled]{color:var(--color-black-55)}