@m3e/select 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "m3e-select",
7
+ "description": "A form control that allows users to select a value from a set of predefined options.\n---\n\n\n### **Events:**\n - **change** - Emitted when the selected state changes.\n- **toggle**\n- **input** - Emitted when the selected state changes.\n\n### **Methods:**\n - **clear(restoreFocus): _void_** - Clears the value of the element.\n- **markAsPristine(): _void_** - Marks the element as pristine.\n- **markAsDirty(): _void_** - Marks the element as dirty.\n- **markAsTouched(): _void_** - Marks the element as touched.\n- **markAsUntouched(): _void_** - Marks the element as untouched.\n- **reportValidity(): _boolean_** - Returns `true` if the element has no validity problems; otherwise, returns `false`, fires\r\nan invalid event, and (if the event isn't canceled) reports the problem to the user.\n- **checkValidity(): _boolean_** - Returns `true` if the element has no validity problems; otherwise,\r\nreturns `false`, fires an invalid event.\n- **setCustomValidity(error: _string_): _void_** - Sets a custom validity message for the element.\n- **formDisabledCallback(disabled: _boolean_): _void_** - Called when the element is disabled or enabled via its form association.\n- **formResetCallback(): _void_** - Called when the associated form is reset.\n\n### **Slots:**\n - _default_ - Renders the options of the select.\n- **arrow** - Renders the dropdown arrow.\n- **value** - Renders the selected value(s).\n\n### **CSS Properties:**\n - **--m3e-form-field-font-size** - The font size of the select control. _(default: undefined)_\n- **--m3e-form-field-font-weight** - The font weight of the select control. _(default: undefined)_\n- **--m3e-form-field-line-height** - The line height of the select control. _(default: undefined)_\n- **--m3e-form-field-tracking** - The letter spacing of the select control. _(default: undefined)_\n- **--m3e-select-container-shape** - The corner radius of the select container. _(default: undefined)_\n- **--m3e-select-disabled-color** - The text color when the select is disabled. _(default: undefined)_\n- **--m3e-select-disabled-color-opacity** - The opacity level applied to the disabled text color. _(default: undefined)_\n- **--m3e-select-icon-size** - The size of the dropdown arrow icon. _(default: undefined)_",
8
+ "attributes": [
9
+ {
10
+ "name": "disabled",
11
+ "description": "Whether the element is disabled.",
12
+ "values": []
13
+ },
14
+ {
15
+ "name": "hide-selection-indicator",
16
+ "description": "Whether to hide the selection indicator for single select options.",
17
+ "values": []
18
+ },
19
+ {
20
+ "name": "multi",
21
+ "description": "Whether multiple options can be selected.",
22
+ "values": []
23
+ },
24
+ {
25
+ "name": "name",
26
+ "description": "The name that identifies the element when submitting the associated form.",
27
+ "values": []
28
+ },
29
+ {
30
+ "name": "required",
31
+ "description": "Whether the element is required.",
32
+ "values": []
33
+ }
34
+ ],
35
+ "references": []
36
+ }
37
+ ]
38
+ }