Socket
Socket
Sign inDemoInstall

@lion/form-core

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/form-core - npm Package Compare versions

Comparing version 0.18.1 to 0.18.2

56

docs/overview.md

@@ -23,5 +23,5 @@ # Systems >> Form >> Overview ||10

- [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
- Advanced [validation](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/validate.md) possibilities.
- Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/interaction-states.md).
- [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
- Advanced [validation](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/validate.md) possibilities.
- Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/interaction-states.md).
- Provision of labels and help texts in an easy, declarative manner.

@@ -35,20 +35,20 @@ - Accessibility out of the box.

- [LionInput](https://github.com/ing-bank/lion/blob/master/docs/components/input/overview.md), a wrapper for `<input>`.
- [LionTextarea](https://github.com/ing-bank/lion/blob/master/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
- [LionSelect](https://github.com/ing-bank/lion/blob/master/docs/components/select/overview.md), a wrapper for `<select>`.
- [LionInput](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input/overview.md), a wrapper for `<input>`.
- [LionTextarea](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
- [LionSelect](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/select/overview.md), a wrapper for `<select>`.
### Custom fields (wrappers)
Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/master/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
- [LionCombobox](https://github.com/ing-bank/lion/blob/master/docs/components/combobox/overview.md), a custom implementation of a combobox.
- [LionDate](https://github.com/ing-bank/lion/blob/master/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
- [LionDatepicker](https://github.com/ing-bank/lion/blob/master/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
- [LionListbox](https://github.com/ing-bank/lion/blob/master/docs/components/listbox/overview.md), a custom implementation of a listbox.
- [LionInputAmount](https://github.com/ing-bank/lion/blob/master/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
- [LionInputEmail](https://github.com/ing-bank/lion/blob/master/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
- [LionInputIban](https://github.com/ing-bank/lion/blob/master/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
- [LionInputRange](https://github.com/ing-bank/lion/blob/master/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
- [LionInputStepper](https://github.com/ing-bank/lion/blob/master/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
- [LionSelectRich](https://github.com/ing-bank/lion/blob/master/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
- [LionCombobox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/combobox/overview.md), a custom implementation of a combobox.
- [LionDate](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
- [LionDatepicker](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
- [LionListbox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/listbox/overview.md), a custom implementation of a listbox.
- [LionInputAmount](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
- [LionInputEmail](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
- [LionInputIban](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
- [LionInputRange](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
- [LionInputStepper](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
- [LionSelectRich](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.

@@ -59,6 +59,6 @@ ### Choice Input Fields

- [LionCheckbox](https://github.com/ing-bank/lion/blob/master/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
- [LionCheckbox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
- LionOption, an alternative for `<option>`.
- [LionRadio](https://github.com/ing-bank/lion/blob/master/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
- [LionSwitch](https://github.com/ing-bank/lion/blob/master/docs/components/switch/overview.md), a custom implementation of a switch.
- [LionRadio](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
- [LionSwitch](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/switch/overview.md), a custom implementation of a switch.

@@ -75,12 +75,12 @@ Which contains the following features:

- [LionFieldset](https://github.com/ing-bank/lion/blob/master/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
- [LionForm](https://github.com/ing-bank/lion/blob/master/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
- [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/master/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
- [LionRadioGroup](https://github.com/ing-bank/lion/blob/master/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
- [LionFieldset](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
- [LionForm](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
- [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
- [LionRadioGroup](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
## Other Resources
- [Model Value](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/model-value.md)
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/formatting-and-parsing.md)
- [Interaction states](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/interaction-states.md)
- [Validation System](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/validate.md)
- [Model Value](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/model-value.md)
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/formatting-and-parsing.md)
- [Interaction states](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/interaction-states.md)
- [Validation System](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/validate.md)
{
"name": "@lion/form-core",
"version": "0.18.1",
"version": "0.18.2",
"description": "Form-core contains all essential building blocks for creating form fields and fieldsets",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -23,5 +23,5 @@ # Systems >> Form >> Overview ||10

- [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
- Advanced [validation](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/validate.md) possibilities.
- Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/interaction-states.md).
- [formatting/parsing/serializing](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/formatting-and-parsing.md) of view values.
- Advanced [validation](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/validate.md) possibilities.
- Creation of advanced user interaction scenarios via [interaction states](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/interaction-states.md).
- Provision of labels and help texts in an easy, declarative manner.

@@ -35,20 +35,20 @@ - Accessibility out of the box.

- [LionInput](https://github.com/ing-bank/lion/blob/master/docs/components/input/overview.md), a wrapper for `<input>`.
- [LionTextarea](https://github.com/ing-bank/lion/blob/master/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
- [LionSelect](https://github.com/ing-bank/lion/blob/master/docs/components/select/overview.md), a wrapper for `<select>`.
- [LionInput](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input/overview.md), a wrapper for `<input>`.
- [LionTextarea](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/textarea/overview.md), a wrapper for `<textarea>`.
- [LionSelect](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/select/overview.md), a wrapper for `<select>`.
### Custom fields (wrappers)
Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/master/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
Whenever a native form control doesn't exist or is not sufficient, a [custom form field](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/guides/how-to/create-a-custom-field.md) should be created. One could think of components like:
- [LionCombobox](https://github.com/ing-bank/lion/blob/master/docs/components/combobox/overview.md), a custom implementation of a combobox.
- [LionDate](https://github.com/ing-bank/lion/blob/master/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
- [LionDatepicker](https://github.com/ing-bank/lion/blob/master/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
- [LionListbox](https://github.com/ing-bank/lion/blob/master/docs/components/listbox/overview.md), a custom implementation of a listbox.
- [LionInputAmount](https://github.com/ing-bank/lion/blob/master/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
- [LionInputEmail](https://github.com/ing-bank/lion/blob/master/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
- [LionInputIban](https://github.com/ing-bank/lion/blob/master/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
- [LionInputRange](https://github.com/ing-bank/lion/blob/master/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
- [LionInputStepper](https://github.com/ing-bank/lion/blob/master/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
- [LionSelectRich](https://github.com/ing-bank/lion/blob/master/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.
- [LionCombobox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/combobox/overview.md), a custom implementation of a combobox.
- [LionDate](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-date/overview.md), an alternative for `<input type="date">`.
- [LionDatepicker](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-datepicker/overview.md), an alternative for `<input type="date">` including a calendar dropdown.
- [LionListbox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/listbox/overview.md), a custom implementation of a listbox.
- [LionInputAmount](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-amount/overview.md), an alternative for `<input type="number">` special for amounts.
- [LionInputEmail](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-email/overview.md), an alternative for `<input type="email">`.
- [LionInputIban](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-iban/overview.md), an ING specific for an input with IBAN numbers.
- [LionInputRange](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-range/overview.md), an alternative for `<input type="range">`.
- [LionInputStepper](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/input-stepper/overview.md), an alternative for `<input type="number">`.
- [LionSelectRich](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/select-rich/overview.md), an alternative for `<select>` with multiline options.

@@ -59,6 +59,6 @@ ### Choice Input Fields

- [LionCheckbox](https://github.com/ing-bank/lion/blob/master/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
- [LionCheckbox](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/checkbox-group/overview.md), a wrapper for `<input type="checkbox">`.
- LionOption, an alternative for `<option>`.
- [LionRadio](https://github.com/ing-bank/lion/blob/master/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
- [LionSwitch](https://github.com/ing-bank/lion/blob/master/docs/components/switch/overview.md), a custom implementation of a switch.
- [LionRadio](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/radio-group/overview.md), a wrapper for `<input type="radio">`.
- [LionSwitch](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/switch/overview.md), a custom implementation of a switch.

@@ -75,12 +75,12 @@ Which contains the following features:

- [LionFieldset](https://github.com/ing-bank/lion/blob/master/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
- [LionForm](https://github.com/ing-bank/lion/blob/master/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
- [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/master/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
- [LionRadioGroup](https://github.com/ing-bank/lion/blob/master/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
- [LionFieldset](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/fieldset/overview.md), a wrapper around multiple input fields or other fieldsets.
- [LionForm](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/form/overview.md), enhances the functionality of the native `<form>` component.
- [LionCheckboxGroup](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/checkbox-group/overview.md), a wrapper component for multiple checkboxes.
- [LionRadioGroup](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/components/radio-group/overview.md), a wrapper component for multiple radio inputs.
## Other Resources
- [Model Value](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/model-value.md)
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/formatting-and-parsing.md)
- [Interaction states](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/interaction-states.md)
- [Validation System](https://github.com/ing-bank/lion/blob/master/docs/fundamentals/systems/form/validate.md)
- [Model Value](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/model-value.md)
- [Formatting and parsing](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/formatting-and-parsing.md)
- [Interaction states](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/interaction-states.md)
- [Validation System](https://github.com/ing-bank/lion/blob/7c8c8f66a9d7c11274a6835c3b7717c277cd158e/docs/fundamentals/systems/form/validate.md)

@@ -30,3 +30,3 @@ import { FormControlHost } from '../../src/FormControlMixin';

export type ValidatorConfig = {
getMessage?: (data: Partial<FeedbackMessageData>) => Promise<string | Element>;
getMessage?: (data: Partial<FeedbackMessageData>) => Promise<string | Element> | string | Element;
type?: ValidationType;

@@ -33,0 +33,0 @@ node?: FormControlHost;

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc