Gathering detailed insights and metrics for @lion/form-core
Gathering detailed insights and metrics for @lion/form-core
Gathering detailed insights and metrics for @lion/form-core
Gathering detailed insights and metrics for @lion/form-core
npm install @lion/form-core
Typescript
Module System
Node Version
NPM Version
82.3
Supply Chain
94.9
Quality
79.9
Maintenance
100
Vulnerability
100
License
providence-analytics@0.18.4
Updated on Feb 03, 2025
providence-analytics@0.18.3
Updated on Feb 03, 2025
providence-analytics@0.18.2
Updated on Jan 31, 2025
@lion/ui@0.11.0
Updated on Jan 30, 2025
@lion/ui@0.10.1
Updated on Jan 29, 2025
providence-analytics@0.18.1
Updated on Jan 29, 2025
JavaScript (97.1%)
TypeScript (2.45%)
HTML (0.45%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
607,844
Last Day
361
Last Week
2,283
Last Month
11,947
Last Year
133,269
MIT License
1,796 Stars
2,865 Commits
304 Forks
32 Watchers
123 Branches
144 Contributors
Updated on Feb 14, 2025
Minified
Minified + Gzipped
Latest Version
0.18.3
Package Id
@lion/form-core@0.18.3
Unpacked Size
1.76 MB
Size
218.12 kB
File Count
160
NPM Version
8.15.0
Node Version
16.17.0
Cumulative downloads
Total Downloads
Last Day
-21.4%
361
Compared to previous day
Last Week
-22.7%
2,283
Compared to previous week
Last Month
70.9%
11,947
Compared to previous month
Last Year
-4.2%
133,269
Compared to previous year
2
This page should be used as a starting point when first using the Form System. It provides an overview of its essential building blocks and provides links to detailed explanations of most of its core concepts.
Our Form System is built from a set of very fundamental building blocks: form control
s, field
s and fieldset
s.
Form control
s are the most fundamental building blocks of our Form System.
They are the fundament of both field
s, and fieldset
s and provide a normalized, predictable API throughout the whole form. Every form element inherits from FormControlMixin
.
FormControlMixin
creates the default html structure and accessibility is designed to be used in conjunction with the ValidateMixin and the FormatMixin.
Fields (think of an input, textarea, select) are the actual form controls the end user interacts with. They extend LionField
, which in turn uses the FormControlMixin
. Fields provide a normalized API for both platform components and custom made form controls.
On top of this, they feature:
Form control
s are the most fundamental building block of the Forms. They are the basis of
both field
s and fieldset
s, and the form
itself.<input>
.<textarea>
.<select>
.Whenever a native form control doesn't exist or is not sufficient, a custom form field should be created. One could think of components like:
<input type="date">
.<input type="date">
including a calendar dropdown.<input type="number">
special for amounts.<input type="email">
.<input type="range">
.<input type="number">
.<select>
with multiline options.For form controls which return a checked-state
you can use the lion-choice-input
mixin. It is used in:
<input type="checkbox">
.<option>
.<input type="radio">
.Which contains the following features:
choiceValue()
..modelValue
.checked
boolean attribute.Fieldsets are groups of fields. They can be considered fields on their own as well, since they partly share the normalized API via FormControlMixin
. Fieldsets are the basis for:
<form>
component.No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 18/21 approved changesets -- score normalized to 8
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
26 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More