@m3e/radio-group
Version:
Radio Group for M3E
1,597 lines • 112 kB
JSON
{
"schemaVersion": "1.0.0",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "src/index.ts",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "*",
"declaration": {
"name": "*",
"package": "\"./RadioElement\""
}
},
{
"kind": "js",
"name": "*",
"declaration": {
"name": "*",
"package": "\"./RadioGroupElement\""
}
}
]
},
{
"kind": "javascript-module",
"path": "src/RadioElement.ts",
"declarations": [
{
"kind": "class",
"description": "A radio button that allows a user to select one option from a set of options.",
"name": "M3eRadioElement",
"cssProperties": [
{
"description": "Base size of the radio button container.",
"name": "--m3e-radio-container-size"
},
{
"description": "Size of the radio icon inside the wrapper.",
"name": "--m3e-radio-icon-size"
},
{
"description": "Hover state layer color when radio is not selected.",
"name": "--m3e-radio-unselected-hover-color"
},
{
"description": "Focus state layer color when radio is not selected.",
"name": "--m3e-radio-unselected-focus-color"
},
{
"description": "Ripple color when radio is not selected.",
"name": "--m3e-radio-unselected-ripple-color"
},
{
"description": "Icon color when radio is not selected.",
"name": "--m3e-radio-unselected-icon-color"
},
{
"description": "Hover state layer color when radio is selected.",
"name": "--m3e-radio-selected-hover-color"
},
{
"description": "Focus state layer color when radio is selected.",
"name": "--m3e-radio-selected-focus-color"
},
{
"description": "Ripple color when radio is selected.",
"name": "--m3e-radio-selected-ripple-color"
},
{
"description": "Icon color when radio is selected.",
"name": "--m3e-radio-selected-icon-color"
},
{
"description": "Icon color when radio is disabled.",
"name": "--m3e-radio-disabled-icon-color"
},
{
"description": "Fallback hover color used when the radio is invalid and touched.",
"name": "--m3e-radio-error-hover-color"
},
{
"description": "Fallback focus color used when the radio is invalid and touched.",
"name": "--m3e-radio-error-focus-color"
},
{
"description": "Fallback ripple color used when the radio is invalid and touched.",
"name": "--m3e-radio-error-ripple-color"
},
{
"description": "Fallback icon color used when the radio is invalid and touched.",
"name": "--m3e-radio-error-icon-color"
}
],
"members": [
{
"kind": "field",
"name": "_focusRing",
"type": {
"text": "M3eFocusRingElement | undefined"
},
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_stateLayer",
"type": {
"text": "M3eStateLayerElement | undefined"
},
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "_ripple",
"type": {
"text": "M3eRippleElement | undefined"
},
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "#clickHandler",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "#hoverController",
"privacy": "private",
"readonly": true,
"default": "new HoverController(this, { target: null, callback: (hovering) => { if (this.disabled) return; if (hovering) { this._stateLayer?.show(\"hover\"); } else { this._stateLayer?.hide(\"hover\"); } }, })"
},
{
"kind": "field",
"name": "#pressedController",
"privacy": "private",
"readonly": true,
"default": "new PressedController(this, { target: null, minPressedDuration: 150, callback: (pressed) => { if (this.disabled) return; if (pressed) { this._ripple?.show(0, 0, true); } else { this._ripple?.hide(); } }, })"
},
{
"kind": "field",
"name": "value",
"type": {
"text": "string"
},
"default": "\"on\"",
"description": "A string representing the value of the radio.",
"attribute": "value"
},
{
"kind": "method",
"name": "#renderIcon",
"privacy": "private",
"return": {
"type": {
"text": "unknown"
}
}
},
{
"kind": "method",
"name": "#handleClick",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "e",
"type": {
"text": "Event"
}
}
]
},
{
"kind": "method",
"name": "#notifySelectionChange",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "formAssociated",
"static": true,
"readonly": true,
"default": "true",
"description": "Indicates that this custom element participates in form submission, validation, and form state restoration.",
"type": {
"text": "boolean"
},
"inheritedFrom": {
"name": "AttachInternals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
},
{
"kind": "field",
"name": "[_eventHandler]",
"privacy": "private",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "labels",
"type": {
"text": "NodeListOf<HTMLLabelElement>"
},
"readonly": true,
"description": "The label elements that the element is associated with.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "dirty",
"type": {
"text": "boolean"
},
"description": "Whether the user has modified the value of the element.",
"readonly": true,
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "field",
"name": "pristine",
"type": {
"text": "boolean"
},
"description": "Whether the user has not modified the value of the element.",
"readonly": true,
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "method",
"name": "markAsPristine",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as pristine.",
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "method",
"name": "markAsDirty",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as dirty.",
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "field",
"name": "touched",
"type": {
"text": "boolean"
},
"description": "Whether the user has interacted when the element.",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "untouched",
"type": {
"text": "boolean"
},
"description": "Whether the user has not interacted when the element.",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "method",
"name": "markAsTouched",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as touched.",
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "method",
"name": "markAsUntouched",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as untouched.",
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"attribute": "checked",
"reflects": true,
"inheritedFrom": {
"name": "Checked",
"module": "../core/src/shared/mixins/Checked.ts"
}
},
{
"kind": "field",
"name": "#keyUpHandler",
"privacy": "private",
"readonly": true,
"inheritedFrom": {
"name": "KeyboardClick",
"module": "../core/src/shared/mixins/KeyboardClick.ts"
}
},
{
"kind": "method",
"name": "#handleKeyUp",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "e",
"type": {
"text": "KeyboardEvent"
}
}
],
"inheritedFrom": {
"name": "KeyboardClick",
"module": "../core/src/shared/mixins/KeyboardClick.ts"
}
},
{
"kind": "field",
"name": "[_tabindex]",
"type": {
"text": "number"
},
"privacy": "private",
"default": "0",
"inheritedFrom": {
"name": "Focusable",
"module": "../core/src/shared/mixins/Focusable.ts"
}
},
{
"kind": "field",
"name": "[_defaultValue]",
"type": {
"text": "unknown"
},
"privacy": "private",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_defaultIndeterminate]",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_formDisabled]",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "form",
"type": {
"text": "HTMLFormElement | null"
},
"description": "The `HTMLFormElement` associated with this element.",
"readonly": true,
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "name",
"description": "The name that identifies the element when submitting the associated form.",
"attribute": "name",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "disabled",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is disabled.",
"attribute": "disabled",
"inheritedFrom": {
"name": "Disabled",
"module": "../core/src/shared/mixins/Disabled.ts"
}
},
{
"kind": "method",
"name": "formDisabledCallback",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "disabled",
"type": {
"text": "boolean"
}
}
],
"description": "Called when the element is disabled or enabled via its form association.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "method",
"name": "formResetCallback",
"return": {
"type": {
"text": "void"
}
},
"description": "Called when the associated form is reset.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_internals]",
"type": {
"text": "ElementInternals | undefined"
},
"privacy": "private",
"inheritedFrom": {
"name": "AttachInternals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
}
],
"events": [
{
"name": "input",
"type": {
"text": "Event"
},
"description": "Emitted when the checked state changes."
},
{
"name": "change",
"type": {
"text": "Event"
},
"description": "Emitted when the checked state changes."
},
{
"name": "click",
"type": {
"text": "MouseEvent"
},
"description": "Emitted when the element is clicked.",
"inheritedFrom": {
"name": "KeyboardClick",
"module": "../core/src/shared/mixins/KeyboardClick.ts"
}
}
],
"attributes": [
{
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"fieldName": "checked",
"inheritedFrom": {
"name": "Checked",
"module": "../core/src/shared/mixins/Checked.ts"
}
},
{
"name": "disabled",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is disabled.",
"fieldName": "disabled",
"inheritedFrom": {
"name": "Disabled",
"module": "../core/src/shared/mixins/Disabled.ts"
}
},
{
"name": "name",
"description": "The name that identifies the element when submitting the associated form.",
"fieldName": "name",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"description": "Whether the element is required.",
"name": "required"
},
{
"description": "A string representing the value of the radio.",
"name": "value",
"type": {
"text": "string"
},
"default": "\"on\"",
"fieldName": "value"
}
],
"mixins": [
{
"name": "Labelled",
"package": "@m3e/core"
},
{
"name": "Dirty",
"package": "@m3e/core"
},
{
"name": "Touched",
"package": "@m3e/core"
},
{
"name": "Checked",
"package": "@m3e/core"
},
{
"name": "KeyboardClick",
"package": "@m3e/core"
},
{
"name": "Focusable",
"package": "@m3e/core"
},
{
"name": "FormAssociated",
"package": "@m3e/core"
},
{
"name": "Disabled",
"package": "@m3e/core"
},
{
"name": "AttachInternals",
"package": "@m3e/core"
},
{
"name": "Role",
"package": "@m3e/core"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "m3e-radio",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "M3eRadioElement",
"declaration": {
"name": "M3eRadioElement",
"module": "src/RadioElement.ts"
}
},
{
"kind": "custom-element-definition",
"name": "m3e-radio",
"declaration": {
"name": "M3eRadioElement",
"module": "src/RadioElement.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "src/RadioGroupElement.ts",
"declarations": [
{
"kind": "class",
"description": "A container for a set of radio buttons.",
"name": "M3eRadioGroupElement",
"slots": [
{
"description": "Renders the radio buttons of the group.",
"name": ""
}
],
"members": [
{
"kind": "field",
"name": "#focusOutHandler",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "radios",
"type": {
"text": "readonly M3eRadioElement[]"
},
"description": "The radios in the group.",
"readonly": true
},
{
"kind": "field",
"name": "selected",
"type": {
"text": "M3eRadioElement | null"
},
"description": "The selected radio.",
"readonly": true
},
{
"kind": "field",
"name": "value",
"type": {
"text": "string | null"
},
"description": "The selected value of the radio group.",
"readonly": true
},
{
"kind": "method",
"name": "markAsTouched",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as touched.",
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "method",
"name": "markAsUntouched",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as untouched.",
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "method",
"name": "markAsDirty",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as dirty.",
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "method",
"name": "markAsPristine",
"return": {
"type": {
"text": "void"
}
},
"description": "Marks the element as pristine.",
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "method",
"name": "#handleSlotChange",
"privacy": "private"
},
{
"kind": "method",
"name": "#handleKeyDown",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "e",
"type": {
"text": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "#handleChange",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
}
},
{
"kind": "field",
"name": "formAssociated",
"static": true,
"readonly": true,
"default": "true",
"description": "Indicates that this custom element participates in form submission, validation, and form state restoration.",
"type": {
"text": "boolean"
},
"inheritedFrom": {
"name": "AttachInternals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
},
{
"kind": "field",
"name": "[_eventHandler]",
"privacy": "private",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "labels",
"type": {
"text": "NodeListOf<HTMLLabelElement>"
},
"readonly": true,
"description": "The label elements that the element is associated with.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "dirty",
"type": {
"text": "boolean"
},
"description": "Whether the user has modified the value of the element.",
"readonly": true,
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "field",
"name": "pristine",
"type": {
"text": "boolean"
},
"description": "Whether the user has not modified the value of the element.",
"readonly": true,
"inheritedFrom": {
"name": "Dirty",
"module": "../core/src/shared/mixins/Dirty.ts"
}
},
{
"kind": "field",
"name": "touched",
"type": {
"text": "boolean"
},
"description": "Whether the user has interacted when the element.",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "untouched",
"type": {
"text": "boolean"
},
"description": "Whether the user has not interacted when the element.",
"readonly": true,
"inheritedFrom": {
"name": "Touched",
"module": "../core/src/shared/mixins/Touched.ts"
}
},
{
"kind": "field",
"name": "required",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether a value is required for the element.",
"attribute": "required",
"reflects": true,
"inheritedFrom": {
"name": "Required",
"module": "../core/src/shared/mixins/Required.ts"
}
},
{
"kind": "field",
"name": "optional",
"description": "Whether a value is not required for the element.",
"readonly": true,
"inheritedFrom": {
"name": "Required",
"module": "../core/src/shared/mixins/Required.ts"
}
},
{
"kind": "field",
"name": "[_validityMessage]",
"type": {
"text": "string | undefined"
},
"privacy": "private",
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "field",
"name": "willValidate",
"type": {
"text": "boolean"
},
"description": "Whether the element is a submittable element that is a candidate for constraint validation.",
"readonly": true,
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "field",
"name": "validity",
"type": {
"text": "ValidityState"
},
"description": "The validity state of the element.",
"readonly": true,
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "field",
"name": "validationMessage",
"type": {
"text": "string"
},
"description": "The error message that would be displayed if the user submits the form, or an empty string if no error message.",
"readonly": true,
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "method",
"name": "reportValidity",
"return": {
"type": {
"text": "boolean"
}
},
"description": "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.",
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "method",
"name": "checkValidity",
"return": {
"type": {
"text": "boolean"
}
},
"description": "Returns `true` if the element has no validity problems; otherwise,\r\nreturns `false`, fires an invalid event.",
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "method",
"name": "setCustomValidity",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "error",
"type": {
"text": "string"
},
"description": "The message to use for validity errors."
}
],
"description": "Sets a custom validity message for the element.",
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "method",
"name": "[_updateValidity]",
"privacy": "private",
"return": {
"type": {
"text": "void"
}
},
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "method",
"name": "#getNativeMessage",
"privacy": "private",
"return": {
"type": {
"text": "string"
}
},
"parameters": [
{
"name": "flags",
"type": {
"text": "ValidityStateFlags"
}
}
],
"inheritedFrom": {
"name": "ConstraintValidation",
"module": "../core/src/shared/mixins/ConstraintValidation.ts"
}
},
{
"kind": "field",
"name": "[_defaultValue]",
"type": {
"text": "unknown"
},
"privacy": "private",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_defaultIndeterminate]",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_formDisabled]",
"type": {
"text": "boolean"
},
"privacy": "private",
"default": "false",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "form",
"type": {
"text": "HTMLFormElement | null"
},
"description": "The `HTMLFormElement` associated with this element.",
"readonly": true,
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "name",
"description": "The name that identifies the element when submitting the associated form.",
"attribute": "name",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "disabled",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is disabled.",
"attribute": "disabled",
"inheritedFrom": {
"name": "Disabled",
"module": "../core/src/shared/mixins/Disabled.ts"
}
},
{
"kind": "method",
"name": "formDisabledCallback",
"return": {
"type": {
"text": "void"
}
},
"parameters": [
{
"name": "disabled",
"type": {
"text": "boolean"
}
}
],
"description": "Called when the element is disabled or enabled via its form association.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "method",
"name": "formResetCallback",
"return": {
"type": {
"text": "void"
}
},
"description": "Called when the associated form is reset.",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"kind": "field",
"name": "[_internals]",
"type": {
"text": "ElementInternals | undefined"
},
"privacy": "private",
"inheritedFrom": {
"name": "AttachInternals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
}
],
"events": [
{
"description": "Emitted when the checked state of a radio button changes.",
"name": "change"
}
],
"attributes": [
{
"name": "aria-invalid"
},
{
"name": "disabled",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is disabled.",
"fieldName": "disabled",
"inheritedFrom": {
"name": "Disabled",
"module": "../core/src/shared/mixins/Disabled.ts"
}
},
{
"name": "name",
"description": "The name that identifies the element when submitting the associated form.",
"fieldName": "name",
"inheritedFrom": {
"name": "FormAssociated",
"module": "../core/src/shared/mixins/FormAssociated.ts"
}
},
{
"name": "required",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is required.",
"fieldName": "required",
"inheritedFrom": {
"name": "Required",
"module": "../core/src/shared/mixins/Required.ts"
}
}
],
"mixins": [
{
"name": "Labelled",
"package": "@m3e/core"
},
{
"name": "RequiredConstraintValidation",
"package": "@m3e/core"
},
{
"name": "Dirty",
"package": "@m3e/core"
},
{
"name": "Touched",
"package": "@m3e/core"
},
{
"name": "Required",
"package": "@m3e/core"
},
{
"name": "ConstraintValidation",
"package": "@m3e/core"
},
{
"name": "FormAssociated",
"package": "@m3e/core"
},
{
"name": "Disabled",
"package": "@m3e/core"
},
{
"name": "AttachInternals",
"package": "@m3e/core"
},
{
"name": "Role",
"package": "@m3e/core"
}
],
"superclass": {
"name": "LitElement",
"package": "lit"
},
"tagName": "m3e-radio-group",
"customElement": true
}
],
"exports": [
{
"kind": "js",
"name": "M3eRadioGroupElement",
"declaration": {
"name": "M3eRadioGroupElement",
"module": "src/RadioGroupElement.ts"
}
},
{
"kind": "custom-element-definition",
"name": "m3e-radio-group",
"declaration": {
"name": "M3eRadioGroupElement",
"module": "src/RadioGroupElement.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "../core/src/shared/mixins/AttachInternals.ts",
"declarations": [
{
"kind": "variable",
"name": "internals",
"description": "A symbol through which to access the `ElementInternals` attached to an element."
},
{
"kind": "function",
"name": "isAttachInternalsMixin",
"return": {
"type": {
"text": ""
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "unknown"
},
"description": "The value to test."
}
],
"description": "Determines whether a value is an `AttachInternalsMixin`."
},
{
"kind": "mixin",
"description": "Mixin to augment an element with behavior that attaches to `ElementInternals`.",
"name": "AttachInternals",
"members": [
{
"kind": "field",
"name": "formAssociated",
"static": true,
"readonly": true,
"default": "formAssociated",
"description": "Indicates that this custom element participates in form submission, validation, and form state restoration."
},
{
"kind": "field",
"name": "[_internals]",
"type": {
"text": "ElementInternals | undefined"
},
"privacy": "private"
}
],
"parameters": [
{
"name": "base",
"type": {
"text": "T"
},
"description": "The base class."
},
{
"name": "formAssociated",
"optional": true,
"type": {
"text": "boolean | undefined"
},
"description": "Whether the element is \"Form Associated\"."
}
]
}
],
"exports": [
{
"kind": "js",
"name": "internals",
"declaration": {
"name": "internals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
},
{
"kind": "js",
"name": "isAttachInternalsMixin",
"declaration": {
"name": "isAttachInternalsMixin",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
},
{
"kind": "js",
"name": "AttachInternals",
"declaration": {
"name": "AttachInternals",
"module": "../core/src/shared/mixins/AttachInternals.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "../core/src/shared/mixins/Checked.ts",
"declarations": [
{
"kind": "function",
"name": "isCheckedMixin",
"return": {
"type": {
"text": ""
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "unknown"
},
"description": "The value to test."
}
],
"description": "Determines whether a value is a `CheckedMixin`."
},
{
"kind": "mixin",
"description": "Mixin to augment an element with behavior that supports a checked state.",
"name": "Checked",
"members": [
{
"kind": "field",
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"attribute": "checked",
"reflects": true
}
],
"attributes": [
{
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"fieldName": "checked"
}
],
"parameters": [
{
"name": "base",
"type": {
"text": "T"
},
"description": "The base class."
}
]
}
],
"exports": [
{
"kind": "js",
"name": "isCheckedMixin",
"declaration": {
"name": "isCheckedMixin",
"module": "../core/src/shared/mixins/Checked.ts"
}
},
{
"kind": "js",
"name": "Checked",
"declaration": {
"name": "Checked",
"module": "../core/src/shared/mixins/Checked.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "../core/src/shared/mixins/CheckedIndeterminate.ts",
"declarations": [
{
"kind": "function",
"name": "isCheckedIndeterminateMixin",
"return": {
"type": {
"text": ""
}
},
"parameters": [
{
"name": "value",
"type": {
"text": "unknown"
},
"description": "The value to test."
}
],
"description": "Determines whether a value is a `CheckedIndeterminateMixin`."
},
{
"kind": "mixin",
"description": "Mixin to augment an element with behavior that supports a mixed checked state.",
"name": "CheckedIndeterminate",
"members": [
{
"kind": "field",
"name": "indeterminate",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element's checked state is indeterminate.",
"attribute": "indeterminate",
"reflects": true
},
{
"kind": "field",
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"attribute": "checked",
"reflects": true,
"inheritedFrom": {
"name": "Checked",
"module": "../core/src/shared/mixins/Checked.ts"
}
}
],
"attributes": [
{
"name": "indeterminate",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element's checked state is indeterminate.",
"fieldName": "indeterminate"
},
{
"name": "checked",
"type": {
"text": "boolean"
},
"default": "false",
"description": "Whether the element is checked.",
"fieldName": "checked",
"inheritedFrom": {
"name": "Checked",
"module": "../core/src/shared/mixins/Checked.ts"
}
}
],
"mixins": [
{
"name": "Checked",
"module": "/core/src/shared/mixins/Checked"
}
],
"parameters": [
{
"name": "base",
"type": {
"text": "T"
},
"description": "The base class."
}
]
}
],
"exports": [
{
"kind": "js",
"name": "isCheckedIndeterminateMixin",
"declaration": {
"name": "isCheckedIndeterminateMixin",
"module": "../core/src/shared/mixins/CheckedIndeterminate.ts"
}
},
{
"kind": "js",
"name": "CheckedIndeterminate",
"declaration": {
"name": "CheckedIndeterminate",
"module": "../core/src/shared/mixins/CheckedIndeterminate.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "../core/src/shared/mixins/CheckedOrSelected.ts",
"declarations": [
{
"kind": "function",
"na