npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@funnelback/ng-sds

v1.10.6

Published

`@funnelback/ng-sds` is Bootstrap 5 based library that aims to implement the [Squiz Design System specification](https://designsystem.squiz.net/) in Angular.

Downloads

634

Readme

SDS Library

@funnelback/ng-sds is Bootstrap 5 based library that aims to implement the Squiz Design System specification in Angular.

Demo

Demo and Documentation available at http://docs.sds-angular.funnelback.com

Usage

The SDS library is published via npm. Install it into your project using

npm install @funnelback/ng-sds --save

Dependencies

| SDS library version | Angular version | Bootstrap version | | ------------------- | --------------- | ----------------- | | 1.10.x (latest) | 16.2.x | 5.2.3 | | 1.9.x | 15.2.x | 5.2.3 | | 1.8.x | 14.3.x | 5.2.0 | | 1.7.x | 13.4.x | 5.0.0 | | 1.6.x | 13.4.x | 4.6.0 | | 1.5.x | 12.2.x | 4.6.0 | | 1.4.x | 12.2.x | 4.5.0 | | 1.3.x | 10.2.x | 4.5.0 | | 1.2.x | 7.2.x | 4.0.0 |

1.10.x (Angular v16.2.x)

Some of SDS components are driven by the third-party dependency ng-bootstrap. If you wish to use any of those components, ng-bootstrap needs to be installed as a peer dependency:

npm install @ng-bootstrap/ng-bootstrap@^15.0.0 @popperjs/core@^2.10.6 --save

The SDS Icons component depends on @material-design-icons/font. If you wish to use the SDS Icons, these icons need to be installed as a peer dependency:

npm install @material-design-icons/font --save

You will then need to follow the instructions to import the fonts into your project.

The SDS Stepper component builds upon the @angular/cdk. If you wish to use the SDS Stepper component, this will need to be installed as a peer dependency:

npm install @angular/cdk@^16.2.12 --save

1.9.x (Angular v15.2.x)

npm install @ng-bootstrap/ng-bootstrap@^14.0.0 --save
npm install @material-design-icons/font --save
npm install @angular/cdk@^15.2.9 --save

1.8.x (Angular v14.3.x)

npm install @ng-bootstrap/ng-bootstrap@^13.0.0 --save
npm install @material-design-icons/font --save
npm install @angular/cdk@^14.2.7 --save

1.7.x (Angular v13.4.x)

npm install @ng-bootstrap/ng-bootstrap@^12.0.0 --save
npm install @material-design-icons/font --save
npm install @angular/cdk@^13.3.9 --save

1.6.x (Angular v13.4.x)

npm install @ng-bootstrap/ng-bootstrap@^11.0.0 --save
npm install @material-design-icons/font --save
npm install @angular/cdk@^13.3.9 --save

1.5.x (Angular v12.2.x)

npm install @ng-bootstrap/ng-bootstrap@^10.0.0 --save
npm install @material-design-icons/font --save
npm install @angular/cdk@^12.2.12 --save

1.4.x (Angular v12.2.x)

npm install @ng-bootstrap/ng-bootstrap@^10.0.0 --save
npm install material-design-icons --save
npm install @angular/cdk@^12.2.12 --save

1.3.x (Angular v10.2.x)

npm install @ng-bootstrap/ng-bootstrap@^10.0.0 --save
npm install material-design-icons --save
npm install @angular/cdk@^10.2.7 --save

1.2.x (Angular v7.2.x)

npm install @ng-bootstrap/ng-bootstrap@^4.0.0 --save
npm install material-design-icons --save
npm install @angular/cdk@^7.2.0 --save

Styling

Import the following stylesheet globally:

node_modules/@funnelback/ng-sds/assets/scss/main.scss

Components

In your typescript import main module with all SDS components:

import { SdsModule } from '@funnelback/ng-sds';

@NgModule({
  imports: [SdsModule, ...],
})
export class AppModule(){}

Alternatively, import only the modules with SDS components that you need:

import { Sds<ComponentYouNeed>Module } from '@funnelback/ng-sds';

@NgModule({
  imports: [Sds<ComponentYouNeed>Module, ...],
})
export class AppModule(){}