v10.11.0
10.11.0 (2023-11-03)
✨ Features
- breakpoints: media query mixin offset options (#2773) (d0c4c6d)
- Dropdown: add Drawerlist theme for Sbanken (#2649) (3a69d7c)
- FormLabel: rewrite to TypeScript (#2818) (2b3e419)
- forms: add autocomplete (autofill) support (#2811) (342556c)
- forms: add Norwegian translation to country list (#2814) (6073ab7)
- forms: reset
sessionStorageId
on submit (#2812) (cbbd9e5) - PaymentCard: add styling for other card statuses (#2777) (#2822) (195b083)
- SASS: add allBetween media query breakpoint mixin (#2779) (1c8e8ef)
- Section: add responsive props: breakout, outline, cornerRadius, backgroundColor, textColor and innerSpace (#2791) (ed3ca99)
- skip-link: sbanken styling (#2785) (f6d9ea3)
- Space: add innerSpace prop with media query breakpoints support (#2790) (3dffb90)
- Upload: singular texts when uploading single file (#2783) (cbf1cb9)
🐛 Bug Fixes
- Anchor: position icon left with target blank sbanken (#2797) (d2d1779)
- BreadcrumbItem when using to and element props (#2813) (e7eff2d)
- Breadcrumb: Pass rest props to item when not interactive (#2798) (72de227), closes /github.com/dnbexperience/eufemia/pull/2676/files#r1368576095
- FieldBlock: add asFieldset property to force use fieldset/legend (#2780) (bd1faed)
- FieldBlock: fix alignment issue when element is fieldset (#2786) (544424b)
- forms: enhance accessibility by using toggle buttons (#2781) (aee0113)
- forms: fix Form.Element type (#2796) (0b5dfa7)
- forms: Selection accessibility enhancement by using toggle buttons (#2795) (6bc6062)
- forms: Support undefined in toggle and button fields (#2775) (a22fad5)
- GlobalStatus: remove paragraph tag around title to allow children paragraphs (#2800) (c0657bb)
- NumberFormat: show em dash instead of NaN (#2784) (ca65f4a)
- NumberMask: as_number should default to locally given decimalSymbol (#2810) (833f422)
- PhoneNumber: fix spacing prop support (#2815) (c57e7d1), closes #2807
- TypeScript: fix Grid and Flex export (#2819) (5316fc0)
- TypeScript: make dynamic element prop compatible with e.g. Styled Component elements (#2778) (8a6b766)
- useMedia: enhance SSR support by setting state during component mount (#2774) (d72aa2b)
📝 Documentation
- display anchors with icons using Anchor's icon prop (#2801) (57e75ac)
- FieldBlock: removes excessive properties header (e5d9cbe)
- FieldBlock: removes excessive properties header (#2788) (bb739ea)
- FormSet: spelling in deprecation docs (#2827) (1bcbf60)
- PaymentCard: sets card_number as required (#2841) (b58978e)