v10.0.0-beta.2
Pre-release
Pre-release
tujoworker
released this
10 Mar 12:23
·
304 commits
to beta
since this release
10.0.0-beta.2 (2023-03-10)
⚠ BREAKING CHANGES
-
- CSS Packages such as
dnb-ui-basis
anddnb-ui-core
do not contain the fonts anymore. Fonts are now only a part of a theme file, such as:/style/themes/theme-ui/dnb-theme-ui.*
.
- CSS Packages such as
- The CSS package
dnb-ui-fonts
is moved inside a theme folder/themes/theme-ui
- The DNB font is moved inside a subfolder in /assets/fonts/dnb/...
✨ Features
- move
dnb-ui-fonts
package inside/style/themes/theme-ui/
(abb5ff7) - move
properties.scss
into theme ui (#2035) (42f8c3a) - move DNB font in subfolder (eb15950)
- Pagination: replace
page
withpageNumber
(9d971c9)
🐛 Bug Fixes
- Accordion: enhance TypeScript type definitions (7c5eead)
- Anchor: ensure id is passed down (#2016) (363af36)
- Autocomplete: add HorizontalItem TypeScript type definition (c4e7322)
- DatePicker: make focus handling on input work on second click (#2039) (dc25e65)
- DrawerList: enhance TypeScript definition types (381183f)
- Dropdown: enhance TypeScript definition types (9854ba6)
- enhance scrollbar appearance (#2046) (54b2222)
- GlobalStatus: enhance TypeScript definition types (9e6d724)
- Heading: enhance TypeScript definition types (8c0e78a)
- InputMasked: expose inner_ref input element when useRef is used (#2042) (6629a99)
- make docs/portal Windows compatible by properly handle backslashes and newlines (#2038) (20a90d5)
- MediaQuery: enhance TypeScript types (3959026)
- Modal: make children accept function with close method in parameters (#2015) (ef4fa2e)
- Pagination: enhance Pagination and InfinityScroller TypeScript definitions (2a0d9da)
- Pagination: fix hover style state after click to be emerald-green (#2032) (5bc802e)
- remove FormRow context support from /elements (#2031) (fa14c40)
- ScrollView: avoid usage of useLayoutEffect during SSR (#2012) (bd21281)
- Skeleton: add Skeleton.Exclude types (f49d900)
- StepIndicator: fix TypeScript spacing types (89dd4b6)
📝 Documentation
- Accordion: improve docs of group & allow_close_all (#2070) (78440b0)
- adds missing accents to values in docs (#2041) (3730947)
- Autocomplete: minor spelling improvement in title (#2069) (f796e8c)
- Avatar: fixes broken properties table (#2030) (d872d72)
- Contact: adds Joakim as contact (#2023) (534c69a)
- Contribution Guide: update legacy type definition handling (#2048) (f004f6a)
- Extension: convert md to mdx files (#2026) (68c54ee)
- fix outdated boolean usage (#2013) (f4fb26d)
- fix wrong Heading example about margin collapse (f810f2c)
- getOffsetTop: fix wrong docs and console.log usage (#2018) (5c31970)
- GlobalStatus: improve docs for id prop (#2067) (b7bf098)
- Input: adds on_key_down event (#2062) (a9b07be)
- make click on anchor with hash work on first click (#2019) (a4ac4c8)
- remove
smoothscroll-polyfill
as a recommendation (#2020) (cc06592) - remove properties import from docs (#2034) (15b4238)
- removes cards and spaceholder indicator (#2061) (a782522)