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

jhornan2-design-system

v0.9.0

Published

A webcomponents library for Senior Sistemas - Suite BPM products.

Downloads

139

Readme

Tecnologia web components

Built With Stencil

npm (scoped) GitHub Workflow Status (branch) All Contributors

This is a Work in Progress Web components library made by BPM Suite team.

Browser Support

| Chrome | New Edge (Chromium) | Safari | Firefox | Older Edge | IE | | ------ | ------------------- | ------ | ------- | ----------------- | ----------------- | | 60+ | 79+ | 10.1+ | 63+ | 16-18 (polyfills) | >= 11 (polyfills) |

See complete docs

How to install

NPM

Install dependency:

npm i jhornan2-design-system

And import jhornan2-design-system.esm.js:

<script src="jhornan2-design-system/dist/jhornan2-design-system/jhornan2-design-system.esm.js" type="module"></script>

For legacy projects import jhornan2-design-system.js:

<script src="jhornan2-design-system/dist/jhornan2-design-system/jhornan2-design-system.js" type="text/javascript"></script>

For use in frameworks, see the Stencil page.

Via CDN (release candidate)

Now you can test components in a HTML page importing via script from CDN.

Stable

<script src="https://cdn.tecnologia.senior.com.br/platform/jhornan2-design-system/master/jhornan2-design-system/jhornan2-design-system.esm.js" type="module"></script>

For legacy projects use:

<script src="https://cdn.tecnologia.senior.com.br/platform/jhornan2-design-system/master/jhornan2-design-system/jhornan2-design-system.js" type="text/javascript"></script>

Release candidate (develop branch)

(ATTENTION!! Not use for production!)

<script src="https://cdn.tecnologia.senior.com.br/platform/jhornan2-design-system/develop/jhornan2-design-system/jhornan2-design-system.js"></script>

Other alternative is use UNPKG, for this, overwrite with the following URL: https://unpkg.com/jhornan2-design-system@latest/dist/jhornan2-design-system/jhornan2-design-system.js

Angular applications

npm i jhornan2-design-system

In your app.module.ts declare CUSTOM_ELEMENTS_SCHEMA:

import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';  // <-- import from here

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent],
  schemas: [CUSTOM_ELEMENTS_SCHEMA]   // <-- declare this
})
export class AppModule { }

And in main.ts end of file, add following imports:

import { applyPolyfills, defineCustomElements } from 'jhornan2-design-system/loader';

defineCustomElements();

// for IE support (optional)
applyPolyfills().then(() => {
  defineCustomElements()
})

React applications

yarn add jhornan2-design-system

In your src/index.js or src/index.tsx (typescript project) file, add following imports preferably before of the React Render:

import { applyPolyfills, defineCustomElements } from 'jhornan2-design-system/loader';

defineCustomElements();

// for IE support (optional)
applyPolyfills().then(() => {
  defineCustomElements()
})

I want to contribute

View contribution guide.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!