Skip to content

v2.6.0

Compare
Choose a tag to compare
@morrys morrys released this 15 Nov 16:27
· 2 commits to main since this release

New Additions

  • NsNotificationList:

    • Introduced the new NsNotificationList component.
    • Added translation support.
    • Exported types for usage.
    • Created a Storybook story for demonstration.
  • NsDataGrid:

    • Column Visibility Menu:
      Introduced a menu to manage column visibility, dynamically positionable using the render function within the table component.
  • Storybook:

    • Added Figma integration within Storybook stories.

Improved

  • NsCard:

    • Added sx support for enhanced customization.
  • 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.
  • NsDataGrid:

    • Custom Layout Support:
      Updated NsDataGridClient to accept a custom renderer for flexible layouts.
    • Translation Structure:
      Introduced table.controls section for handling translations, starting with columnVisibility: "Columns Visibility".
    • Dynamic Alignment:
      The column visibility button is now right-aligned using justifyContent: 'flex-end'.
    • Removed Typography within table cells to enable full cell customization.
  • 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.