{ "schemaVersion": "experimental", "readme": "", "modules": [ { "kind": "javascript-module", "path": "./index.js", "declarations": [], "exports": [ { "kind": "js", "name": "renderLitAsNode", "declaration": { "name": "renderLitAsNode", "module": "./renderLitAsNode/src/renderLitAsNode.js" } }, { "kind": "js", "name": "sortEachDepth", "declaration": { "name": "sortEachDepth", "module": "./sortEachDepth/src/sortEachDepth.js" } }, { "kind": "js", "name": "SbActionLogger", "declaration": { "name": "SbActionLogger", "module": "./sb-action-logger/src/SbActionLogger.js" } }, { "kind": "js", "name": "SbLocaleSwitcher", "declaration": { "name": "SbLocaleSwitcher", "module": "./sb-locale-switcher/src/SbLocaleSwitcher.js" } } ] }, { "kind": "javascript-module", "path": "./sb-action-logger.js", "declarations": [], "exports": [ { "kind": "custom-element-definition", "name": "sb-action-logger", "declaration": { "name": "SbActionLogger", "module": "./sb-action-logger/src/SbActionLogger.js" } } ] }, { "kind": "javascript-module", "path": "./sb-locale-switcher.js", "declarations": [], "exports": [ { "kind": "custom-element-definition", "name": "sb-locale-switcher", "declaration": { "name": "SbLocaleSwitcher", "module": "./sb-locale-switcher/src/SbLocaleSwitcher.js" } } ] }, { "kind": "javascript-module", "path": "./renderLitAsNode/src/renderLitAsNode.js", "declarations": [ { "kind": "variable", "name": "renderLitAsNode", "description": "Helper to render a lit TemplateResult as an offline-created DOM node\nMake sure that the top-most element in the template has no siblings,\nas they won't be taken into account. We only return firstElementChild." } ], "exports": [ { "kind": "js", "name": "renderLitAsNode", "declaration": { "name": "renderLitAsNode", "module": "./renderLitAsNode/src/renderLitAsNode.js" } } ] }, { "kind": "javascript-module", "path": "./sb-action-logger/src/SbActionLogger.js", "declarations": [ { "kind": "class", "name": "SbActionLogger", "superclass": { "name": "LitElement", "package": "@lion/core" }, "attributes": [ { "name": "title", "fieldName": "title" }, { "name": "simple", "fieldName": "simple" }, { "name": "__logCounter", "fieldName": "__logCounter" } ], "members": [ { "kind": "field", "name": "title", "privacy": "public", "default": "'Action Logger'" }, { "kind": "field", "name": "simple", "privacy": "public", "default": "false" }, { "kind": "field", "name": "__logCounter", "privacy": "public", "default": "0" }, { "kind": "field", "name": "loggerEl", "privacy": "public" }, { "kind": "method", "name": "log", "privacy": "public", "description": "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]'", "parameters": [ { "name": "content", "type": { "type": "string" }, "description": "Content to be logged to the action logger" } ] }, { "kind": "method", "name": "_logTemplate", "privacy": "public", "description": "Protected getter that returns the template of a single log", "return": { "type": { "type": "TemplateResult" } }, "parameters": [ { "name": "content", "type": { "type": "string" } } ] }, { "kind": "method", "name": "__appendLog", "privacy": "public", "parameters": [ { "name": "content", "type": { "type": "string" } } ] }, { "kind": "method", "name": "__isConsecutiveDuplicateLog", "privacy": "public", "parameters": [ { "name": "content", "type": { "type": "string" } } ] }, { "kind": "method", "name": "__handleConsecutiveDuplicateLog", "privacy": "public" }, { "kind": "method", "name": "__prependLogCounterElement", "privacy": "public" }, { "kind": "method", "name": "__animateCue", "privacy": "public" }, { "kind": "method", "name": "__clearLogs", "privacy": "public" } ], "tagName": "sb-action-logger" } ], "exports": [ { "kind": "js", "name": "SbActionLogger", "declaration": { "name": "SbActionLogger", "module": "./sb-action-logger/src/SbActionLogger.js" } } ] }, { "kind": "javascript-module", "path": "./sb-locale-switcher/src/SbLocaleSwitcher.js", "declarations": [ { "kind": "class", "name": "SbLocaleSwitcher", "superclass": { "name": "LitElement", "package": "@lion/core" }, "attributes": [ { "name": "show-locales", "fieldName": "showLocales" } ], "members": [ { "kind": "field", "name": "showLocales", "privacy": "public", "default": "['en-GB', 'en-US', 'en-AU', 'nl-NL', 'nl-BE']" }, { "kind": "method", "name": "callback", "privacy": "public", "parameters": [ { "name": "locale", "type": { "type": "string" } } ] } ], "tagName": "sb-locale-switcher" } ], "exports": [ { "kind": "js", "name": "SbLocaleSwitcher", "declaration": { "name": "SbLocaleSwitcher", "module": "./sb-locale-switcher/src/SbLocaleSwitcher.js" } } ] }, { "kind": "javascript-module", "path": "./sortEachDepth/src/sortEachDepth.js", "declarations": [ { "kind": "function", "name": "sortEachDepth", "description": "Sorts each depth level according to the provided array order.", "parameters": [ { "name": "orderPerDepth", "type": { "type": "Array.<[]>" }, "description": "array of arrays giving the order of each level" } ] } ], "exports": [ { "kind": "js", "name": "sortEachDepth", "declaration": { "name": "sortEachDepth", "module": "./sortEachDepth/src/sortEachDepth.js" } } ] } ] }