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

@elduris/isa-webcomponents

v1.18.1

Published

Library for building Isa web applications

Downloads

13

Readme

Isa web component library

Why Isa?

The word Isa is runic symbol for Ice. As explained so well on: https://runesecrets.com/rune-meanings/isa

“Ice only appears to stop a river’s flow.”

Isa – “Iss-ah” – Literally: “Ice” – Esoteric: Stasis, Stillness

Rune of concentration of things in a static or frozen state. Rune of stillness and the Ego-Self.

Psi: mental faculties, focus, ego, self-image/self-identity

Energy: stillness, contraction, stasis

Mundane: cold, self-preservation, harsh reality

Divinations: Concentrated self, ego-consciousness, self-control, unity of being; or egomania, dullness, blindness, dissipation, immobility, self-centeredness, lack of change, psychopathy.

Governs: Development of concentration, will and focus Halting of unwanted dynamic forces as an act of self-defense (ard against demonic influences) Basic ego integration within a balanced multiversal system Power of control and constraint over other wights (entities), emotional outbursts Focus of the will into single-minded action

Build Status

Use this library to create webcomponents for Isa applications. The base class does all the boilerplate required to wire your component up to EIIS backend services.

Getting Started

Install into your project

npm install @elduris/isa-webcomponents

Include JavaScript module on your page. Copy the .js file to an appropriate location and include it:

<script type="module">
	include { Isa } from "<location>/Isa.esm.js"
</script>

Optionally include css on your page:

	<link rel="stylesheet" href="/css/Isa.css"/>

Add custom tags to your HTML, for example:

<isa-page header="My page" drawer footer>
  <div slot="drawer">
		Content in side drawer
  </div>

	<isa-panel header="Panel" border>
		<p>
			Content for page content area, in a panel
		</p>
	</isa-panel>

  <div slot="footer">
		Content in page footer
  </div>
</isa-page>

To use the livrary in JavaScript, create a JavaScript class that extends Isa.Element:

customElements.define('my-cool-component', class MyCoolComponent extends Isa.Element {

    constructor() {
        super();
        ...

    render() {
        ...

}

Elements can be data driven. Create stateful, data aware components by extending Isa.Component:

customElements.define('isa-data-component', class MyDataComponent extends Isa.Element {

    constructor() {
        super();
        ...

	// add data store
    this.configureStore({
        element: this,
        name: 'ServiceStore',
        endpoint: 'gateway/services',
        dataItems: 'services',
        autoLoad: true,
        cache: true
    });

    render() {
        ...

}

Styling

<style>
	:root {
		/* style coloring */
		--isa-color: navy;
		--isa-theme-color: #ffc107;
		/* optional style coloring */
		--isa-background: white;
		--isa-banner-color: darkblue;
		--isa-banner-background-color: orange;
		--isa-button-color: var(--isa-color);
		--isa-button-background-color: var(--isa-theme-color);
		--isa-navbar-color: navy;
		--isa-navbar-background-color: #ffc107;
		--isa-navbar-button-color: navy;
		--isa-navbar-button-background-color: #ffc107;
		--isa-page-drawer-color: var(--isa-color);
		--isa-page-drawer-background-color: #fafafa;
		--isa-menu-color: var(--isa-color);
		--isa-menu-background-color: #fafafa;
		--isa-panel-header-color: gray;
		--isa-panel-header-background-color: yellow;
		--isa-grid-header-color: {{.Page.GridColor}};
		--isa-grid-header-background-color: {{.Page.GridHeaderColor}};
		--isa-grid-headerbar-background-color: {{.Page.GridHeaderColor}};
		--isa-dialog-header-color: black;
		--isa-dialog-header-background-color: darkgray;
		--isa-font-family: verdana, sans-serif;
		--isa-footer-color: gray;
		--isa-footer-background: navy;
		--isa-footer-min-width: 300;
		--isa-footer-max-width: 800;
		
		--primary: red;
	}
<style>

Demo app

Is located inside demo directory, here you can test your library while developing run http-server and npm run webpack

Testing

npm run test or yarn run test

Build library

npm run build or yarn run build

Produces production version of library in the lib folder.

Publish library

npm publish