chore: add custom-elements-manifest to dev deps, add script

This commit is contained in:
Joren Broekema 2021-02-15 18:20:21 +01:00
parent 4c115ccf4e
commit ab8ac34384
78 changed files with 3345 additions and 2745 deletions

View file

@ -10,6 +10,7 @@
"build:docs": "wca analyze \"packages/tabs/**/*.js\"", "build:docs": "wca analyze \"packages/tabs/**/*.js\"",
"build:types": "tsc -p tsconfig.build.types.json", "build:types": "tsc -p tsconfig.build.types.json",
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize", "bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
"custom-elements-manifest": "node scripts/workspaces-scripts.mjs run custom-elements-manifest",
"debug": "web-test-runner --watch --config web-test-runner-chrome.config.mjs", "debug": "web-test-runner --watch --config web-test-runner-chrome.config.mjs",
"debug:firefox": "web-test-runner --watch --config web-test-runner-firefox.config.mjs", "debug:firefox": "web-test-runner --watch --config web-test-runner-firefox.config.mjs",
"debug:webkit": "web-test-runner --watch --config web-test-runner-webkit.config.mjs", "debug:webkit": "web-test-runner --watch --config web-test-runner-webkit.config.mjs",
@ -41,6 +42,7 @@
"@changesets/cli": "^2.9.2", "@changesets/cli": "^2.9.2",
"@commitlint/cli": "^7.0.0", "@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0", "@commitlint/config-conventional": "^7.0.0",
"@custom-elements-manifest/analyzer": "^0.1.7",
"@mdjs/core": "^0.3.1", "@mdjs/core": "^0.3.1",
"@open-wc/building-rollup": "^1.2.1", "@open-wc/building-rollup": "^1.2.1",
"@open-wc/demoing-storybook": "^2.0.2", "@open-wc/demoing-storybook": "^2.0.2",

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -87,7 +87,7 @@
{ {
"name": "index", "name": "index",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -100,7 +100,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -128,7 +128,7 @@
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]

View file

@ -44,12 +44,9 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
<<<<<<< HEAD
"exports": { "exports": {
".": "./index.js", ".": "./index.js",
"./lion-accordion": "./lion-accordion.js" "./lion-accordion": "./lion-accordion.js"
} },
=======
"customElementsManifest": "custom-elements.json" "customElementsManifest": "custom-elements.json"
>>>>>>> d8595b90... docs: add custom elements manifest
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -25,308 +25,186 @@
}, },
{ {
"kind": "js", "kind": "js",
"name": "AjaxClass", "name": "AjaxClient",
"declaration": { "declaration": {
"name": "AjaxClass", "name": "AjaxClient",
"module": "./src/AjaxClass.js" "module": "./src/AjaxClient.js"
} }
}, },
{ {
"kind": "js", "kind": "js",
"name": "cancelInterceptorFactory", "name": "AjaxClientFetchError",
"declaration": { "declaration": {
"name": "cancelInterceptorFactory", "name": "AjaxClientFetchError",
"module": "./src/AjaxClientFetchError.js"
}
},
{
"kind": "js",
"name": "acceptLanguageRequestInterceptor",
"declaration": {
"name": "acceptLanguageRequestInterceptor",
"module": "./src/interceptors.js" "module": "./src/interceptors.js"
} }
}, },
{ {
"kind": "js", "kind": "js",
"name": "cancelPreviousOnNewRequestInterceptorFactory", "name": "createXSRFRequestInterceptor",
"declaration": { "declaration": {
"name": "cancelPreviousOnNewRequestInterceptorFactory", "name": "createXSRFRequestInterceptor",
"module": "./src/interceptors.js" "module": "./src/interceptors.js"
} }
}, },
{ {
"kind": "js", "kind": "js",
"name": "addAcceptLanguageHeaderInterceptorFactory", "name": "getCookie",
"declaration": { "declaration": {
"name": "addAcceptLanguageHeaderInterceptorFactory", "name": "getCookie",
"module": "./src/interceptors.js" "module": "./src/interceptors.js"
} }
}, },
{ {
"kind": "js", "kind": "js",
"name": "jsonPrefixTransformerFactory", "name": "cacheRequestInterceptorFactory",
"declaration": { "declaration": {
"name": "jsonPrefixTransformerFactory", "name": "cacheRequestInterceptorFactory",
"module": "./src/transformers.js" "module": "./src/interceptors-cache.js"
}
},
{
"kind": "js",
"name": "cacheResponseInterceptorFactory",
"declaration": {
"name": "cacheResponseInterceptorFactory",
"module": "./src/interceptors-cache.js"
}
},
{
"kind": "js",
"name": "validateOptions",
"declaration": {
"name": "validateOptions",
"module": "./src/interceptors-cache.js"
} }
} }
] ]
}, },
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./src/AjaxClass.js", "path": "./src/AjaxClient.js",
"declarations": [ "declarations": [
{ {
"kind": "class", "kind": "class",
"name": "AjaxClass", "name": "AjaxClient",
"members": [ "members": [
{ {
"kind": "field", "kind": "field",
"name": "options", "name": "options",
"privacy": "public" "privacy": "public"
}, },
{
"kind": "method",
"name": "addRequestInterceptor",
"privacy": "public",
"parameters": [
{
"name": "requestInterceptor",
"type": {
"text": "RequestInterceptor"
}
}
]
},
{
"kind": "method",
"name": "removeRequestInterceptor",
"privacy": "public",
"parameters": [
{
"name": "requestInterceptor",
"type": {
"text": "RequestInterceptor"
}
}
]
},
{
"kind": "method",
"name": "addResponseInterceptor",
"privacy": "public",
"parameters": [
{
"name": "responseInterceptor",
"type": {
"text": "ResponseInterceptor"
}
}
]
},
{
"kind": "method",
"name": "removeResponseInterceptor",
"privacy": "public",
"parameters": [
{
"name": "responseInterceptor",
"type": {
"text": "ResponseInterceptor"
}
}
]
},
{ {
"kind": "method", "kind": "method",
"name": "request", "name": "request",
"privacy": "public", "privacy": "public",
"description": "Dispatches a request", "description": "Makes a fetch request, calling the registered fetch request and response\ninterceptors.",
"return": { "return": {
"type": { "type": {
"type": "?" "text": "Promise<Response>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "url", "name": "info",
"type": { "type": {
"type": "string" "text": "RequestInfo"
} }
}, },
{ {
"name": "config", "name": "init",
"type": { "type": {
"type": "{[key:string]: ?}" "text": "RequestInit & Partial<CacheRequestExtension>"
}, },
"description": "the config specific for this request",
"optional": true "optional": true
} }
] ]
}, },
{ {
"kind": "method", "kind": "method",
"name": "cancel", "name": "requestJson",
"privacy": "public", "privacy": "public",
"description": "Makes a fetch request, calling the registered fetch request and response\ninterceptors. Encodes/decodes the request and response body as JSON.",
"return": {
"type": {
"text": "Promise<{ response: Response, body: T }>"
}
},
"parameters": [ "parameters": [
{ {
"name": "msg", "name": "info",
"type": { "type": {
"type": "string" "text": "RequestInfo"
} }
}
]
},
{
"kind": "method",
"name": "get",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'get' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
}, },
{ {
"name": "config", "name": "init",
"type": { "type": {
"type": "{[key:string]: ?}" "text": "LionRequestInit"
}, },
"description": "the config specific for this request",
"optional": true "optional": true
} }
] ]
},
{
"kind": "method",
"name": "delete",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'delete' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
},
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
},
"description": "the config specific for this request",
"optional": true
}
]
},
{
"kind": "method",
"name": "head",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'head' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
},
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
},
"description": "the config specific for this request",
"optional": true
}
]
},
{
"kind": "method",
"name": "post",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'post' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
},
{
"name": "data",
"type": {
"type": "Object"
},
"description": "the data to be sent to the endpoint",
"optional": true
},
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
},
"description": "the config specific for this request",
"optional": true
}
]
},
{
"kind": "method",
"name": "put",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'put' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
},
{
"name": "data",
"type": {
"type": "Object"
},
"description": "the data to be sent to the endpoint",
"optional": true
},
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
},
"description": "the config specific for this request",
"optional": true
}
]
},
{
"kind": "method",
"name": "patch",
"privacy": "public",
"description": "Dispatches a {@link AxiosRequestConfig} with method 'patch' predefined",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
},
"description": "the endpoint location"
},
{
"name": "data",
"type": {
"type": "Object"
},
"description": "the data to be sent to the endpoint",
"optional": true
},
{
"name": "config",
"type": {
"type": "Object"
},
"description": "the config specific for this request.",
"optional": true
}
]
},
{
"kind": "method",
"name": "__setupInterceptors",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupTransformers",
"privacy": "public",
"parameters": [
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
}
}
]
} }
] ]
} }
@ -334,10 +212,34 @@
"exports": [ "exports": [
{ {
"kind": "js", "kind": "js",
"name": "AjaxClass", "name": "AjaxClient",
"declaration": { "declaration": {
"name": "AjaxClass", "name": "AjaxClient",
"module": "./src/AjaxClass.js" "module": "./src/AjaxClient.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/AjaxClientFetchError.js",
"declarations": [
{
"kind": "class",
"name": "AjaxClientFetchError",
"superclass": {
"name": "Error",
"module": "./src/AjaxClientFetchError.js"
}
}
],
"exports": [
{
"kind": "js",
"name": "AjaxClientFetchError",
"declaration": {
"name": "AjaxClientFetchError",
"module": "./src/AjaxClientFetchError.js"
} }
} }
] ]
@ -358,7 +260,7 @@
{ {
"name": "newAjax", "name": "newAjax",
"type": { "type": {
"type": "AjaxClass" "text": "AjaxClient"
}, },
"description": "the globally used instance of {@link:ajax}." "description": "the globally used instance of {@link:ajax}."
} }
@ -384,95 +286,140 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./src/interceptors-cache.js",
"declarations": [
{
"kind": "variable",
"name": "searchParamSerializer",
"description": "Serialize search parameters into url query string parameters.\nIf params === null, returns ''"
},
{
"kind": "variable",
"name": "validateOptions",
"description": "",
"type": {
"text": "ValidatedCacheOptions"
}
},
{
"kind": "variable",
"name": "cacheRequestInterceptorFactory",
"description": "Request interceptor to return relevant cached requests"
},
{
"kind": "variable",
"name": "cacheResponseInterceptorFactory",
"description": "Response interceptor to cache relevant requests"
}
],
"exports": [
{
"kind": "js",
"name": "searchParamSerializer",
"declaration": {
"name": "searchParamSerializer",
"module": "./src/interceptors-cache.js"
}
},
{
"kind": "js",
"name": "validateOptions",
"declaration": {
"name": "validateOptions",
"module": "./src/interceptors-cache.js"
}
},
{
"kind": "js",
"name": "cacheRequestInterceptorFactory",
"declaration": {
"name": "cacheRequestInterceptorFactory",
"module": "./src/interceptors-cache.js"
}
},
{
"kind": "js",
"name": "cacheResponseInterceptorFactory",
"declaration": {
"name": "cacheResponseInterceptorFactory",
"module": "./src/interceptors-cache.js"
}
}
]
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./src/interceptors.js", "path": "./src/interceptors.js",
"declarations": [ "declarations": [
{ {
"kind": "function", "kind": "function",
"name": "addAcceptLanguageHeaderInterceptorFactory", "name": "getCookie",
"return": { "return": {
"type": { "type": {
"type": "(config: {[key:string]: ?}) => {[key:string]: ?}" "text": "string | null"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "lang", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "description": "the cookie name"
},
{
"name": "_document",
"type": {
"text": "Document | { cookie: string }"
},
"description": "overwriteable for testing",
"default": "document"
} }
] ]
}, },
{ {
"kind": "function", "kind": "function",
"name": "cancelInterceptorFactory", "name": "acceptLanguageRequestInterceptor",
"description": "Transforms a request, adding an accept-language header with the current application's locale\nif it has not already been set.",
"parameters": [
{
"name": "request"
}
]
},
{
"kind": "function",
"name": "createXSRFRequestInterceptor",
"description": "Creates a request transformer that adds a XSRF header for protecting\nagainst cross-site request forgery.",
"return": { "return": {
"type": { "type": {
"type": "(config: {[key:string]: ?}) => {[key:string]: ?}" "text": "RequestInterceptor"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "ajaxInstance", "name": "cookieName",
"type": { "type": {
"type": "AjaxClass" "text": "string"
} },
} "description": "the cookie name"
] },
},
{
"kind": "function",
"name": "cancelPreviousOnNewRequestInterceptorFactory",
"return": {
"type": {
"type": "(config: {[key:string]: ?}) => {[key:string]: ?}"
}
}
}
],
"exports": [
{
"kind": "js",
"name": "addAcceptLanguageHeaderInterceptorFactory",
"declaration": {
"name": "addAcceptLanguageHeaderInterceptorFactory",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "cancelInterceptorFactory",
"declaration": {
"name": "cancelInterceptorFactory",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "cancelPreviousOnNewRequestInterceptorFactory",
"declaration": {
"name": "cancelPreviousOnNewRequestInterceptorFactory",
"module": "./src/interceptors.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/transformers.js",
"declarations": [
{
"kind": "function",
"name": "jsonPrefixTransformerFactory",
"parameters": [
{ {
"name": "prefix", "name": "headerName",
"type": { "type": {
"type": "string" "text": "string"
} },
"description": "the header name"
},
{
"name": "_document",
"type": {
"text": "Document | { cookie: string }"
},
"description": "overwriteable for testing",
"default": "document"
} }
] ]
} }
@ -480,17 +427,45 @@
"exports": [ "exports": [
{ {
"kind": "js", "kind": "js",
"name": "jsonPrefixTransformerFactory", "name": "getCookie",
"declaration": { "declaration": {
"name": "jsonPrefixTransformerFactory", "name": "getCookie",
"module": "./src/transformers.js" "module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "acceptLanguageRequestInterceptor",
"declaration": {
"name": "acceptLanguageRequestInterceptor",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "createXSRFRequestInterceptor",
"declaration": {
"name": "createXSRFRequestInterceptor",
"module": "./src/interceptors.js"
} }
} }
] ]
}, },
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./docs/assets/data.json", "path": "./src/typedef.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./types/types.d.ts",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/cache-technical-docs.md",
"declarations": [], "declarations": [],
"exports": [] "exports": []
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -99,7 +99,10 @@
{ {
"kind": "field", "kind": "field",
"name": "_nativeButtonNode", "name": "_nativeButtonNode",
"privacy": "public" "privacy": "public",
"type": {
"text": "HTMLButtonElement"
}
}, },
{ {
"kind": "field", "kind": "field",
@ -115,7 +118,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -148,7 +151,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -161,7 +164,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -175,7 +178,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -7,6 +7,14 @@
"path": "./index.js", "path": "./index.js",
"declarations": [], "declarations": [],
"exports": [ "exports": [
{
"kind": "js",
"name": "isSameDate",
"declaration": {
"name": "isSameDate",
"module": "./src/utils/isSameDate.js"
}
},
{ {
"kind": "js", "kind": "js",
"name": "LionCalendar", "name": "LionCalendar",
@ -74,7 +82,7 @@
{ {
"name": "user-selected-date-changed", "name": "user-selected-date-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -122,7 +130,7 @@
"name": "centralDate", "name": "centralDate",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Date" "text": "Date"
}, },
"default": "this.__today" "default": "this.__today"
}, },
@ -149,7 +157,7 @@
"name": "__focusedDate", "name": "__focusedDate",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Date | null" "text": "Date | null"
}, },
"default": "null" "default": "null"
}, },
@ -158,7 +166,7 @@
"name": "__data", "name": "__data",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "{months: Month[]}" "text": "{months: Month[]}"
}, },
"default": "{ months: [] }" "default": "{ months: [] }"
}, },
@ -195,7 +203,7 @@
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -218,13 +226,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "?" "text": "?"
} }
} }
] ]
@ -242,13 +250,13 @@
{ {
"name": "month", "name": "month",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "year", "name": "year",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -261,13 +269,13 @@
{ {
"name": "month", "name": "month",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "year", "name": "year",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -290,19 +298,19 @@
{ {
"name": "type", "name": "type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "previousMonth", "name": "previousMonth",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "previousYear", "name": "previousYear",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -315,19 +323,19 @@
{ {
"name": "type", "name": "type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "nextMonth", "name": "nextMonth",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "nextYear", "name": "nextYear",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -340,19 +348,19 @@
{ {
"name": "type", "name": "type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "previousMonth", "name": "previousMonth",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "previousYear", "name": "previousYear",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -365,19 +373,19 @@
{ {
"name": "type", "name": "type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "nextMonth", "name": "nextMonth",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "nextYear", "name": "nextYear",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -390,25 +398,25 @@
{ {
"name": "mode", "name": "mode",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "type", "name": "type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "month", "name": "month",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "year", "name": "year",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -421,13 +429,13 @@
{ {
"name": "_day", "name": "_day",
"type": { "type": {
"type": "Day" "text": "Day"
} }
}, },
{ {
"name": "param1", "name": "param1",
"type": { "type": {
"type": "*" "text": "*"
} }
} }
] ]
@ -440,7 +448,7 @@
{ {
"name": "options", "name": "options",
"type": { "type": {
"type": "Day" "text": "Day"
}, },
"optional": true "optional": true
} }
@ -459,7 +467,7 @@
{ {
"name": "selectedDate", "name": "selectedDate",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -487,7 +495,7 @@
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -500,19 +508,19 @@
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
}, },
{ {
"name": "opts.mode", "name": "opts.mode",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "Find best date in `future/past/both`", "description": "Find best date in `future/past/both`",
"optional": true "optional": true
@ -527,7 +535,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -550,7 +558,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -563,31 +571,31 @@
{ {
"name": "modify", "name": "modify",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
}, },
{ {
"name": "opts.dateType", "name": "opts.dateType",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "opts.type", "name": "opts.type",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "opts.mode", "name": "opts.mode",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -632,12 +640,6 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./test/demos.screenshots-test.js",
"declarations": [],
"exports": []
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./test-helpers/CalendarObject.js", "path": "./test-helpers/CalendarObject.js",
@ -734,7 +736,7 @@
{ {
"name": "monthDayNumber", "name": "monthDayNumber",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -747,7 +749,7 @@
{ {
"name": "monthDayNumber", "name": "monthDayNumber",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -775,14 +777,14 @@
{ {
"name": "condition", "name": "condition",
"type": { "type": {
"type": "function" "text": "function"
}, },
"description": ": condition that should apply for \"filter\" days\nExample: \"(dayObj) => dayObj.selected\"" "description": ": condition that should apply for \"filter\" days\nExample: \"(dayObj) => dayObj.selected\""
}, },
{ {
"name": "filter", "name": "filter",
"type": { "type": {
"type": "number[]|function" "text": "number[]|function"
}, },
"description": "month day numbers for which condition should apply.\n- Example 1: \"[15, 20]\"\n- Example 2: \"(dayNumber) => dayNumber === 15\" (1 based ,not zero based)", "description": "month day numbers for which condition should apply.\n- Example 1: \"[15, 20]\"\n- Example 2: \"(dayNumber) => dayNumber === 15\" (1 based ,not zero based)",
"optional": true "optional": true
@ -915,6 +917,18 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./test/demos.screenshots-test.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./types/day.d.ts",
"declarations": [],
"exports": []
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./translations/bg.js", "path": "./translations/bg.js",
@ -1125,12 +1139,6 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./types/day.d.ts",
"declarations": [],
"exports": []
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./src/utils/createDay.js", "path": "./src/utils/createDay.js",
@ -1140,14 +1148,14 @@
"name": "createDay", "name": "createDay",
"return": { "return": {
"type": { "type": {
"type": "Day" "text": "Day"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date,", "name": "date,",
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
{ {
@ -1177,26 +1185,26 @@
"name": "createMonth", "name": "createMonth",
"return": { "return": {
"type": { "type": {
"type": "Month" "text": "Month"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
}, },
{ {
"name": "opts.firstDayOfWeek", "name": "opts.firstDayOfWeek",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true "optional": true
} }
@ -1223,14 +1231,14 @@
"name": "createMultipleMonth", "name": "createMultipleMonth",
"return": { "return": {
"type": { "type": {
"type": "{months: Month[]}" "text": "{months: Month[]}"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -1256,26 +1264,26 @@
"name": "createWeek", "name": "createWeek",
"return": { "return": {
"type": { "type": {
"type": "Week" "text": "Week"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
}, },
{ {
"name": "opts.firstDayOfWeek", "name": "opts.firstDayOfWeek",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true "optional": true
} }
@ -1304,13 +1312,13 @@
{ {
"name": "data", "name": "data",
"type": { "type": {
"type": "{months: {weeks: {days: Day[]}[]}[]}" "text": "{months: {weeks: {days: Day[]}[]}[]}"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "{ weekdaysShort: string[], weekdays: string[], monthsLabels?: string[], dayTemplate?: (day: TemplateResult }" "text": "{ weekdaysShort: string[], weekdays: string[], monthsLabels?: string[], dayTemplate?: (day: TemplateResult }"
} }
} }
] ]
@ -1338,13 +1346,13 @@
{ {
"name": "day", "name": "day",
"type": { "type": {
"type": "Day" "text": "Day"
} }
}, },
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "{ weekdays: string[], monthsLabels?: string[] }" "text": "{ weekdays: string[], monthsLabels?: string[] }"
} }
} }
] ]
@ -1371,14 +1379,14 @@
"description": "Gives the first day of the next month", "description": "Gives the first day of the next month",
"return": { "return": {
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -1405,14 +1413,14 @@
"description": "Gives the last day of the previous month", "description": "Gives the last day of the previous month",
"return": { "return": {
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "date", "name": "date",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -1439,20 +1447,20 @@
"description": "Compares if two days are the same", "description": "Compares if two days are the same",
"return": { "return": {
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "day1", "name": "day1",
"type": { "type": {
"type": "Date" "text": "Date"
} }
}, },
{ {
"name": "day2", "name": "day2",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -198,7 +198,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -231,7 +231,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -84,14 +84,14 @@
{ {
"name": "options", "name": "options",
"type": { "type": {
"type": "Object" "text": "Object"
}, },
"description": "element node and its options" "description": "element node and its options"
}, },
{ {
"name": "options.contentNode", "name": "options.contentNode",
"type": { "type": {
"type": "HTMLElement" "text": "HTMLElement"
} }
} }
] ]
@ -105,14 +105,14 @@
{ {
"name": "options", "name": "options",
"type": { "type": {
"type": "Object" "text": "Object"
}, },
"description": "element node and its options" "description": "element node and its options"
}, },
{ {
"name": "options.contentNode", "name": "options.contentNode",
"type": { "type": {
"type": "HTMLElement" "text": "HTMLElement"
} }
} }
] ]
@ -124,21 +124,21 @@
"description": "Wait until the transition event is finished.", "description": "Wait until the transition event is finished.",
"return": { "return": {
"type": { "type": {
"type": "Promise<void>" "text": "Promise<void>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "options", "name": "options",
"type": { "type": {
"type": "Object" "text": "Object"
}, },
"description": "element node and its options" "description": "element node and its options"
}, },
{ {
"name": "options.contentNode", "name": "options.contentNode",
"type": { "type": {
"type": "HTMLElement" "text": "HTMLElement"
} }
} }
] ]
@ -152,7 +152,7 @@
{ {
"name": "contentNode", "name": "contentNode",
"type": { "type": {
"type": "HTMLElement" "text": "HTMLElement"
}, },
"description": "content node" "description": "content node"
} }
@ -251,7 +251,7 @@
{ {
"name": "opened-changed", "name": "opened-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
}, },
"inheritedFrom": { "inheritedFrom": {
"name": "LionCollapsible", "name": "LionCollapsible",
@ -304,7 +304,7 @@
{ {
"name": "opened-changed", "name": "opened-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -352,7 +352,7 @@
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
} }
] ]
@ -366,7 +366,7 @@
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
} }
] ]

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,19 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{
"kind": "javascript-module",
"path": "./closestPolyfill.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./differentKeyEventNamesShimIE.js",
"declarations": [],
"exports": []
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./index.d.ts", "path": "./index.d.ts",
@ -1003,7 +1015,7 @@
"name": "delegations", "name": "delegations",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Delegations" "text": "Delegations"
} }
}, },
{ {
@ -1012,7 +1024,7 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1022,7 +1034,7 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1032,7 +1044,7 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1042,7 +1054,7 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1052,7 +1064,7 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1062,7 +1074,7 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1072,14 +1084,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "import('lit-element').PropertyValues" "text": "import('lit-element').PropertyValues"
} }
} }
] ]
@ -1111,7 +1123,7 @@
"name": "disabled", "name": "disabled",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
{ {
@ -1121,7 +1133,7 @@
"description": "Makes request to make the element disabled", "description": "Makes request to make the element disabled",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1132,7 +1144,7 @@
"description": "Retract request to make the element disabled and restore disabled to previous", "description": "Retract request to make the element disabled and restore disabled to previous",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1142,14 +1154,14 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
} }
] ]
@ -1159,7 +1171,7 @@
"name": "_requestedToBeDisabled", "name": "_requestedToBeDisabled",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
} }
] ]
@ -1169,14 +1181,14 @@
"name": "DisabledMixinImplementation", "name": "DisabledMixinImplementation",
"return": { "return": {
"type": { "type": {
"type": "T & Constructor<DisabledHost> & typeof DisabledHost" "text": "T & Constructor<DisabledHost> & typeof DisabledHost"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "superclass", "name": "superclass",
"type": { "type": {
"type": "T" "text": "T"
} }
} }
] ]
@ -1214,7 +1226,7 @@
"name": "tabIndex", "name": "tabIndex",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
@ -1224,7 +1236,7 @@
"description": "Makes request to make the element disabled and set the tabindex", "description": "Makes request to make the element disabled and set the tabindex",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1235,7 +1247,7 @@
"description": "Retract request to make the element disabled and restore disabled and tabindex to previous", "description": "Retract request to make the element disabled and restore disabled and tabindex to previous",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1245,14 +1257,14 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
} }
] ]
@ -1263,14 +1275,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "import('lit-element').PropertyValues" "text": "import('lit-element').PropertyValues"
} }
} }
] ]
@ -1282,14 +1294,14 @@
"name": "DisabledWithTabIndexMixinImplementation", "name": "DisabledWithTabIndexMixinImplementation",
"return": { "return": {
"type": { "type": {
"type": "T & Constructor<DisabledWithTabIndexHost> & Constructor<DisabledHost>" "text": "T & Constructor<DisabledWithTabIndexHost> & Constructor<DisabledHost>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "superclass", "name": "superclass",
"type": { "type": {
"type": "T" "text": "T"
} }
} }
] ]
@ -1327,7 +1339,7 @@
"name": "slots", "name": "slots",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "SlotsMap" "text": "SlotsMap"
} }
}, },
{ {
@ -1337,7 +1349,7 @@
"description": "Starts the creation of slots", "description": "Starts the creation of slots",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1348,14 +1360,14 @@
"description": "Useful to decide if a given slot should be manipulated depending on if it was auto generated\nor not.", "description": "Useful to decide if a given slot should be manipulated depending on if it was auto generated\nor not.",
"return": { "return": {
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "slotName", "name": "slotName",
"type": { "type": {
"type": "string" "text": "string"
}, },
"description": "Name of the slot" "description": "Name of the slot"
} }
@ -1367,7 +1379,7 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
} }
@ -1379,14 +1391,14 @@
"description": "# SlotMixin\n\n`SlotMixin`, when attached to the DOM it creates content for defined slots in the Light DOM.\nThe content element is created using a factory function and is assigned a slot name from the key.\nExisting slot content is not overridden.\n\nThe purpose is to have the default content in the Light DOM rather than hidden in Shadow DOM\nlike default slot content works natively.", "description": "# SlotMixin\n\n`SlotMixin`, when attached to the DOM it creates content for defined slots in the Light DOM.\nThe content element is created using a factory function and is assigned a slot name from the key.\nExisting slot content is not overridden.\n\nThe purpose is to have the default content in the Light DOM rather than hidden in Shadow DOM\nlike default slot content works natively.",
"return": { "return": {
"type": { "type": {
"type": "T & Constructor<SlotHost> & typeof SlotHost" "text": "T & Constructor<SlotHost> & typeof SlotHost"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "superclass", "name": "superclass",
"type": { "type": {
"type": "T" "text": "T"
} }
} }
] ]
@ -1425,14 +1437,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "updateStyles", "name": "updateStyles",
"type": { "type": {
"type": "StylesMap" "text": "StylesMap"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -82,7 +82,7 @@
{ {
"name": "close-overlay", "name": "close-overlay",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -43,13 +43,13 @@
{ {
"name": "submit", "name": "submit",
"type": { "type": {
"type": "Event" "text": "Event"
} }
}, },
{ {
"name": "reset", "name": "reset",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -86,7 +86,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -104,7 +104,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -150,7 +150,7 @@
{ {
"name": "content", "name": "content",
"type": { "type": {
"type": "string" "text": "string"
}, },
"description": "Content to be logged to the action logger" "description": "Content to be logged to the action logger"
} }
@ -163,14 +163,14 @@
"description": "Protected getter that returns the template of a single log", "description": "Protected getter that returns the template of a single log",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "content", "name": "content",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -183,7 +183,7 @@
{ {
"name": "content", "name": "content",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -196,7 +196,7 @@
{ {
"name": "content", "name": "content",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -268,7 +268,7 @@
{ {
"name": "locale", "name": "locale",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -300,7 +300,7 @@
{ {
"name": "orderPerDepth", "name": "orderPerDepth",
"type": { "type": {
"type": "Array.<[]>" "text": "Array.<[]>"
}, },
"description": "array of arrays giving the order of each level" "description": "array of arrays giving the order of each level"
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -15,6 +15,14 @@
"module": "./src/LionIcon.js" "module": "./src/LionIcon.js"
} }
}, },
{
"kind": "js",
"name": "IconManager",
"declaration": {
"name": "IconManager",
"module": "./src/IconManager.js"
}
},
{ {
"kind": "js", "kind": "js",
"name": "icons", "name": "icons",
@ -65,13 +73,13 @@
{ {
"name": "namespace", "name": "namespace",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "iconResolver", "name": "iconResolver",
"type": { "type": {
"type": "(iconset: string, icon: string) => TemplateResult | Promise<TemplateResult> | nothing | Promise<nothing> " "text": "(iconset: string, icon: string) => TemplateResult | Promise<TemplateResult> | nothing | Promise<nothing> "
} }
} }
] ]
@ -85,7 +93,7 @@
{ {
"name": "namespace", "name": "namespace",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -97,26 +105,26 @@
"description": "Resolves icon for the given parameters. Returns the icon as a svg string.", "description": "Resolves icon for the given parameters. Returns the icon as a svg string.",
"return": { "return": {
"type": { "type": {
"type": "Promise<TemplateResult>" "text": "Promise<TemplateResult>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "namespace", "name": "namespace",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "iconset", "name": "iconset",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "icon", "name": "icon",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -128,14 +136,14 @@
"description": "Resolves icon for the given icon id. Returns the icon as a svg string.", "description": "Resolves icon for the given icon id. Returns the icon as a svg string.",
"return": { "return": {
"type": { "type": {
"type": "Promise<TemplateResult>" "text": "Promise<TemplateResult>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "iconId", "name": "iconId",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -202,7 +210,7 @@
{ {
"name": "svgObject", "name": "svgObject",
"type": { "type": {
"type": "TemplateResult | nothing" "text": "TemplateResult | nothing"
} }
} }
] ]
@ -220,7 +228,7 @@
{ {
"name": "prevIconId", "name": "prevIconId",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -81,7 +81,7 @@
"name": "currency", "name": "currency",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "string | undefined" "text": "string | undefined"
}, },
"default": "undefined" "default": "undefined"
}, },
@ -113,7 +113,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -142,13 +142,13 @@
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "Object" "text": "Object"
} }
}, },
{ {
"name": "opts.currency", "name": "opts.currency",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -190,14 +190,14 @@
{ {
"name": "modelValue", "name": "modelValue",
"type": { "type": {
"type": "number" "text": "number"
}, },
"description": "Number to format" "description": "Number to format"
}, },
{ {
"name": "givenOptions", "name": "givenOptions",
"type": { "type": {
"type": "FormatOptions" "text": "FormatOptions"
}, },
"optional": true "optional": true
} }
@ -210,13 +210,13 @@
{ {
"name": "currency", "name": "currency",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "locale", "name": "locale",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -253,14 +253,14 @@
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "string" "text": "string"
}, },
"description": "Number to be parsed" "description": "Number to be parsed"
}, },
{ {
"name": "options", "name": "options",
"type": { "type": {
"type": "object" "text": "object"
}, },
"description": "Locale Options", "description": "Locale Options",
"optional": true "optional": true

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -69,7 +69,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -87,7 +87,7 @@
{ {
"name": "modelValue", "name": "modelValue",
"type": { "type": {
"type": "Date" "text": "Date"
} }
} }
] ]
@ -100,7 +100,7 @@
{ {
"name": "serializedValue", "name": "serializedValue",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -58,7 +58,7 @@
{ {
"name": "close-overlay", "name": "close-overlay",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -191,13 +191,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "PropertyKey" "text": "PropertyKey"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "?" "text": "?"
} }
} }
] ]
@ -215,7 +215,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -228,7 +228,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -267,7 +267,7 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "Object" "text": "Object"
} }
} }
}, },
@ -290,7 +290,7 @@
{ {
"name": "opts", "name": "opts",
"type": { "type": {
"type": "{ target: { selectedDate: Date }}" "text": "{ target: { selectedDate: Date }}"
} }
} }
] ]
@ -303,14 +303,14 @@
"description": "The LionCalendar shouldn't know anything about the modelValue;\nit can't handle Unparseable dates, but does handle 'undefined'", "description": "The LionCalendar shouldn't know anything about the modelValue;\nit can't handle Unparseable dates, but does handle 'undefined'",
"return": { "return": {
"type": { "type": {
"type": "Date|undefined" "text": "Date|undefined"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "modelValue", "name": "modelValue",
"type": { "type": {
"type": "?" "text": "?"
} }
} }
] ]
@ -324,7 +324,7 @@
{ {
"name": "validators", "name": "validators",
"type": { "type": {
"type": "Validator[]" "text": "Validator[]"
}, },
"description": "errorValidators or warningValidators array" "description": "errorValidators or warningValidators array"
} }
@ -403,7 +403,7 @@
{ {
"name": "day", "name": "day",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -113,14 +113,14 @@
"description": "Takes an unformatted IBAN and returns a formatted one.", "description": "Takes an unformatted IBAN and returns a formatted one.",
"return": { "return": {
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "modelValue", "name": "modelValue",
"type": { "type": {
"type": "string" "text": "string"
}, },
"description": "value to be formatted" "description": "value to be formatted"
} }
@ -148,14 +148,14 @@
"description": "Parses an IBAN trimming spaces and making uppercase.", "description": "Parses an IBAN trimming spaces and making uppercase.",
"return": { "return": {
"type": { "type": {
"type": "string|undefined" "text": "string|undefined"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "viewValue", "name": "viewValue",
"type": { "type": {
"type": "string" "text": "string"
}, },
"description": "value to be parsed" "description": "value to be parsed"
} }
@ -199,7 +199,7 @@
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -211,56 +211,56 @@
"static": true, "static": true,
"return": { "return": {
"type": { "type": {
"type": "Promise<string|Node>" "text": "Promise<string|Node>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "data", "name": "data",
"type": { "type": {
"type": "object" "text": "object"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.modelValue", "name": "data.modelValue",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.fieldName", "name": "data.fieldName",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.params", "name": "data.params",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.type", "name": "data.type",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.config", "name": "data.config",
"type": { "type": {
"type": "Object.<string,?>" "text": "Object.<string,?>"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.name", "name": "data.name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
} }
@ -288,14 +288,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "Boolean" "text": "Boolean"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -307,56 +307,56 @@
"static": true, "static": true,
"return": { "return": {
"type": { "type": {
"type": "Promise<string|Node>" "text": "Promise<string|Node>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "data", "name": "data",
"type": { "type": {
"type": "object" "text": "object"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.modelValue", "name": "data.modelValue",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.fieldName", "name": "data.fieldName",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.params", "name": "data.params",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.type", "name": "data.type",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.config", "name": "data.config",
"type": { "type": {
"type": "Object.<string,?>" "text": "Object.<string,?>"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.name", "name": "data.name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
} }
@ -384,14 +384,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "Boolean" "text": "Boolean"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -403,56 +403,56 @@
"static": true, "static": true,
"return": { "return": {
"type": { "type": {
"type": "Promise<string|Node>" "text": "Promise<string|Node>"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "data", "name": "data",
"type": { "type": {
"type": "object" "text": "object"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.modelValue", "name": "data.modelValue",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.fieldName", "name": "data.fieldName",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.params", "name": "data.params",
"type": { "type": {
"type": "*" "text": "*"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.type", "name": "data.type",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.config", "name": "data.config",
"type": { "type": {
"type": "Object.<string,?>" "text": "Object.<string,?>"
}, },
"optional": true "optional": true
}, },
{ {
"name": "data.name", "name": "data.name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"optional": true "optional": true
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -105,7 +105,7 @@
{ {
"name": "scope", "name": "scope",
"type": { "type": {
"type": "CSSResult" "text": "CSSResult"
} }
} }
] ]
@ -133,7 +133,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -146,7 +146,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -43,7 +43,7 @@
{ {
"name": "user-input-changed", "name": "user-input-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -112,7 +112,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -137,7 +137,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
}, },
"description": "keyboard event" "description": "keyboard event"
} }
@ -156,14 +156,14 @@
"description": "Get slotted element", "description": "Get slotted element",
"return": { "return": {
"type": { "type": {
"type": "HTMLButtonElement|Object" "text": "HTMLButtonElement|Object"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "slotName", "name": "slotName",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "slot name" "description": "slot name"
} }
@ -188,7 +188,7 @@
"description": "Get the increment button node", "description": "Get the increment button node",
"return": { "return": {
"type": { "type": {
"type": "Element|null" "text": "Element|null"
} }
} }
}, },
@ -199,7 +199,7 @@
"description": "Get the decrement button node", "description": "Get the decrement button node",
"return": { "return": {
"type": { "type": {
"type": "Element|null" "text": "Element|null"
} }
} }
}, },
@ -216,7 +216,7 @@
"description": "Get the decrementor button sign template", "description": "Get the decrementor button sign template",
"return": { "return": {
"type": { "type": {
"type": "String|TemplateResult" "text": "String|TemplateResult"
} }
} }
}, },
@ -227,7 +227,7 @@
"description": "Get the incrementor button sign template", "description": "Get the incrementor button sign template",
"return": { "return": {
"type": { "type": {
"type": "String|TemplateResult" "text": "String|TemplateResult"
} }
} }
}, },
@ -238,7 +238,7 @@
"description": "Get the increment button template", "description": "Get the increment button template",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
} }
}, },
@ -249,7 +249,7 @@
"description": "Get the decrement button template", "description": "Get the decrement button template",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -42,7 +42,7 @@
"mixins": [ "mixins": [
{ {
"name": "NativeTextFieldMixin", "name": "NativeTextFieldMixin",
"package": "@lion/form-core/src/NativeTextFieldMixin" "package": "@lion/form-core"
} }
], ],
"superclass": { "superclass": {
@ -100,13 +100,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "PropertyKey" "text": "PropertyKey"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "?" "text": "?"
} }
} }
] ]
@ -119,7 +119,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -132,7 +132,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -265,6 +265,9 @@
"kind": "field", "kind": "field",
"name": "_listboxActiveDescendantNode", "name": "_listboxActiveDescendantNode",
"privacy": "public", "privacy": "public",
"type": {
"text": "HTMLElement"
},
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
"module": "./src/ListboxMixin.js" "module": "./src/ListboxMixin.js"
@ -274,6 +277,9 @@
"kind": "field", "kind": "field",
"name": "_listboxSlot", "name": "_listboxSlot",
"privacy": "public", "privacy": "public",
"type": {
"text": "HTMLElement"
},
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
"module": "./src/ListboxMixin.js" "module": "./src/ListboxMixin.js"
@ -283,6 +289,9 @@
"kind": "field", "kind": "field",
"name": "_scrollTargetNode", "name": "_scrollTargetNode",
"privacy": "public", "privacy": "public",
"type": {
"text": "HTMLElement"
},
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
"module": "./src/ListboxMixin.js" "module": "./src/ListboxMixin.js"
@ -292,6 +301,9 @@
"kind": "field", "kind": "field",
"name": "_activeDescendantOwnerNode", "name": "_activeDescendantOwnerNode",
"privacy": "public", "privacy": "public",
"type": {
"text": "HTMLElement"
},
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
"module": "./src/ListboxMixin.js" "module": "./src/ListboxMixin.js"
@ -319,6 +331,9 @@
"kind": "field", "kind": "field",
"name": "checkedIndex", "name": "checkedIndex",
"privacy": "public", "privacy": "public",
"type": {
"text": "number | number[]"
},
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
"module": "./src/ListboxMixin.js" "module": "./src/ListboxMixin.js"
@ -341,7 +356,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
], ],
@ -358,7 +373,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
], ],
@ -385,7 +400,7 @@
{ {
"name": "index", "name": "index",
"type": { "type": {
"type": "number|number[]" "text": "number|number[]"
} }
} }
], ],
@ -402,13 +417,13 @@
{ {
"name": "child", "name": "child",
"type": { "type": {
"type": "LionOption" "text": "LionOption"
} }
}, },
{ {
"name": "indexToInsertAt", "name": "indexToInsertAt",
"type": { "type": {
"type": "Number" "text": "Number"
} }
} }
], ],
@ -470,13 +485,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true, "optional": true,
"default": "1" "default": "1"
@ -495,13 +510,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true, "optional": true,
"default": "-1" "default": "-1"
@ -520,7 +535,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event & { target: LionOption }" "text": "Event & { target: LionOption }"
} }
} }
], ],
@ -537,7 +552,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
}, },
"description": "the keydown event object" "description": "the keydown event object"
} }
@ -555,7 +570,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "MouseEvent" "text": "MouseEvent"
} }
} }
], ],
@ -572,7 +587,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
], ],
@ -616,7 +631,7 @@
{ {
"name": "el", "name": "el",
"type": { "type": {
"type": "LionOption | null" "text": "LionOption | null"
} }
} }
], ],
@ -633,7 +648,7 @@
{ {
"name": "exclude", "name": "exclude",
"type": { "type": {
"type": "LionOption|LionOption[]" "text": "LionOption|LionOption[]"
}, },
"optional": true, "optional": true,
"default": "[]" "default": "[]"
@ -652,7 +667,7 @@
{ {
"name": "cfgOrEvent", "name": "cfgOrEvent",
"type": { "type": {
"type": "Event & { target: LionOption }" "text": "Event & { target: LionOption }"
} }
} }
], ],
@ -670,13 +685,13 @@
{ {
"name": "attribute", "name": "attribute",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
], ],
@ -693,7 +708,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "CustomEvent & { target: LionOption; }" "text": "CustomEvent & { target: LionOption; }"
} }
} }
], ],
@ -710,13 +725,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
], ],
@ -743,7 +758,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
], ],
@ -794,7 +809,7 @@
{ {
"name": "model-value-changed", "name": "model-value-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
}, },
"inheritedFrom": { "inheritedFrom": {
"name": "ListboxMixin", "name": "ListboxMixin",
@ -826,7 +841,7 @@
{ {
"name": "active-changed", "name": "active-changed",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -874,13 +889,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "unknown" "text": "unknown"
} }
} }
] ]
@ -982,11 +997,20 @@
{ {
"kind": "mixin", "kind": "mixin",
"name": "ListboxMixin", "name": "ListboxMixin",
"parameters": [
{
"name": "superclass",
"type": {
"text": "LitElement>"
},
"description": ""
}
],
"events": [ "events": [
{ {
"name": "model-value-changed", "name": "model-value-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -1012,10 +1036,6 @@
"package": "@lion/form-core" "package": "@lion/form-core"
} }
], ],
"superclass": {
"name": "superclass",
"module": "./src/ListboxMixin.js"
},
"attributes": [ "attributes": [
{ {
"name": "orientation", "name": "orientation",
@ -1092,22 +1112,34 @@
{ {
"kind": "field", "kind": "field",
"name": "_listboxActiveDescendantNode", "name": "_listboxActiveDescendantNode",
"privacy": "public" "privacy": "public",
"type": {
"text": "HTMLElement"
}
}, },
{ {
"kind": "field", "kind": "field",
"name": "_listboxSlot", "name": "_listboxSlot",
"privacy": "public" "privacy": "public",
"type": {
"text": "HTMLElement"
}
}, },
{ {
"kind": "field", "kind": "field",
"name": "_scrollTargetNode", "name": "_scrollTargetNode",
"privacy": "public" "privacy": "public",
"type": {
"text": "HTMLElement"
}
}, },
{ {
"kind": "field", "kind": "field",
"name": "_activeDescendantOwnerNode", "name": "_activeDescendantOwnerNode",
"privacy": "public" "privacy": "public",
"type": {
"text": "HTMLElement"
}
}, },
{ {
"kind": "field", "kind": "field",
@ -1122,7 +1154,10 @@
{ {
"kind": "field", "kind": "field",
"name": "checkedIndex", "name": "checkedIndex",
"privacy": "public" "privacy": "public",
"type": {
"text": "number | number[]"
}
}, },
{ {
"kind": "method", "kind": "method",
@ -1137,7 +1172,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -1150,7 +1185,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -1169,7 +1204,7 @@
{ {
"name": "index", "name": "index",
"type": { "type": {
"type": "number|number[]" "text": "number|number[]"
} }
} }
] ]
@ -1182,13 +1217,13 @@
{ {
"name": "child", "name": "child",
"type": { "type": {
"type": "LionOption" "text": "LionOption"
} }
}, },
{ {
"name": "indexToInsertAt", "name": "indexToInsertAt",
"type": { "type": {
"type": "Number" "text": "Number"
} }
} }
] ]
@ -1226,13 +1261,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true, "optional": true,
"default": "1" "default": "1"
@ -1247,13 +1282,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
}, },
"optional": true, "optional": true,
"default": "-1" "default": "-1"
@ -1268,7 +1303,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event & { target: LionOption }" "text": "Event & { target: LionOption }"
} }
} }
] ]
@ -1281,7 +1316,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
}, },
"description": "the keydown event object" "description": "the keydown event object"
} }
@ -1295,7 +1330,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "MouseEvent" "text": "MouseEvent"
} }
} }
] ]
@ -1308,7 +1343,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -1336,7 +1371,7 @@
{ {
"name": "el", "name": "el",
"type": { "type": {
"type": "LionOption | null" "text": "LionOption | null"
} }
} }
] ]
@ -1349,7 +1384,7 @@
{ {
"name": "exclude", "name": "exclude",
"type": { "type": {
"type": "LionOption|LionOption[]" "text": "LionOption|LionOption[]"
}, },
"optional": true, "optional": true,
"default": "[]" "default": "[]"
@ -1364,7 +1399,7 @@
{ {
"name": "cfgOrEvent", "name": "cfgOrEvent",
"type": { "type": {
"type": "Event & { target: LionOption }" "text": "Event & { target: LionOption }"
} }
} }
] ]
@ -1378,13 +1413,13 @@
{ {
"name": "attribute", "name": "attribute",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -1397,7 +1432,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "CustomEvent & { target: LionOption; }" "text": "CustomEvent & { target: LionOption; }"
} }
} }
] ]
@ -1410,13 +1445,13 @@
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -1435,7 +1470,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -1462,10 +1497,6 @@
"privacy": "public" "privacy": "public"
} }
] ]
},
{
"kind": "variable",
"name": "ListboxMixin"
} }
], ],
"exports": [ "exports": [
@ -1492,7 +1523,7 @@
"name": "_parentFormGroup", "name": "_parentFormGroup",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "ChoiceGroupHost" "text": "ChoiceGroupHost"
} }
} }
] ]
@ -1522,7 +1553,7 @@
"name": "selectionFollowsFocus", "name": "selectionFollowsFocus",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Boolean" "text": "Boolean"
} }
}, },
{ {
@ -1530,7 +1561,7 @@
"name": "rotateKeyboardNavigation", "name": "rotateKeyboardNavigation",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Boolean" "text": "Boolean"
} }
}, },
{ {
@ -1538,7 +1569,7 @@
"name": "orientation", "name": "orientation",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "'vertical' | 'horizontal'" "text": "'vertical' | 'horizontal'"
} }
}, },
{ {
@ -1546,7 +1577,7 @@
"name": "hasNoDefaultSelected", "name": "hasNoDefaultSelected",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
{ {
@ -1554,7 +1585,7 @@
"name": "singleOption", "name": "singleOption",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
{ {
@ -1562,7 +1593,7 @@
"name": "checkedIndex", "name": "checkedIndex",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "number | number[]" "text": "number | number[]"
} }
}, },
{ {
@ -1570,7 +1601,7 @@
"name": "activeIndex", "name": "activeIndex",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
@ -1578,7 +1609,7 @@
"name": "formElements", "name": "formElements",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "LionOption[]" "text": "LionOption[]"
} }
}, },
{ {
@ -1587,14 +1618,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "index", "name": "index",
"type": { "type": {
"type": "number | number[]" "text": "number | number[]"
} }
} }
] ]
@ -1606,7 +1637,7 @@
"description": "Reset interaction states and modelValue", "description": "Reset interaction states and modelValue",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1615,7 +1646,7 @@
"name": "_scrollTargetNode", "name": "_scrollTargetNode",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "LionOptions" "text": "LionOptions"
} }
}, },
{ {
@ -1623,7 +1654,7 @@
"name": "_listboxNode", "name": "_listboxNode",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "LionOptions" "text": "LionOptions"
} }
}, },
{ {
@ -1631,7 +1662,7 @@
"name": "_listboxReceivesNoFocus", "name": "_listboxReceivesNoFocus",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "boolean" "text": "boolean"
} }
}, },
{ {
@ -1640,7 +1671,7 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1650,7 +1681,7 @@
"privacy": "private", "privacy": "private",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1660,20 +1691,20 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -1684,20 +1715,20 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "currentIndex", "name": "currentIndex",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "offset", "name": "offset",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -1708,14 +1739,14 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -1726,14 +1757,14 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -1744,7 +1775,7 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1754,7 +1785,7 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1764,14 +1795,14 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "MouseEvent" "text": "MouseEvent"
} }
} }
] ]
@ -1782,7 +1813,7 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
} }
}, },
@ -1792,14 +1823,14 @@
"privacy": "protected", "privacy": "protected",
"return": { "return": {
"type": { "type": {
"type": "void" "text": "void"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -1809,7 +1840,7 @@
"name": "_activeDescendantOwnerNode", "name": "_activeDescendantOwnerNode",
"privacy": "protected", "privacy": "protected",
"type": { "type": {
"type": "HTMLElement" "text": "HTMLElement"
} }
} }
] ]
@ -1819,14 +1850,14 @@
"name": "ListboxImplementation", "name": "ListboxImplementation",
"return": { "return": {
"type": { "type": {
"type": "T &\n Constructor<ListboxHost> &\n typeof ListboxHost &\n Constructor<ChoiceGroupHost> &\n typeof ChoiceGroupHost &\n Constructor<SlotHost> &\n typeof SlotHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormControlHost> &\n typeof FormControlHost" "text": "T &\n Constructor<ListboxHost> &\n typeof ListboxHost &\n Constructor<ChoiceGroupHost> &\n typeof ChoiceGroupHost &\n Constructor<SlotHost> &\n typeof SlotHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormControlHost> &\n typeof FormControlHost"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "superclass", "name": "superclass",
"type": { "type": {
"type": "T" "text": "T"
} }
} }
] ]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -95,7 +95,7 @@
{ {
"name": "pageNumber", "name": "pageNumber",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -115,7 +115,7 @@
{ {
"name": "page", "name": "page",
"type": { "type": {
"type": "Number" "text": "Number"
}, },
"description": "page number to be set" "description": "page number to be set"
} }
@ -128,7 +128,7 @@
"description": "Calculate nav list based on current page selection.", "description": "Calculate nav list based on current page selection.",
"return": { "return": {
"type": { "type": {
"type": "(number|'...')[]" "text": "(number|'...')[]"
} }
} }
}, },
@ -139,14 +139,14 @@
"description": "Get previous or next button template.\nThis method can be overridden to apply customized template in wrapper.", "description": "Get previous or next button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "label", "name": "label",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "namespace label i.e. next or previous" "description": "namespace label i.e. next or previous"
} }
@ -159,28 +159,28 @@
"description": "Get next or previous button template.\nThis method can be overridden to apply customized template in wrapper.", "description": "Get next or previous button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "label", "name": "label",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "namespace label i.e. next or previous" "description": "namespace label i.e. next or previous"
}, },
{ {
"name": "pageNumber", "name": "pageNumber",
"type": { "type": {
"type": "Number" "text": "Number"
}, },
"description": "page number to be set" "description": "page number to be set"
}, },
{ {
"name": "namespace", "name": "namespace",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "namespace prefix for translations", "description": "namespace prefix for translations",
"default": "'lion'" "default": "'lion'"
@ -194,14 +194,14 @@
"description": "Get disabled button template.\nThis method can be overridden to apply customized template in wrapper.", "description": "Get disabled button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult" "text": "TemplateResult"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "label", "name": "label",
"type": { "type": {
"type": "String" "text": "String"
}, },
"description": "namespace label i.e. next or previous" "description": "namespace label i.e. next or previous"
} }
@ -214,7 +214,7 @@
"description": "Render navigation list", "description": "Render navigation list",
"return": { "return": {
"type": { "type": {
"type": "TemplateResult[]" "text": "TemplateResult[]"
} }
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -114,7 +114,7 @@
"name": "selectedElement", "name": "selectedElement",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "LionOption | null" "text": "LionOption | null"
}, },
"description": "The option element that is currently selected", "description": "The option element that is currently selected",
"default": "null" "default": "null"
@ -210,7 +210,7 @@
{ {
"name": "blur", "name": "blur",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -244,7 +244,7 @@
"name": "navigateWithinInvoker", "name": "navigateWithinInvoker",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "Boolean" "text": "Boolean"
}, },
"description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.", "description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.",
"default": "false" "default": "false"
@ -254,7 +254,7 @@
"name": "interactionMode", "name": "interactionMode",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "'windows/linux'|'mac'|'auto'" "text": "'windows/linux'|'mac'|'auto'"
}, },
"description": "Aligns behavior for 'selectionFollowFocus' and 'navigateWithinInvoker' with\nplatform. When 'auto' (default), platform is automatically detected", "description": "Aligns behavior for 'selectionFollowFocus' and 'navigateWithinInvoker' with\nplatform. When 'auto' (default), platform is automatically detected",
"default": "'auto'" "default": "'auto'"
@ -278,7 +278,10 @@
{ {
"kind": "field", "kind": "field",
"name": "_invokerNode", "name": "_invokerNode",
"privacy": "protected" "privacy": "protected",
"type": {
"text": "LionSelectInvoker"
}
}, },
{ {
"kind": "field", "kind": "field",
@ -303,13 +306,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "unknown" "text": "unknown"
} }
} }
] ]
@ -322,7 +325,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -335,13 +338,13 @@
{ {
"name": "child", "name": "child",
"type": { "type": {
"type": "LionOption & FormControlHost" "text": "LionOption & FormControlHost"
} }
}, },
{ {
"name": "indexToInsertAt", "name": "indexToInsertAt",
"type": { "type": {
"type": "Number" "text": "Number"
} }
} }
] ]
@ -354,7 +357,7 @@
{ {
"name": "child", "name": "child",
"type": { "type": {
"type": "FormRegisteringHost" "text": "FormRegisteringHost"
}, },
"description": "the child element (field)" "description": "the child element (field)"
} }
@ -481,7 +484,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -494,7 +497,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
}, },
"description": "the keydown event object" "description": "the keydown event object"
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -43,7 +43,7 @@
{ {
"name": "user-input-changed", "name": "user-input-changed",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -70,7 +70,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -47,13 +47,13 @@
{ {
"name": "key", "name": "key",
"type": { "type": {
"type": "string" "text": "string"
} }
}, },
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "any" "text": "any"
} }
} }
] ]
@ -64,14 +64,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "" "text": ""
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "key", "name": "key",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -84,7 +84,7 @@
{ {
"name": "key", "name": "key",
"type": { "type": {
"type": "string" "text": "string"
} }
} }
] ]
@ -260,7 +260,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 1.x'" "default": "'OverlayManager 1.x'"
@ -396,7 +396,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 1.x'" "default": "'OverlayManager 1.x'"
@ -532,7 +532,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 1.x'" "default": "'OverlayManager 1.x'"
@ -592,6 +592,39 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-a/page-a.js",
"declarations": [
{
"kind": "class",
"name": "PageA",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"tagName": "page-a"
}
],
"exports": [
{
"kind": "js",
"name": "PageA",
"declaration": {
"name": "PageA",
"module": "./demo/singleton-complex/node_modules/page-a/page-a.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-a",
"declaration": {
"name": "PageA",
"module": "./demo/fail/node_modules/page-a/page-a.js"
}
}
]
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-b/page-b.js", "path": "./demo/singleton-complex/node_modules/page-b/page-b.js",
@ -603,7 +636,7 @@
{ {
"name": "request-instance", "name": "request-instance",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -648,39 +681,6 @@
} }
] ]
}, },
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-a/page-a.js",
"declarations": [
{
"kind": "class",
"name": "PageA",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"tagName": "page-a"
}
],
"exports": [
{
"kind": "js",
"name": "PageA",
"declaration": {
"name": "PageA",
"module": "./demo/singleton-complex/node_modules/page-a/page-a.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-a",
"declaration": {
"name": "PageA",
"module": "./demo/fail/node_modules/page-a/page-a.js"
}
}
]
},
{ {
"kind": "javascript-module", "kind": "javascript-module",
"path": "./demo/fail/node_modules/page-b/node_modules/overlays/index.js", "path": "./demo/fail/node_modules/page-b/node_modules/overlays/index.js",
@ -693,7 +693,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 2.x'" "default": "'OverlayManager 2.x'"
@ -765,7 +765,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 2.x'" "default": "'OverlayManager 2.x'"
@ -837,7 +837,7 @@
"kind": "field", "kind": "field",
"name": "name", "name": "name",
"type": { "type": {
"type": "string" "text": "string"
}, },
"privacy": "public", "privacy": "public",
"default": "'OverlayManager 2.x'" "default": "'OverlayManager 2.x'"

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -66,19 +66,19 @@
{ {
"name": "enter", "name": "enter",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
}, },
{ {
"name": "leave", "name": "leave",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
}, },
{ {
"name": "skip", "name": "skip",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -157,7 +157,7 @@
{ {
"name": "data", "name": "data",
"type": { "type": {
"type": "Object" "text": "Object"
}, },
"optional": true "optional": true
} }
@ -189,7 +189,7 @@
{ {
"name": "transition", "name": "transition",
"type": { "type": {
"type": "CustomEvent" "text": "CustomEvent"
} }
} }
], ],
@ -213,7 +213,7 @@
"name": "data", "name": "data",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "{[key: string]: ?}" "text": "{[key: string]: ?}"
}, },
"default": "{}" "default": "{}"
}, },
@ -222,7 +222,7 @@
"name": "current", "name": "current",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "number" "text": "number"
}, },
"default": "0" "default": "0"
}, },
@ -249,13 +249,13 @@
{ {
"name": "newCurrent", "name": "newCurrent",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "oldCurrent", "name": "oldCurrent",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -268,13 +268,13 @@
{ {
"name": "newCurrent", "name": "newCurrent",
"type": { "type": {
"type": "number" "text": "number"
} }
}, },
{ {
"name": "oldCurrent", "name": "oldCurrent",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -287,13 +287,13 @@
{ {
"name": "fromStep", "name": "fromStep",
"type": { "type": {
"type": "{number: number, element: LionStep}" "text": "{number: number, element: LionStep}"
} }
}, },
{ {
"name": "toStep", "name": "toStep",
"type": { "type": {
"type": "{number: number, element: LionStep}" "text": "{number: number, element: LionStep}"
} }
} }
] ]
@ -306,13 +306,13 @@
{ {
"name": "newValues", "name": "newValues",
"type": { "type": {
"type": "{current: number}" "text": "{current: number}"
} }
}, },
{ {
"name": "oldValues", "name": "oldValues",
"type": { "type": {
"type": "{current: number}" "text": "{current: number}"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -127,7 +127,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]
@ -174,7 +174,7 @@
{ {
"name": "checked-changed", "name": "checked-changed",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -229,7 +229,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -242,7 +242,7 @@
{ {
"name": "e", "name": "e",
"type": { "type": {
"type": "KeyboardEvent" "text": "KeyboardEvent"
} }
} }
] ]
@ -256,13 +256,13 @@
{ {
"name": "name", "name": "name",
"type": { "type": {
"type": "PropertyKey" "text": "PropertyKey"
} }
}, },
{ {
"name": "oldValue", "name": "oldValue",
"type": { "type": {
"type": "?" "text": "?"
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -43,7 +43,7 @@
{ {
"name": "selected-changed", "name": "selected-changed",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
], ],
@ -86,14 +86,14 @@
"privacy": "public", "privacy": "public",
"return": { "return": {
"type": { "type": {
"type": "EventHandlerNonNull" "text": "EventHandlerNonNull"
} }
}, },
"parameters": [ "parameters": [
{ {
"name": "index", "name": "index",
"type": { "type": {
"type": "number" "text": "number"
} }
} }
] ]
@ -106,7 +106,7 @@
{ {
"name": "ev", "name": "ev",
"type": { "type": {
"type": "Event" "text": "Event"
} }
} }
] ]
@ -119,7 +119,7 @@
{ {
"name": "value", "name": "value",
"type": { "type": {
"type": "number" "text": "number"
}, },
"description": "The new index for focus" "description": "The new index for focus"
} }

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -110,7 +110,7 @@
{ {
"name": "changedProperties", "name": "changedProperties",
"type": { "type": {
"type": "PropertyValues " "text": "PropertyValues "
} }
} }
] ]

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {
@ -65,7 +65,7 @@
"name": "invokerRelation", "name": "invokerRelation",
"privacy": "public", "privacy": "public",
"type": { "type": {
"type": "'label'|'description'" "text": "'label'|'description'"
}, },
"description": "Decides whether the tooltip invoker text should be considered a description\n(sets aria-describedby) or a label (sets aria-labelledby).", "description": "Decides whether the tooltip invoker text should be considered a description\n(sets aria-describedby) or a label (sets aria-labelledby).",
"default": "'description'" "default": "'description'"

View file

@ -1,5 +1,5 @@
{ {
"schemaVersion": "experimental", "schemaVersion": "0.1.0",
"readme": "", "readme": "",
"modules": [ "modules": [
{ {

View file

@ -1350,6 +1350,22 @@
resolved "https://registry.yarnpkg.com/@coolaj86/urequest/-/urequest-1.3.7.tgz#66a1d66378dd6534e9c8e68948bf09acf32bab77" resolved "https://registry.yarnpkg.com/@coolaj86/urequest/-/urequest-1.3.7.tgz#66a1d66378dd6534e9c8e68948bf09acf32bab77"
integrity sha512-PPrVYra9aWvZjSCKl/x1pJ9ZpXda1652oJrPBYy5rQumJJMkmTBN3ux+sK2xAUwVvv2wnewDlaQaHLxLwSHnIA== integrity sha512-PPrVYra9aWvZjSCKl/x1pJ9ZpXda1652oJrPBYy5rQumJJMkmTBN3ux+sK2xAUwVvv2wnewDlaQaHLxLwSHnIA==
"@custom-elements-manifest/analyzer@^0.1.7":
version "0.1.7"
resolved "https://registry.yarnpkg.com/@custom-elements-manifest/analyzer/-/analyzer-0.1.7.tgz#b41577dfdc20cdc046060ab86f659f91092d1a27"
integrity sha512-SuEiCAI7J9udOhUZIpAWNk535d/GMjyggTM+rucv66Uz1DE0nmj6YnJ22apwMqESfvjGlH7qjNo6f0GukJFaTA==
dependencies:
"@custom-elements-manifest/helpers" "^0.0.3"
command-line-args "^5.1.1"
comment-parser "^0.7.6"
globby "^11.0.1"
typescript "~4.0.0"
"@custom-elements-manifest/helpers@^0.0.3":
version "0.0.3"
resolved "https://registry.yarnpkg.com/@custom-elements-manifest/helpers/-/helpers-0.0.3.tgz#671ef61a3612f0417574d0de278431bbe610d413"
integrity sha512-39SVVFyf3v+TGftspP0RmhdE4ZgmmLm4Fi9r2Y72fnY4ZMv/TOO/FoWoOJo/ruwzSGWOnnXS+TQ/2JNJ9tHA3g==
"@emotion/cache@^10.0.27": "@emotion/cache@^10.0.27":
version "10.0.29" version "10.0.29"
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0"
@ -4252,6 +4268,11 @@ commander@~2.9.0:
dependencies: dependencies:
graceful-readlink ">= 1.0.0" graceful-readlink ">= 1.0.0"
comment-parser@^0.7.6:
version "0.7.6"
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-0.7.6.tgz#0e743a53c8e646c899a1323db31f6cd337b10f12"
integrity sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==
common-tags@^1.8.0: common-tags@^1.8.0:
version "1.8.0" version "1.8.0"
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937" resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
@ -11696,6 +11717,11 @@ typescript@3.9.7, typescript@^3.8.3:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
typescript@~4.0.0:
version "4.0.7"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.7.tgz#7168032c43d2a2671c95c07812f69523c79590af"
integrity sha512-yi7M4y74SWvYbnazbn8/bmJmX4Zlej39ZOqwG/8dut/MYoSQ119GY9ZFbbGsD4PFZYWxqik/XsP3vk3+W5H3og==
typical@^4.0.0: typical@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4" resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4"