v2.5.0
New Additions
-
NsSwitch:
- Introduced the new
NsSwitch
component for toggle functionality.
- Introduced the new
-
NsNumberInput:
- Added
NsNumberInput
component to replace<input type="number">
for improved accessibility, non-incrementable fields (like passport numbers), and better user experience. The new component uses<input type="text" inputmode="numeric" pattern="[0-9]*">
for enhanced compatibility across devices.
- Added
Improved
-
NsHeader:
- Added
infoBox
prop allowing a React component to be centered within the header for greater customization.
- Added
-
NsDataGrid:
- Adjusted
Typography
to render as<div>
instead of<p>
to prevent nesting errors when including other elements inside it.
- Adjusted
-
NsPanel:
- Provided an example usage to simulate a specific case and ensure the panel dynamically adapts to the parent container size.
-
Storybook:
- Updated the dark mode banner's "Need Help" color for better visibility.
Fixed
-
Tooltip:
- Removed the border for a cleaner visual appearance.
-
Exports:
- Exported the
DynamicLink
component for wider availability in the project.
- Exported the