@dnb/eufemia 10.0.0-beta.6 → 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 (372) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/cjs/components/accordion/Accordion.d.ts +2 -1
  3. package/cjs/components/anchor/Anchor.d.ts +5 -1
  4. package/cjs/components/anchor/Anchor.js +53 -4
  5. package/cjs/components/anchor/style/anchor-mixins.scss +8 -4
  6. package/cjs/components/anchor/style/dnb-anchor.css +8 -9
  7. package/cjs/components/anchor/style/dnb-anchor.min.css +1 -1
  8. package/cjs/components/anchor/style/dnb-anchor.scss +2 -1
  9. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  10. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  11. package/cjs/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  12. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  13. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  14. package/cjs/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  15. package/cjs/components/autocomplete/Autocomplete.d.ts +3 -2
  16. package/cjs/components/autocomplete/Autocomplete.js +8 -5
  17. package/cjs/components/button/Button.d.ts +5 -3
  18. package/cjs/components/button/Button.js +8 -5
  19. package/cjs/components/button/style/dnb-button--tertiary.css +16 -7
  20. package/cjs/components/button/style/dnb-button--tertiary.min.css +1 -1
  21. package/cjs/components/button/style/dnb-button--tertiary.scss +28 -18
  22. package/cjs/components/button/style/dnb-button.css +1 -3
  23. package/cjs/components/button/style/dnb-button.min.css +1 -1
  24. package/cjs/components/button/style/dnb-button.scss +0 -1
  25. package/cjs/components/button/style/themes/button-mixins.scss +4 -4
  26. package/cjs/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  27. package/cjs/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  28. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  29. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  30. package/cjs/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  31. package/cjs/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  32. package/cjs/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  33. package/cjs/components/checkbox/Checkbox.d.ts +3 -2
  34. package/cjs/components/checkbox/Checkbox.js +8 -5
  35. package/cjs/components/date-picker/DatePicker.d.ts +3 -2
  36. package/cjs/components/date-picker/DatePicker.js +9 -5
  37. package/cjs/components/dialog/style/dnb-dialog.css +3 -3
  38. package/cjs/components/dialog/style/dnb-dialog.min.css +1 -1
  39. package/cjs/components/dialog/style/dnb-dialog.scss +2 -4
  40. package/cjs/components/dropdown/Dropdown.d.ts +3 -2
  41. package/cjs/components/dropdown/Dropdown.js +8 -5
  42. package/cjs/components/form-row/FormRow.d.ts +2 -1
  43. package/cjs/components/form-row/FormRow.js +8 -5
  44. package/cjs/components/form-set/FormSet.d.ts +2 -1
  45. package/cjs/components/form-status/FormStatus.d.ts +6 -6
  46. package/cjs/components/form-status/FormStatus.js +13 -7
  47. package/cjs/components/global-status/GlobalStatus.d.ts +8 -0
  48. package/cjs/components/help-button/HelpButton.d.ts +1 -3
  49. package/cjs/components/help-button/HelpButton.js +9 -17
  50. package/cjs/components/icon/style/dnb-icon.css +7 -3
  51. package/cjs/components/icon/style/dnb-icon.min.css +1 -1
  52. package/cjs/components/icon/style/dnb-icon.scss +16 -10
  53. package/cjs/components/input/Input.d.ts +11 -5
  54. package/cjs/components/input/Input.js +8 -5
  55. package/cjs/components/input-masked/InputMasked.d.ts +3 -2
  56. package/cjs/components/input-masked/InputMaskedUtils.js +7 -3
  57. package/cjs/components/lib.d.ts +1 -1
  58. package/cjs/components/modal/Modal.js +21 -7
  59. package/cjs/components/modal/ModalContent.js +2 -2
  60. package/cjs/components/number-format/NumberUtils.js +5 -4
  61. package/cjs/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  62. package/cjs/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  63. package/cjs/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  64. package/cjs/components/radio/Radio.d.ts +4 -3
  65. package/cjs/components/radio/Radio.js +8 -5
  66. package/cjs/components/radio/RadioGroup.d.ts +4 -3
  67. package/cjs/components/radio/RadioGroup.js +8 -5
  68. package/cjs/components/slider/SliderInstance.js +2 -3
  69. package/cjs/components/slider/SliderProvider.js +2 -2
  70. package/cjs/components/slider/types.d.ts +2 -1
  71. package/cjs/components/switch/Switch.d.ts +3 -2
  72. package/cjs/components/switch/Switch.js +8 -5
  73. package/cjs/components/textarea/Textarea.d.ts +3 -2
  74. package/cjs/components/textarea/Textarea.js +8 -5
  75. package/cjs/components/timeline/TimelineItem.d.ts +2 -2
  76. package/cjs/components/toggle-button/ToggleButton.d.ts +4 -3
  77. package/cjs/components/toggle-button/ToggleButton.js +8 -5
  78. package/cjs/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  79. package/cjs/components/toggle-button/ToggleButtonGroup.js +8 -5
  80. package/cjs/components/tooltip/TooltipWithEvents.d.ts +2 -2
  81. package/cjs/components/tooltip/TooltipWithEvents.js +6 -1
  82. package/cjs/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  83. package/cjs/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  84. package/cjs/elements/Link.d.ts +1 -1
  85. package/cjs/elements/lib.d.ts +1 -1
  86. package/cjs/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  87. package/cjs/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  88. package/cjs/elements/typography/style/typography-mixins.scss +33 -0
  89. package/cjs/shared/Eufemia.d.ts +1 -0
  90. package/cjs/shared/Eufemia.js +4 -1
  91. package/cjs/shared/Theme.d.ts +6 -2
  92. package/cjs/shared/Theme.js +11 -5
  93. package/cjs/shared/VisibilityByTheme.js +10 -1
  94. package/cjs/style/core/scopes.scss +1 -1
  95. package/cjs/style/core/utilities.scss +17 -13
  96. package/cjs/style/dnb-ui-basis.css +16 -16
  97. package/cjs/style/dnb-ui-basis.min.css +1 -1
  98. package/cjs/style/dnb-ui-body.css +2 -2
  99. package/cjs/style/dnb-ui-body.min.css +1 -1
  100. package/cjs/style/dnb-ui-components.css +33 -32
  101. package/cjs/style/dnb-ui-components.min.css +1 -1
  102. package/cjs/style/dnb-ui-core.css +16 -16
  103. package/cjs/style/dnb-ui-core.min.css +1 -1
  104. package/cjs/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  105. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  106. package/cjs/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  107. package/cjs/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  108. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  109. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  110. package/cjs/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  111. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  112. package/cjs/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  113. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  114. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  115. package/cjs/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  116. package/cjs/style/themes/theme-ui/ui-theme-basis.css +5 -0
  117. package/cjs/style/themes/theme-ui/ui-theme-components.css +53 -43
  118. package/cjs/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  119. package/cjs/style/themes/theme-ui/ui-theme-elements.css +5 -0
  120. package/cjs/style/themes/theme-ui/ui-theme-tags.css +3 -3
  121. package/cjs/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  122. package/components/accordion/Accordion.d.ts +2 -1
  123. package/components/anchor/Anchor.d.ts +5 -1
  124. package/components/anchor/Anchor.js +49 -4
  125. package/components/anchor/style/anchor-mixins.scss +8 -4
  126. package/components/anchor/style/dnb-anchor.css +8 -9
  127. package/components/anchor/style/dnb-anchor.min.css +1 -1
  128. package/components/anchor/style/dnb-anchor.scss +2 -1
  129. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  130. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  131. package/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  132. package/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  133. package/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  134. package/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  135. package/components/autocomplete/Autocomplete.d.ts +3 -2
  136. package/components/autocomplete/Autocomplete.js +8 -5
  137. package/components/button/Button.d.ts +5 -3
  138. package/components/button/Button.js +8 -5
  139. package/components/button/style/dnb-button--tertiary.css +16 -7
  140. package/components/button/style/dnb-button--tertiary.min.css +1 -1
  141. package/components/button/style/dnb-button--tertiary.scss +28 -18
  142. package/components/button/style/dnb-button.css +1 -3
  143. package/components/button/style/dnb-button.min.css +1 -1
  144. package/components/button/style/dnb-button.scss +0 -1
  145. package/components/button/style/themes/button-mixins.scss +4 -4
  146. package/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  147. package/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  148. package/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  149. package/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  150. package/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  151. package/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  152. package/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  153. package/components/checkbox/Checkbox.d.ts +3 -2
  154. package/components/checkbox/Checkbox.js +8 -5
  155. package/components/date-picker/DatePicker.d.ts +3 -2
  156. package/components/date-picker/DatePicker.js +9 -5
  157. package/components/dialog/style/dnb-dialog.css +3 -3
  158. package/components/dialog/style/dnb-dialog.min.css +1 -1
  159. package/components/dialog/style/dnb-dialog.scss +2 -4
  160. package/components/dropdown/Dropdown.d.ts +3 -2
  161. package/components/dropdown/Dropdown.js +8 -5
  162. package/components/form-row/FormRow.d.ts +2 -1
  163. package/components/form-row/FormRow.js +8 -5
  164. package/components/form-set/FormSet.d.ts +2 -1
  165. package/components/form-status/FormStatus.d.ts +6 -6
  166. package/components/form-status/FormStatus.js +13 -7
  167. package/components/global-status/GlobalStatus.d.ts +8 -0
  168. package/components/help-button/HelpButton.d.ts +1 -3
  169. package/components/help-button/HelpButton.js +9 -16
  170. package/components/icon/style/dnb-icon.css +7 -3
  171. package/components/icon/style/dnb-icon.min.css +1 -1
  172. package/components/icon/style/dnb-icon.scss +16 -10
  173. package/components/input/Input.d.ts +11 -5
  174. package/components/input/Input.js +8 -5
  175. package/components/input-masked/InputMasked.d.ts +3 -2
  176. package/components/input-masked/InputMaskedUtils.js +7 -3
  177. package/components/lib.d.ts +1 -1
  178. package/components/modal/Modal.js +21 -7
  179. package/components/modal/ModalContent.js +2 -2
  180. package/components/number-format/NumberUtils.js +5 -4
  181. package/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  182. package/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  183. package/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  184. package/components/radio/Radio.d.ts +4 -3
  185. package/components/radio/Radio.js +8 -5
  186. package/components/radio/RadioGroup.d.ts +4 -3
  187. package/components/radio/RadioGroup.js +8 -5
  188. package/components/slider/SliderInstance.js +2 -3
  189. package/components/slider/SliderProvider.js +2 -2
  190. package/components/slider/types.d.ts +2 -1
  191. package/components/switch/Switch.d.ts +3 -2
  192. package/components/switch/Switch.js +8 -5
  193. package/components/textarea/Textarea.d.ts +3 -2
  194. package/components/textarea/Textarea.js +8 -5
  195. package/components/timeline/TimelineItem.d.ts +2 -2
  196. package/components/toggle-button/ToggleButton.d.ts +4 -3
  197. package/components/toggle-button/ToggleButton.js +8 -5
  198. package/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  199. package/components/toggle-button/ToggleButtonGroup.js +8 -5
  200. package/components/tooltip/TooltipWithEvents.d.ts +2 -2
  201. package/components/tooltip/TooltipWithEvents.js +6 -1
  202. package/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  203. package/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  204. package/elements/Link.d.ts +1 -1
  205. package/elements/lib.d.ts +1 -1
  206. package/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  207. package/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  208. package/elements/typography/style/typography-mixins.scss +33 -0
  209. package/es/components/accordion/Accordion.d.ts +2 -1
  210. package/es/components/anchor/Anchor.d.ts +5 -1
  211. package/es/components/anchor/Anchor.js +49 -4
  212. package/es/components/anchor/style/anchor-mixins.scss +8 -4
  213. package/es/components/anchor/style/dnb-anchor.css +8 -9
  214. package/es/components/anchor/style/dnb-anchor.min.css +1 -1
  215. package/es/components/anchor/style/dnb-anchor.scss +2 -1
  216. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.css +63 -1
  217. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.min.css +1 -1
  218. package/es/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +88 -26
  219. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.css +4 -4
  220. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.min.css +1 -1
  221. package/es/components/anchor/style/themes/dnb-anchor-theme-ui.scss +4 -4
  222. package/es/components/autocomplete/Autocomplete.d.ts +3 -2
  223. package/es/components/autocomplete/Autocomplete.js +8 -5
  224. package/es/components/button/Button.d.ts +5 -3
  225. package/es/components/button/Button.js +8 -5
  226. package/es/components/button/style/dnb-button--tertiary.css +16 -7
  227. package/es/components/button/style/dnb-button--tertiary.min.css +1 -1
  228. package/es/components/button/style/dnb-button--tertiary.scss +28 -18
  229. package/es/components/button/style/dnb-button.css +1 -3
  230. package/es/components/button/style/dnb-button.min.css +1 -1
  231. package/es/components/button/style/dnb-button.scss +0 -1
  232. package/es/components/button/style/themes/button-mixins.scss +4 -4
  233. package/es/components/button/style/themes/dnb-button-theme-eiendom.css +16 -7
  234. package/es/components/button/style/themes/dnb-button-theme-eiendom.min.css +1 -1
  235. package/es/components/button/style/themes/dnb-button-theme-sbanken.css +38 -7
  236. package/es/components/button/style/themes/dnb-button-theme-sbanken.min.css +1 -1
  237. package/es/components/button/style/themes/dnb-button-theme-sbanken.scss +6 -0
  238. package/es/components/button/style/themes/dnb-button-theme-ui.css +16 -7
  239. package/es/components/button/style/themes/dnb-button-theme-ui.min.css +1 -1
  240. package/es/components/checkbox/Checkbox.d.ts +3 -2
  241. package/es/components/checkbox/Checkbox.js +8 -5
  242. package/es/components/date-picker/DatePicker.d.ts +3 -2
  243. package/es/components/date-picker/DatePicker.js +9 -5
  244. package/es/components/dialog/style/dnb-dialog.css +3 -3
  245. package/es/components/dialog/style/dnb-dialog.min.css +1 -1
  246. package/es/components/dialog/style/dnb-dialog.scss +2 -4
  247. package/es/components/dropdown/Dropdown.d.ts +3 -2
  248. package/es/components/dropdown/Dropdown.js +8 -5
  249. package/es/components/form-row/FormRow.d.ts +2 -1
  250. package/es/components/form-row/FormRow.js +8 -5
  251. package/es/components/form-set/FormSet.d.ts +2 -1
  252. package/es/components/form-status/FormStatus.d.ts +6 -6
  253. package/es/components/form-status/FormStatus.js +13 -7
  254. package/es/components/global-status/GlobalStatus.d.ts +8 -0
  255. package/es/components/help-button/HelpButton.d.ts +1 -3
  256. package/es/components/help-button/HelpButton.js +9 -16
  257. package/es/components/icon/style/dnb-icon.css +7 -3
  258. package/es/components/icon/style/dnb-icon.min.css +1 -1
  259. package/es/components/icon/style/dnb-icon.scss +16 -10
  260. package/es/components/input/Input.d.ts +11 -5
  261. package/es/components/input/Input.js +8 -5
  262. package/es/components/input-masked/InputMasked.d.ts +3 -2
  263. package/es/components/input-masked/InputMaskedUtils.js +7 -3
  264. package/es/components/lib.d.ts +1 -1
  265. package/es/components/modal/Modal.js +21 -7
  266. package/es/components/modal/ModalContent.js +2 -2
  267. package/es/components/number-format/NumberUtils.js +5 -4
  268. package/es/components/progress-indicator/ProgressIndicator.d.ts +1 -1
  269. package/es/components/progress-indicator/ProgressIndicatorCircular.d.ts +1 -1
  270. package/es/components/progress-indicator/ProgressIndicatorLinear.d.ts +1 -1
  271. package/es/components/radio/Radio.d.ts +4 -3
  272. package/es/components/radio/Radio.js +8 -5
  273. package/es/components/radio/RadioGroup.d.ts +4 -3
  274. package/es/components/radio/RadioGroup.js +8 -5
  275. package/es/components/slider/SliderInstance.js +2 -3
  276. package/es/components/slider/SliderProvider.js +2 -2
  277. package/es/components/slider/types.d.ts +2 -1
  278. package/es/components/switch/Switch.d.ts +3 -2
  279. package/es/components/switch/Switch.js +8 -5
  280. package/es/components/textarea/Textarea.d.ts +3 -2
  281. package/es/components/textarea/Textarea.js +8 -5
  282. package/es/components/timeline/TimelineItem.d.ts +2 -2
  283. package/es/components/toggle-button/ToggleButton.d.ts +4 -3
  284. package/es/components/toggle-button/ToggleButton.js +8 -5
  285. package/es/components/toggle-button/ToggleButtonGroup.d.ts +3 -2
  286. package/es/components/toggle-button/ToggleButtonGroup.js +8 -5
  287. package/es/components/tooltip/TooltipWithEvents.d.ts +2 -2
  288. package/es/components/tooltip/TooltipWithEvents.js +6 -1
  289. package/es/components/visually-hidden/style/dnb-visually-hidden.css +14 -14
  290. package/es/components/visually-hidden/style/dnb-visually-hidden.min.css +1 -1
  291. package/es/elements/Link.d.ts +1 -1
  292. package/es/elements/lib.d.ts +1 -1
  293. package/es/elements/typography/style/themes/dnb-typography-theme-sbanken.scss +16 -0
  294. package/es/elements/typography/style/themes/dnb-typography-theme-ui.scss +4 -23
  295. package/es/elements/typography/style/typography-mixins.scss +33 -0
  296. package/es/shared/Eufemia.d.ts +1 -0
  297. package/es/shared/Eufemia.js +2 -1
  298. package/es/shared/Theme.d.ts +6 -2
  299. package/es/shared/Theme.js +11 -5
  300. package/es/shared/VisibilityByTheme.js +6 -1
  301. package/es/style/core/scopes.scss +1 -1
  302. package/es/style/core/utilities.scss +17 -13
  303. package/es/style/dnb-ui-basis.css +16 -16
  304. package/es/style/dnb-ui-basis.min.css +1 -1
  305. package/es/style/dnb-ui-body.css +2 -2
  306. package/es/style/dnb-ui-body.min.css +1 -1
  307. package/es/style/dnb-ui-components.css +33 -32
  308. package/es/style/dnb-ui-components.min.css +1 -1
  309. package/es/style/dnb-ui-core.css +16 -16
  310. package/es/style/dnb-ui-core.min.css +1 -1
  311. package/es/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  312. package/es/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  313. package/es/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  314. package/es/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  315. package/es/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  316. package/es/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  317. package/es/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  318. package/es/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  319. package/es/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  320. package/es/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  321. package/es/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  322. package/es/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  323. package/es/style/themes/theme-ui/ui-theme-basis.css +5 -0
  324. package/es/style/themes/theme-ui/ui-theme-components.css +53 -43
  325. package/es/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  326. package/es/style/themes/theme-ui/ui-theme-elements.css +5 -0
  327. package/es/style/themes/theme-ui/ui-theme-tags.css +3 -3
  328. package/es/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  329. package/esm/dnb-ui-basis.min.mjs +1 -1
  330. package/esm/dnb-ui-components.min.mjs +1 -1
  331. package/esm/dnb-ui-elements.min.mjs +1 -1
  332. package/esm/dnb-ui-extensions.min.mjs +1 -1
  333. package/esm/dnb-ui-lib.min.mjs +1 -1
  334. package/package.json +1 -1
  335. package/shared/Eufemia.d.ts +1 -0
  336. package/shared/Eufemia.js +2 -1
  337. package/shared/Theme.d.ts +6 -2
  338. package/shared/Theme.js +11 -5
  339. package/shared/VisibilityByTheme.js +6 -1
  340. package/style/core/scopes.scss +1 -1
  341. package/style/core/utilities.scss +17 -13
  342. package/style/dnb-ui-basis.css +16 -16
  343. package/style/dnb-ui-basis.min.css +1 -1
  344. package/style/dnb-ui-body.css +2 -2
  345. package/style/dnb-ui-body.min.css +1 -1
  346. package/style/dnb-ui-components.css +33 -32
  347. package/style/dnb-ui-components.min.css +1 -1
  348. package/style/dnb-ui-core.css +16 -16
  349. package/style/dnb-ui-core.min.css +1 -1
  350. package/style/themes/theme-eiendom/eiendom-theme-basis.css +5 -0
  351. package/style/themes/theme-eiendom/eiendom-theme-components.css +69 -50
  352. package/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
  353. package/style/themes/theme-eiendom/eiendom-theme-elements.css +5 -0
  354. package/style/themes/theme-sbanken/sbanken-theme-basis.css +39 -30
  355. package/style/themes/theme-sbanken/sbanken-theme-basis.min.css +1 -1
  356. package/style/themes/theme-sbanken/sbanken-theme-basis.scss +4 -0
  357. package/style/themes/theme-sbanken/sbanken-theme-components.css +133 -40
  358. package/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
  359. package/style/themes/theme-sbanken/sbanken-theme-elements.css +36 -31
  360. package/style/themes/theme-sbanken/sbanken-theme-elements.min.css +1 -1
  361. package/style/themes/theme-sbanken/sbanken-theme-elements.scss +1 -1
  362. package/style/themes/theme-ui/ui-theme-basis.css +5 -0
  363. package/style/themes/theme-ui/ui-theme-components.css +53 -43
  364. package/style/themes/theme-ui/ui-theme-components.min.css +1 -1
  365. package/style/themes/theme-ui/ui-theme-elements.css +5 -0
  366. package/style/themes/theme-ui/ui-theme-tags.css +3 -3
  367. package/style/themes/theme-ui/ui-theme-tags.min.css +1 -1
  368. package/umd/dnb-ui-basis.min.js +1 -1
  369. package/umd/dnb-ui-components.min.js +1 -1
  370. package/umd/dnb-ui-elements.min.js +1 -1
  371. package/umd/dnb-ui-extensions.min.js +1 -1
  372. package/umd/dnb-ui-lib.min.js +1 -1
