v2.6.0
New Additions
-
NsNotificationList:
- Introduced the new
NsNotificationList
component. - Added translation support.
- Exported types for usage.
- Created a Storybook story for demonstration.
- Introduced the new
-
NsDataGrid:
- Column Visibility Menu:
Introduced a menu to manage column visibility, dynamically positionable using the render function within the table component.
- Column Visibility Menu:
-
Storybook:
- Added Figma integration within Storybook stories.
Improved
-
NsCard:
- Added
sx
support for enhanced customization.
- Added
-
NsTooltip:
- Expanded applicability, allowing tooltips to be applied to any element instead of just icons.
-
Storybook:
- Removed
@storybook/addon-mdx-gfm
as it is no longer necessary. - Integrated
Remark
to support GitHub Flavored Markdown (GFM) in Storybook documentation. - Upgraded Storybook to version 8.4.
- Removed
-
NsDataGrid:
- Custom Layout Support:
UpdatedNsDataGridClient
to accept a custom renderer for flexible layouts. - Translation Structure:
Introducedtable.controls
section for handling translations, starting withcolumnVisibility: "Columns Visibility"
. - Dynamic Alignment:
The column visibility button is now right-aligned usingjustifyContent: 'flex-end'
. - Removed
Typography
within table cells to enable full cell customization.
- Custom Layout Support:
-
NsNotification:
- Added the ability to include links in notifications.
- Introduced a
markAllAsRead
function. - Enhanced translation support.
-
NsHeader:
- Added cascading menu support via dropdown, with an example in Storybook.
- Fixed
infoBox
positioning to align on the right. - Removed unnecessary SVG margins.
-
NsFeedback:
- Improved colors based on accessibility testing.
-
NsDropdown:
- Added support for disabling the overlay.
Fixed
- General:
- Removed
types.ts
file; type declarations are now included within component files. - Resolved deprecated
assert.CallTracker
issue for compatibility with newer Node.js versions.
- Removed