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

@evalink/cause

v0.0.42

Published

<span style="color:red">Be careful with the usage of this design component library. It is currently in development and has not a stable release yet. The apis might change during the further development.</span>

Downloads

55

Readme

Cause - Design Components Library

Be careful with the usage of this design component library. It is currently in development and has not a stable release yet. The apis might change during the further development.

For more information get in touch with [email protected].

Getting started with evalink cause

This Section explains how to setup the evalink cause design library with an angular project.

Install evalink cause

To install evalink cause, open your terminal and run the following command in your angular root folder:

npm install @evalink/cause

Add the required module

You need to add the cause component's module to the associated angular module class of the used component. For example as showed in the following use of the cause-header directive:

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    HttpClientModule,
    // The cause-header directive belongs to the CauseLayoutModule
    CauseLayoutModule,
  ],
  providers: [],
  exports: [],
  bootstrap: [AppComponent],
})
export class AppModule {}

Then you can use the module in the associated component template app.component.html.

<header cause-header></header>

Add the stylesheet imports

Design Modules

The evalink cause design components library is packed with the following useful modules. Each of them delivers components and directives to ensure a consistent experience through out the evalink ecosystem.

Cause Module

Pipes

Truncate Pipe

The truncate pipe helps you to shorten strings to a given length and append three dots(...). Use it in views where you need to make sure that the given content not exceed in length.

{{ exampleString | truncate }}
or
{{ exampleString | truncate:45 }}

Layout Module

The layout module helps you with structuring the general layout of an application. It provides components such as header, section and footer, to get a consistent look and feel through the all the public touchpoints.

Compontents

CauseHeader

Add a sticky header to the layout. It includes the evalink logo with a customisable link and a section to add own content, like a navigation menu or search functionality.

CauseSection

Create own meaning full sections with adjustable background color.

CauseFooter

Add a footer to the layout. It includes the Sitasys logo and a section to add own content, like a multi-row navigation menu.

Navigation Module

The navigation modules helps you with providing different kind of navigation menu and navigation elements. It handles also the responsive behaviour automatically.

Components

The navigation module exports the following components for creating navigation menus:

  • CauseNavTitle Add a title to navigation menus or lists. For example to display a title in a multi row menu in a website footer.
  • CauseDropdownMenu Create dropdown menus with a navigation list. use the CauseDropdownMenu in combination with the CauseNavList to display a proper styled dropdown menu out of the box. - CauseNavList Add a list with navigation items to a CauseDropdownMenu. This component serves as a container for multiple navigation list items.
  • CauseNavListItem A single item to add to a CauseNavList.

For more information get in touch with [email protected].