@lion/ui 0.21.1-menu-system.0 → 0.22.0
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/button/src/LionButton.js +0 -4
- package/components/form/test/lion-form.test.js +4 -3
- package/components/form-core/src/form-group/FormGroupMixin.js +37 -0
- package/components/form-core/test-suites/form-group/FormGroupMixin.suite.js +25 -0
- package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +2 -2
- package/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.js +12 -3
- package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +10 -3
- package/components/overlays/src/OverlayController.js +111 -296
- package/components/overlays/src/OverlayMixin.js +17 -76
- package/components/overlays/src/utils/adopt-styles.js +1 -1
- package/components/overlays/src/utils/is-equal-config.js +6 -15
- package/components/overlays/test/OverlayController.test.js +24 -144
- package/components/overlays/test-suites/OverlayMixin.suite.js +8 -8
- package/components/overlays/types/ArrowMixinTypes.ts +3 -1
- package/components/overlays/types/OverlayConfig.ts +5 -20
- package/components/overlays/types/OverlayMixinTypes.ts +0 -2
- package/custom-elements.json +6260 -13587
- package/dist-types/components/button/src/LionButton.d.ts +0 -1
- package/dist-types/components/button/src/LionButton.d.ts.map +1 -1
- package/dist-types/components/combobox/src/LionCombobox.d.ts +1 -1
- package/dist-types/components/dialog/src/LionDialog.d.ts +2 -6
- package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
- package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts +1 -0
- package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/form-group/FormGroupMixin.suite.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
- package/dist-types/components/overlays/src/OverlayController.d.ts +5 -22
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
- package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
- package/dist-types/components/overlays/types/ArrowMixinTypes.d.ts.map +1 -1
- package/dist-types/components/overlays/types/OverlayConfig.d.ts +2 -12
- package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
- package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts +0 -1
- package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +2 -6
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
- package/dist-types/components/tooltip/src/LionTooltip.d.ts +1 -1
- package/dist-types/exports/overlays.d.ts +0 -6
- package/dist-types/exports/overlays.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/api-table.md +39 -53
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/api-table.md +6 -32
- package/docs/components/dialog/overview.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/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/api-table.md +45 -63
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -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/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/api-table.md +33 -50
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/tooltip/api-table.md +7 -33
- 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/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/api-table.md +43 -46
- 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/how-to/index.md +1 -1
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/exports/overlays.js +0 -6
- package/overlays.js +0 -6
- package/package.json +6 -2
- package/vscode.css-custom-data.json +5 -0
- package/vscode.html-custom-data.json +789 -0
- package/web-types.json +2016 -0
- package/components/menu/CHANGELOG.md +0 -37
- package/components/menu/README.md +0 -334
- package/components/menu/index.js +0 -2
- package/components/menu/lion-menu.js +0 -3
- package/components/menu/package.json +0 -46
- package/components/menu/requirements.temp.md +0 -12
- package/components/menu/src/InteractiveListMixin.js +0 -840
- package/components/menu/src/LionMenu.js +0 -421
- package/components/menu/src/MoreButtonMenuMixin.js +0 -278
- package/components/menu/src/MultiLevelListMixin.js +0 -305
- package/components/menu/src/utils/isInView.js +0 -26
- package/components/menu/src/utils/listItemInteractions.js +0 -124
- package/components/menu/test/InteractiveListMixin.test.js +0 -3
- package/components/menu/test/MoreButtonMenuMixin.test.js +0 -4
- package/components/menu/test/MultiLevelListMixin.test.js +0 -3
- package/components/menu/test/lion-menu-interactions.test.js +0 -3
- package/components/menu/test/lion-menu.test.js +0 -14
- package/components/menu/test-helpers/mimicKeyPress.js +0 -9
- package/components/menu/test-suites/InteractiveListMixin.suite.js +0 -454
- package/components/menu/test-suites/LionMenu.suite.js +0 -114
- package/components/menu/test-suites/LionMenuInteractions.suite.js +0 -583
- package/components/menu/test-suites/MoreButtonMenuMixin.suite.js +0 -372
- package/components/menu/test-suites/MultiLevelListMixin.suite.js +0 -303
- package/components/menu/types/InteractiveListMixinTypes.d.ts +0 -84
- package/components/overlays/NEXT.md +0 -49
- package/dist-types/components/menu/index.d.ts +0 -3
- package/dist-types/components/menu/index.d.ts.map +0 -1
- package/dist-types/components/menu/lion-menu.d.ts +0 -2
- package/dist-types/components/menu/lion-menu.d.ts.map +0 -1
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts +0 -39
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts.map +0 -1
- package/dist-types/components/menu/src/utils/isInView.d.ts +0 -9
- package/dist-types/components/menu/src/utils/isInView.d.ts.map +0 -1
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +0 -48
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +0 -1
- package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts +0 -2
- package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts.map +0 -1
- package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts +0 -2
- package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts.map +0 -1
- package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts +0 -2
- package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts.map +0 -1
- package/dist-types/components/menu/test/lion-menu-interactions.test.d.ts +0 -2
- package/dist-types/components/menu/test/lion-menu-interactions.test.d.ts.map +0 -1
- package/dist-types/components/menu/test/lion-menu.test.d.ts +0 -2
- package/dist-types/components/menu/test/lion-menu.test.d.ts.map +0 -1
- package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts +0 -7
- package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts.map +0 -1
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +0 -11
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +0 -1
- package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts +0 -9
- package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts.map +0 -1
- package/dist-types/components/menu/test-suites/LionMenuInteractions.suite.d.ts +0 -5
- package/dist-types/components/menu/test-suites/LionMenuInteractions.suite.d.ts.map +0 -1
- package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts +0 -11
- package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts.map +0 -1
- package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts +0 -11
- package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts.map +0 -1
- package/dist-types/exports/define/lion-item.d.ts +0 -2
- package/dist-types/exports/define/lion-item.d.ts.map +0 -1
- package/dist-types/exports/define/lion-menu.d.ts +0 -2
- package/dist-types/exports/define/lion-menu.d.ts.map +0 -1
- package/dist-types/exports/menu-test-suites.d.ts +0 -4
- package/dist-types/exports/menu-test-suites.d.ts.map +0 -1
- package/dist-types/exports/menu.d.ts +0 -3
- package/dist-types/exports/menu.d.ts.map +0 -1
- package/docs/components/menu/api-table.md +0 -121
- package/docs/components/menu/applyMenuDemoStyles.js +0 -173
- package/docs/components/menu/extensions.md +0 -262
- package/docs/components/menu/index.md +0 -13
- package/docs/components/menu/overview.md +0 -422
- package/docs/components/menu/src/DemoNavigationBar.js +0 -441
- package/docs/components/menu/src/DemoSpinButton.js +0 -215
- package/docs/components/menu/src/DemoToolbar.js +0 -101
- package/docs/components/menu/src/DemoTree.js +0 -55
- package/docs/components/menu/src/navigation-bar-types.js +0 -41
- package/docs/components/menu/use-cases.md +0 -74
- package/exports/define/lion-item.js +0 -3
- package/exports/define/lion-menu.js +0 -3
- package/exports/menu-test-suites.js +0 -4
- package/exports/menu.js +0 -3
- package/menu-test-suites.js +0 -4
- package/menu.js +0 -3
package/web-types.json
ADDED
|
@@ -0,0 +1,2016 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
+
"name": "@lion/ui",
|
|
4
|
+
"version": "0.22.0",
|
|
5
|
+
"description-markup": "markdown",
|
|
6
|
+
"contributions": {
|
|
7
|
+
"html": {
|
|
8
|
+
"elements": [
|
|
9
|
+
{
|
|
10
|
+
"name": "lion-accordion",
|
|
11
|
+
"description": "\n\n---\n\n\n### **Slots:**\n - **invoker** - The invoker element for the accordion\n- **content** - The content element for the accordion\n- **_accordion** - The slot for the accordion, used to rearrange invokers and content",
|
|
12
|
+
"doc-url": "",
|
|
13
|
+
"attributes": [
|
|
14
|
+
{
|
|
15
|
+
"name": "focusedIndex",
|
|
16
|
+
"description": "index number of the focused accordion",
|
|
17
|
+
"value": { "type": "number" }
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "expanded",
|
|
21
|
+
"description": "array of indices of the expanded accordions",
|
|
22
|
+
"value": { "type": "array" }
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "exclusive",
|
|
26
|
+
"description": "exclusive property allows only one accordion slot to be open at a time",
|
|
27
|
+
"value": { "type": "boolean", "default": "false" }
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"slots": [
|
|
31
|
+
{
|
|
32
|
+
"name": "invoker",
|
|
33
|
+
"description": "The invoker element for the accordion"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "content",
|
|
37
|
+
"description": "The content element for the accordion"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "_accordion",
|
|
41
|
+
"description": "The slot for the accordion, used to rearrange invokers and content"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"events": [],
|
|
45
|
+
"js": {
|
|
46
|
+
"properties": [
|
|
47
|
+
{
|
|
48
|
+
"name": "exclusive",
|
|
49
|
+
"description": "exclusive property allows only one accordion slot to be open at a time",
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "expanded",
|
|
54
|
+
"description": "array of indices of the expanded accordions",
|
|
55
|
+
"type": "array"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "focusedIndex",
|
|
59
|
+
"description": "index number of the focused accordion",
|
|
60
|
+
"type": "number"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"events": []
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "lion-button",
|
|
68
|
+
"description": "Use LionButton (or LionButtonReset|LionButtonSubmit) when there is a need to extend HTMLButtonElement.\nIt allows to create complex shadow DOM for buttons needing this. Think of:\n- a material Design button that needs a JS controlled ripple\n- a LionSelectRich invoker that needs a complex shadow DOM structure\n(for styling/maintainability purposes)\n- a specialized button (for instance a primary button or icon button in a Design System) that\nneeds a simple api: `<my-button>text</my-button>` is always better than\n`<button class=\"my-button\"><div class=\"my-button__container\">text</div><button>`\n\nIn other cases, whenever you can, still use native HTMLButtonElement (`<button>`).\n\nNote that LionButton is meant for buttons with type=\"button\". It's cleaner and more\nlightweight than LionButtonReset and LionButtonSubmit, which should only be considered when native\n`<form>` support is needed:\n- When type=\"reset|submit\" should be supported, use LionButtonReset.\n- When implicit form submission should be supported on top, use LionButtonSubmit.\n\n---\n",
|
|
69
|
+
"doc-url": "",
|
|
70
|
+
"attributes": [
|
|
71
|
+
{
|
|
72
|
+
"name": "active",
|
|
73
|
+
"value": { "type": "boolean", "default": "false" }
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "type",
|
|
77
|
+
"value": { "type": "string", "default": "'button'" }
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"events": [],
|
|
81
|
+
"js": {
|
|
82
|
+
"properties": [
|
|
83
|
+
{ "name": "active", "type": "boolean" },
|
|
84
|
+
{ "name": "type", "type": "string" }
|
|
85
|
+
],
|
|
86
|
+
"events": []
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "lion-button-reset",
|
|
91
|
+
"description": "This adds functionality for form buttons (type 'submit' and 'reset').\nIt allows to submit or reset a <form> by spawning a click on a temporrary native button inside\nthe form.\nUse LionButtonSubmit when implicit form submission should be supported as well.\n\nFunctionality in this button is not purely for type=\"reset\", also for type=\"submit\".\nFor mainainability purposes the submit functionality is part of LionButtonReset\n(it needs the same logic).\nLionButtonReset could therefore actually be considered as 'LionButtonForm' (without the\nimplicit form submission logic), but LionButtonReset is an easier to grasp name for\nApplication Developers: for reset buttons, always use LionButtonReset, for submit\nbuttons always use LionButtonSubmit.\n\n---\n",
|
|
92
|
+
"doc-url": "",
|
|
93
|
+
"attributes": [
|
|
94
|
+
{
|
|
95
|
+
"name": "active",
|
|
96
|
+
"value": { "type": "boolean", "default": "false" }
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "type",
|
|
100
|
+
"value": { "type": "string", "default": "'button'" }
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"events": [],
|
|
104
|
+
"js": {
|
|
105
|
+
"properties": [
|
|
106
|
+
{ "name": "active", "type": "boolean" },
|
|
107
|
+
{ "name": "type", "type": "string" }
|
|
108
|
+
],
|
|
109
|
+
"events": []
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "lion-button-submit",
|
|
114
|
+
"description": "Contains all the funcionaility of LionButton and LionButtonReset. On top of that it\nsupports implicit form submission.\n\nUse when:\n- the Application Developer should be able to switch types between 'submit'|'reset'|'button'\n(this is similar to how native HTMLButtonElement works)\n- a submit button with native form support is needed\n\n---\n",
|
|
115
|
+
"doc-url": "",
|
|
116
|
+
"attributes": [
|
|
117
|
+
{
|
|
118
|
+
"name": "active",
|
|
119
|
+
"value": { "type": "boolean", "default": "false" }
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "type",
|
|
123
|
+
"value": { "type": "string", "default": "'button'" }
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"events": [],
|
|
127
|
+
"js": {
|
|
128
|
+
"properties": [
|
|
129
|
+
{ "name": "active", "type": "boolean" },
|
|
130
|
+
{ "name": "type", "type": "string" }
|
|
131
|
+
],
|
|
132
|
+
"events": []
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "lion-calendar",
|
|
137
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-selected-date-changed**\n\n### **Methods:**\n - **initCentralDate()** - This exposes an interface for datepickers that want to\nreinitialize when calendar is opened",
|
|
138
|
+
"doc-url": "",
|
|
139
|
+
"attributes": [],
|
|
140
|
+
"events": [
|
|
141
|
+
{ "name": "user-selected-date-changed", "type": "CustomEvent" }
|
|
142
|
+
],
|
|
143
|
+
"js": {
|
|
144
|
+
"properties": [
|
|
145
|
+
{
|
|
146
|
+
"name": "centralDate",
|
|
147
|
+
"description": "The date that\n1. determines the currently visible month\n2. will be focused when the month grid gets focused by the keyboard",
|
|
148
|
+
"type": "Date"
|
|
149
|
+
},
|
|
150
|
+
{ "name": "dayPreprocessor" },
|
|
151
|
+
{
|
|
152
|
+
"name": "disableDates",
|
|
153
|
+
"description": "Disable certain dates"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "firstDayOfWeek",
|
|
157
|
+
"description": "Weekday that will be displayed in first column of month grid.\n0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday\nDefault is 0",
|
|
158
|
+
"type": "number"
|
|
159
|
+
},
|
|
160
|
+
{ "name": "focusedDate" },
|
|
161
|
+
{
|
|
162
|
+
"name": "locale",
|
|
163
|
+
"description": "Different locale for this component scope",
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "maxDate",
|
|
168
|
+
"description": "Maximum date. All dates after will be disabled"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "minDate",
|
|
172
|
+
"description": "Minimum date. All dates before will be disabled"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "selectedDate",
|
|
176
|
+
"description": "The selected date, usually synchronized with datepicker-input\nNot to be confused with the focused date (therefore not necessarily in active month view)"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "weekdayHeaderNotation",
|
|
180
|
+
"description": "Weekday header notation, based on Intl DatetimeFormat:\n- 'long' (e.g., Thursday)\n- 'short' (e.g., Thu)\n- 'narrow' (e.g., T).\nDefault is 'short'",
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"events": [
|
|
185
|
+
{ "name": "user-selected-date-changed", "type": "CustomEvent" }
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "lion-checkbox-group",
|
|
191
|
+
"description": "A wrapper around multiple checkboxes\n\n---\n",
|
|
192
|
+
"doc-url": "",
|
|
193
|
+
"attributes": [],
|
|
194
|
+
"events": [],
|
|
195
|
+
"js": {
|
|
196
|
+
"properties": [{ "name": "multipleChoice", "type": "boolean" }],
|
|
197
|
+
"events": []
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "lion-checkbox-indeterminate",
|
|
202
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
203
|
+
"doc-url": "",
|
|
204
|
+
"attributes": [
|
|
205
|
+
{
|
|
206
|
+
"name": "indeterminate",
|
|
207
|
+
"description": "Indeterminate state of the checkbox",
|
|
208
|
+
"value": { "type": "boolean", "default": "false" }
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "mixed-state",
|
|
212
|
+
"value": { "type": "boolean", "default": "false" }
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "readonly",
|
|
216
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
217
|
+
"value": { "type": "boolean", "default": "false" }
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "type",
|
|
221
|
+
"value": { "type": "string", "default": "'text'" }
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "placeholder",
|
|
225
|
+
"value": { "type": "string", "default": "''" }
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
229
|
+
"js": {
|
|
230
|
+
"properties": [
|
|
231
|
+
{
|
|
232
|
+
"name": "indeterminate",
|
|
233
|
+
"description": "Indeterminate state of the checkbox",
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
{ "name": "mixedState", "type": "boolean" },
|
|
237
|
+
{ "name": "placeholder", "type": "string" },
|
|
238
|
+
{
|
|
239
|
+
"name": "readOnly",
|
|
240
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
{ "name": "slots" },
|
|
244
|
+
{ "name": "type", "type": "string" }
|
|
245
|
+
],
|
|
246
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "lion-checkbox",
|
|
251
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
252
|
+
"doc-url": "",
|
|
253
|
+
"attributes": [
|
|
254
|
+
{
|
|
255
|
+
"name": "readonly",
|
|
256
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
257
|
+
"value": { "type": "boolean", "default": "false" }
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "type",
|
|
261
|
+
"value": { "type": "string", "default": "'text'" }
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "placeholder",
|
|
265
|
+
"value": { "type": "string", "default": "''" }
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
269
|
+
"js": {
|
|
270
|
+
"properties": [
|
|
271
|
+
{ "name": "placeholder", "type": "string" },
|
|
272
|
+
{
|
|
273
|
+
"name": "readOnly",
|
|
274
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
275
|
+
"type": "boolean"
|
|
276
|
+
},
|
|
277
|
+
{ "name": "slots" },
|
|
278
|
+
{ "name": "type", "type": "string" }
|
|
279
|
+
],
|
|
280
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "lion-collapsible",
|
|
285
|
+
"description": "`LionCollapsible` is a class for custom collapsible element (`<lion-collapsible>` web component).\n\n---\n\n\n### **Events:**\n - **opened-changed**\n\n### **Methods:**\n - **hide()** - Hide extra content.\n- **show()** - Show extra content.\n- **toggle()** - Toggle the current(opened/closed) state.\n\n\n\n### **Slots:**\n - **invoker** - The invoker element for the collapsible\n- **content** - The content element for the collapsible",
|
|
286
|
+
"doc-url": "",
|
|
287
|
+
"attributes": [
|
|
288
|
+
{
|
|
289
|
+
"name": "opened",
|
|
290
|
+
"value": { "type": "boolean", "default": "false" }
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"slots": [
|
|
294
|
+
{
|
|
295
|
+
"name": "invoker",
|
|
296
|
+
"description": "The invoker element for the collapsible"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "content",
|
|
300
|
+
"description": "The content element for the collapsible"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"events": [{ "name": "opened-changed", "type": "CustomEvent" }],
|
|
304
|
+
"js": {
|
|
305
|
+
"properties": [{ "name": "opened", "type": "boolean" }],
|
|
306
|
+
"events": [{ "name": "opened-changed", "type": "CustomEvent" }]
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "lion-combobox",
|
|
311
|
+
"description": "LionCombobox: implements the wai-aria combobox design pattern and integrates it as a Lion\nFormControl\n\n---\n\n\n### **Events:**\n - **model-value-changed**\n\n### **Methods:**\n - **matchCondition(option: _LionOption_, textboxValue: _string_)** - When the preconfigurable `match-mode` conditions are not sufficient,\none can define a custom matching function.\n- **parser(value: _string|string[]_): _*_** - Converts viewValue to modelValue\n\n\n\n\n### **Slots:**\n - **listbox** - The listbox element for the combobox, e.g. <lion-options>\n- **selection-display** - The selection display element for the combobox, e.g. <lion-selection-display>",
|
|
312
|
+
"doc-url": "",
|
|
313
|
+
"attributes": [
|
|
314
|
+
{
|
|
315
|
+
"name": "autocomplete",
|
|
316
|
+
"description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.",
|
|
317
|
+
"value": {
|
|
318
|
+
"type": "'none'|'list'|'inline'|'both'",
|
|
319
|
+
"default": "'both'"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "match-mode",
|
|
324
|
+
"description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'",
|
|
325
|
+
"value": { "type": "'begin'|'all'", "default": "'all'" }
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "show-all-on-empty",
|
|
329
|
+
"description": "When true, the listbox is open and textbox goes from a value to empty, all options are shown.\nBy default, the listbox closes on empty, similar to wai-aria example and <datalist>",
|
|
330
|
+
"value": { "type": "boolean", "default": "false" }
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "requireOptionMatch",
|
|
334
|
+
"description": "If set to false, the value is allowed to not match any of the options.\nWe set the default to true for backwards compatibility",
|
|
335
|
+
"value": { "type": "boolean", "default": "true" }
|
|
336
|
+
},
|
|
337
|
+
{ "name": "allow-custom-choice", "value": { "type": "boolean" } },
|
|
338
|
+
{
|
|
339
|
+
"name": "__shouldAutocompleteNextUpdate",
|
|
340
|
+
"value": { "type": "string" }
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"slots": [
|
|
344
|
+
{
|
|
345
|
+
"name": "listbox",
|
|
346
|
+
"description": "The listbox element for the combobox, e.g. <lion-options>"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "selection-display",
|
|
350
|
+
"description": "The selection display element for the combobox, e.g. <lion-selection-display>"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"events": [{ "name": "model-value-changed", "type": "CustomEvent" }],
|
|
354
|
+
"js": {
|
|
355
|
+
"properties": [
|
|
356
|
+
{ "name": "allowCustomChoice", "type": "boolean" },
|
|
357
|
+
{
|
|
358
|
+
"name": "autocomplete",
|
|
359
|
+
"description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.",
|
|
360
|
+
"type": "'none'|'list'|'inline'|'both'"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "matchMode",
|
|
364
|
+
"description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'",
|
|
365
|
+
"type": "'begin'|'all'"
|
|
366
|
+
},
|
|
367
|
+
{ "name": "modelValue" },
|
|
368
|
+
{
|
|
369
|
+
"name": "requireOptionMatch",
|
|
370
|
+
"description": "If set to false, the value is allowed to not match any of the options.\nWe set the default to true for backwards compatibility",
|
|
371
|
+
"type": "boolean"
|
|
372
|
+
},
|
|
373
|
+
{ "name": "rotateKeyboardNavigation", "type": "boolean" },
|
|
374
|
+
{ "name": "selectionFollowsFocus", "type": "boolean" },
|
|
375
|
+
{
|
|
376
|
+
"name": "showAllOnEmpty",
|
|
377
|
+
"description": "When true, the listbox is open and textbox goes from a value to empty, all options are shown.\nBy default, the listbox closes on empty, similar to wai-aria example and <datalist>",
|
|
378
|
+
"type": "boolean"
|
|
379
|
+
},
|
|
380
|
+
{ "name": "slots", "type": "SlotsMap" },
|
|
381
|
+
{
|
|
382
|
+
"name": "value",
|
|
383
|
+
"description": "We define the value getter/setter below as also defined in LionField (via FormatMixin).\nSince FormatMixin is meant for Formgroups/ChoiceGroup it's not applied on Combobox;\nCombobox is somewhat of a hybrid between a ChoiceGroup and LionField, therefore we copy over\nsome of the LionField members to align with its interface.\n\nThe view value. Will be delegated to `._inputNode.value`"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"events": [{ "name": "model-value-changed", "type": "CustomEvent" }]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "lion-dialog",
|
|
391
|
+
"description": "\n\n---\n",
|
|
392
|
+
"doc-url": "",
|
|
393
|
+
"attributes": [
|
|
394
|
+
{
|
|
395
|
+
"name": "is-alert-dialog",
|
|
396
|
+
"value": { "type": "boolean", "default": "false" }
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"events": [],
|
|
400
|
+
"js": {
|
|
401
|
+
"properties": [{ "name": "isAlertDialog", "type": "boolean" }],
|
|
402
|
+
"events": []
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "lion-drawer",
|
|
407
|
+
"description": "LionDrawer: extension of lion-collapsible with drawer specific styles and animations\n\n---\n\n\n### **Events:**\n - **opened-changed**\n\n### **Methods:**\n - **hide()** - Hide extra content.\n- **show()** - Show extra content.\n- **toggle()** - Toggle the current(opened/closed) state.\n\n\n\n\n### **Slots:**\n - **invoker** - The invoker element for the drawer\n- **content** - The content element for the drawer\n- **headline** - The headline element for the drawer",
|
|
408
|
+
"doc-url": "",
|
|
409
|
+
"attributes": [
|
|
410
|
+
{ "name": "transitioning", "value": { "type": "boolean" } },
|
|
411
|
+
{
|
|
412
|
+
"name": "opened",
|
|
413
|
+
"value": { "type": "boolean", "default": "false" }
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "position",
|
|
417
|
+
"description": "Setter for position property, available values are 'top', 'left' and 'right'",
|
|
418
|
+
"value": { "type": "string" }
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"slots": [
|
|
422
|
+
{
|
|
423
|
+
"name": "invoker",
|
|
424
|
+
"description": "The invoker element for the drawer"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "content",
|
|
428
|
+
"description": "The content element for the drawer"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "headline",
|
|
432
|
+
"description": "The headline element for the drawer"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"events": [{ "name": "opened-changed", "type": "CustomEvent" }],
|
|
436
|
+
"js": {
|
|
437
|
+
"properties": [
|
|
438
|
+
{ "name": "opened", "type": "boolean" },
|
|
439
|
+
{
|
|
440
|
+
"name": "position",
|
|
441
|
+
"description": "Setter for position property, available values are 'top', 'left' and 'right'",
|
|
442
|
+
"type": "string"
|
|
443
|
+
},
|
|
444
|
+
{ "name": "transitioning", "type": "boolean" }
|
|
445
|
+
],
|
|
446
|
+
"events": [{ "name": "opened-changed", "type": "CustomEvent" }]
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "lion-fieldset",
|
|
451
|
+
"description": "LionFieldset is basically a 'sub form' and can have its own nested sub forms.\nIt mimics the native <fieldset> element in this sense, but has all the functionality of\na FormControl (advanced styling, validation, interaction states etc.) Also see\nFormGroupMixin it depends on.\n\nLionFieldset enables the '_isFormOrFieldset' flag in FormRegistrarMixin. This makes .formElements\nact not only as an array, but also as an object (see FormRegistarMixin for more information).\nAs a bonus, It can also group children having names ending with '[]'.\n\nAbove will be helpful for both forms and sub forms, which can contain sub forms as children\nas well and allow for a nested form structure.\nContrary, other form groups (choice groups like radio-group, checkbox-group and (multi)select)\ndon't: they should be considered 'end nodes' or 'leaves' of the form and their children/formElements\ncannot be accessed individually via object keys.\n\n---\n",
|
|
452
|
+
"doc-url": "",
|
|
453
|
+
"attributes": [],
|
|
454
|
+
"events": [],
|
|
455
|
+
"js": { "properties": [], "events": [] }
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "choice-input-foo",
|
|
459
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
460
|
+
"doc-url": "",
|
|
461
|
+
"attributes": [
|
|
462
|
+
{
|
|
463
|
+
"name": "readonly",
|
|
464
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
465
|
+
"value": { "type": "boolean", "default": "false" }
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "type",
|
|
469
|
+
"value": { "type": "string", "default": "'text'" }
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "placeholder",
|
|
473
|
+
"value": { "type": "string", "default": "''" }
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
477
|
+
"js": {
|
|
478
|
+
"properties": [
|
|
479
|
+
{ "name": "placeholder", "type": "string" },
|
|
480
|
+
{
|
|
481
|
+
"name": "readOnly",
|
|
482
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
483
|
+
"type": "boolean"
|
|
484
|
+
},
|
|
485
|
+
{ "name": "slots" },
|
|
486
|
+
{ "name": "type", "type": "string" }
|
|
487
|
+
],
|
|
488
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "choice-input-bar",
|
|
493
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
494
|
+
"doc-url": "",
|
|
495
|
+
"attributes": [
|
|
496
|
+
{
|
|
497
|
+
"name": "readonly",
|
|
498
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
499
|
+
"value": { "type": "boolean", "default": "false" }
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "type",
|
|
503
|
+
"value": { "type": "string", "default": "'text'" }
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "placeholder",
|
|
507
|
+
"value": { "type": "string", "default": "''" }
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
511
|
+
"js": {
|
|
512
|
+
"properties": [
|
|
513
|
+
{ "name": "placeholder", "type": "string" },
|
|
514
|
+
{
|
|
515
|
+
"name": "readOnly",
|
|
516
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
517
|
+
"type": "boolean"
|
|
518
|
+
},
|
|
519
|
+
{ "name": "slots" },
|
|
520
|
+
{ "name": "type", "type": "string" }
|
|
521
|
+
],
|
|
522
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "choice-input",
|
|
527
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
528
|
+
"doc-url": "",
|
|
529
|
+
"attributes": [
|
|
530
|
+
{
|
|
531
|
+
"name": "readonly",
|
|
532
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
533
|
+
"value": { "type": "boolean", "default": "false" }
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "type",
|
|
537
|
+
"value": { "type": "string", "default": "'text'" }
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "placeholder",
|
|
541
|
+
"value": { "type": "string", "default": "''" }
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
545
|
+
"js": {
|
|
546
|
+
"properties": [
|
|
547
|
+
{ "name": "placeholder", "type": "string" },
|
|
548
|
+
{
|
|
549
|
+
"name": "readOnly",
|
|
550
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
551
|
+
"type": "boolean"
|
|
552
|
+
},
|
|
553
|
+
{ "name": "slots" },
|
|
554
|
+
{ "name": "type", "type": "string" }
|
|
555
|
+
],
|
|
556
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "choice-input-group",
|
|
561
|
+
"description": "\n\n---\n",
|
|
562
|
+
"doc-url": "",
|
|
563
|
+
"attributes": [],
|
|
564
|
+
"events": [],
|
|
565
|
+
"js": { "properties": [], "events": [] }
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "choice-input",
|
|
569
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
570
|
+
"doc-url": "",
|
|
571
|
+
"attributes": [
|
|
572
|
+
{
|
|
573
|
+
"name": "readonly",
|
|
574
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
575
|
+
"value": { "type": "boolean", "default": "false" }
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "type",
|
|
579
|
+
"value": { "type": "string", "default": "'text'" }
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "placeholder",
|
|
583
|
+
"value": { "type": "string", "default": "''" }
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
587
|
+
"js": {
|
|
588
|
+
"properties": [
|
|
589
|
+
{ "name": "placeholder", "type": "string" },
|
|
590
|
+
{
|
|
591
|
+
"name": "readOnly",
|
|
592
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
593
|
+
"type": "boolean"
|
|
594
|
+
},
|
|
595
|
+
{ "name": "slots" },
|
|
596
|
+
{ "name": "type", "type": "string" }
|
|
597
|
+
],
|
|
598
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "tagString",
|
|
603
|
+
"description": "\n\n---\n",
|
|
604
|
+
"doc-url": "",
|
|
605
|
+
"attributes": [],
|
|
606
|
+
"events": [],
|
|
607
|
+
"js": { "properties": [], "events": [] }
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "lion-field",
|
|
611
|
+
"description": "`LionField`: wraps <input>, <textarea>, <select> and other interactable elements.\nAlso it would follow a nice hierarchy: lion-form -> lion-fieldset -> lion-field\n\nNote: We don't support placeholders, because we have a helper text and\nplaceholders confuse the user with accessibility needs.\n\nPlease see the docs for in depth information.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
612
|
+
"doc-url": "",
|
|
613
|
+
"attributes": [],
|
|
614
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
615
|
+
"js": {
|
|
616
|
+
"properties": [],
|
|
617
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "lion-validation-feedback",
|
|
622
|
+
"description": "\n\n---\n",
|
|
623
|
+
"doc-url": "",
|
|
624
|
+
"attributes": [],
|
|
625
|
+
"events": [],
|
|
626
|
+
"js": {
|
|
627
|
+
"properties": [
|
|
628
|
+
{
|
|
629
|
+
"name": "feedbackData",
|
|
630
|
+
"type": "FeedbackMessage[] | undefined"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"events": []
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "lion-form",
|
|
638
|
+
"description": "LionForm: form wrapper providing extra features and integration with lion-field elements.\n\n---\n\n\n### **Events:**\n - **submit**\n- **reset**",
|
|
639
|
+
"doc-url": "",
|
|
640
|
+
"attributes": [],
|
|
641
|
+
"events": [
|
|
642
|
+
{ "name": "submit", "type": "Event" },
|
|
643
|
+
{ "name": "reset", "type": "Event" }
|
|
644
|
+
],
|
|
645
|
+
"js": {
|
|
646
|
+
"properties": [],
|
|
647
|
+
"events": [
|
|
648
|
+
{ "name": "submit", "type": "Event" },
|
|
649
|
+
{ "name": "reset", "type": "Event" }
|
|
650
|
+
]
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "sb-action-logger",
|
|
655
|
+
"description": "\n\n---\n\n\n### **Methods:**\n - **log(content: _string_)** - Renders the passed content as a node, and appends it to the logger\nOnly supports simple values, will be interpreted to a String\nE.g. an Object will become '[object Object]'\n",
|
|
656
|
+
"doc-url": "",
|
|
657
|
+
"attributes": [
|
|
658
|
+
{
|
|
659
|
+
"name": "title",
|
|
660
|
+
"value": { "type": "string", "default": "'Action Logger'" }
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "simple",
|
|
664
|
+
"value": { "type": "boolean", "default": "false" }
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "__logCounter",
|
|
668
|
+
"value": { "type": "number", "default": "0" }
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"events": [],
|
|
672
|
+
"js": {
|
|
673
|
+
"properties": [
|
|
674
|
+
{ "name": "loggerEl" },
|
|
675
|
+
{ "name": "simple", "type": "boolean" },
|
|
676
|
+
{ "name": "title", "type": "string" }
|
|
677
|
+
],
|
|
678
|
+
"events": []
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "sb-locale-switcher",
|
|
683
|
+
"description": "\n\n---\n",
|
|
684
|
+
"doc-url": "",
|
|
685
|
+
"attributes": [
|
|
686
|
+
{
|
|
687
|
+
"name": "show-locales",
|
|
688
|
+
"value": {
|
|
689
|
+
"type": "array",
|
|
690
|
+
"default": "['en-GB', 'en-US', 'en-AU', 'nl-NL', 'nl-BE']"
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"events": [],
|
|
695
|
+
"js": {
|
|
696
|
+
"properties": [{ "name": "showLocales", "type": "array" }],
|
|
697
|
+
"events": []
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "lion-icon",
|
|
702
|
+
"description": "Custom element for rendering SVG icons\n\n---\n",
|
|
703
|
+
"doc-url": "",
|
|
704
|
+
"attributes": [
|
|
705
|
+
{
|
|
706
|
+
"name": "aria-label",
|
|
707
|
+
"value": { "type": "string", "default": "''" }
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "icon-id",
|
|
711
|
+
"value": { "type": "string", "default": "''" }
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"events": [],
|
|
715
|
+
"js": {
|
|
716
|
+
"properties": [
|
|
717
|
+
{ "name": "ariaLabel", "type": "string" },
|
|
718
|
+
{ "name": "iconId", "type": "string" },
|
|
719
|
+
{
|
|
720
|
+
"name": "svg",
|
|
721
|
+
"description": "On IE11, svgs without focusable false appear in the tab order\nso make sure to have <svg focusable=\"false\"> in svg files",
|
|
722
|
+
"type": "TemplateResult|typeof nothing|TagFunction"
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"events": []
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "lion-input-amount-dropdown",
|
|
730
|
+
"description": "LionInputAmountDropdown renders a dropdown like element next to the text field, inside the\nprefix, or suffix, slot. This could be a LionSelect, a LionSelectRich or a native select.\nBy default, the native `<select>` element is used for this, so that it's as lightweight as\npossible. Also, it doesn't need to be a `FormControl`, because it's purely a helper element\nto provide better UX: the modelValue (the text field) contains all needed info:\nthe currency code following ISO 4217 and its corresponding currency symbol using Intl.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n\n",
|
|
731
|
+
"doc-url": "",
|
|
732
|
+
"attributes": [
|
|
733
|
+
{
|
|
734
|
+
"name": "preferredCurrencies",
|
|
735
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
736
|
+
"value": { "type": "CurrencyCode[]", "default": "[]" }
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "allowedCurrencies",
|
|
740
|
+
"description": "Regions that are allowed to be selected in the dropdown.",
|
|
741
|
+
"value": { "type": "CurrencyCode[]", "default": "[]" }
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"name": "__dropdownSlot",
|
|
745
|
+
"description": "Slot position to render the dropdown in",
|
|
746
|
+
"value": { "type": "string", "default": "'prefix'" }
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "currency",
|
|
750
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
751
|
+
},
|
|
752
|
+
{ "name": "modelValue", "value": { "type": "string" } },
|
|
753
|
+
{
|
|
754
|
+
"name": "readonly",
|
|
755
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
756
|
+
"value": { "type": "boolean", "default": "false" }
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "type",
|
|
760
|
+
"value": { "type": "string", "default": "'text'" }
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "placeholder",
|
|
764
|
+
"value": { "type": "string", "default": "''" }
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
768
|
+
"js": {
|
|
769
|
+
"properties": [
|
|
770
|
+
{
|
|
771
|
+
"name": "allowedCurrencies",
|
|
772
|
+
"description": "Regions that are allowed to be selected in the dropdown.",
|
|
773
|
+
"type": "CurrencyCode[]"
|
|
774
|
+
},
|
|
775
|
+
{ "name": "currency", "type": "string | undefined" },
|
|
776
|
+
{ "name": "defaultValidators", "type": "array" },
|
|
777
|
+
{ "name": "deserializer" },
|
|
778
|
+
{ "name": "formatter" },
|
|
779
|
+
{ "name": "locale", "type": "string | undefined" },
|
|
780
|
+
{
|
|
781
|
+
"name": "modelValue",
|
|
782
|
+
"description": "For a FormControl to function properly, its modelValue, serializedValue and viewValue/formattedValue\nshould always translate in two directions. This is expected by `_callParser` method. It guards for empty\nviewValues. As the viewValue (`.value`) only concerns the amount part and not the currency part in\nInputAmountDropdown, this contract is broken.\nBelow, we compensate for this.",
|
|
783
|
+
"type": "object"
|
|
784
|
+
},
|
|
785
|
+
{ "name": "parser" },
|
|
786
|
+
{ "name": "placeholder", "type": "string" },
|
|
787
|
+
{
|
|
788
|
+
"name": "preferredCurrencies",
|
|
789
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
790
|
+
"type": "CurrencyCode[]"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "readOnly",
|
|
794
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
795
|
+
"type": "boolean"
|
|
796
|
+
},
|
|
797
|
+
{ "name": "refs", "type": "object" },
|
|
798
|
+
{ "name": "serializer" },
|
|
799
|
+
{ "name": "slots" },
|
|
800
|
+
{ "name": "type", "type": "string" }
|
|
801
|
+
],
|
|
802
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "lion-input-amount",
|
|
807
|
+
"description": "`LionInputAmount` is a class for an amount custom form element (`<lion-input-amount>`).\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n",
|
|
808
|
+
"doc-url": "",
|
|
809
|
+
"attributes": [
|
|
810
|
+
{
|
|
811
|
+
"name": "currency",
|
|
812
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
813
|
+
},
|
|
814
|
+
{ "name": "modelValue", "value": { "type": "string" } },
|
|
815
|
+
{
|
|
816
|
+
"name": "readonly",
|
|
817
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
818
|
+
"value": { "type": "boolean", "default": "false" }
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "type",
|
|
822
|
+
"value": { "type": "string", "default": "'text'" }
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "placeholder",
|
|
826
|
+
"value": { "type": "string", "default": "''" }
|
|
827
|
+
}
|
|
828
|
+
],
|
|
829
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
830
|
+
"js": {
|
|
831
|
+
"properties": [
|
|
832
|
+
{ "name": "currency", "type": "string | undefined" },
|
|
833
|
+
{ "name": "formatter" },
|
|
834
|
+
{ "name": "locale", "type": "string | undefined" },
|
|
835
|
+
{ "name": "modelValue" },
|
|
836
|
+
{ "name": "parser" },
|
|
837
|
+
{ "name": "placeholder", "type": "string" },
|
|
838
|
+
{
|
|
839
|
+
"name": "readOnly",
|
|
840
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
841
|
+
"type": "boolean"
|
|
842
|
+
},
|
|
843
|
+
{ "name": "slots" },
|
|
844
|
+
{ "name": "type", "type": "string" }
|
|
845
|
+
],
|
|
846
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "lion-input-date",
|
|
851
|
+
"description": "`LionInputDate` has a .modelValue of type Date. It parses, formats and validates based\non locale.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
852
|
+
"doc-url": "",
|
|
853
|
+
"attributes": [
|
|
854
|
+
{ "name": "modelValue", "value": { "type": "string" } },
|
|
855
|
+
{
|
|
856
|
+
"name": "readonly",
|
|
857
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
858
|
+
"value": { "type": "boolean", "default": "false" }
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "type",
|
|
862
|
+
"value": { "type": "string", "default": "'text'" }
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "placeholder",
|
|
866
|
+
"value": { "type": "string", "default": "''" }
|
|
867
|
+
}
|
|
868
|
+
],
|
|
869
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
870
|
+
"js": {
|
|
871
|
+
"properties": [
|
|
872
|
+
{ "name": "formatter" },
|
|
873
|
+
{ "name": "modelValue" },
|
|
874
|
+
{ "name": "parser" },
|
|
875
|
+
{ "name": "placeholder", "type": "string" },
|
|
876
|
+
{
|
|
877
|
+
"name": "readOnly",
|
|
878
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
879
|
+
"type": "boolean"
|
|
880
|
+
},
|
|
881
|
+
{ "name": "slots" },
|
|
882
|
+
{ "name": "type", "type": "string" }
|
|
883
|
+
],
|
|
884
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "lion-input-datepicker",
|
|
889
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n\n\n\n\n\n",
|
|
890
|
+
"doc-url": "",
|
|
891
|
+
"attributes": [
|
|
892
|
+
{
|
|
893
|
+
"name": "calendar-heading",
|
|
894
|
+
"description": "The heading to be added on top of the calendar overlay.\nNaming chosen from an Application Developer perspective.\nFor a Subclasser 'calendarOverlayHeading' would be more appropriate.",
|
|
895
|
+
"value": { "type": "string" }
|
|
896
|
+
},
|
|
897
|
+
{ "name": "modelValue", "value": { "type": "string" } },
|
|
898
|
+
{
|
|
899
|
+
"name": "readonly",
|
|
900
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
901
|
+
"value": { "type": "boolean", "default": "false" }
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "type",
|
|
905
|
+
"value": { "type": "string", "default": "'text'" }
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "placeholder",
|
|
909
|
+
"value": { "type": "string", "default": "''" }
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
913
|
+
"js": {
|
|
914
|
+
"properties": [
|
|
915
|
+
{
|
|
916
|
+
"name": "calendarHeading",
|
|
917
|
+
"description": "The heading to be added on top of the calendar overlay.\nNaming chosen from an Application Developer perspective.\nFor a Subclasser 'calendarOverlayHeading' would be more appropriate.",
|
|
918
|
+
"type": "string"
|
|
919
|
+
},
|
|
920
|
+
{ "name": "formatter" },
|
|
921
|
+
{ "name": "modelValue" },
|
|
922
|
+
{ "name": "parser" },
|
|
923
|
+
{ "name": "placeholder", "type": "string" },
|
|
924
|
+
{
|
|
925
|
+
"name": "readOnly",
|
|
926
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
927
|
+
"type": "boolean"
|
|
928
|
+
},
|
|
929
|
+
{ "name": "slots" },
|
|
930
|
+
{ "name": "type", "type": "string" }
|
|
931
|
+
],
|
|
932
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "lion-input-email",
|
|
937
|
+
"description": "LionInputEmail: extension of lion-input\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
938
|
+
"doc-url": "",
|
|
939
|
+
"attributes": [
|
|
940
|
+
{
|
|
941
|
+
"name": "readonly",
|
|
942
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
943
|
+
"value": { "type": "boolean", "default": "false" }
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"name": "type",
|
|
947
|
+
"value": { "type": "string", "default": "'text'" }
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"name": "placeholder",
|
|
951
|
+
"value": { "type": "string", "default": "''" }
|
|
952
|
+
}
|
|
953
|
+
],
|
|
954
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
955
|
+
"js": {
|
|
956
|
+
"properties": [
|
|
957
|
+
{ "name": "autocomplete", "type": "string" },
|
|
958
|
+
{ "name": "placeholder", "type": "string" },
|
|
959
|
+
{
|
|
960
|
+
"name": "readOnly",
|
|
961
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
962
|
+
"type": "boolean"
|
|
963
|
+
},
|
|
964
|
+
{ "name": "slots" },
|
|
965
|
+
{ "name": "type", "type": "string" }
|
|
966
|
+
],
|
|
967
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "lion-input-file",
|
|
972
|
+
"description": "LionInputFile: A file input component\nThis component allows users to select files, displays selected files, and handles file uploads.\n\n---\n\n\n### **Events:**\n - **file-list-changed**\n- **file-removed**\n- **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n\n\n\n\n\n### **Slots:**\n - **file-select-button** - [private] The button to open the file dialog\n- **selected-file-list** - [private] The list of selected files",
|
|
973
|
+
"doc-url": "",
|
|
974
|
+
"attributes": [
|
|
975
|
+
{
|
|
976
|
+
"name": "accept",
|
|
977
|
+
"value": { "type": "string", "default": "''" }
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "multiple",
|
|
981
|
+
"value": { "type": "boolean", "default": "false" }
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "button-label",
|
|
985
|
+
"description": "The label of the button",
|
|
986
|
+
"value": { "type": "string", "default": "''" }
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "max-file-size",
|
|
990
|
+
"value": { "type": "number", "default": "MAX_FILE_SIZE" }
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "enable-drop-zone",
|
|
994
|
+
"value": { "type": "boolean", "default": "false" }
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "upload-on-select",
|
|
998
|
+
"value": { "type": "boolean", "default": "false" }
|
|
999
|
+
},
|
|
1000
|
+
{ "name": "is-dragging", "value": { "type": "boolean" } },
|
|
1001
|
+
{
|
|
1002
|
+
"name": "uploadResponse",
|
|
1003
|
+
"value": { "type": "UploadResponse[]", "default": "[]" }
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"name": "_selectedFilesMetaData",
|
|
1007
|
+
"value": { "type": "InputFile[]", "default": "[]" }
|
|
1008
|
+
}
|
|
1009
|
+
],
|
|
1010
|
+
"slots": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "file-select-button",
|
|
1013
|
+
"description": "[private] The button to open the file dialog"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "selected-file-list",
|
|
1017
|
+
"description": "[private] The list of selected files"
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"events": [
|
|
1021
|
+
{ "name": "file-list-changed", "type": "CustomEvent" },
|
|
1022
|
+
{ "name": "file-removed", "type": "CustomEvent" },
|
|
1023
|
+
{ "name": "user-input-changed", "type": "Event" }
|
|
1024
|
+
],
|
|
1025
|
+
"js": {
|
|
1026
|
+
"properties": [
|
|
1027
|
+
{ "name": "accept", "type": "string" },
|
|
1028
|
+
{
|
|
1029
|
+
"name": "buttonLabel",
|
|
1030
|
+
"description": "The label of the button",
|
|
1031
|
+
"type": "string"
|
|
1032
|
+
},
|
|
1033
|
+
{ "name": "enableDropZone", "type": "boolean" },
|
|
1034
|
+
{ "name": "isDragging", "type": "boolean" },
|
|
1035
|
+
{ "name": "maxFileSize", "type": "number" },
|
|
1036
|
+
{
|
|
1037
|
+
"name": "modelValue",
|
|
1038
|
+
"description": "Overrides the inherited accessor with a typed pair instead of a class field: a field would be\nemitted as a property and every consumer that type-checks the declarations reports\n\"TS2610: 'modelValue' is defined as an accessor ... but is overridden here as an instance\nproperty\". Keeps the published InputFile[] type and adds no runtime behaviour.",
|
|
1039
|
+
"type": "array"
|
|
1040
|
+
},
|
|
1041
|
+
{ "name": "multiple", "type": "boolean" },
|
|
1042
|
+
{ "name": "operationMode" },
|
|
1043
|
+
{ "name": "slots" },
|
|
1044
|
+
{ "name": "type", "type": "string" },
|
|
1045
|
+
{ "name": "uploadOnSelect", "type": "boolean" },
|
|
1046
|
+
{ "name": "uploadResponse", "type": "UploadResponse[]" }
|
|
1047
|
+
],
|
|
1048
|
+
"events": [
|
|
1049
|
+
{ "name": "file-list-changed", "type": "CustomEvent" },
|
|
1050
|
+
{ "name": "file-removed", "type": "CustomEvent" },
|
|
1051
|
+
{ "name": "user-input-changed", "type": "Event" }
|
|
1052
|
+
]
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "lion-selected-file-list",
|
|
1057
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **file-remove-requested**",
|
|
1058
|
+
"doc-url": "",
|
|
1059
|
+
"attributes": [
|
|
1060
|
+
{
|
|
1061
|
+
"name": "fileList",
|
|
1062
|
+
"value": { "type": "InputFile[]", "default": "[]" }
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"name": "multiple",
|
|
1066
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1067
|
+
}
|
|
1068
|
+
],
|
|
1069
|
+
"events": [
|
|
1070
|
+
{ "name": "file-remove-requested", "type": "CustomEvent" }
|
|
1071
|
+
],
|
|
1072
|
+
"js": {
|
|
1073
|
+
"properties": [
|
|
1074
|
+
{ "name": "fileList", "type": "InputFile[]" },
|
|
1075
|
+
{ "name": "multiple", "type": "boolean" }
|
|
1076
|
+
],
|
|
1077
|
+
"events": [
|
|
1078
|
+
{ "name": "file-remove-requested", "type": "CustomEvent" }
|
|
1079
|
+
]
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "lion-input-iban",
|
|
1084
|
+
"description": "`LionInputIban` is a class for an IBAN custom form element (`<lion-input-iban>`).\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
1085
|
+
"doc-url": "",
|
|
1086
|
+
"attributes": [
|
|
1087
|
+
{
|
|
1088
|
+
"name": "readonly",
|
|
1089
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1090
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "type",
|
|
1094
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "placeholder",
|
|
1098
|
+
"value": { "type": "string", "default": "''" }
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1102
|
+
"js": {
|
|
1103
|
+
"properties": [
|
|
1104
|
+
{ "name": "formatter" },
|
|
1105
|
+
{ "name": "parser" },
|
|
1106
|
+
{ "name": "placeholder", "type": "string" },
|
|
1107
|
+
{
|
|
1108
|
+
"name": "readOnly",
|
|
1109
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1110
|
+
"type": "boolean"
|
|
1111
|
+
},
|
|
1112
|
+
{ "name": "slots" },
|
|
1113
|
+
{ "name": "type", "type": "string" }
|
|
1114
|
+
],
|
|
1115
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"name": "`lion-input-range`",
|
|
1120
|
+
"description": "LionInputRange: extension of lion-input.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
1121
|
+
"doc-url": "",
|
|
1122
|
+
"attributes": [
|
|
1123
|
+
{
|
|
1124
|
+
"name": "min",
|
|
1125
|
+
"value": { "type": "number", "default": "Infinity" }
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "max",
|
|
1129
|
+
"value": { "type": "number", "default": "Infinity" }
|
|
1130
|
+
},
|
|
1131
|
+
{ "name": "unit", "value": { "type": "string", "default": "''" } },
|
|
1132
|
+
{ "name": "step", "value": { "type": "number", "default": "1" } },
|
|
1133
|
+
{
|
|
1134
|
+
"name": "no-min-max-labels",
|
|
1135
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "min-label",
|
|
1139
|
+
"value": { "type": "string", "default": "''" }
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "max-label",
|
|
1143
|
+
"value": { "type": "string", "default": "''" }
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "readonly",
|
|
1147
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1148
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "type",
|
|
1152
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "placeholder",
|
|
1156
|
+
"value": { "type": "string", "default": "''" }
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1160
|
+
"js": {
|
|
1161
|
+
"properties": [
|
|
1162
|
+
{ "name": "max", "type": "number" },
|
|
1163
|
+
{ "name": "maxLabel", "type": "string" },
|
|
1164
|
+
{ "name": "min", "type": "number" },
|
|
1165
|
+
{ "name": "minLabel", "type": "string" },
|
|
1166
|
+
{ "name": "noMinMaxLabels", "type": "boolean" },
|
|
1167
|
+
{ "name": "parser" },
|
|
1168
|
+
{ "name": "placeholder", "type": "string" },
|
|
1169
|
+
{
|
|
1170
|
+
"name": "readOnly",
|
|
1171
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1172
|
+
"type": "boolean"
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"name": "scopedStylesController",
|
|
1176
|
+
"type": "ScopedStylesController"
|
|
1177
|
+
},
|
|
1178
|
+
{ "name": "slots" },
|
|
1179
|
+
{ "name": "step", "type": "number" },
|
|
1180
|
+
{ "name": "type", "type": "string" },
|
|
1181
|
+
{ "name": "unit", "type": "string" }
|
|
1182
|
+
],
|
|
1183
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "lion-input-stepper",
|
|
1188
|
+
"description": "`LionInputStepper` is a class for custom input-stepper element (`<lion-input-stepper>` web component).\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n\n\n\n\n",
|
|
1189
|
+
"doc-url": "",
|
|
1190
|
+
"attributes": [
|
|
1191
|
+
{
|
|
1192
|
+
"name": "min",
|
|
1193
|
+
"value": { "type": "number", "default": "Infinity" }
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "max",
|
|
1197
|
+
"value": { "type": "number", "default": "Infinity" }
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"name": "valueTextMapping",
|
|
1201
|
+
"description": "The aria-valuetext attribute defines the human-readable text alternative of aria-valuenow.",
|
|
1202
|
+
"value": { "type": "{[key: number]: string}", "default": "{}" }
|
|
1203
|
+
},
|
|
1204
|
+
{ "name": "step", "value": { "type": "number", "default": "1" } },
|
|
1205
|
+
{
|
|
1206
|
+
"name": "readonly",
|
|
1207
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1208
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"name": "type",
|
|
1212
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "placeholder",
|
|
1216
|
+
"value": { "type": "string", "default": "''" }
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
1219
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1220
|
+
"js": {
|
|
1221
|
+
"properties": [
|
|
1222
|
+
{ "name": "currentValue" },
|
|
1223
|
+
{ "name": "formatter" },
|
|
1224
|
+
{ "name": "max", "type": "number" },
|
|
1225
|
+
{ "name": "min", "type": "number" },
|
|
1226
|
+
{ "name": "parser" },
|
|
1227
|
+
{ "name": "placeholder", "type": "string" },
|
|
1228
|
+
{
|
|
1229
|
+
"name": "readOnly",
|
|
1230
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1231
|
+
"type": "boolean"
|
|
1232
|
+
},
|
|
1233
|
+
{ "name": "slots" },
|
|
1234
|
+
{ "name": "step", "type": "number" },
|
|
1235
|
+
{
|
|
1236
|
+
"name": "timer",
|
|
1237
|
+
"description": "Id of the timeout that clears the visually hidden value text again.\nDeclared as `ReturnType<typeof setTimeout>` rather than left to inference: with `@types/node` in\nthe type build, inference puts `NodeJS.Timeout` in the declarations, which consumers that do not\nload node types cannot resolve.",
|
|
1238
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
|
1239
|
+
},
|
|
1240
|
+
{ "name": "type", "type": "string" },
|
|
1241
|
+
{ "name": "values", "type": "object" },
|
|
1242
|
+
{
|
|
1243
|
+
"name": "valueTextMapping",
|
|
1244
|
+
"description": "The aria-valuetext attribute defines the human-readable text alternative of aria-valuenow.",
|
|
1245
|
+
"type": "{[key: number]: string}"
|
|
1246
|
+
}
|
|
1247
|
+
],
|
|
1248
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "lion-input-tel-dropdown",
|
|
1253
|
+
"description": "LionInputTelDropdown renders a dropdown like element next to the text field, inside the\nprefix slot. This could be a LionSelect, a LionSelectRich or a native select.\nBy default, the native `<select>` element is used for this, so that it's as lightweight as\npossible. Also, it doesn't need to be a `FormControl`, because it's purely a helper element\nto provide better UX: the modelValue (the text field) contains all needed info, since it's in\n`e164` format that contains all info (both region code and national phone number).\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n\n\n",
|
|
1254
|
+
"doc-url": "",
|
|
1255
|
+
"attributes": [
|
|
1256
|
+
{
|
|
1257
|
+
"name": "allowedRegions",
|
|
1258
|
+
"description": "The regions that should be considered when international phone numbers are detected.\n(when not configured, all regions worldwide will be considered)",
|
|
1259
|
+
"value": { "type": "RegionCode[]", "default": "[]" }
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"name": "format-strategy",
|
|
1263
|
+
"description": "Determines what the formatter output should look like.\nFormatting strategies as provided by google-libphonenumber\nSee: https://www.npmjs.com/package/google-libphonenumber",
|
|
1264
|
+
"value": {
|
|
1265
|
+
"type": "PhoneNumberFormat",
|
|
1266
|
+
"default": "'international'"
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "format-country-code-style",
|
|
1271
|
+
"description": "Extra styling of the format strategy\ndefault | parentheses",
|
|
1272
|
+
"value": { "type": "string", "default": "'default'" }
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "activeRegion",
|
|
1276
|
+
"description": "Currently active region based on:\n1. allowed regions: get the region from configured allowed regions (if one entry)\n2. user input: try to derive active region from user input\n3. locale: try to get the region from locale (`html[lang]` attribute)",
|
|
1277
|
+
"value": { "type": "string" }
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "preferredRegions",
|
|
1281
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
1282
|
+
"value": { "type": "RegionCode[]", "default": "[]" }
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "_phoneUtil",
|
|
1286
|
+
"value": { "type": "AwesomePhoneNumber|null" }
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "readonly",
|
|
1290
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1291
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "type",
|
|
1295
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "placeholder",
|
|
1299
|
+
"value": { "type": "string", "default": "''" }
|
|
1300
|
+
}
|
|
1301
|
+
],
|
|
1302
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1303
|
+
"js": {
|
|
1304
|
+
"properties": [
|
|
1305
|
+
{
|
|
1306
|
+
"name": "activePhoneNumberType",
|
|
1307
|
+
"description": "Type of phone number, derived from textbox value. Enum with values:\n-'fixed-line'\n-'fixed-line-or-mobile'\n-'mobile'\n-'pager'\n-'personal-number'\n-'premium-rate'\n-'shared-cost'\n-'toll-free'\n-'uan'\n-'voip'\n-'unknown'\nSee https://www.npmjs.com/package/awesome-phonenumber"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "activeRegion",
|
|
1311
|
+
"description": "Currently active region based on:\n1. allowed regions: get the region from configured allowed regions (if one entry)\n2. user input: try to derive active region from user input\n3. locale: try to get the region from locale (`html[lang]` attribute)",
|
|
1312
|
+
"type": "string"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "allowedRegions",
|
|
1316
|
+
"description": "The regions that should be considered when international phone numbers are detected.\n(when not configured, all regions worldwide will be considered)",
|
|
1317
|
+
"type": "RegionCode[]"
|
|
1318
|
+
},
|
|
1319
|
+
{ "name": "autocomplete", "type": "string" },
|
|
1320
|
+
{
|
|
1321
|
+
"name": "fieldName",
|
|
1322
|
+
"description": "Set a default name for this field, so that validation feedback will be always\naccessible and linguistically correct"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "formatCountryCodeStyle",
|
|
1326
|
+
"description": "Extra styling of the format strategy\ndefault | parentheses",
|
|
1327
|
+
"type": "string"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"name": "formatStrategy",
|
|
1331
|
+
"description": "Determines what the formatter output should look like.\nFormatting strategies as provided by google-libphonenumber\nSee: https://www.npmjs.com/package/google-libphonenumber",
|
|
1332
|
+
"type": "PhoneNumberFormat"
|
|
1333
|
+
},
|
|
1334
|
+
{ "name": "placeholder", "type": "string" },
|
|
1335
|
+
{
|
|
1336
|
+
"name": "preferredRegions",
|
|
1337
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
1338
|
+
"type": "RegionCode[]"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "readOnly",
|
|
1342
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1343
|
+
"type": "boolean"
|
|
1344
|
+
},
|
|
1345
|
+
{ "name": "refs", "type": "object" },
|
|
1346
|
+
{ "name": "slots" },
|
|
1347
|
+
{ "name": "type", "type": "string" }
|
|
1348
|
+
],
|
|
1349
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "lion-input-tel",
|
|
1354
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n",
|
|
1355
|
+
"doc-url": "",
|
|
1356
|
+
"attributes": [
|
|
1357
|
+
{
|
|
1358
|
+
"name": "allowedRegions",
|
|
1359
|
+
"description": "The regions that should be considered when international phone numbers are detected.\n(when not configured, all regions worldwide will be considered)",
|
|
1360
|
+
"value": { "type": "RegionCode[]", "default": "[]" }
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "format-strategy",
|
|
1364
|
+
"description": "Determines what the formatter output should look like.\nFormatting strategies as provided by google-libphonenumber\nSee: https://www.npmjs.com/package/google-libphonenumber",
|
|
1365
|
+
"value": {
|
|
1366
|
+
"type": "PhoneNumberFormat",
|
|
1367
|
+
"default": "'international'"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "format-country-code-style",
|
|
1372
|
+
"description": "Extra styling of the format strategy\ndefault | parentheses",
|
|
1373
|
+
"value": { "type": "string", "default": "'default'" }
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"name": "activeRegion",
|
|
1377
|
+
"description": "Currently active region based on:\n1. allowed regions: get the region from configured allowed regions (if one entry)\n2. user input: try to derive active region from user input\n3. locale: try to get the region from locale (`html[lang]` attribute)",
|
|
1378
|
+
"value": { "type": "string" }
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "preferredRegions",
|
|
1382
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
1383
|
+
"value": { "type": "RegionCode[]", "default": "[]" }
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"name": "_phoneUtil",
|
|
1387
|
+
"value": { "type": "AwesomePhoneNumber|null" }
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "readonly",
|
|
1391
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1392
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "type",
|
|
1396
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "placeholder",
|
|
1400
|
+
"value": { "type": "string", "default": "''" }
|
|
1401
|
+
}
|
|
1402
|
+
],
|
|
1403
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1404
|
+
"js": {
|
|
1405
|
+
"properties": [
|
|
1406
|
+
{
|
|
1407
|
+
"name": "activePhoneNumberType",
|
|
1408
|
+
"description": "Type of phone number, derived from textbox value. Enum with values:\n-'fixed-line'\n-'fixed-line-or-mobile'\n-'mobile'\n-'pager'\n-'personal-number'\n-'premium-rate'\n-'shared-cost'\n-'toll-free'\n-'uan'\n-'voip'\n-'unknown'\nSee https://www.npmjs.com/package/awesome-phonenumber"
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"name": "activeRegion",
|
|
1412
|
+
"description": "Currently active region based on:\n1. allowed regions: get the region from configured allowed regions (if one entry)\n2. user input: try to derive active region from user input\n3. locale: try to get the region from locale (`html[lang]` attribute)",
|
|
1413
|
+
"type": "string"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "allowedRegions",
|
|
1417
|
+
"description": "The regions that should be considered when international phone numbers are detected.\n(when not configured, all regions worldwide will be considered)",
|
|
1418
|
+
"type": "RegionCode[]"
|
|
1419
|
+
},
|
|
1420
|
+
{ "name": "autocomplete", "type": "string" },
|
|
1421
|
+
{
|
|
1422
|
+
"name": "fieldName",
|
|
1423
|
+
"description": "Set a default name for this field, so that validation feedback will be always\naccessible and linguistically correct"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "formatCountryCodeStyle",
|
|
1427
|
+
"description": "Extra styling of the format strategy\ndefault | parentheses",
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "formatStrategy",
|
|
1432
|
+
"description": "Determines what the formatter output should look like.\nFormatting strategies as provided by google-libphonenumber\nSee: https://www.npmjs.com/package/google-libphonenumber",
|
|
1433
|
+
"type": "PhoneNumberFormat"
|
|
1434
|
+
},
|
|
1435
|
+
{ "name": "placeholder", "type": "string" },
|
|
1436
|
+
{
|
|
1437
|
+
"name": "preferredRegions",
|
|
1438
|
+
"description": "Regions that will be shown on top of the dropdown",
|
|
1439
|
+
"type": "RegionCode[]"
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "readOnly",
|
|
1443
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1444
|
+
"type": "boolean"
|
|
1445
|
+
},
|
|
1446
|
+
{ "name": "slots" },
|
|
1447
|
+
{ "name": "type", "type": "string" }
|
|
1448
|
+
],
|
|
1449
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"name": "lion-input",
|
|
1454
|
+
"description": "LionInput: extension of lion-field with native input element in place and user friendly API.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
1455
|
+
"doc-url": "",
|
|
1456
|
+
"attributes": [
|
|
1457
|
+
{
|
|
1458
|
+
"name": "readonly",
|
|
1459
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1460
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"name": "type",
|
|
1464
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"name": "placeholder",
|
|
1468
|
+
"value": { "type": "string", "default": "''" }
|
|
1469
|
+
}
|
|
1470
|
+
],
|
|
1471
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1472
|
+
"js": {
|
|
1473
|
+
"properties": [
|
|
1474
|
+
{ "name": "placeholder", "type": "string" },
|
|
1475
|
+
{
|
|
1476
|
+
"name": "readOnly",
|
|
1477
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1478
|
+
"type": "boolean"
|
|
1479
|
+
},
|
|
1480
|
+
{ "name": "slots" },
|
|
1481
|
+
{ "name": "type", "type": "string" }
|
|
1482
|
+
],
|
|
1483
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "lion-listbox",
|
|
1488
|
+
"description": "LionListbox: implements the wai-aria listbox design pattern and integrates it as a Lion\nFormControl\n\n---\n",
|
|
1489
|
+
"doc-url": "",
|
|
1490
|
+
"attributes": [],
|
|
1491
|
+
"events": [],
|
|
1492
|
+
"js": { "properties": [], "events": [] }
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "lion-option",
|
|
1496
|
+
"description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option\nCan be a child of datalist/select, or role=\"listbox\"\n\nElement gets state supplied externally, reflects this to attributes,\nenabling SubClassers to style based on those states\n\n---\n\n\n### **Events:**\n - **active-changed**",
|
|
1497
|
+
"doc-url": "",
|
|
1498
|
+
"attributes": [
|
|
1499
|
+
{
|
|
1500
|
+
"name": "active",
|
|
1501
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1502
|
+
}
|
|
1503
|
+
],
|
|
1504
|
+
"events": [{ "name": "active-changed", "type": "Event" }],
|
|
1505
|
+
"js": {
|
|
1506
|
+
"properties": [
|
|
1507
|
+
{ "name": "active", "type": "boolean" },
|
|
1508
|
+
{ "name": "slots" }
|
|
1509
|
+
],
|
|
1510
|
+
"events": [{ "name": "active-changed", "type": "Event" }]
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "lion-options",
|
|
1515
|
+
"description": "LionOptions\n\n---\n",
|
|
1516
|
+
"doc-url": "",
|
|
1517
|
+
"attributes": [
|
|
1518
|
+
{
|
|
1519
|
+
"name": "tabindex",
|
|
1520
|
+
"value": { "type": "number", "default": "0" }
|
|
1521
|
+
}
|
|
1522
|
+
],
|
|
1523
|
+
"events": [],
|
|
1524
|
+
"js": {
|
|
1525
|
+
"properties": [{ "name": "tabIndex", "type": "number" }],
|
|
1526
|
+
"events": []
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "lion-pagination",
|
|
1531
|
+
"description": "`LionPagination` is a class for custom Pagination element (`<lion-pagination>` web component).\n\n---\n\n\n### **Methods:**\n - **first()** - Go to first page\n- **goto(pageNumber: _number_)** - Go to the specific page\n- **last()** - Go to the last page\n- **next()** - Go next in pagination\n- **previous()** - Go back in pagination\n\n\n\n",
|
|
1532
|
+
"doc-url": "",
|
|
1533
|
+
"attributes": [
|
|
1534
|
+
{
|
|
1535
|
+
"name": "current",
|
|
1536
|
+
"value": { "type": "number", "default": "1" }
|
|
1537
|
+
},
|
|
1538
|
+
{ "name": "count", "value": { "type": "number", "default": "0" } }
|
|
1539
|
+
],
|
|
1540
|
+
"events": [],
|
|
1541
|
+
"js": {
|
|
1542
|
+
"properties": [
|
|
1543
|
+
{ "name": "count", "type": "number" },
|
|
1544
|
+
{ "name": "current", "type": "number" }
|
|
1545
|
+
],
|
|
1546
|
+
"events": []
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "lion-progress-indicator",
|
|
1551
|
+
"description": "\n\n---\n",
|
|
1552
|
+
"doc-url": "",
|
|
1553
|
+
"attributes": [
|
|
1554
|
+
{ "name": "value", "value": { "type": "number", "default": "0" } },
|
|
1555
|
+
{ "name": "min", "value": { "type": "number", "default": "0" } },
|
|
1556
|
+
{ "name": "max", "value": { "type": "number", "default": "100" } },
|
|
1557
|
+
{
|
|
1558
|
+
"name": "aria-label",
|
|
1559
|
+
"value": { "type": "string", "default": "''" }
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "aria-labelledby",
|
|
1563
|
+
"value": { "type": "string", "default": "''" }
|
|
1564
|
+
}
|
|
1565
|
+
],
|
|
1566
|
+
"events": [],
|
|
1567
|
+
"js": {
|
|
1568
|
+
"properties": [
|
|
1569
|
+
{ "name": "indeterminate", "type": "boolean" },
|
|
1570
|
+
{ "name": "max", "type": "number" },
|
|
1571
|
+
{ "name": "min", "type": "number" },
|
|
1572
|
+
{ "name": "value", "type": "number" },
|
|
1573
|
+
{ "name": "_ariaLabel", "type": "string" },
|
|
1574
|
+
{ "name": "_ariaLabelledby", "type": "string" }
|
|
1575
|
+
],
|
|
1576
|
+
"events": []
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "lion-radio-group",
|
|
1581
|
+
"description": "LionRadioGroup: A wrapper around multiple radios.\n\n---\n",
|
|
1582
|
+
"doc-url": "",
|
|
1583
|
+
"attributes": [],
|
|
1584
|
+
"events": [],
|
|
1585
|
+
"js": { "properties": [], "events": [] }
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "lion-radio",
|
|
1589
|
+
"description": "Lion-radio can be used inside a lion-radio-group.\n\n<lion-radio-group name=\"radios\">\n <label slot=\"label\">My Radio</label>\n <lion-radio>\n <label slot=\"label\">Male</label>\n </lion-radio>\n <lion-radio>\n <label slot=\"label\">Female</label>\n </lion-radio>\n</lion-radio-group>\n\nYou can preselect an option by setting marking an lion-radio checked.\n Example:\n <lion-radio checked>\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
1590
|
+
"doc-url": "",
|
|
1591
|
+
"attributes": [
|
|
1592
|
+
{
|
|
1593
|
+
"name": "readonly",
|
|
1594
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1595
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"name": "type",
|
|
1599
|
+
"value": { "type": "string", "default": "'text'" }
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"name": "placeholder",
|
|
1603
|
+
"value": { "type": "string", "default": "''" }
|
|
1604
|
+
}
|
|
1605
|
+
],
|
|
1606
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1607
|
+
"js": {
|
|
1608
|
+
"properties": [
|
|
1609
|
+
{ "name": "placeholder", "type": "string" },
|
|
1610
|
+
{
|
|
1611
|
+
"name": "readOnly",
|
|
1612
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit\nthe value of the input. The difference between disabled and readonly is that read-only\ncontrols can still function, whereas disabled controls generally do not function as\ncontrols until they are enabled.\n\n(From: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly)",
|
|
1613
|
+
"type": "boolean"
|
|
1614
|
+
},
|
|
1615
|
+
{ "name": "slots" },
|
|
1616
|
+
{ "name": "type", "type": "string" }
|
|
1617
|
+
],
|
|
1618
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"name": "lion-field-with-select",
|
|
1623
|
+
"description": "LionSelectRich: wraps the <lion-listbox> element\n\n---\n\n\n### **Events:**\n - **blur**\n\n### **Methods:**\n \n\n",
|
|
1624
|
+
"doc-url": "",
|
|
1625
|
+
"attributes": [
|
|
1626
|
+
{
|
|
1627
|
+
"name": "navigate-within-invoker",
|
|
1628
|
+
"description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.",
|
|
1629
|
+
"value": { "type": "Boolean", "default": "false" }
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "interaction-mode",
|
|
1633
|
+
"description": "Aligns behavior for 'selectionFollowFocus' and 'navigateWithinInvoker' with\nplatform. When 'auto' (default), platform is automatically detected",
|
|
1634
|
+
"value": {
|
|
1635
|
+
"type": "'windows/linux'|'mac'|'auto'",
|
|
1636
|
+
"default": "'auto'"
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"name": "single-option",
|
|
1641
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1642
|
+
}
|
|
1643
|
+
],
|
|
1644
|
+
"events": [{ "name": "blur", "type": "Event" }],
|
|
1645
|
+
"js": {
|
|
1646
|
+
"properties": [
|
|
1647
|
+
{
|
|
1648
|
+
"name": "interactionMode",
|
|
1649
|
+
"description": "Aligns behavior for 'selectionFollowFocus' and 'navigateWithinInvoker' with\nplatform. When 'auto' (default), platform is automatically detected",
|
|
1650
|
+
"type": "'windows/linux'|'mac'|'auto'"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "navigateWithinInvoker",
|
|
1654
|
+
"description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.",
|
|
1655
|
+
"type": "Boolean"
|
|
1656
|
+
},
|
|
1657
|
+
{ "name": "singleOption", "type": "boolean" },
|
|
1658
|
+
{ "name": "slots", "type": "SlotsMap" }
|
|
1659
|
+
],
|
|
1660
|
+
"events": [{ "name": "blur", "type": "Event" }]
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"name": "lion-select-invoker",
|
|
1665
|
+
"description": "LionSelectInvoker: invoker button consuming a selected element\n\n---\n\n\n### **Methods:**\n ",
|
|
1666
|
+
"doc-url": "",
|
|
1667
|
+
"attributes": [
|
|
1668
|
+
{
|
|
1669
|
+
"name": "selectedElement",
|
|
1670
|
+
"description": "The option element that is currently selected",
|
|
1671
|
+
"value": { "type": "LionOption | null", "default": "null" }
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "hostElement",
|
|
1675
|
+
"description": "The LionSelectRich element this invoker is part of. Will be set on connectedCallback of\nLionSelectRich",
|
|
1676
|
+
"value": { "type": "LionSelectRich | null", "default": "null" }
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "readonly",
|
|
1680
|
+
"description": "When the connected LionSelectRich instance is readOnly,\nthis should be reflected in the invoker as well",
|
|
1681
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "single-option",
|
|
1685
|
+
"description": "When the connected LionSelectRich instance has only one option,\nthis should be reflected in the invoker as well",
|
|
1686
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "active",
|
|
1690
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "type",
|
|
1694
|
+
"value": { "type": "string", "default": "'button'" }
|
|
1695
|
+
}
|
|
1696
|
+
],
|
|
1697
|
+
"events": [],
|
|
1698
|
+
"js": {
|
|
1699
|
+
"properties": [
|
|
1700
|
+
{ "name": "active", "type": "boolean" },
|
|
1701
|
+
{
|
|
1702
|
+
"name": "hostElement",
|
|
1703
|
+
"description": "The LionSelectRich element this invoker is part of. Will be set on connectedCallback of\nLionSelectRich",
|
|
1704
|
+
"type": "LionSelectRich | null"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "readOnly",
|
|
1708
|
+
"description": "When the connected LionSelectRich instance is readOnly,\nthis should be reflected in the invoker as well",
|
|
1709
|
+
"type": "boolean"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "selectedElement",
|
|
1713
|
+
"description": "The option element that is currently selected",
|
|
1714
|
+
"type": "LionOption | null"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "singleOption",
|
|
1718
|
+
"description": "When the connected LionSelectRich instance has only one option,\nthis should be reflected in the invoker as well",
|
|
1719
|
+
"type": "boolean"
|
|
1720
|
+
},
|
|
1721
|
+
{ "name": "slots" },
|
|
1722
|
+
{ "name": "type", "type": "string" }
|
|
1723
|
+
],
|
|
1724
|
+
"events": []
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "lion-select",
|
|
1729
|
+
"description": "LionSelect: wraps the native HTML element select\n\n<lion-select>\n <label slot=\"label\">My Input</label>\n <select slot=\"input\">\n <option value=\"top\">top</option>\n <option value=\"bottom\">bottom</option>\n </select>\n</lion-select>\n\nYou can preselect an option by setting the property modelValue.\n Example:\n <lion-select .modelValue=\"${'<value of option 2>'}\">\n\nIt extends LionField so it inherits required and disabled.\n\nThe option element needs to be a direct child of the select element.\n\nYou cannot use interactive elements inside the options. Avoid very long names to\nfacilitate the understandability and perceivability for screen reader users. Sets of options\nwhere each option name starts with the same word or phrase can also significantly degrade\nusability for keyboard and screen reader users.\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n",
|
|
1730
|
+
"doc-url": "",
|
|
1731
|
+
"attributes": [
|
|
1732
|
+
{
|
|
1733
|
+
"name": "autocomplete",
|
|
1734
|
+
"description": "Delegates autocomplete to select",
|
|
1735
|
+
"value": { "type": "string|undefined", "default": "undefined" }
|
|
1736
|
+
}
|
|
1737
|
+
],
|
|
1738
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1739
|
+
"js": {
|
|
1740
|
+
"properties": [
|
|
1741
|
+
{
|
|
1742
|
+
"name": "autocomplete",
|
|
1743
|
+
"description": "Delegates autocomplete to select",
|
|
1744
|
+
"type": "string|undefined"
|
|
1745
|
+
},
|
|
1746
|
+
{ "name": "operationMode" }
|
|
1747
|
+
],
|
|
1748
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"name": "lion-steps",
|
|
1753
|
+
"description": "`LionSteps` is a controller for a multi step system.\n\n---\n\n\n### **Events:**\n - **transition**",
|
|
1754
|
+
"doc-url": "",
|
|
1755
|
+
"attributes": [
|
|
1756
|
+
{
|
|
1757
|
+
"name": "data",
|
|
1758
|
+
"description": "Storage for data gathered across different steps.\nData is passed into each step condition function as a first argument.",
|
|
1759
|
+
"value": { "type": "{[key: string]: any}", "default": "{}" }
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "current",
|
|
1763
|
+
"description": "Number of the current entered step.",
|
|
1764
|
+
"value": { "type": "number", "default": "0" }
|
|
1765
|
+
}
|
|
1766
|
+
],
|
|
1767
|
+
"events": [{ "name": "transition", "type": "CustomEvent" }],
|
|
1768
|
+
"js": {
|
|
1769
|
+
"properties": [
|
|
1770
|
+
{
|
|
1771
|
+
"name": "current",
|
|
1772
|
+
"description": "Number of the current entered step.",
|
|
1773
|
+
"type": "number"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"name": "data",
|
|
1777
|
+
"description": "Storage for data gathered across different steps.\nData is passed into each step condition function as a first argument.",
|
|
1778
|
+
"type": "{[key: string]: any}"
|
|
1779
|
+
},
|
|
1780
|
+
{ "name": "steps" }
|
|
1781
|
+
],
|
|
1782
|
+
"events": [{ "name": "transition", "type": "CustomEvent" }]
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"name": "lion-step",
|
|
1787
|
+
"description": "`LionStep` is one of many in a LionSteps Controller\n\n---\n\n\n### **Events:**\n - **enter**\n- **leave**\n- **skip**",
|
|
1788
|
+
"doc-url": "",
|
|
1789
|
+
"attributes": [
|
|
1790
|
+
{
|
|
1791
|
+
"name": "status",
|
|
1792
|
+
"description": "Step status, one of: \"untouched\", \"entered\", \"left\", \"skipped\".",
|
|
1793
|
+
"value": { "type": "string", "default": "'untouched'" }
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"name": "invert-condition",
|
|
1797
|
+
"description": "Allows to invert condition function result.",
|
|
1798
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"name": "forward-only",
|
|
1802
|
+
"description": "Allows transition to step only in forward direction. Skips it if transitioned back.\nMay be useful if the step is only showing some messages and does data loading and\nthen makes transition to next step automatically.",
|
|
1803
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"name": "initial-step",
|
|
1807
|
+
"description": "If set this step will be the initially enabled step\nThere should be only ONE intial step in each steps",
|
|
1808
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1809
|
+
}
|
|
1810
|
+
],
|
|
1811
|
+
"events": [
|
|
1812
|
+
{ "name": "enter", "type": "CustomEvent" },
|
|
1813
|
+
{ "name": "leave", "type": "CustomEvent" },
|
|
1814
|
+
{ "name": "skip", "type": "CustomEvent" }
|
|
1815
|
+
],
|
|
1816
|
+
"js": {
|
|
1817
|
+
"properties": [
|
|
1818
|
+
{
|
|
1819
|
+
"name": "condition",
|
|
1820
|
+
"description": "The funtion which us run to check if this step can be transitioned to.\nTakes lion-steps data as a first argument `myConditionFunc(data)`."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"name": "forwardOnly",
|
|
1824
|
+
"description": "Allows transition to step only in forward direction. Skips it if transitioned back.\nMay be useful if the step is only showing some messages and does data loading and\nthen makes transition to next step automatically.",
|
|
1825
|
+
"type": "boolean"
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "initialStep",
|
|
1829
|
+
"description": "If set this step will be the initially enabled step\nThere should be only ONE intial step in each steps",
|
|
1830
|
+
"type": "boolean"
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "invertCondition",
|
|
1834
|
+
"description": "Allows to invert condition function result.",
|
|
1835
|
+
"type": "boolean"
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "status",
|
|
1839
|
+
"description": "Step status, one of: \"untouched\", \"entered\", \"left\", \"skipped\".",
|
|
1840
|
+
"type": "string"
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"events": [
|
|
1844
|
+
{ "name": "enter", "type": "CustomEvent" },
|
|
1845
|
+
{ "name": "leave", "type": "CustomEvent" },
|
|
1846
|
+
{ "name": "skip", "type": "CustomEvent" }
|
|
1847
|
+
]
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "lion-switch",
|
|
1852
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n\n\n",
|
|
1853
|
+
"doc-url": "",
|
|
1854
|
+
"attributes": [],
|
|
1855
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1856
|
+
"js": {
|
|
1857
|
+
"properties": [
|
|
1858
|
+
{ "name": "checked", "type": "boolean" },
|
|
1859
|
+
{ "name": "slots" }
|
|
1860
|
+
],
|
|
1861
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "lion-switch-button",
|
|
1866
|
+
"description": "`LionSwitchButton` is a custom switch button component. It's a private component used within LionSwitch\n\n---\n\n\n### **Events:**\n - **checked-changed**",
|
|
1867
|
+
"doc-url": "",
|
|
1868
|
+
"attributes": [
|
|
1869
|
+
{
|
|
1870
|
+
"name": "checked",
|
|
1871
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"name": "readonly",
|
|
1875
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1876
|
+
}
|
|
1877
|
+
],
|
|
1878
|
+
"events": [{ "name": "checked-changed", "type": "Event" }],
|
|
1879
|
+
"js": {
|
|
1880
|
+
"properties": [
|
|
1881
|
+
{ "name": "checked", "type": "boolean" },
|
|
1882
|
+
{ "name": "readOnly", "type": "boolean" },
|
|
1883
|
+
{ "name": "value", "type": "string" }
|
|
1884
|
+
],
|
|
1885
|
+
"events": [{ "name": "checked-changed", "type": "Event" }]
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "lion-tabs",
|
|
1890
|
+
"description": "LionTabs: A tabbed interface component\n\n---\n\n\n### **Events:**\n - **selected-changed**\n\n### **Slots:**\n - **tab** - The tab elements for the tabs\n- **panel** - The panel elements for the tabs",
|
|
1891
|
+
"doc-url": "",
|
|
1892
|
+
"attributes": [
|
|
1893
|
+
{
|
|
1894
|
+
"name": "selected-index",
|
|
1895
|
+
"description": "An index number of the selected tab",
|
|
1896
|
+
"value": { "type": "number", "default": "0" }
|
|
1897
|
+
}
|
|
1898
|
+
],
|
|
1899
|
+
"slots": [
|
|
1900
|
+
{ "name": "tab", "description": "The tab elements for the tabs" },
|
|
1901
|
+
{
|
|
1902
|
+
"name": "panel",
|
|
1903
|
+
"description": "The panel elements for the tabs"
|
|
1904
|
+
}
|
|
1905
|
+
],
|
|
1906
|
+
"events": [{ "name": "selected-changed", "type": "Event" }],
|
|
1907
|
+
"js": {
|
|
1908
|
+
"properties": [
|
|
1909
|
+
{ "name": "panels" },
|
|
1910
|
+
{
|
|
1911
|
+
"name": "selectedIndex",
|
|
1912
|
+
"description": "An index number of the selected tab",
|
|
1913
|
+
"type": "number"
|
|
1914
|
+
},
|
|
1915
|
+
{ "name": "tabs" }
|
|
1916
|
+
],
|
|
1917
|
+
"events": [{ "name": "selected-changed", "type": "Event" }]
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "lion-textarea",
|
|
1922
|
+
"description": "LionTextarea: extension of lion-field with native input element in place and user friendly API\n\n---\n\n\n### **Events:**\n - **user-input-changed**\n\n### **Methods:**\n - **clear()** - Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)\n- **reset()** - Resets modelValue to initial value.\nInteraction states are cleared\n- **setTextareaMaxHeight()** - To support maxRows we need to set max-height of the textarea\n",
|
|
1923
|
+
"doc-url": "",
|
|
1924
|
+
"attributes": [
|
|
1925
|
+
{
|
|
1926
|
+
"name": "max-rows",
|
|
1927
|
+
"value": { "type": "number", "default": "6" }
|
|
1928
|
+
},
|
|
1929
|
+
{ "name": "rows", "value": { "type": "number", "default": "2" } },
|
|
1930
|
+
{
|
|
1931
|
+
"name": "readonly",
|
|
1932
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "placeholder",
|
|
1936
|
+
"value": { "type": "string", "default": "''" }
|
|
1937
|
+
}
|
|
1938
|
+
],
|
|
1939
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }],
|
|
1940
|
+
"js": {
|
|
1941
|
+
"properties": [
|
|
1942
|
+
{ "name": "maxRows", "type": "number" },
|
|
1943
|
+
{ "name": "placeholder", "type": "string" },
|
|
1944
|
+
{ "name": "readOnly", "type": "boolean" },
|
|
1945
|
+
{ "name": "rows", "type": "number" },
|
|
1946
|
+
{ "name": "slots" },
|
|
1947
|
+
{ "name": "updateComplete" }
|
|
1948
|
+
],
|
|
1949
|
+
"events": [{ "name": "user-input-changed", "type": "Event" }]
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"name": "lion-tooltip",
|
|
1954
|
+
"description": "\n\n---\n",
|
|
1955
|
+
"doc-url": "",
|
|
1956
|
+
"attributes": [
|
|
1957
|
+
{
|
|
1958
|
+
"name": "invoker-relation",
|
|
1959
|
+
"description": "Decides whether the tooltip invoker text should be considered a description\n(sets aria-describedby) or a label (sets aria-labelledby).",
|
|
1960
|
+
"value": {
|
|
1961
|
+
"type": "'label'|'description'",
|
|
1962
|
+
"default": "'description'"
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
],
|
|
1966
|
+
"events": [],
|
|
1967
|
+
"js": {
|
|
1968
|
+
"properties": [
|
|
1969
|
+
{
|
|
1970
|
+
"name": "hasArrow",
|
|
1971
|
+
"description": "Whether an arrow should be displayed",
|
|
1972
|
+
"type": "boolean"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "invokerRelation",
|
|
1976
|
+
"description": "Decides whether the tooltip invoker text should be considered a description\n(sets aria-describedby) or a label (sets aria-labelledby).",
|
|
1977
|
+
"type": "'label'|'description'"
|
|
1978
|
+
}
|
|
1979
|
+
],
|
|
1980
|
+
"events": []
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"name": "wrapperTagName",
|
|
1985
|
+
"description": "\n\n---\n\n\n### **Methods:**\n - **defineScopedElement(tagName: _string_, classToBeRegistered: _typeof HTMLElement_)** - Defines a scoped element.",
|
|
1986
|
+
"doc-url": "",
|
|
1987
|
+
"attributes": [
|
|
1988
|
+
{
|
|
1989
|
+
"name": "scopedElements",
|
|
1990
|
+
"value": {
|
|
1991
|
+
"type": "ScopedElementsMap",
|
|
1992
|
+
"default": "scopedElement"
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"name": "template",
|
|
1997
|
+
"value": { "type": "LitHTMLRenderable", "default": "template" }
|
|
1998
|
+
}
|
|
1999
|
+
],
|
|
2000
|
+
"events": [],
|
|
2001
|
+
"js": {
|
|
2002
|
+
"properties": [
|
|
2003
|
+
{ "name": "scopedElements", "type": "ScopedElementsMap" },
|
|
2004
|
+
{ "name": "template", "type": "LitHTMLRenderable" }
|
|
2005
|
+
],
|
|
2006
|
+
"events": []
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
]
|
|
2010
|
+
},
|
|
2011
|
+
"css": {
|
|
2012
|
+
"properties": [],
|
|
2013
|
+
"pseudo-elements": []
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
}
|