Skip to content

NDS Release v.1.0.1

Compare
Choose a tag to compare
@caccamojr caccamojr released this 31 Mar 20:13
fc35bf1

NDS Release v1.0.1

New Components

  • Molecules -> Navigation -> Navigation Dropdown
    • Allows users to easily define a dropdown menu. Most useful in conjunction with the navigation-primary component.
    • Updated the navigation-primary demo to showcase the usage.
  • Molecules -> Navigation -> Navigation Tabs
    • A navigation style allowing users to access different sections of a page.

Global Asset Changes & Fixes

  • Update: Modified button demos to include more button types.
  • Update: Implemented a system of Z-Index variables and updated pattern SCSS to use them.
  • Update: Added an attributes parameter to the icon-default pattern.
  • Update: Added the “full” option for Media Component float parameter - makes image full width of body content.
  • Update: Moved the “closest” polyfill into the utilities.js file.
  • Issue: Removed border issue on hover/focus from the icon-document pattern that caused the icon to move.
  • Update: Updated the data attributes script for more comprehensive support of components and Google Analytics tracking.
  • Issue: Fixed issue with alignment of pagination buttons on IE.
  • Issue: Fixed issue preventing the addition of extra classes on the block-search-result pattern.
  • Issue: Fixed issue where the Accordion component was not receiving the proper data attributes.
  • Update: Added hardcoded data attributes to the component-uswds-banner for tracking.
  • Update: Added hardcoded data attribute for the mobile menu button in the global-header pattern.
  • Issue: Removed unintended shadow on the component-uswds-banner when using the Shadows style.
  • Update: Tied NDS styling for aligned images to Drupal markup.
  • Update: Added support to the default--block for a default--block--image style.
  • Update: Handled button sizing for mobile.
  • Update: Reduced padding for blocks on mobile.
  • Issue: Fixed Mobile Rail Button display when using Material shadows.
  • Issue: Fixed visited style for document icons, added additional CSS handling/classes for document types.

Static Site Builder Changes & Fixes

  • Feature: Auto Path Builder (Inspired by Nuxt.js)
    • The Static Site Builder (SSB) will use the page file name and relative location within the 05-pages/ directory as the distribution URL when the project gets built. For instance, if someone creates a design/design.twig file, the distribution path on build will be /design.
    • This feature eliminates the need for an 06-dist/ directory, as well as the need to manually specify the page URL in the Gulpfile.js, reducing the SSB bundle size by removing unneeded files and making the SSB more user-friendly for less technical users.

NDS Documentation Site Changes & Fixes

  • Update: Updated the data attributes script for more comprehensive support of components and Google Analytics tracking (based on the global change).
  • Issue: Fixed the issue with the Copy and Pattern Lab Info buttons not being tracked.
  • Update: Added the dropdown component to the primary navigation of the site.
  • Update: Removed the “Overview” section from each dropdown as now each section title can be clicked.
  • Update: Updated pattern documentation on the Components page for additional patterns and changes.
  • Update: Added a Components dropdown to the primary/mobile menu allowing direct access to the Atoms, Molecules, and Organisms sections.
  • Issue: Various spacing fixes for mobile display.
  • Issue: Components and Development pages had an incorrect label on the local navigation button on mobile.