{ "schemaVersion": "0.1.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "./index.js", "declarations": [], "exports": [ { "kind": "js", "name": "LionSteps", "declaration": { "name": "LionSteps", "module": "./src/LionSteps.js" } }, { "kind": "js", "name": "LionStep", "declaration": { "name": "LionStep", "module": "./src/LionStep.js" } } ] }, { "kind": "javascript-module", "path": "./lion-step.js", "declarations": [], "exports": [ { "kind": "custom-element-definition", "name": "lion-step", "declaration": { "name": "LionStep", "module": "./src/LionStep.js" } } ] }, { "kind": "javascript-module", "path": "./lion-steps.js", "declarations": [], "exports": [ { "kind": "custom-element-definition", "name": "lion-steps", "declaration": { "name": "LionSteps", "module": "./src/LionSteps.js" } } ] }, { "kind": "javascript-module", "path": "./src/LionStep.js", "declarations": [ { "kind": "class", "name": "LionStep", "events": [ { "name": "enter", "type": { "text": "CustomEvent" } }, { "name": "leave", "type": { "text": "CustomEvent" } }, { "name": "skip", "type": { "text": "CustomEvent" } } ], "superclass": { "name": "LitElement", "package": "@lion/core" }, "attributes": [ { "name": "status", "fieldName": "status" }, { "name": "invert-condition", "fieldName": "invertCondition" }, { "name": "forward-only", "fieldName": "forwardOnly" }, { "name": "initial-step", "fieldName": "initialStep" } ], "members": [ { "kind": "field", "name": "status", "privacy": "public", "default": "'untouched'" }, { "kind": "field", "name": "condition", "privacy": "public" }, { "kind": "field", "name": "invertCondition", "privacy": "public", "default": "false" }, { "kind": "field", "name": "forwardOnly", "privacy": "public", "default": "false" }, { "kind": "field", "name": "initialStep", "privacy": "public", "default": "false" }, { "kind": "method", "name": "enter", "privacy": "public" }, { "kind": "method", "name": "leave", "privacy": "public" }, { "kind": "method", "name": "skip", "privacy": "public" }, { "kind": "method", "name": "passesCondition", "privacy": "public", "parameters": [ { "name": "data", "type": { "text": "Object" }, "optional": true } ] } ], "tagName": "lion-step" } ], "exports": [ { "kind": "js", "name": "LionStep", "declaration": { "name": "LionStep", "module": "./src/LionStep.js" } } ] }, { "kind": "javascript-module", "path": "./src/LionSteps.js", "declarations": [ { "kind": "class", "name": "LionSteps", "events": [ { "name": "transition", "type": { "text": "CustomEvent" } } ], "superclass": { "name": "LitElement", "package": "@lion/core" }, "attributes": [ { "name": "data", "fieldName": "data" }, { "name": "current", "fieldName": "current" } ], "members": [ { "kind": "field", "name": "data", "privacy": "public", "type": { "text": "{[key: string]: ?}" }, "default": "{}" }, { "kind": "field", "name": "current", "privacy": "public", "type": { "text": "number" }, "default": "0" }, { "kind": "method", "name": "next", "privacy": "public" }, { "kind": "method", "name": "previous", "privacy": "public" }, { "kind": "field", "name": "steps", "privacy": "public" }, { "kind": "method", "name": "_goTo", "privacy": "public", "parameters": [ { "name": "newCurrent", "type": { "text": "number" } }, { "name": "oldCurrent", "type": { "text": "number" } } ] }, { "kind": "method", "name": "_changeStep", "privacy": "public", "parameters": [ { "name": "newCurrent", "type": { "text": "number" } }, { "name": "oldCurrent", "type": { "text": "number" } } ] }, { "kind": "method", "name": "_dispatchTransitionEvent", "privacy": "public", "parameters": [ { "name": "fromStep", "type": { "text": "{number: number, element: LionStep}" } }, { "name": "toStep", "type": { "text": "{number: number, element: LionStep}" } } ] }, { "kind": "method", "name": "_onCurrentChanged", "privacy": "public", "parameters": [ { "name": "newValues", "type": { "text": "{current: number}" } }, { "name": "oldValues", "type": { "text": "{current: number}" } } ] } ], "tagName": "lion-steps" } ], "exports": [ { "kind": "js", "name": "LionSteps", "declaration": { "name": "LionSteps", "module": "./src/LionSteps.js" } } ] } ] }