@@ -1,5 +1,5 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
- const _excluded = ["step", "label", "labelDirection", "labelSrOnly", "status", "statusState", "statusProps", "statusNoAnimation", "globalStatusId", "stretch", "suffix", "thumbTitle", "subtractTitle", "addTitle", "hideButtons", "multiThumbBehavior", "numberFormat", "tooltip", "alwaysShowTooltip", "skeleton", "max", "min", "disabled", "className", "id", "onChange", "onDragStart", "onDragEnd", "vertical", "reverse", "value", "children"];
2
+ const _excluded = ["step", "label", "labelDirection", "labelSrOnly", "status", "statusState", "statusProps", "statusNoAnimation", "globalStatus", "stretch", "suffix", "thumbTitle", "subtractTitle", "addTitle", "hideButtons", "multiThumbBehavior", "numberFormat", "tooltip", "alwaysShowTooltip", "skeleton", "max", "min", "disabled", "className", "id", "onChange", "onDragStart", "onDragEnd", "vertical", "reverse", "value", "children"];
3
3
  import React from 'react';
4
4
  import { includeValidProps } from '../../components/form-row/FormRowHelpers';
5
5
  import { isTrue, makeUniqueId, dispatchCustomElementEvent, getStatusState, extendPropsWithContext } from '../../shared/component-helper';
