UNPKG

@lion/accordion

Version:

Vertically stacked list of invokers that can be clicked to reveal or hide content associated with them.

608 lines (607 loc) 15.7 kB
{ "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "index.d.ts", "declarations": [], "exports": [ { "kind": "js", "name": "LionAccordion", "declaration": { "name": "LionAccordion", "module": "\"./src/LionAccordion.js\"" } } ] }, { "kind": "javascript-module", "path": "index.js", "declarations": [], "exports": [ { "kind": "js", "name": "LionAccordion", "declaration": { "name": "LionAccordion", "module": "./src/LionAccordion.js" } } ] }, { "kind": "javascript-module", "path": "lion-accordion.d.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "lion-accordion.js", "declarations": [], "exports": [ { "kind": "custom-element-definition", "name": "lion-accordion", "declaration": { "name": "LionAccordion", "module": "/src/LionAccordion.js" } } ] }, { "kind": "javascript-module", "path": "src/LionAccordion.d.ts", "declarations": [ { "kind": "class", "description": "# <lion-accordion> webcomponent", "name": "LionAccordion", "members": [ { "kind": "field", "name": "focusedIndex", "parameters": [ { "name": "value", "type": { "text": "number" } } ], "type": { "text": "number" } }, { "kind": "field", "name": "__focusedIndex", "type": { "text": "number" } }, { "kind": "field", "name": "expanded", "parameters": [ { "name": "value", "type": { "text": "number[]" } } ], "type": { "text": "number[]" } }, { "kind": "field", "name": "__expanded", "type": { "text": "number[]" } }, { "kind": "field", "name": "__store", "privacy": "private", "type": { "text": "StoreEntry[]" } }, { "kind": "field", "name": "__setupSlots", "privacy": "private" }, { "kind": "field", "name": "__setupStore", "privacy": "private" }, { "kind": "field", "name": "__rearrangeInvokersAndContent", "privacy": "private" }, { "kind": "field", "name": "__createInvokerClickHandler", "privacy": "private", "parameters": [ { "name": "index", "type": { "text": "number" } } ] }, { "kind": "field", "name": "__handleInvokerKeydown", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "Event" } } ] }, { "kind": "field", "name": "_pairCount", "privacy": "private" }, { "kind": "method", "name": "_setupContent", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_setupInvoker", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_cleanInvoker", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_focusInvoker", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_unfocusInvoker", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_collapse", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "method", "name": "_expand", "privacy": "protected", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ] }, { "kind": "field", "name": "__updateFocused", "privacy": "private" }, { "kind": "field", "name": "__updateExpanded", "privacy": "private" }, { "kind": "field", "name": "__toggleExpanded", "privacy": "private", "parameters": [ { "name": "value", "type": { "text": "number" } } ] }, { "kind": "field", "name": "__cleanStore", "privacy": "private" } ], "superclass": { "name": "LitElement", "package": "@lion/core" }, "tagName": "lion-accordion", "customElement": true } ], "exports": [ { "kind": "js", "name": "LionAccordion", "declaration": { "name": "LionAccordion", "module": "src/LionAccordion.d.ts" } } ] }, { "kind": "javascript-module", "path": "src/LionAccordion.js", "declarations": [ { "kind": "class", "description": "# <lion-accordion> webcomponent", "name": "LionAccordion", "members": [ { "kind": "field", "name": "focusedIndex", "parameters": [ { "name": "value", "type": { "text": "number" } } ], "privacy": "public", "description": "index number of the focused accordion", "attribute": "focusedIndex" }, { "kind": "field", "name": "expanded", "parameters": [ { "name": "value", "type": { "text": "number[]" } } ], "privacy": "public", "description": "array of indices of the expanded accordions", "attribute": "expanded" }, { "kind": "method", "name": "__setupSlots", "privacy": "private" }, { "kind": "method", "name": "__setupStore", "privacy": "private" }, { "kind": "method", "name": "__rearrangeInvokersAndContent", "privacy": "private" }, { "kind": "method", "name": "__createInvokerClickHandler", "parameters": [ { "name": "index", "type": { "text": "number" } } ], "privacy": "private" }, { "kind": "method", "name": "__handleInvokerKeydown", "parameters": [ { "name": "e", "type": { "text": "Event" } } ], "privacy": "private" }, { "kind": "field", "name": "_pairCount", "privacy": "private" }, { "kind": "method", "name": "_setupContent", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_setupInvoker", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_cleanInvoker", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_focusInvoker", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_unfocusInvoker", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_collapse", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "_expand", "parameters": [ { "name": "entry", "type": { "text": "StoreEntry" } } ], "privacy": "protected" }, { "kind": "method", "name": "__updateFocused", "privacy": "private" }, { "kind": "method", "name": "__updateExpanded", "privacy": "private" }, { "kind": "method", "name": "__toggleExpanded", "parameters": [ { "name": "value", "type": { "text": "number" } } ], "privacy": "private" }, { "kind": "method", "name": "__cleanStore", "privacy": "private" }, { "kind": "field", "name": "__store", "type": { "text": "StoreEntry[]" }, "privacy": "private", "default": "[]" }, { "kind": "field", "name": "__focusedIndex", "type": { "text": "number" }, "privacy": "private", "default": "-1" }, { "kind": "field", "name": "__expanded", "type": { "text": "number[]" }, "privacy": "private", "default": "[]" } ], "attributes": [ { "name": "focusedIndex", "description": "index number of the focused accordion", "fieldName": "focusedIndex" }, { "name": "expanded", "description": "array of indices of the expanded accordions", "fieldName": "expanded" } ], "superclass": { "name": "LitElement", "package": "@lion/core" }, "tagName": "lion-accordion", "customElement": true } ], "exports": [ { "kind": "js", "name": "LionAccordion", "declaration": { "name": "LionAccordion", "module": "src/LionAccordion.js" } } ] }, { "kind": "javascript-module", "path": "test/lion-accordion.test.d.ts", "declarations": [], "exports": [] } ] }