Please note that I will continue to add to this thread with new releases. Please check the title and the end of the thread to see the updates.
Hi all, I am pleased to announce the arrival of the first full release of my package of vanilla HTML web components.
They also have their very own website which contains all of the documentation and a demo/test page for each component.
These have been hanging around in various forms for a couple of years now but I've finally managed to get them to a point where I'm happy with enough of them to make them worth publishing on npm.
As it says in the package, these are not specific to Node-RED or to UIBUILDER and all of the components will work without either. However, some of them do have UIBUILDER enhancements. But you should be able to equally use them with http-in
/template
/http-response
nodes and even with either version of Dashboard.
If you want to use them with UIBUILDER, simply add @totallyinformation/web-components
via uibuilder's library manager. If you want to use them without installation, they can be used direct from JSDELIVR.
Every component can be used either by loading the script file or by importing in an ES Module.
<script src="https://cdn.jsdelivr.net/npm/@totallyinformation/web-components@1.1.0/dist/call-out.iife.min.js"></script>
import https://cdn.jsdelivr.net/npm/@totallyinformation/web-components@1.1.0/dist/call-out.esm.min.js
Most of the components have no dependencies.
Here are the initial components worth really playing with. There are a bunch of others that are in development and may or may not work. See the documentation for details.
Live
These are fully usable in their current form. They may still evolve but are considered relatively stable.
These components can be considered live
and ready for extended use.
Component | Description | Class Name |
---|---|---|
button-send |
A simple button that outputs key info either via a custom document event. When used with UIBUILDER for Node-RED, will send a message back to Node-RED. Also allows block contents on the button. | ButtonSend |
call-out |
Displays nicely formatted GitHub/Obsidian style call-out information boxes. Colour coded with an icon and over-ridable default title. | CallOut |
collapsible-headings |
Turns a section of Hn headings and block contents into collapsible content around the heading levels. | CollapsibleHeadings |
data-list |
Create a list from a data object. | DataList |
html-include |
Dynamically load external HTML content very easily without needing an iFrame. | HtmlInclude |
led-gauge |
A simple LED-style gauge widget with easily controlled colours and responsive layout. | LedGauge |
Beta
These components can be considered beta
quality or better. They may not be fully comprehensive but they have basic usefulness.
Name | Description | Class Name |
---|---|---|
labelled-value |
A simple label and value pair with easy styling. | LabelledValue |
syntax-highlight |
Show JSON or JavaScript object data as highlighted HTML. | SyntaxHighlight |
visible-console |
Reflects (clones) browser console log outputs to an on-screen visible block. Useful if needing to debug web apps on mobile devices with no access to the dev tools console. |
VisibleConsole |
Do check out the Roadmap and Ideas pages in addition to the demo pages and if you want something different or think I should prioritise something, please do give me a shout.