@@ -38,7 +38,7 @@ export function SliderProvider(localProps) {
38
38
  statusState,
39
39
  statusProps,
40
40
  statusNoAnimation,
41
- globalStatusId,
41
+ globalStatus,
42
42
  stretch,
43
43
  suffix,
44
44
  thumbTitle: title,
@@ -5,6 +5,7 @@ import type { formatReturnType, formatOptionParams } from '../number-format/Numb
5
5
  import { IncludeSnakeCase } from '../../shared/helpers/withSnakeCaseProps';
6
6
  import type { SpacingProps } from '../../shared/types';
7
7
  import type { SkeletonShow } from '../Skeleton';
8
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
8
9
  export declare type ValueTypes = number | Array<number>;
9
10
  export declare type NumberFormatTypes = formatOptionParams | ((value: number) => unknown);
10
11
  export declare type onChangeEventProps = {
@@ -28,7 +29,7 @@ export declare type SliderProps = IncludeSnakeCase<{
28
29
  statusProps?: Record<string, unknown>;
29
30
  statusNoAnimation?: boolean;
30
31
  /** the `status_id` used for the target [GlobalStatus](/uilib/components/global-status). */
31
- globalStatusId?: string;
32
+ globalStatus?: GlobalStatusConfigObject;
32
33
  /** text describing the content of the Slider more than the label. You can also send in a React component, so it gets wrapped inside the Slider component. */
33
34
  suffix?: SuffixChildren;
34
35
  /** give the slider thumb button a title for accessibility reasons. Defaults to `null`. */
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { FormStatusState, FormStatusText } from '../FormStatus';
3
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
3
4
  import type { SkeletonShow } from '../Skeleton';
4
5
  import type { SpacingProps } from '../space/types';
5
6
  export type SwitchLabel =
@@ -65,9 +66,9 @@ export interface SwitchProps
65
66
  status_props?: Record<string, unknown>;
66
67
 
67
68
  /**
68
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
69
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
69
70
  */
70
- global_status_id?: string;
71
+ globalStatus?: GlobalStatusConfigObject;
71
72
  status_no_animation?: boolean;
72
73
 
73
74
  /**
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
 
5
5
  var _AlignmentHelper, _span;
6
6
 
7
- const _excluded = ["value", "size", "status", "status_state", "status_props", "global_status_id", "status_no_animation", "suffix", "label", "label_position", "label_sr_only", "title", "disabled", "readOnly", "skeleton", "className", "class", "id", "checked", "children", "on_change", "on_state_update"];
7
+ const _excluded = ["value", "size", "status", "status_state", "status_props", "globalStatus", "status_no_animation", "suffix", "label", "label_position", "label_sr_only", "title", "disabled", "readOnly", "skeleton", "className", "class", "id", "checked", "children", "on_change", "on_state_update"];
8
8
 
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10
10
 
@@ -117,7 +117,7 @@ export default class Switch extends React.PureComponent {
117
117
  status,
118
118
  status_state,
119
119
  status_props,
120
- global_status_id,
120
+ globalStatus,
121
121
  status_no_animation,
122
122
  suffix,
123
123
  label,
@@ -177,7 +177,7 @@ export default class Switch extends React.PureComponent {
177
177
  }, _AlignmentHelper || (_AlignmentHelper = React.createElement(AlignmentHelper, null)), React.createElement(FormStatus, _extends({
178
178
  show: showStatus,
179
179
  id: id + '-form-status',
180
- global_status_id: global_status_id,
180
+ globalStatus: globalStatus,
181
181
  label: label,
182
182
  text_id: id + '-status',
183
183
  width_selector: id + ', ' + id + '-label',
@@ -237,7 +237,7 @@ _defineProperty(Switch, "defaultProps", {
237
237
  status: null,
238
238
  status_state: 'error',
239
239
  status_props: null,
240
- global_status_id: null,
240
+ globalStatus: null,
241
241
  status_no_animation: null,
242
242
  suffix: null,
243
243
  value: null,
@@ -266,7 +266,10 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes = _objectSpread(_object
266
266
  status: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.func, PropTypes.node]),
267
267
  status_state: PropTypes.string,
268
268
  status_props: PropTypes.object,
269
- global_status_id: PropTypes.string,
269
+ globalStatus: PropTypes.shape({
270
+ id: PropTypes.string,
271
+ message: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
272
+ }),
270
273
  status_no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
271
274
  suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
272
275
  value: PropTypes.string,
@@ -7,6 +7,7 @@ import type {
7
7
  import type { SkeletonShow } from '../Skeleton';
8
8
  import type { SpacingProps } from '../space/types';
9
9
  import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
10
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
10
11
  export type TextareaSuffix =
11
12
  | string
12
13
  | ((...args: any[]) => any)
@@ -69,9 +70,9 @@ export interface TextareaProps
69
70
  status_no_animation?: boolean;
70
71
 
71
72
  /**
72
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
73
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
73
74
  */
74
- global_status_id?: string;
75
+ globalStatus?: GlobalStatusConfigObject;
75
76
 
76
77
  /**
77
78
  * Text describing the content of the Textarea more than the label. You can also send in a React component, so it gets wrapped inside the Textarea component.
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
 
5
5
  var _AlignmentHelper, _span;
6
6
 
7
- const _excluded = ["label", "label_direction", "label_sr_only", "status", "status_state", "status_props", "status_no_animation", "global_status_id", "suffix", "disabled", "skeleton", "stretch", "placeholder", "align", "textarea_class", "readOnly", "textarea_attributes", "class", "className", "autoresize", "autoresize_max_rows", "id", "children", "value", "textarea_element"];
7
+ const _excluded = ["label", "label_direction", "label_sr_only", "status", "status_state", "status_props", "status_no_animation", "globalStatus", "suffix", "disabled", "skeleton", "stretch", "placeholder", "align", "textarea_class", "readOnly", "textarea_attributes", "class", "className", "autoresize", "autoresize_max_rows", "id", "children", "value", "textarea_element"];
8
8
 
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10
10
 
@@ -253,7 +253,7 @@ export default class Textarea extends React.PureComponent {
253
253
  status_state,
254
254
  status_props,
255
255
  status_no_animation,
256
- global_status_id,
256
+ globalStatus,
257
257
  suffix,
258
258
  disabled,
259
259
  skeleton,
@@ -348,7 +348,7 @@ export default class Textarea extends React.PureComponent {
348
348
  }), React.createElement("span", innerParams, _AlignmentHelper || (_AlignmentHelper = React.createElement(AlignmentHelper, null)), React.createElement(FormStatus, _extends({
349
349
  show: showStatus,
350
350
  id: id + '-form-status',
351
- global_status_id: global_status_id,
351
+ globalStatus: globalStatus,
352
352
  label: label,
353
353
  text_id: id + '-status',
354
354
  text: status,
@@ -387,7 +387,7 @@ _defineProperty(Textarea, "defaultProps", {
387
387
  status_state: 'error',
388
388
  status_props: null,
389
389
  status_no_animation: null,
390
- global_status_id: null,
390
+ globalStatus: null,
391
391
  suffix: null,
392
392
  placeholder: null,
393
393
  align: null,
@@ -424,7 +424,10 @@ process.env.NODE_ENV !== "production" ? Textarea.propTypes = _objectSpread(_obje
424
424
  status_state: PropTypes.string,
425
425
  status_props: PropTypes.object,
426
426
  status_no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
427
- global_status_id: PropTypes.string,
427
+ globalStatus: PropTypes.shape({
428
+ id: PropTypes.string,
429
+ message: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
430
+ }),
428
431
  suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
429
432
  placeholder: PropTypes.string,
430
433
  align: PropTypes.oneOf(['left', 'right']),
@@ -15,11 +15,11 @@ export declare type TimelineItemProps = {
15
15
  /**
16
16
  * Text displaying the title of the timeline item.
17
17
  */
18
- title: React.ReactNode | string;
18
+ title: React.ReactNode;
19
19
  /**
20
20
  * Text displaying the subtitle of the timeline item.
21
21
  */
22
- subtitle?: React.ReactNode | React.ReactNode[] | string | string[];
22
+ subtitle?: React.ReactNode | React.ReactNode[];
23
23
  /**
24
24
  * Text displaying info message of the timeline item.
25
25
  */
@@ -1,11 +1,12 @@
1
1
  import * as React from 'react';
2
- import type { ButtonIconPosition } from '../button';
2
+ import type { ButtonIconPosition } from '../Button';
3
3
  import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
4
4
  import type {
5
5
  FormStatusProps,
6
6
  FormStatusState,
7
7
  FormStatusText
8
8
  } from '../FormStatus';
9
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
9
10
  import type { IconIcon, IconSize } from '../Icon';
10
11
  import type { SkeletonShow } from '../Skeleton';
11
12
  import type { SpacingProps } from '../space/types';
@@ -73,9 +74,9 @@ export interface ToggleButtonProps
73
74
  status_no_animation?: boolean;
74
75
 
75
76
  /**
76
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
77
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
77
78
  */
78
- global_status_id?: string;
79
+ globalStatus?: GlobalStatusConfigObject;
79
80
 
80
81
  /**
81
82
  * Text describing the content of the ToggleButton more than the label. You can also send in a React component, so it gets wrapped inside the ToggleButton component.
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
 
5
5
  var _AlignmentHelper;
6
6
 
7
- const _excluded = ["status", "status_state", "status_props", "status_no_animation", "global_status_id", "suffix", "label", "label_direction", "label_sr_only", "text", "title", "readOnly", "className", "class", "disabled", "skeleton", "variant", "left_component", "icon", "icon_size", "icon_position", "value", "id", "checked", "children", "on_change", "on_state_update"];
7
+ const _excluded = ["status", "status_state", "status_props", "status_no_animation", "globalStatus", "suffix", "label", "label_direction", "label_sr_only", "text", "title", "readOnly", "className", "class", "disabled", "skeleton", "variant", "left_component", "icon", "icon_size", "icon_position", "value", "id", "checked", "children", "on_change", "on_state_update"];
8
8
 
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10
10
 
@@ -168,7 +168,7 @@ export default class ToggleButton extends React.PureComponent {
168
168
  status_state,
169
169
  status_props,
170
170
  status_no_animation,
171
- global_status_id,
171
+ globalStatus,
172
172
  suffix,
173
173
  label,
174
174
  label_direction,
@@ -293,7 +293,7 @@ export default class ToggleButton extends React.PureComponent {
293
293
  }, React.createElement(FormStatus, _extends({
294
294
  show: showStatus,
295
295
  id: id + '-form-status',
296
- global_status_id: global_status_id,
296
+ globalStatus: globalStatus,
297
297
  label: label,
298
298
  text_id: id + '-status',
299
299
  text: status,
@@ -343,7 +343,7 @@ _defineProperty(ToggleButton, "defaultProps", {
343
343
  status_state: 'error',
344
344
  status_props: null,
345
345
  status_no_animation: null,
346
- global_status_id: null,
346
+ globalStatus: null,
347
347
  suffix: null,
348
348
  value: '',
349
349
  icon: null,
@@ -376,7 +376,10 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes = _objectSpread(_
376
376
  status_state: PropTypes.string,
377
377
  status_props: PropTypes.object,
378
378
  status_no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
379
- global_status_id: PropTypes.string,
379
+ globalStatus: PropTypes.shape({
380
+ id: PropTypes.string,
381
+ message: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
382
+ }),
380
383
  suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
381
384
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.object, PropTypes.array]),
382
385
  icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.func]),
@@ -7,6 +7,7 @@ import type {
7
7
  import type { SkeletonShow } from '../Skeleton';
8
8
  import type { SpacingProps } from '../space/types';
9
9
  import type { FormLabelLabelDirection, FormLabelText } from '../FormLabel';
10
+ import type { GlobalStatusConfigObject } from '../GlobalStatus';
10
11
  export type ToggleButtonGroupVariant = 'default' | 'checkbox' | 'radio';
11
12
  export type ToggleButtonGroupSuffix =
12
13
  | string
@@ -68,9 +69,9 @@ export interface ToggleButtonGroupProps
68
69
  status_no_animation?: boolean;
69
70
 
70
71
  /**
71
- * The `status_id` used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
72
+ * The <a href="/uilib/components/global-status/properties/#configuration-object">configuration</a> used for the target <a href="/uilib/components/global-status">GlobalStatus</a>.
72
73
  */
73
- global_status_id?: string;
74
+ globalStatus?: GlobalStatusConfigObject;
74
75
 
75
76
  /**
76
77
  * Text describing the content of the ToggleButton more than the label. You can also send in a React component, so it gets wrapped inside the ToggleButton component.
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
 
5
5
  var _AlignmentHelper;
6
6
 
7
- const _excluded = ["status", "status_state", "status_props", "status_no_animation", "global_status_id", "suffix", "label_direction", "label_sr_only", "vertical", "layout_direction", "label", "variant", "left_component", "no_fieldset", "disabled", "skeleton", "className", "class", "multiselect", "id", "name", "value", "values", "children", "on_change"];
7
+ const _excluded = ["status", "status_state", "status_props", "status_no_animation", "globalStatus", "suffix", "label_direction", "label_sr_only", "vertical", "layout_direction", "label", "variant", "left_component", "no_fieldset", "disabled", "skeleton", "className", "class", "multiselect", "id", "name", "value", "values", "children", "on_change"];
8
8
 
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
10
10
 
@@ -94,7 +94,7 @@ export default class ToggleButtonGroup extends React.PureComponent {
94
94
  status_state,
95
95
  status_props,
96
96
  status_no_animation,
97
- global_status_id,
97
+ globalStatus,
98
98
  suffix,
99
99
  label_direction,
100
100
  label_sr_only,
@@ -182,7 +182,7 @@ export default class ToggleButtonGroup extends React.PureComponent {
182
182
  }, params), React.createElement(FormStatus, _extends({
183
183
  show: showStatus,
184
184
  id: id + '-form-status',
185
- global_status_id: global_status_id,
185
+ globalStatus: globalStatus,
186
186
  label: label,
187
187
  text_id: id + '-status',
188
188
  text: status,
@@ -219,7 +219,7 @@ _defineProperty(ToggleButtonGroup, "defaultProps", {
219
219
  status_state: 'error',
220
220
  status_props: null,
221
221
  status_no_animation: null,
222
- global_status_id: null,
222
+ globalStatus: null,
223
223
  suffix: null,
224
224
  vertical: null,
225
225
  layout_direction: 'row',
@@ -249,7 +249,10 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes = _objectSpr
249
249
  status_state: PropTypes.string,
250
250
  status_props: PropTypes.object,
251
251
  status_no_animation: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
252
- global_status_id: PropTypes.string,
252
+ globalStatus: PropTypes.shape({
253
+ id: PropTypes.string,
254
+ message: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
255
+ }),
253
256
  suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.node]),
254
257
  vertical: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
255
258
  layout_direction: PropTypes.oneOf(['column', 'row']),
@@ -2,10 +2,10 @@
2
2
  * Web Tooltip Component
3
3
  *
4
4
  */
5
- import React from 'react';
5
+ /// <reference types="react" />
6
6
  import { TooltipProps } from './types';
7
7
  declare type TooltipWithEventsProps = {
8
- target: HTMLElement | React.ReactElement;
8
+ target: HTMLElement;
9
9
  active: boolean;
10
10
  internalId: string;
11
11
  };
@@ -108,8 +108,13 @@ function TooltipWithEvents(props) {
108
108
 
109
109
  const onMouseEnter = e => {
110
110
  try {
111
+ const elem = e.currentTarget;
112
+
113
+ if (elem.getAttribute('data-autofocus')) {
114
+ return;
115
+ }
116
+
111
117
  if (isTouch(e.type)) {
112
- const elem = e.currentTarget;
113
118
  elem.style.userSelect = 'none';
114
119
  }
115
120
  } catch (e) {
@@ -6,18 +6,18 @@
6
6
  * Utilities
7
7
  */
8
8
  .dnb-visually-hidden--focusable:not(:focus):not(:focus-within) {
9
- -webkit-user-select: none;
10
- user-select: none;
11
- -webkit-touch-callout: none;
12
- pointer-events: none;
13
- position: absolute;
14
- -webkit-clip-path: inset(50%);
15
- clip-path: inset(50%);
16
- max-width: 1px;
17
- max-height: 1px;
18
- overflow: hidden;
19
- white-space: nowrap;
20
- padding: 0;
21
- margin: 0;
22
- border: 0;
9
+ -webkit-user-select: none !important;
10
+ user-select: none !important;
11
+ -webkit-touch-callout: none !important;
12
+ pointer-events: none !important;
13
+ position: absolute !important;
14
+ -webkit-clip-path: inset(50%) !important;
15
+ clip-path: inset(50%) !important;
16
+ max-width: 1px !important;
17
+ max-height: 1px !important;
18
+ overflow: hidden !important;
19
+ white-space: nowrap !important;
20
+ padding: 0 !important;
21
+ margin: 0 !important;
22
+ border: 0 !important;
23
23
  }
@@ -1 +1 @@
1
- .dnb-visually-hidden--focusable:not(:focus):not(:focus-within){-webkit-touch-callout:none;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}
1
+ .dnb-visually-hidden--focusable:not(:focus):not(:focus-within){-webkit-touch-callout:none!important;border:0!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;margin:0!important;max-height:1px!important;max-width:1px!important;overflow:hidden!important;padding:0!important;pointer-events:none!important;position:absolute!important;-webkit-user-select:none!important;user-select:none!important;white-space:nowrap!important}
@@ -5,5 +5,5 @@
5
5
  /// <reference types="react" />
6
6
  declare const Link: import("react").ForwardRefExoticComponent<Pick<import("../components/Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
7
7
  space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
8
- }, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "element" | "targetBlankTitle" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
8
+ }, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "icon" | "element" | "targetBlankTitle" | "iconPosition" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
9
9
  export default Link;
@@ -87,7 +87,7 @@ export declare const getElements: () => {
87
87
  Li: ({ className, ...p }?: import("./Li").LiAllProps) => JSX.Element;
88
88
  Link: import("react").ForwardRefExoticComponent<Pick<import("../components/Anchor").AnchorProps & import("react").HTMLProps<HTMLAnchorElement> & import("../shared/types").SpacingElementProps & {
89
89
  space?: import("../shared/types").SpaceType | import("../shared/types").SpacingElementProps;
90
- }, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "element" | "targetBlankTitle" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
90
+ }, "aria-hidden" | "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "accessKey" | "key" | "value" | "space" | "top" | "right" | "bottom" | "left" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "list" | "tooltip" | "step" | "shape" | "skeleton" | "as" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "to" | "icon" | "element" | "targetBlankTitle" | "iconPosition" | "omitClass" | "inner_ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
91
91
  Ol: ({ nested, inside, outside, ...p }?: import("./Ol").OlAllProps) => JSX.Element;
92
92
  P: ({ modifier, element, className, medium, bold, size, ...props }: import("./P").PProps) => JSX.Element;
93
93
  Paragraph: (props: import("./P").PProps) => JSX.Element;
@@ -0,0 +1,16 @@
1
+ @use '../typography-mixins.scss' as typography;
2
+
3
+ // Paragraphs
4
+ .dnb-p {
5
+ color: var(--sb-color-text);
6
+ }
7
+
8
+ // Setting the default headings color
9
+ @include typography.headingTags() {
10
+ color: var(--sb-color-text);
11
+ }
12
+
13
+ // Headings
14
+ @include typography.headingClasses() {
15
+ color: var(--sb-color-text);
16
+ }
@@ -1,35 +1,16 @@
1
+ @use '../typography-mixins.scss' as typography;
2
+
1
3
  // Paragraphs
2
4
  .dnb-p {
3
5
  color: var(--theme-color-black-80, currentColor);
4
6
  }
5
7
 
6
8
  // Setting the default headings color
7
- h1,
8
- h2,
9
- h3,
10
- h4,
11
- h5,
12
- h6 {
9
+ @include typography.headingTags() {
13
10
  color: var(--theme-color-black-80, currentColor);
14
11
  }
15
12
 
16
13
  // Headings
17
- .dnb-lead,
18
- .dnb-h--xx-large,
19
- .dnb-h--x-large,
20
- .dnb-h--large,
21
- .dnb-h--medium,
22
- .dnb-h--basis,
23
- .dnb-h--small,
24
- .dnb-h--x-small,
25
- // make exception on headings which are inside of dnb-core-style
26
- .dnb-core-style .dnb-lead,
27
- .dnb-core-style .dnb-h--xx-large,
28
- .dnb-core-style .dnb-h--x-large,
29
- .dnb-core-style .dnb-h--large,
30
- .dnb-core-style .dnb-h--medium,
31
- .dnb-core-style .dnb-h--basis,
32
- .dnb-core-style .dnb-h--small,
33
- .dnb-core-style .dnb-h--x-small {
14
+ @include typography.headingClasses() {
34
15
  color: var(--theme-color-black-80, currentColor);
35
16
  }
@@ -1,5 +1,38 @@
1
1
  @use '../../../style/elements/ui-spacing.scss';
2
2
 
3
+ @mixin headingTags() {
4
+ h1,
5
+ h2,
6
+ h3,
7
+ h4,
8
+ h5,
9
+ h6 {
10
+ @content;
11
+ }
12
+ }
13
+
14
+ @mixin headingClasses() {
15
+ .dnb-lead,
16
+ .dnb-h--xx-large,
17
+ .dnb-h--x-large,
18
+ .dnb-h--large,
19
+ .dnb-h--medium,
20
+ .dnb-h--basis,
21
+ .dnb-h--small,
22
+ .dnb-h--x-small,
23
+ // make exception on headings which are inside of dnb-core-style
24
+ .dnb-core-style .dnb-lead,
25
+ .dnb-core-style .dnb-h--xx-large,
26
+ .dnb-core-style .dnb-h--x-large,
27
+ .dnb-core-style .dnb-h--large,
28
+ .dnb-core-style .dnb-h--medium,
29
+ .dnb-core-style .dnb-h--basis,
30
+ .dnb-core-style .dnb-h--small,
31
+ .dnb-core-style .dnb-h--x-small {
32
+ @content;
33
+ }
34
+ }
35
+
3
36
  @mixin headingDefaults() {
4
37
  padding: 0;
5
38
 
@@ -1 +1,2 @@
1
1
  export function init(): void;
2
+ export const version: "10.0.0-beta.8";
@@ -1,8 +1,9 @@
1
+ export const version = '10.0.0-beta.8';
1
2
  export function init() {
2
3
  if (typeof window !== 'undefined') {
3
4
  class Eufemia {
4
5
  get version() {
5
- return '10.0.0-beta.6';
6
+ return '10.0.0-beta.8';
6
7
  }
7
8
 
8
9
  }