@lion/ui 0.11.4 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/calendar/src/LionCalendar.js +3 -0
- package/components/calendar/translations/tr.js +11 -0
- package/components/form-core/src/localizeNamespaceLoader.js +4 -0
- package/components/form-core/src/validate/ValidateMixin.js +6 -6
- package/components/form-core/test-suites/ValidateMixin.suite.js +116 -1
- package/components/form-core/translations/tr-TR.js +5 -0
- package/components/form-core/translations/tr.js +6 -0
- package/components/input-datepicker/src/localizeNamespaceLoader.js +7 -1
- package/components/input-datepicker/translations/tr-TR.js +5 -0
- package/components/input-datepicker/translations/tr.js +3 -0
- package/components/input-file/src/LionInputFile.js +39 -11
- package/components/input-file/src/LionSelectedFileList.js +0 -1
- package/components/input-file/test/lion-input-file.test.js +98 -4
- package/components/input-file/translations/bg.js +1 -1
- package/components/input-file/translations/cs.js +1 -1
- package/components/input-file/translations/de.js +6 -1
- package/components/input-file/translations/en.js +6 -2
- package/components/input-file/translations/es.js +1 -1
- package/components/input-file/translations/fr.js +1 -1
- package/components/input-file/translations/hu.js +1 -1
- package/components/input-file/translations/it.js +1 -1
- package/components/input-file/translations/nl.js +6 -1
- package/components/input-file/translations/pl.js +1 -1
- package/components/input-file/translations/ro.js +1 -1
- package/components/input-file/translations/ru.js +7 -3
- package/components/input-file/translations/sk.js +1 -1
- package/components/input-file/translations/uk.js +1 -1
- package/components/input-file/translations/zh.js +1 -1
- package/components/input-stepper/src/LionInputStepper.js +19 -3
- package/components/input-stepper/test/lion-input-stepper.test.js +94 -0
- package/components/input-tel/src/LionInputTel.js +15 -2
- package/components/input-tel/test-suites/LionInputTel.suite.js +26 -1
- package/components/input-tel-dropdown/src/LionInputTelDropdown.js +3 -16
- package/components/input-tel-dropdown/src/regionCodeToLocale.js +10 -0
- package/components/input-tel-dropdown/test/regionCodeToLocale.test.js +10 -0
- package/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.js +69 -1
- package/components/overlays/translations/tr-TR.js +5 -0
- package/components/overlays/translations/tr.js +4 -0
- package/components/pagination/src/LionPagination.js +2 -0
- package/components/pagination/translations/tr.js +6 -0
- package/components/validate-messages/src/getLocalizedMessage.js +4 -0
- package/components/validate-messages/translations/tr-TR.js +13 -0
- package/components/validate-messages/translations/tr.js +56 -0
- package/custom-elements.json +123 -55
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/calendar/translations/tr.d.ts +11 -0
- package/dist-types/components/calendar/translations/tr.d.ts.map +1 -0
- package/dist-types/components/form-core/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
- package/dist-types/components/form-core/translations/tr-TR.d.ts +8 -0
- package/dist-types/components/form-core/translations/tr-TR.d.ts.map +1 -0
- package/dist-types/components/form-core/translations/tr.d.ts +8 -0
- package/dist-types/components/form-core/translations/tr.d.ts.map +1 -0
- package/dist-types/components/input-datepicker/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/translations/tr-TR.d.ts +5 -0
- package/dist-types/components/input-datepicker/translations/tr-TR.d.ts.map +1 -0
- package/dist-types/components/input-datepicker/translations/tr.d.ts +5 -0
- package/dist-types/components/input-datepicker/translations/tr.d.ts.map +1 -0
- package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -0
- package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts.map +1 -1
- package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts +1 -1
- package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/input-file/test/lion-input-file.test.d.ts.map +1 -1
- package/dist-types/components/input-file/translations/de-DE.d.ts +5 -0
- package/dist-types/components/input-file/translations/de.d.ts +5 -0
- package/dist-types/components/input-file/translations/en-AU.d.ts +5 -1
- package/dist-types/components/input-file/translations/en-GB.d.ts +5 -1
- package/dist-types/components/input-file/translations/en-PH.d.ts +5 -1
- package/dist-types/components/input-file/translations/en-US.d.ts +5 -1
- package/dist-types/components/input-file/translations/en.d.ts +5 -1
- package/dist-types/components/input-file/translations/nl-BE.d.ts +5 -0
- package/dist-types/components/input-file/translations/nl-NL.d.ts +5 -0
- package/dist-types/components/input-file/translations/nl.d.ts +5 -0
- package/dist-types/components/input-file/translations/ru-RU.d.ts +5 -1
- package/dist-types/components/input-file/translations/ru.d.ts +5 -1
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts +8 -0
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/input-tel/test-suites/LionInputTel.suite.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/src/LionInputTelDropdown.d.ts +0 -10
- package/dist-types/components/input-tel-dropdown/src/LionInputTelDropdown.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/src/regionCodeToLocale.d.ts +7 -0
- package/dist-types/components/input-tel-dropdown/src/regionCodeToLocale.d.ts.map +1 -0
- package/dist-types/components/input-tel-dropdown/test/regionCodeToLocale.test.d.ts +2 -0
- package/dist-types/components/input-tel-dropdown/test/regionCodeToLocale.test.d.ts.map +1 -0
- package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.d.ts.map +1 -1
- package/dist-types/components/overlays/translations/tr-TR.d.ts +6 -0
- package/dist-types/components/overlays/translations/tr-TR.d.ts.map +1 -0
- package/dist-types/components/overlays/translations/tr.d.ts +6 -0
- package/dist-types/components/overlays/translations/tr.d.ts.map +1 -0
- package/dist-types/components/pagination/src/LionPagination.d.ts.map +1 -1
- package/dist-types/components/pagination/translations/tr.d.ts +8 -0
- package/dist-types/components/pagination/translations/tr.d.ts.map +1 -0
- package/dist-types/components/validate-messages/src/getLocalizedMessage.d.ts.map +1 -1
- package/dist-types/components/validate-messages/translations/tr-TR.d.ts +55 -0
- package/dist-types/components/validate-messages/translations/tr-TR.d.ts.map +1 -0
- package/dist-types/components/validate-messages/translations/tr.d.ts +73 -0
- package/dist-types/components/validate-messages/translations/tr.d.ts.map +1 -0
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/api-table.md +3 -3
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/api-table.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/api-table.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/api-table.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/api-table.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/api-table.md +1 -1
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/api-table.md +1 -1
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/api-table.md +1 -1
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/api-table.md +3 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/api-table.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/api-table.md +1 -1
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/api-table.md +1 -1
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-stepper/use-cases.md +16 -0
- package/docs/components/input-tel/api-table.md +3 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/api-table.md +3 -3
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/api-table.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/api-table.md +2 -2
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/api-table.md +1 -1
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/api-table.md +1 -1
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/switch/api-table.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/textarea/api-table.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/api-table.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/package.json +1 -1
|
@@ -61,7 +61,7 @@ eleventyNavigation:
|
|
|
61
61
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\`

Note: Overrides the implementation from FormatMixin | LionField |
|
|
62
62
|
| `values` | public | `object` | `{ max: this.max, min: this.min, step: this.step, }` | | |
|
|
63
63
|
| `valueTextMapping` | public | `{[key: number]: string}` | `{}` | The aria-valuetext attribute defines the human-readable text alternative of aria-valuenow. | |
|
|
64
|
-
| `_allValidators` | protected | `Validator[]`
|
|
64
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
65
65
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
66
66
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
67
67
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -30,7 +30,7 @@ loadDefaultFeedbackMessages();
|
|
|
30
30
|
|
|
31
31
|
## Features
|
|
32
32
|
|
|
33
|
-
- Based on our [input](https://github.com/ing-bank/lion/blob/
|
|
33
|
+
- Based on our [input](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input/overview.md).
|
|
34
34
|
- Set `min` and `max` value to define the range.
|
|
35
35
|
- Set `step` value in integer or decimal to increase and decrease the value.
|
|
36
36
|
- Use `ArrowUp` or `ArrowDown` to update the value.
|
|
@@ -111,3 +111,19 @@ export const formatting = () => {
|
|
|
111
111
|
`;
|
|
112
112
|
};
|
|
113
113
|
```
|
|
114
|
+
|
|
115
|
+
### Aligning to step
|
|
116
|
+
|
|
117
|
+
The value is always aligned with the defined step size when using the increase or decrease buttons. The input value will be adjusted to the nearest valid step multiple. For example, with a step of `10` starting from `1`, if the user enters `55` and clicks the increase button, the value will align to `61` instead of `65` (1 > 11 > 21 > ... > 51 > 61).
|
|
118
|
+
|
|
119
|
+
```html preview-story
|
|
120
|
+
<lion-input-stepper
|
|
121
|
+
label="Amount of oranges"
|
|
122
|
+
min="1"
|
|
123
|
+
max="100"
|
|
124
|
+
step="10"
|
|
125
|
+
name="value"
|
|
126
|
+
alignToStep
|
|
127
|
+
value="55"
|
|
128
|
+
></lion-input-stepper>
|
|
129
|
+
```
|
|
@@ -45,6 +45,7 @@ eleventyNavigation:
|
|
|
45
45
|
| `name` | public | `string` | `''` | The name the element will be registered with to the .formElements collection
of the parent. Also, it serves as the key of key/value pairs in
 modelValue/serializedValue objects | LionField |
|
|
46
46
|
| `operationMode` | public | `OperationMode` | | Types of input interaction of the FormControl (for instance 'enter'\|'select'\|'upload') | LionField |
|
|
47
47
|
| `placeholder` | public | `string` | `''` | | LionInput |
|
|
48
|
+
| `preferredRegions` | public | `RegionCode[]` | `[]` | Regions that will be shown on top of the dropdown | |
|
|
48
49
|
| `prefilled` | public | `boolean` | `false` | True when user has left non-empty field or input is prefilled.
The name must be seen from the point of view of the input field:
once the user enters the input field, the value is non-empty. | LionField |
|
|
49
50
|
| `readOnly` | public | `boolean` | `false` | A Boolean attribute which, if present, indicates that the user should not be able to edit
the value of the input. The difference between disabled and readonly is that read-only
controls can still function, whereas disabled controls generally do not function as
controls until they are enabled.
(From: https\://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) | LionField |
|
|
50
51
|
| `selectionEnd` | public | `number` | | | NativeTextFieldMixin |
|
|
@@ -59,7 +60,7 @@ eleventyNavigation:
|
|
|
59
60
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionField |
|
|
60
61
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\`

Note: Overrides the implementation from FormatMixin | LionField |
|
|
61
62
|
| `_allowedOrAllRegions` | protected | `RegionCode[]` | | Used for rendering the region/country list | |
|
|
62
|
-
| `_allValidators` | protected | `Validator[]`
|
|
63
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
63
64
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
64
65
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
65
66
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -182,6 +183,7 @@ eleventyNavigation:
|
|
|
182
183
|
| `format-strategy` | formatStrategy | |
|
|
183
184
|
| `format-country-code-style` | formatCountryCodeStyle | |
|
|
184
185
|
| `activeRegion` | activeRegion | |
|
|
186
|
+
| `preferredRegions` | preferredRegions | |
|
|
185
187
|
| `_phoneUtil` | \_phoneUtil | |
|
|
186
188
|
| `autocomplete` | autocomplete | NativeTextFieldMixin |
|
|
187
189
|
| `focused` | focused | LionField |
|
|
@@ -51,7 +51,7 @@ export const main = () => {
|
|
|
51
51
|
|
|
52
52
|
## Features
|
|
53
53
|
|
|
54
|
-
- Extends our [input](https://github.com/ing-bank/lion/blob/
|
|
54
|
+
- Extends our [input](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input/overview.md)
|
|
55
55
|
- Shows a mobile telephone keypad on mobile (by having a native `<input inputmode="tel">` inside)
|
|
56
56
|
- Can be configured with a list of allowed region codes
|
|
57
57
|
- Will be preconfigured with region derived from locale
|
|
@@ -34,7 +34,7 @@ Say we have the following telephone number from Madrid, Spain: `+34919930432`.
|
|
|
34
34
|
It contains a [country code](https://en.wikipedia.org/wiki/Country_code) (34), an [area code](https://en.wikipedia.org/wiki/Telephone_numbering_plan#Area_code) (91) and a [dial code](https://en.wikipedia.org/wiki/Mobile_dial_code) (+34 91).
|
|
35
35
|
Input Tel interprets phone numbers based on their [region code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2): a two character long region representation('ES' in the telephone number above).
|
|
36
36
|
|
|
37
|
-
The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/
|
|
37
|
+
The table below lists all possible regions worldwide. When [allowed regions](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/#allowed-regions) are not configured,
|
|
38
38
|
all of them will be supported as values of Input Tel.
|
|
39
39
|
|
|
40
40
|
```js story
|
|
@@ -49,11 +49,11 @@ export const regionCodesTable = () => {
|
|
|
49
49
|
The active region (accessible via readonly accessor `.activeRegion`) determines how validation and formatting
|
|
50
50
|
should be applied. It is dependent on the following factors:
|
|
51
51
|
|
|
52
|
-
- [allowed regions](https://github.com/ing-bank/lion/blob/
|
|
53
|
-
[.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/
|
|
52
|
+
- [allowed regions](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/#allowed-regions): a list that determines what is allowed to become .activeRegion. If
|
|
53
|
+
[.allowedRegions has only one entry](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/#restrict-to-one-region), .activeRegion will always be this value.
|
|
54
54
|
- the modelValue or viewValue: once it contains sufficient info to derive its region code (and
|
|
55
|
-
the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/
|
|
56
|
-
- active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/
|
|
55
|
+
the derived code is inside [allowed regions](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/#allowed-regions) if configured)
|
|
56
|
+
- active locale (and the derived locale is inside [allowed regions](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/#allowed-regions) if configured)
|
|
57
57
|
|
|
58
58
|
What follows from the list above is that .activeRegion can change dynamically, after a value
|
|
59
59
|
change in the text box by the user (or when locales or allowed regions would be changed by the
|
|
@@ -142,7 +142,7 @@ export const heuristic = () => {
|
|
|
142
142
|
Once it is configured, validation and formatting will be restricted to those
|
|
143
143
|
values that are present in this list.
|
|
144
144
|
|
|
145
|
-
> Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/
|
|
145
|
+
> Note that for [InputTelDropdown](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel-dropdown/index.md), only allowed regions will
|
|
146
146
|
> be shown in the dropdown list.
|
|
147
147
|
|
|
148
148
|
```js preview-story
|
|
@@ -45,7 +45,7 @@ eleventyNavigation:
|
|
|
45
45
|
| `name` | public | `string` | `''` | The name the element will be registered with to the .formElements collection
of the parent. Also, it serves as the key of key/value pairs in
 modelValue/serializedValue objects | LionField |
|
|
46
46
|
| `operationMode` | public | `OperationMode` | | Types of input interaction of the FormControl (for instance 'enter'\|'select'\|'upload') | LionField |
|
|
47
47
|
| `placeholder` | public | `string` | `''` | | LionInput |
|
|
48
|
-
| `preferredRegions` | public | `
|
|
48
|
+
| `preferredRegions` | public | `RegionCode[]` | `[]` | Regions that will be shown on top of the dropdown | LionInputTel |
|
|
49
49
|
| `prefilled` | public | `boolean` | `false` | True when user has left non-empty field or input is prefilled.
The name must be seen from the point of view of the input field:
once the user enters the input field, the value is non-empty. | LionField |
|
|
50
50
|
| `readOnly` | public | `boolean` | `false` | A Boolean attribute which, if present, indicates that the user should not be able to edit
the value of the input. The difference between disabled and readonly is that read-only
controls can still function, whereas disabled controls generally do not function as
controls until they are enabled.
(From: https\://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) | LionField |
|
|
51
51
|
| `refs` | public | `object` | `{ /** @type {DropdownRef} */ dropdown: /** @type {DropdownRef} */ (createRef()), }` | | |
|
|
@@ -62,7 +62,7 @@ eleventyNavigation:
|
|
|
62
62
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\`

Note: Overrides the implementation from FormatMixin | LionField |
|
|
63
63
|
| `_allCountriesLabel` | protected | `string` | `''` | Group label for all countries, when preferredCountries are shown | |
|
|
64
64
|
| `_allowedOrAllRegions` | protected | `RegionCode[]` | | Used for rendering the region/country list | LionInputTel |
|
|
65
|
-
| `_allValidators` | protected | `Validator[]`
|
|
65
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
66
66
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
67
67
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
68
68
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -185,11 +185,11 @@ eleventyNavigation:
|
|
|
185
185
|
|
|
186
186
|
| Name | Field | Inherited From |
|
|
187
187
|
| ------------------------------- | -------------------------- | -------------------- |
|
|
188
|
-
| `preferredRegions` | preferredRegions | |
|
|
189
188
|
| `allowedRegions` | allowedRegions | LionInputTel |
|
|
190
189
|
| `format-strategy` | formatStrategy | LionInputTel |
|
|
191
190
|
| `format-country-code-style` | formatCountryCodeStyle | LionInputTel |
|
|
192
191
|
| `activeRegion` | activeRegion | LionInputTel |
|
|
192
|
+
| `preferredRegions` | preferredRegions | LionInputTel |
|
|
193
193
|
| `_phoneUtil` | \_phoneUtil | LionInputTel |
|
|
194
194
|
| `autocomplete` | autocomplete | NativeTextFieldMixin |
|
|
195
195
|
| `focused` | focused | LionField |
|
|
@@ -31,7 +31,7 @@ export const main = () => {
|
|
|
31
31
|
|
|
32
32
|
## Features
|
|
33
33
|
|
|
34
|
-
- Extends our [input-tel](https://github.com/ing-bank/lion/blob/
|
|
34
|
+
- Extends our [input-tel](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-tel/overview.md)
|
|
35
35
|
- Shows dropdown list with all possible regions
|
|
36
36
|
- Shows only allowed regions in dropdown list when .allowedRegions is configured
|
|
37
37
|
- Highlights regions on top of dropdown list when .preferredRegions is configured
|
|
@@ -54,7 +54,7 @@ eleventyNavigation:
|
|
|
54
54
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | ValidateMixin |
|
|
55
55
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | ValidateMixin |
|
|
56
56
|
| `_activeDescendantOwnerNode` | protected | `HTMLElement` | | | ListboxMixin |
|
|
57
|
-
| `_allValidators` | protected | `Validator[]`
|
|
57
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | ValidateMixin |
|
|
58
58
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | FormControlMixin |
|
|
59
59
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | FormControlMixin |
|
|
60
60
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | ValidateMixin |
|
|
@@ -151,4 +151,4 @@ Navigation will skip over disabled options. Let's disable Artichoke and Brussel
|
|
|
151
151
|
|
|
152
152
|
## Validation
|
|
153
153
|
|
|
154
|
-
A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/
|
|
154
|
+
A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/form/validate.md).
|
|
@@ -55,7 +55,7 @@ eleventyNavigation:
|
|
|
55
55
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | LionField |
|
|
56
56
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionField |
|
|
57
57
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\` | LionField |
|
|
58
|
-
| `_allValidators` | protected | `Validator[]`
|
|
58
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
59
59
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
60
60
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
61
61
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -234,7 +234,7 @@ eleventyNavigation:
|
|
|
234
234
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | ValidateMixin |
|
|
235
235
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | ValidateMixin |
|
|
236
236
|
| `value` | public | `string` | `''` | | FormGroupMixin |
|
|
237
|
-
| `_allValidators` | protected | `Validator[]`
|
|
237
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | ValidateMixin |
|
|
238
238
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | FormControlMixin |
|
|
239
239
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | FormControlMixin |
|
|
240
240
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | ValidateMixin |
|
|
@@ -32,12 +32,12 @@ export const main = () => html`
|
|
|
32
32
|
`;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
- Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/
|
|
36
|
-
- If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/
|
|
35
|
+
- Make sure that to use a name attribute as it is necessary for our [form](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/form/overview.md)'s serialization result.
|
|
36
|
+
- If you have many options for a user to pick from, consider using our [select](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/select/overview.md) instead.
|
|
37
37
|
|
|
38
38
|
## Features
|
|
39
39
|
|
|
40
|
-
Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/
|
|
40
|
+
Since it extends from our [fieldset](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/fieldset/overview.md), it has all the features a fieldset has.
|
|
41
41
|
|
|
42
42
|
- Get or set the checked value of the group:
|
|
43
43
|
- modelValue (default) - `checkedValue()`
|
|
@@ -49,7 +49,7 @@ eleventyNavigation:
|
|
|
49
49
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | LionField |
|
|
50
50
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionField |
|
|
51
51
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\` | LionField |
|
|
52
|
-
| `_allValidators` | protected | `Validator[]`
|
|
52
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
53
53
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
54
54
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
55
55
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -65,7 +65,7 @@ Or by setting the `disabled` attribute on the entire `lion-select` field.
|
|
|
65
65
|
|
|
66
66
|
## Validation
|
|
67
67
|
|
|
68
|
-
A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/
|
|
68
|
+
A validator can be used to make it e.g. `required`. If you want to know how to do that, please take a look at our [validation examples](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/form/validate.md).
|
|
69
69
|
|
|
70
70
|
## Rendering and updating select options
|
|
71
71
|
|
|
@@ -106,7 +106,7 @@ eleventyNavigation:
|
|
|
106
106
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | LionListbox |
|
|
107
107
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionListbox |
|
|
108
108
|
| `_activeDescendantOwnerNode` | protected | `HTMLElement` | | | LionListbox |
|
|
109
|
-
| `_allValidators` | protected | `Validator[]`
|
|
109
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionListbox |
|
|
110
110
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionListbox |
|
|
111
111
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionListbox |
|
|
112
112
|
| `_arrowWidth` | protected | `number` | `28` | | |
|
|
@@ -314,7 +314,7 @@ LionSelectRich will give it acces to:
|
|
|
314
314
|
- LionSelectRich itself, via `.hostElement`
|
|
315
315
|
|
|
316
316
|
Code of an advanced custom invoker is shown below (this is the code for the
|
|
317
|
-
invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/
|
|
317
|
+
invoker used in [IntlSelectRich](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/select-rich/examples.md)).
|
|
318
318
|
The invoker is usually added in the invoker slot of the LionSelectRich subclass.
|
|
319
319
|
However, it would also be possible for an application developer to provide the invoker
|
|
320
320
|
by putting it in light dom:
|
|
@@ -50,7 +50,7 @@ eleventyNavigation:
|
|
|
50
50
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | LionField |
|
|
51
51
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionField |
|
|
52
52
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\` | LionField |
|
|
53
|
-
| `_allValidators` | protected | `Validator[]`
|
|
53
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
54
54
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
55
55
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
56
56
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -21,7 +21,7 @@ import './src/lea-tab-panel.js';
|
|
|
21
21
|
|
|
22
22
|
## Lea Tabs
|
|
23
23
|
|
|
24
|
-
Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/
|
|
24
|
+
Learn how to create the `lea tabs` in our ["introducing lion" blogpost](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/blog/ing-open-sources-lion.md).
|
|
25
25
|
|
|
26
26
|
```js preview-story
|
|
27
27
|
export const main = () => html`
|
|
@@ -55,7 +55,7 @@ eleventyNavigation:
|
|
|
55
55
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | LionField |
|
|
56
56
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | LionField |
|
|
57
57
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\`

Note: Overrides the implementation from FormatMixin | LionField |
|
|
58
|
-
| `_allValidators` | protected | `Validator[]`
|
|
58
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | LionField |
|
|
59
59
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | LionField |
|
|
60
60
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | LionField |
|
|
61
61
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | LionField |
|
|
@@ -9,11 +9,11 @@ Here you find more details about what we offer.
|
|
|
9
9
|
|
|
10
10
|
Let's see what each section describes.
|
|
11
11
|
|
|
12
|
-
1. [Systems](https://github.com/ing-bank/lion/blob/
|
|
12
|
+
1. [Systems](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/core/overview.md) <br>
|
|
13
13
|
These are the fundamental systems that power all of our components.
|
|
14
|
-
2. [Tools](https://github.com/ing-bank/lion/blob/
|
|
14
|
+
2. [Tools](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/tools/helpers/overview.md) <br>
|
|
15
15
|
Frontend Tools useful for web development but are not visual and therefore are not components.
|
|
16
|
-
3. [Node Tools](https://github.com/ing-bank/lion/blob/
|
|
16
|
+
3. [Node Tools](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md) <br>
|
|
17
17
|
Node tools to analyse the code and for extending the documentation.
|
|
18
|
-
4. [Rationales](https://github.com/ing-bank/lion/blob/
|
|
18
|
+
4. [Rationales](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/rationales/side-effects.md) <br>
|
|
19
19
|
The reasoning behind some of our decisions.
|
|
@@ -44,7 +44,7 @@ For a Mono Repository
|
|
|
44
44
|
```md
|
|
45
45
|
# My Pkg
|
|
46
46
|
|
|
47
|
-
[=> See Source <=](https://github.com/ing-bank/lion/blob/
|
|
47
|
+
[=> See Source <=](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/docs/deep/dir/overview.md)
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## CLI flags
|
|
@@ -74,7 +74,7 @@ Bring the `overview.md` in a docs folder along.
|
|
|
74
74
|
👉 `packages/[my-package]/docs/overview.md`
|
|
75
75
|
|
|
76
76
|
```md
|
|
77
|
-
[=> See Source <=](https://github.com/ing-bank/lion/blob/
|
|
77
|
+
[=> See Source <=](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/docs/deep/dir/overview.md)
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
Add a `use-cases.md`
|
|
@@ -82,7 +82,7 @@ Add a `use-cases.md`
|
|
|
82
82
|
👉 `packages/[my-package]/docs/use-cases.md`
|
|
83
83
|
|
|
84
84
|
```md
|
|
85
|
-
[=> See Source <=](https://github.com/ing-bank/lion/blob/
|
|
85
|
+
[=> See Source <=](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/docs/deep/dir/use-cases.md)
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
So you will end up with something like this in your package.
|
|
@@ -20,7 +20,7 @@ To do this automatically you can use this preset for [rocket](https://rocket.mod
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
- Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/
|
|
23
|
+
- Import lion documentation and adjust it using [remark-extend](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/node-tools/remark-extend/overview.md)
|
|
24
24
|
- Renames named imports and all it's usage
|
|
25
25
|
- Adjusts import paths
|
|
26
26
|
- Replace tags in template literals
|
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
|
|
52
52
|
## Reusing documentation
|
|
53
53
|
|
|
54
|
-
To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/
|
|
54
|
+
To take an existing documentation you can "import" it using [remark-extend](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/node-tools/remark-extend/overview.md).
|
|
55
55
|
|
|
56
56
|
As an example you can create `docs/components/tabs/overview.md`.
|
|
57
57
|
|
|
@@ -37,4 +37,4 @@ Internally, we delegate all intricacies involved in managing light dom to SlotMi
|
|
|
37
37
|
SlotMixin automatically mediates between light dom provided by the user ('public slots') and light dom provided by the component author ('private slots').
|
|
38
38
|
Also, SlotMixin allows to hook into the reactive update loop of LitElement (automatically rerendering on property changes) and it automatically respects
|
|
39
39
|
the scoped registry belonging to the shadow root.
|
|
40
|
-
More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/
|
|
40
|
+
More details about SlotMixin can be found in the [SlotMixin documentation](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/core/SlotMixin.md)
|
|
@@ -165,4 +165,4 @@ This will make sure that the slot provided by the user always takes precedence a
|
|
|
165
165
|
|
|
166
166
|
### Default slot
|
|
167
167
|
|
|
168
|
-
As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/
|
|
168
|
+
As can be seen in the example of [SlotFunctionResults](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/core/#slotfunctionresults), '' can be used to add content to the default slot
|
|
@@ -28,7 +28,7 @@ import { LitElement, html, render } from 'lit-element';
|
|
|
28
28
|
|
|
29
29
|
## Features
|
|
30
30
|
|
|
31
|
-
- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/
|
|
31
|
+
- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/core/#deduping-of-mixins)
|
|
32
32
|
- Mixin to handle disabled (DisabledMixin)
|
|
33
33
|
- Mixin to handle disabled AND tabIndex (DisabledWithTabIndexMixin)
|
|
34
34
|
- Mixin to manage auto-generated needed slot elements in light dom (SlotMixin)
|
|
@@ -48,7 +48,7 @@ eleventyNavigation:
|
|
|
48
48
|
| `validationStates` | public | `ValidationStates` | `{}` | The outcome of a validation 'round'. Keyed by ValidationType and Validator name | ValidateMixin |
|
|
49
49
|
| `validators` | public | `Validator[]` | `[]` | Used by Application Developers to add Validators to a FormControl. | ValidateMixin |
|
|
50
50
|
| `value` | public | | | The view value. Will be delegated to \`.\_inputNode.value\` | FormatMixin |
|
|
51
|
-
| `_allValidators` | protected | `Validator[]`
|
|
51
|
+
| `_allValidators` | protected | `(Validator \| MetaValidator)[]` | | Combination of validators provided by Application Developer and the default validators | ValidateMixin |
|
|
52
52
|
| `_ariaDescribedNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-describedby of \`.\_inputNode\` | FormControlMixin |
|
|
53
53
|
| `_ariaLabelledNodes` | public | `HTMLElement[]` | `[]` | Contains all elements that should end up in aria-labelledby of \`.\_inputNode\` | FormControlMixin |
|
|
54
54
|
| `_feedbackConditionMeta` | protected | | | Allows Subclassers to add meta info for feedbackCondition | ValidateMixin |
|
|
@@ -36,7 +36,7 @@ Our fields can automatically format/parse/serialize user input or an input set i
|
|
|
36
36
|
|
|
37
37
|
Below are some concrete examples of implementations of formatters and parsers mimicking a (basic) amount input.
|
|
38
38
|
|
|
39
|
-
> For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/
|
|
39
|
+
> For an actual amount input, check out [lion-input-amount](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/components/input-amount/overview.md).
|
|
40
40
|
> This comes with its own formatter, parser, serializer.
|
|
41
41
|
|
|
42
42
|
### Parsers & modelValue
|
|
@@ -243,16 +243,16 @@ Below we show three flow diagrams to show the flow of formatting, serializing an
|
|
|
243
243
|
|
|
244
244
|
Where a user changes the input with their keyboard:
|
|
245
245
|
|
|
246
|
-

|
|
247
247
|
|
|
248
248
|
### Unparseable flow
|
|
249
249
|
|
|
250
250
|
Where a user sets the input to something that is not parseable by the parser:
|
|
251
251
|
|
|
252
|
-

|
|
253
253
|
|
|
254
254
|
### Imperative / programmatic flow
|
|
255
255
|
|
|
256
256
|
Where the developer sets the modelValue of the input programmatically:
|
|
257
257
|
|
|
258
|
-

|
|
@@ -34,7 +34,7 @@ level, via:
|
|
|
34
34
|
> Internal/private concepts like viewValue, formattedValue, serializedValue are therefore not
|
|
35
35
|
> recommended as a means of interaction.
|
|
36
36
|
|
|
37
|
-
For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/
|
|
37
|
+
For more information about parsing and the Unparseable type, see [Formatting and Parsing](https://github.com/ing-bank/lion/blob/eef0c48e415c5425a602da85ea9582ada47a3ffc/docs/fundamentals/systems/form/formatting-and-parsing.md)
|
|
38
38
|
|
|
39
39
|
### Event meta
|
|
40
40
|
|