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

@aribaui/components

v6.2.1

Published

Ariba UI widgets and layouts based on primeng.

Downloads

38

Readme

components

Components module has 3 main parts:

Core

Mostly services or one interesting core directive such as:

IncludeComponentDirective which is key building block in order to render dynamic UI (MetaUI).

e.g:

<aw-include-component [name]="'TextFieldComponent'"  [bindings]=bindings >
</aw-include-component>

You just pass a string and component is rendered dynamically.

GenericContainerComponent is really generic component which can help you literary render any html element. Also key building block for generating UI on the fly. We are using this component to dynamically wrap other components.

<aw-generic-container tagName="h1" >
    My title
</aw-generic-container>

Layouts

FormTable: Pretty much every place that needs to render form fields uses this component. It support either only 1 zone layout (1 column) or multi zone layout:

<aw-form-table [labelsOnTop]="labelsOnTop" >
   <aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
           <aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
    </aw-form-row>

    <aw-form-row [label]="'a label 2'" [name]="'name2'" [size]="'medium'">
        <aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
    </aw-form-row>=
</aw-form-table>

or

<aw-form-table [useFiveZone]="fiveZone" >
    <aw-left>
        <aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
            <aw-input-field [name]="'name'" [value]="value1"></aw-input-field>
        </aw-form-row>
    </aw-left>


    <aw-right>
        <aw-form-row [label]="'a label 1'" [name]="'name'" [size]="'medium'">
            <aw-input-field [name]="'name'"  [value]="value1"></aw-input-field>
        </aw-form-row>
    </aw-right>
</aw-form-table>

Declarative layout

This is still on our todo list in order to loose dependency on PrimeNG grid system or any css grid system we might use in the future. We just want to have a component that could look like this e.g. :

<aw-flex-layout pattern=" (hbox (vzone MYLEFT) (vzone MYRIGHT))" >
        <aw-flex-content zone="MYLEFT">
                some fields
        </aw-flex-content>
              
         <aw-flex-content zone="MYRIGHT">
                some fields        
         </aw-flex-content>

</aw-flex-layout>

It would render one horizontal box with two named columns left and right for holding a content. aw-flex-content would just place your content into specific zone. With this you can define any kinds of layouts on the page. Basically the layout pattern would be parsed into a tree and then we would traverse a tree and render each box and zone. We don't want developers to trouble with detail of any css layout system.

Widgets

Contains basic set of widgets extending existing 3th-party library http://www.primefaces.org/primeng/ to match our custom usecases.