diff --git a/package.json b/package.json index dafa0ebc7..565ea817d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:docs": "wca analyze \"packages/tabs/**/*.js\"", "build:types": "tsc -p tsconfig.build.types.json", "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: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", @@ -41,6 +42,7 @@ "@changesets/cli": "^2.9.2", "@commitlint/cli": "^7.0.0", "@commitlint/config-conventional": "^7.0.0", + "@custom-elements-manifest/analyzer": "^0.1.7", "@mdjs/core": "^0.3.1", "@open-wc/building-rollup": "^1.2.1", "@open-wc/demoing-storybook": "^2.0.2", diff --git a/packages/accordion/custom-elements.json b/packages/accordion/custom-elements.json index 3395dcd99..5a503872c 100644 --- a/packages/accordion/custom-elements.json +++ b/packages/accordion/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -87,7 +87,7 @@ { "name": "index", "type": { - "type": "number" + "text": "number" } } ] @@ -100,7 +100,7 @@ { "name": "e", "type": { - "type": "Event" + "text": "Event" } } ] @@ -128,7 +128,7 @@ { "name": "value", "type": { - "type": "number" + "text": "number" } } ] @@ -149,4 +149,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/accordion/package.json b/packages/accordion/package.json index b3bc5d325..1bf11d291 100644 --- a/packages/accordion/package.json +++ b/packages/accordion/package.json @@ -44,12 +44,9 @@ "publishConfig": { "access": "public" }, -<<<<<<< HEAD "exports": { ".": "./index.js", "./lion-accordion": "./lion-accordion.js" - } -======= + }, "customElementsManifest": "custom-elements.json" ->>>>>>> d8595b90... docs: add custom elements manifest -} +} \ No newline at end of file diff --git a/packages/ajax/custom-elements.json b/packages/ajax/custom-elements.json index 82f717d48..a41e90a67 100644 --- a/packages/ajax/custom-elements.json +++ b/packages/ajax/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -25,308 +25,186 @@ }, { "kind": "js", - "name": "AjaxClass", + "name": "AjaxClient", "declaration": { - "name": "AjaxClass", - "module": "./src/AjaxClass.js" + "name": "AjaxClient", + "module": "./src/AjaxClient.js" } }, { "kind": "js", - "name": "cancelInterceptorFactory", + "name": "AjaxClientFetchError", "declaration": { - "name": "cancelInterceptorFactory", + "name": "AjaxClientFetchError", + "module": "./src/AjaxClientFetchError.js" + } + }, + { + "kind": "js", + "name": "acceptLanguageRequestInterceptor", + "declaration": { + "name": "acceptLanguageRequestInterceptor", "module": "./src/interceptors.js" } }, { "kind": "js", - "name": "cancelPreviousOnNewRequestInterceptorFactory", + "name": "createXSRFRequestInterceptor", "declaration": { - "name": "cancelPreviousOnNewRequestInterceptorFactory", + "name": "createXSRFRequestInterceptor", "module": "./src/interceptors.js" } }, { "kind": "js", - "name": "addAcceptLanguageHeaderInterceptorFactory", + "name": "getCookie", "declaration": { - "name": "addAcceptLanguageHeaderInterceptorFactory", + "name": "getCookie", "module": "./src/interceptors.js" } }, { "kind": "js", - "name": "jsonPrefixTransformerFactory", + "name": "cacheRequestInterceptorFactory", "declaration": { - "name": "jsonPrefixTransformerFactory", - "module": "./src/transformers.js" + "name": "cacheRequestInterceptorFactory", + "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", - "path": "./src/AjaxClass.js", + "path": "./src/AjaxClient.js", "declarations": [ { "kind": "class", - "name": "AjaxClass", + "name": "AjaxClient", "members": [ { "kind": "field", "name": "options", "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", "name": "request", "privacy": "public", - "description": "Dispatches a request", + "description": "Makes a fetch request, calling the registered fetch request and response\ninterceptors.", "return": { "type": { - "type": "?" + "text": "Promise" } }, "parameters": [ { - "name": "url", + "name": "info", "type": { - "type": "string" + "text": "RequestInfo" } }, { - "name": "config", + "name": "init", "type": { - "type": "{[key:string]: ?}" + "text": "RequestInit & Partial" }, - "description": "the config specific for this request", "optional": true } ] }, { "kind": "method", - "name": "cancel", + "name": "requestJson", "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": [ { - "name": "msg", + "name": "info", "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": "{[key:string]: ?}" + "text": "LionRequestInit" }, - "description": "the config specific for this request", "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": [ { "kind": "js", - "name": "AjaxClass", + "name": "AjaxClient", "declaration": { - "name": "AjaxClass", - "module": "./src/AjaxClass.js" + "name": "AjaxClient", + "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", "type": { - "type": "AjaxClass" + "text": "AjaxClient" }, "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", "path": "./src/interceptors.js", "declarations": [ { "kind": "function", - "name": "addAcceptLanguageHeaderInterceptorFactory", + "name": "getCookie", "return": { "type": { - "type": "(config: {[key:string]: ?}) => {[key:string]: ?}" + "text": "string | null" } }, "parameters": [ { - "name": "lang", + "name": "name", "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", - "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": { "type": { - "type": "(config: {[key:string]: ?}) => {[key:string]: ?}" + "text": "RequestInterceptor" } }, "parameters": [ { - "name": "ajaxInstance", + "name": "cookieName", "type": { - "type": "AjaxClass" - } - } - ] - }, - { - "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": [ + "text": "string" + }, + "description": "the cookie name" + }, { - "name": "prefix", + "name": "headerName", "type": { - "type": "string" - } + "text": "string" + }, + "description": "the header name" + }, + { + "name": "_document", + "type": { + "text": "Document | { cookie: string }" + }, + "description": "overwriteable for testing", + "default": "document" } ] } @@ -480,19 +427,47 @@ "exports": [ { "kind": "js", - "name": "jsonPrefixTransformerFactory", + "name": "getCookie", "declaration": { - "name": "jsonPrefixTransformerFactory", - "module": "./src/transformers.js" + "name": "getCookie", + "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", - "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": [], "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/ajax/package.json b/packages/ajax/package.json index 01eaab8df..6f449fa51 100644 --- a/packages/ajax/package.json +++ b/packages/ajax/package.json @@ -42,4 +42,4 @@ }, "exports": "./index.js", "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/button/custom-elements.json b/packages/button/custom-elements.json index 99a974be9..71f86d9df 100644 --- a/packages/button/custom-elements.json +++ b/packages/button/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -99,7 +99,10 @@ { "kind": "field", "name": "_nativeButtonNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLButtonElement" + } }, { "kind": "field", @@ -115,7 +118,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -148,7 +151,7 @@ { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -161,7 +164,7 @@ { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -175,7 +178,7 @@ { "name": "e", "type": { - "type": "Event" + "text": "Event" } } ] @@ -226,4 +229,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/button/package.json b/packages/button/package.json index 60db805c3..a5537d7cd 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -49,4 +49,4 @@ "./lion-button": "./lion-button.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/calendar/custom-elements.json b/packages/calendar/custom-elements.json index fe2b0003b..f13c15984 100644 --- a/packages/calendar/custom-elements.json +++ b/packages/calendar/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -7,6 +7,14 @@ "path": "./index.js", "declarations": [], "exports": [ + { + "kind": "js", + "name": "isSameDate", + "declaration": { + "name": "isSameDate", + "module": "./src/utils/isSameDate.js" + } + }, { "kind": "js", "name": "LionCalendar", @@ -74,7 +82,7 @@ { "name": "user-selected-date-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -122,7 +130,7 @@ "name": "centralDate", "privacy": "public", "type": { - "type": "Date" + "text": "Date" }, "default": "this.__today" }, @@ -149,7 +157,7 @@ "name": "__focusedDate", "privacy": "public", "type": { - "type": "Date | null" + "text": "Date | null" }, "default": "null" }, @@ -158,7 +166,7 @@ "name": "__data", "privacy": "public", "type": { - "type": "{months: Month[]}" + "text": "{months: Month[]}" }, "default": "{ months: [] }" }, @@ -195,7 +203,7 @@ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -218,13 +226,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "?" + "text": "?" } } ] @@ -242,13 +250,13 @@ { "name": "month", "type": { - "type": "string" + "text": "string" } }, { "name": "year", "type": { - "type": "number" + "text": "number" } } ] @@ -261,13 +269,13 @@ { "name": "month", "type": { - "type": "string" + "text": "string" } }, { "name": "year", "type": { - "type": "number" + "text": "number" } } ] @@ -290,19 +298,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "previousMonth", "type": { - "type": "string" + "text": "string" } }, { "name": "previousYear", "type": { - "type": "number" + "text": "number" } } ] @@ -315,19 +323,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "nextMonth", "type": { - "type": "string" + "text": "string" } }, { "name": "nextYear", "type": { - "type": "number" + "text": "number" } } ] @@ -340,19 +348,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "previousMonth", "type": { - "type": "string" + "text": "string" } }, { "name": "previousYear", "type": { - "type": "number" + "text": "number" } } ] @@ -365,19 +373,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "nextMonth", "type": { - "type": "string" + "text": "string" } }, { "name": "nextYear", "type": { - "type": "number" + "text": "number" } } ] @@ -390,25 +398,25 @@ { "name": "mode", "type": { - "type": "string" + "text": "string" } }, { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "month", "type": { - "type": "string" + "text": "string" } }, { "name": "year", "type": { - "type": "number" + "text": "number" } } ] @@ -421,13 +429,13 @@ { "name": "_day", "type": { - "type": "Day" + "text": "Day" } }, { "name": "param1", "type": { - "type": "*" + "text": "*" } } ] @@ -440,7 +448,7 @@ { "name": "options", "type": { - "type": "Day" + "text": "Day" }, "optional": true } @@ -459,7 +467,7 @@ { "name": "selectedDate", "type": { - "type": "Date" + "text": "Date" } } ] @@ -487,7 +495,7 @@ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -500,19 +508,19 @@ { "name": "date", "type": { - "type": "Date" + "text": "Date" } }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.mode", "type": { - "type": "String" + "text": "String" }, "description": "Find best date in `future/past/both`", "optional": true @@ -527,7 +535,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -550,7 +558,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -563,31 +571,31 @@ { "name": "modify", "type": { - "type": "number" + "text": "number" } }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.dateType", "type": { - "type": "string" + "text": "string" } }, { "name": "opts.type", "type": { - "type": "string" + "text": "string" } }, { "name": "opts.mode", "type": { - "type": "string" + "text": "string" } } ] @@ -632,12 +640,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "./test/demos.screenshots-test.js", - "declarations": [], - "exports": [] - }, { "kind": "javascript-module", "path": "./test-helpers/CalendarObject.js", @@ -734,7 +736,7 @@ { "name": "monthDayNumber", "type": { - "type": "number" + "text": "number" } } ] @@ -747,7 +749,7 @@ { "name": "monthDayNumber", "type": { - "type": "number" + "text": "number" } } ] @@ -775,14 +777,14 @@ { "name": "condition", "type": { - "type": "function" + "text": "function" }, "description": ": condition that should apply for \"filter\" days\nExample: \"(dayObj) => dayObj.selected\"" }, { "name": "filter", "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)", "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", "path": "./translations/bg.js", @@ -1125,12 +1139,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "./types/day.d.ts", - "declarations": [], - "exports": [] - }, { "kind": "javascript-module", "path": "./src/utils/createDay.js", @@ -1140,14 +1148,14 @@ "name": "createDay", "return": { "type": { - "type": "Day" + "text": "Day" } }, "parameters": [ { "name": "date,", "type": { - "type": "Date" + "text": "Date" } }, { @@ -1177,26 +1185,26 @@ "name": "createMonth", "return": { "type": { - "type": "Month" + "text": "Month" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.firstDayOfWeek", "type": { - "type": "number" + "text": "number" }, "optional": true } @@ -1223,14 +1231,14 @@ "name": "createMultipleMonth", "return": { "type": { - "type": "{months: Month[]}" + "text": "{months: Month[]}" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -1256,26 +1264,26 @@ "name": "createWeek", "return": { "type": { - "type": "Week" + "text": "Week" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.firstDayOfWeek", "type": { - "type": "number" + "text": "number" }, "optional": true } @@ -1304,13 +1312,13 @@ { "name": "data", "type": { - "type": "{months: {weeks: {days: Day[]}[]}[]}" + "text": "{months: {weeks: {days: Day[]}[]}[]}" } }, { "name": "opts", "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", "type": { - "type": "Day" + "text": "Day" } }, { "name": "opts", "type": { - "type": "{ weekdays: string[], monthsLabels?: string[] }" + "text": "{ weekdays: string[], monthsLabels?: string[] }" } } ] @@ -1371,14 +1379,14 @@ "description": "Gives the first day of the next month", "return": { "type": { - "type": "Date" + "text": "Date" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -1405,14 +1413,14 @@ "description": "Gives the last day of the previous month", "return": { "type": { - "type": "Date" + "text": "Date" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -1439,20 +1447,20 @@ "description": "Compares if two days are the same", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "day1", "type": { - "type": "Date" + "text": "Date" } }, { "name": "day2", "type": { - "type": "Date" + "text": "Date" } } ] @@ -1484,4 +1492,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/calendar/package.json b/packages/calendar/package.json index c3d460077..4a0cf82ca 100644 --- a/packages/calendar/package.json +++ b/packages/calendar/package.json @@ -51,4 +51,4 @@ "./test-helpers": "./test-helpers.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/checkbox-group/custom-elements.json b/packages/checkbox-group/custom-elements.json index f01dad064..dacec87c8 100644 --- a/packages/checkbox-group/custom-elements.json +++ b/packages/checkbox-group/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -198,7 +198,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -231,7 +231,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -252,4 +252,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/checkbox-group/package.json b/packages/checkbox-group/package.json index 1e70599ce..d159c9f58 100644 --- a/packages/checkbox-group/package.json +++ b/packages/checkbox-group/package.json @@ -55,4 +55,4 @@ "./lion-checkbox-indeterminate": "./lion-checkbox-indeterminate.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/collapsible/custom-elements.json b/packages/collapsible/custom-elements.json index 11ab7819f..3a2af2aaf 100644 --- a/packages/collapsible/custom-elements.json +++ b/packages/collapsible/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -84,14 +84,14 @@ { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "description": "element node and its options" }, { "name": "options.contentNode", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -105,14 +105,14 @@ { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "description": "element node and its options" }, { "name": "options.contentNode", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -124,21 +124,21 @@ "description": "Wait until the transition event is finished.", "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "description": "element node and its options" }, { "name": "options.contentNode", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -152,7 +152,7 @@ { "name": "contentNode", "type": { - "type": "HTMLElement" + "text": "HTMLElement" }, "description": "content node" } @@ -251,7 +251,7 @@ { "name": "opened-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "LionCollapsible", @@ -304,7 +304,7 @@ { "name": "opened-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -352,7 +352,7 @@ { "name": "opts", "type": { - "type": "Object" + "text": "Object" } } ] @@ -366,7 +366,7 @@ { "name": "opts", "type": { - "type": "Object" + "text": "Object" } } ] @@ -420,4 +420,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/collapsible/package.json b/packages/collapsible/package.json index d95d4cc6d..da7806f03 100644 --- a/packages/collapsible/package.json +++ b/packages/collapsible/package.json @@ -52,4 +52,4 @@ "./lion-collapsible": "./lion-collapsible.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/combobox/custom-elements.json b/packages/combobox/custom-elements.json index 098256c59..bb4521f77 100644 --- a/packages/combobox/custom-elements.json +++ b/packages/combobox/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -117,7 +117,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -136,13 +136,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "highlight", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -160,7 +160,7 @@ { "name": "ev", "type": { - "type": "{ key: string; }" + "text": "{ key: string; }" } } ] @@ -283,7 +283,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "'none'|'list'|'inline'|'both'" + "text": "'none'|'list'|'inline'|'both'" }, "description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.", "default": "'both'" @@ -293,7 +293,7 @@ "name": "matchMode", "privacy": "public", "type": { - "type": "'begin'|'all'" + "text": "'begin'|'all'" }, "description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'", "default": "'all'" @@ -328,17 +328,26 @@ { "kind": "field", "name": "slots", - "privacy": "public" + "privacy": "public", + "type": { + "text": "SlotsMap" + } }, { "kind": "field", "name": "_comboboxNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "_selectionDisplayNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "SelectionDisplay | null" + } }, { "kind": "field", @@ -383,13 +392,13 @@ { "name": "name", "type": { - "type": "'disabled'|'modelValue'|'readOnly'" + "text": "'disabled'|'modelValue'|'readOnly'" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -402,7 +411,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -416,13 +425,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "textboxValue", "type": { - "type": "string" + "text": "string" }, "description": "current ._inputNode value" } @@ -436,7 +445,7 @@ { "name": "options", "type": { - "type": "{ currentValue: string, lastKey:string }" + "text": "{ currentValue: string, lastKey:string }" } } ] @@ -449,7 +458,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -462,7 +471,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -475,7 +484,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ] @@ -488,7 +497,7 @@ { "name": "v", "type": { - "type": "string" + "text": "string" } } ] @@ -506,7 +515,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ] @@ -519,13 +528,13 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ] @@ -538,20 +547,20 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -566,7 +575,7 @@ { "name": "config", "type": { - "type": "{ prevValue:string, curValue:string }" + "text": "{ prevValue:string, curValue:string }" } } ] @@ -627,7 +636,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -640,13 +649,13 @@ { "name": "modelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } }, { "name": "oldModelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } } ] @@ -659,13 +668,13 @@ { "name": "modelValue", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "oldModelValue", "type": { - "type": "string[]" + "text": "string[]" }, "default": "[]" } @@ -704,7 +713,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "optional": true } @@ -878,7 +887,7 @@ "name": "category", "privacy": "public", "type": { - "type": "'branches'|'tags'" + "text": "'branches'|'tags'" }, "default": "'branches'" }, @@ -895,7 +904,10 @@ { "kind": "field", "name": "_comboboxNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "method", @@ -982,7 +994,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "'none'|'list'|'inline'|'both'" + "text": "'none'|'list'|'inline'|'both'" }, "description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.", "default": "'both'", @@ -996,7 +1008,7 @@ "name": "matchMode", "privacy": "public", "type": { - "type": "'begin'|'all'" + "text": "'begin'|'all'" }, "description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'", "default": "'all'", @@ -1038,6 +1050,9 @@ "kind": "field", "name": "_selectionDisplayNode", "privacy": "public", + "type": { + "text": "SelectionDisplay | null" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -1096,13 +1111,13 @@ { "name": "name", "type": { - "type": "'disabled'|'modelValue'|'readOnly'" + "text": "'disabled'|'modelValue'|'readOnly'" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ], @@ -1120,13 +1135,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "textboxValue", "type": { - "type": "string" + "text": "string" }, "description": "current ._inputNode value" } @@ -1144,7 +1159,7 @@ { "name": "options", "type": { - "type": "{ currentValue: string, lastKey:string }" + "text": "{ currentValue: string, lastKey:string }" } } ], @@ -1161,7 +1176,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ], @@ -1178,7 +1193,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ], @@ -1195,7 +1210,7 @@ { "name": "v", "type": { - "type": "string" + "text": "string" } } ], @@ -1221,7 +1236,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -1238,13 +1253,13 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ], @@ -1261,20 +1276,20 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -1293,7 +1308,7 @@ { "name": "config", "type": { - "type": "{ prevValue:string, curValue:string }" + "text": "{ prevValue:string, curValue:string }" } } ], @@ -1372,7 +1387,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -1389,13 +1404,13 @@ { "name": "modelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } }, { "name": "oldModelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } } ], @@ -1412,13 +1427,13 @@ { "name": "modelValue", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "oldModelValue", "type": { - "type": "string[]" + "text": "string[]" }, "default": "[]" } @@ -1481,7 +1496,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "optional": true } @@ -1567,7 +1582,7 @@ { "name": "currentValue", "type": { - "type": "string" + "text": "string" } } ] @@ -1663,7 +1678,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "'none'|'list'|'inline'|'both'" + "text": "'none'|'list'|'inline'|'both'" }, "description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.", "default": "'both'", @@ -1677,7 +1692,7 @@ "name": "matchMode", "privacy": "public", "type": { - "type": "'begin'|'all'" + "text": "'begin'|'all'" }, "description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'", "default": "'all'", @@ -1719,6 +1734,9 @@ "kind": "field", "name": "_comboboxNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -1728,6 +1746,9 @@ "kind": "field", "name": "_selectionDisplayNode", "privacy": "public", + "type": { + "text": "SelectionDisplay | null" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -1795,13 +1816,13 @@ { "name": "name", "type": { - "type": "'disabled'|'modelValue'|'readOnly'" + "text": "'disabled'|'modelValue'|'readOnly'" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ], @@ -1818,7 +1839,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -1836,13 +1857,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "textboxValue", "type": { - "type": "string" + "text": "string" }, "description": "current ._inputNode value" } @@ -1860,7 +1881,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ], @@ -1877,7 +1898,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -1894,7 +1915,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ], @@ -1911,7 +1932,7 @@ { "name": "v", "type": { - "type": "string" + "text": "string" } } ], @@ -1937,7 +1958,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -1954,13 +1975,13 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ], @@ -1977,20 +1998,20 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -2009,7 +2030,7 @@ { "name": "config", "type": { - "type": "{ prevValue:string, curValue:string }" + "text": "{ prevValue:string, curValue:string }" } } ], @@ -2106,7 +2127,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -2123,13 +2144,13 @@ { "name": "modelValue", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "oldModelValue", "type": { - "type": "string[]" + "text": "string[]" }, "default": "[]" } @@ -2192,7 +2213,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "optional": true } @@ -2315,7 +2336,7 @@ { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ] @@ -2387,7 +2408,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "'none'|'list'|'inline'|'both'" + "text": "'none'|'list'|'inline'|'both'" }, "description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.", "default": "'both'", @@ -2401,7 +2422,7 @@ "name": "matchMode", "privacy": "public", "type": { - "type": "'begin'|'all'" + "text": "'begin'|'all'" }, "description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'", "default": "'all'", @@ -2461,6 +2482,9 @@ "kind": "field", "name": "slots", "privacy": "public", + "type": { + "text": "SlotsMap" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -2470,6 +2494,9 @@ "kind": "field", "name": "_comboboxNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -2479,6 +2506,9 @@ "kind": "field", "name": "_selectionDisplayNode", "privacy": "public", + "type": { + "text": "SelectionDisplay | null" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -2555,13 +2585,13 @@ { "name": "name", "type": { - "type": "'disabled'|'modelValue'|'readOnly'" + "text": "'disabled'|'modelValue'|'readOnly'" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ], @@ -2578,7 +2608,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -2596,13 +2626,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "textboxValue", "type": { - "type": "string" + "text": "string" }, "description": "current ._inputNode value" } @@ -2620,7 +2650,7 @@ { "name": "options", "type": { - "type": "{ currentValue: string, lastKey:string }" + "text": "{ currentValue: string, lastKey:string }" } } ], @@ -2637,7 +2667,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ], @@ -2654,7 +2684,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -2671,7 +2701,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ], @@ -2688,7 +2718,7 @@ { "name": "v", "type": { - "type": "string" + "text": "string" } } ], @@ -2714,7 +2744,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -2731,13 +2761,13 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ], @@ -2754,20 +2784,20 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -2786,7 +2816,7 @@ { "name": "config", "type": { - "type": "{ prevValue:string, curValue:string }" + "text": "{ prevValue:string, curValue:string }" } } ], @@ -2883,7 +2913,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -2900,13 +2930,13 @@ { "name": "modelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } }, { "name": "oldModelValue", "type": { - "type": "string|string[]" + "text": "string|string[]" } } ], @@ -2923,13 +2953,13 @@ { "name": "modelValue", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "oldModelValue", "type": { - "type": "string[]" + "text": "string[]" }, "default": "[]" } @@ -2992,7 +3022,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "optional": true } @@ -3160,7 +3190,7 @@ { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ] @@ -3173,14 +3203,14 @@ { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -3210,13 +3240,13 @@ { "name": "option", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "textboxValue", "type": { - "type": "string" + "text": "string" }, "description": "current ._inputNode value" } @@ -3232,7 +3262,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "'none'|'list'|'inline'|'both'" + "text": "'none'|'list'|'inline'|'both'" }, "description": "When \"list\", will filter listbox suggestions based on textbox value.\nWhen \"both\", an inline completion string will be added to the textbox as well.", "default": "'both'", @@ -3246,7 +3276,7 @@ "name": "matchMode", "privacy": "public", "type": { - "type": "'begin'|'all'" + "text": "'begin'|'all'" }, "description": "When typing in the textbox, will by default be set on 'begin',\nonly matching the beginning part in suggestion list.\n=> 'a' will match 'apple' from ['apple', 'pear', 'citrus'].\nWhen set to 'all', will match middle of the word as well\n=> 'a' will match 'apple' and 'pear'", "default": "'all'", @@ -3306,6 +3336,9 @@ "kind": "field", "name": "_comboboxNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -3315,6 +3348,9 @@ "kind": "field", "name": "_selectionDisplayNode", "privacy": "public", + "type": { + "text": "SelectionDisplay | null" + }, "inheritedFrom": { "name": "LionCombobox", "module": "./src/LionCombobox.js" @@ -3391,13 +3427,13 @@ { "name": "name", "type": { - "type": "'disabled'|'modelValue'|'readOnly'" + "text": "'disabled'|'modelValue'|'readOnly'" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ], @@ -3414,7 +3450,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -3431,7 +3467,7 @@ { "name": "options", "type": { - "type": "{ currentValue: string, lastKey:string }" + "text": "{ currentValue: string, lastKey:string }" } } ], @@ -3448,7 +3484,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ], @@ -3465,7 +3501,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -3482,7 +3518,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ], @@ -3499,7 +3535,7 @@ { "name": "v", "type": { - "type": "string" + "text": "string" } } ], @@ -3525,7 +3561,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -3542,13 +3578,13 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "matchingString", "type": { - "type": "string" + "text": "string" } } ], @@ -3565,20 +3601,20 @@ { "name": "option", "type": { - "type": "LionOption & {__originalInnerHTML?:string}" + "text": "LionOption & {__originalInnerHTML?:string}" } }, { "name": "curValue", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "prevValue", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -3597,7 +3633,7 @@ { "name": "config", "type": { - "type": "{ prevValue:string, curValue:string }" + "text": "{ prevValue:string, curValue:string }" } } ], @@ -3694,7 +3730,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -3711,13 +3747,13 @@ { "name": "modelValue", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "oldModelValue", "type": { - "type": "string[]" + "text": "string[]" }, "default": "[]" } @@ -3780,7 +3816,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "optional": true } @@ -3951,4 +3987,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 184ff9506..6122c9667 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -62,4 +62,4 @@ "./lion-combobox": "./lion-combobox.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/core/custom-elements.json b/packages/core/custom-elements.json index 409602a74..248cfccf4 100644 --- a/packages/core/custom-elements.json +++ b/packages/core/custom-elements.json @@ -1,7 +1,19 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ + { + "kind": "javascript-module", + "path": "./closestPolyfill.js", + "declarations": [], + "exports": [] + }, + { + "kind": "javascript-module", + "path": "./differentKeyEventNamesShimIE.js", + "declarations": [], + "exports": [] + }, { "kind": "javascript-module", "path": "./index.d.ts", @@ -1003,7 +1015,7 @@ "name": "delegations", "privacy": "public", "type": { - "type": "Delegations" + "text": "Delegations" } }, { @@ -1012,7 +1024,7 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1022,7 +1034,7 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1032,7 +1044,7 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1042,7 +1054,7 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1052,7 +1064,7 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1062,7 +1074,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1072,14 +1084,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "import('lit-element').PropertyValues" + "text": "import('lit-element').PropertyValues" } } ] @@ -1111,7 +1123,7 @@ "name": "disabled", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -1121,7 +1133,7 @@ "description": "Makes request to make the element disabled", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1132,7 +1144,7 @@ "description": "Retract request to make the element disabled and restore disabled to previous", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1142,14 +1154,14 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "value", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -1159,7 +1171,7 @@ "name": "_requestedToBeDisabled", "privacy": "protected", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -1169,14 +1181,14 @@ "name": "DisabledMixinImplementation", "return": { "type": { - "type": "T & Constructor & typeof DisabledHost" + "text": "T & Constructor & typeof DisabledHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -1214,7 +1226,7 @@ "name": "tabIndex", "privacy": "public", "type": { - "type": "number" + "text": "number" } }, { @@ -1224,7 +1236,7 @@ "description": "Makes request to make the element disabled and set the tabindex", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1235,7 +1247,7 @@ "description": "Retract request to make the element disabled and restore disabled and tabindex to previous", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1245,14 +1257,14 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "value", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -1263,14 +1275,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "import('lit-element').PropertyValues" + "text": "import('lit-element').PropertyValues" } } ] @@ -1282,14 +1294,14 @@ "name": "DisabledWithTabIndexMixinImplementation", "return": { "type": { - "type": "T & Constructor & Constructor" + "text": "T & Constructor & Constructor" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -1327,7 +1339,7 @@ "name": "slots", "privacy": "public", "type": { - "type": "SlotsMap" + "text": "SlotsMap" } }, { @@ -1337,7 +1349,7 @@ "description": "Starts the creation of slots", "return": { "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.", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "slotName", "type": { - "type": "string" + "text": "string" }, "description": "Name of the slot" } @@ -1367,7 +1379,7 @@ "privacy": "public", "return": { "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.", "return": { "type": { - "type": "T & Constructor & typeof SlotHost" + "text": "T & Constructor & typeof SlotHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -1425,14 +1437,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "updateStyles", "type": { - "type": "StylesMap" + "text": "StylesMap" } } ] @@ -1482,4 +1494,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index 4b014f7f7..af7f8dc3e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -54,4 +54,4 @@ "./differentKeyEventNamesShimIE": "./src/differentKeyEventNamesShimIE.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/dialog/custom-elements.json b/packages/dialog/custom-elements.json index 295f8bdef..86e495e83 100644 --- a/packages/dialog/custom-elements.json +++ b/packages/dialog/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -82,7 +82,7 @@ { "name": "close-overlay", "type": { - "type": "Event" + "text": "Event" } } ], @@ -160,4 +160,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/dialog/package.json b/packages/dialog/package.json index 95f2680d2..1e596f2c6 100644 --- a/packages/dialog/package.json +++ b/packages/dialog/package.json @@ -51,4 +51,4 @@ "./lion-dialog": "./lion-dialog.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/fieldset/custom-elements.json b/packages/fieldset/custom-elements.json index 3e3236b82..a07dc0450 100644 --- a/packages/fieldset/custom-elements.json +++ b/packages/fieldset/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -78,4 +78,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/fieldset/package.json b/packages/fieldset/package.json index 327093224..d586911bd 100644 --- a/packages/fieldset/package.json +++ b/packages/fieldset/package.json @@ -51,4 +51,4 @@ "./lion-fieldset": "./lion-fieldset.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/form-core/custom-elements.json b/packages/form-core/custom-elements.json index 5e5ed7d62..e5adf98f9 100644 --- a/packages/form-core/custom-elements.json +++ b/packages/form-core/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -373,29 +373,38 @@ { "kind": "mixin", "name": "FocusMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "events": [ { "name": "focus", "type": { - "type": "Event" + "text": "Event" } }, { "name": "blur", "type": { - "type": "Event" + "text": "Event" } }, { "name": "focusin", "type": { - "type": "Event" + "text": "Event" } }, { "name": "focusout", "type": { - "type": "Event" + "text": "Event" } } ], @@ -405,10 +414,6 @@ "module": "/src/FormControlMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/FocusMixin.js" - }, "attributes": [ { "name": "focused", @@ -463,10 +468,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "FocusMixin" } ], "exports": [ @@ -487,17 +488,26 @@ { "kind": "mixin", "name": "FormControlMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "events": [ { "name": "form-element-name-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -508,17 +518,13 @@ }, { "name": "DisabledMixin", - "package": "@lion/core/src/DisabledMixin.js" + "package": "@lion/core" }, { "name": "SlotMixin", "package": "@lion/core" } ], - "superclass": { - "name": "superclass", - "module": "./src/FormControlMixin.js" - }, "attributes": [ { "name": "name", @@ -543,7 +549,7 @@ "name": "name", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined" }, @@ -572,7 +578,7 @@ "name": "_ariaLabelledNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]" }, @@ -581,7 +587,7 @@ "name": "_ariaDescribedNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]" }, @@ -590,7 +596,7 @@ "name": "_repropagationRole", "privacy": "public", "type": { - "type": "'child'|'choice-group'|'fieldset'" + "text": "'child'|'choice-group'|'fieldset'" }, "default": "'child'" }, @@ -648,7 +654,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -677,7 +683,7 @@ { "name": "additionalSlots", "type": { - "type": "string[]" + "text": "string[]" }, "default": "['prefix', 'suffix', 'before', 'after']" } @@ -692,19 +698,19 @@ { "name": "attrName", "type": { - "type": "string" + "text": "string" } }, { "name": "nodes", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { "name": "reorder", "type": { - "type": "boolean|undefined" + "text": "boolean|undefined" } } ] @@ -721,7 +727,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -731,7 +737,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -741,7 +747,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -751,7 +757,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -761,7 +767,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -771,7 +777,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -781,7 +787,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } } }, @@ -791,7 +797,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -801,7 +807,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } } }, @@ -811,7 +817,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -821,7 +827,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -831,14 +837,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "?" + "text": "?" }, "default": "this.modelValue" } @@ -850,7 +856,7 @@ "privacy": "public", "return": { "type": { - "type": "Array." + "text": "Array." } } }, @@ -863,13 +869,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -884,13 +890,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -902,14 +908,14 @@ "privacy": "public", "return": { "type": { - "type": "HTMLElement | undefined" + "text": "HTMLElement | undefined" } }, "parameters": [ { "name": "slotName", "type": { - "type": "string" + "text": "string" } } ] @@ -927,7 +933,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -940,7 +946,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -954,7 +960,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ] @@ -965,10 +971,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "FormControlMixin" } ], "exports": [ @@ -989,17 +991,26 @@ { "kind": "mixin", "name": "FormatMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "events": [ { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "user-input-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -1013,10 +1024,6 @@ "module": "/src/FormControlMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/FormatMixin.js" - }, "members": [ { "kind": "field", @@ -1048,13 +1055,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldVal", "type": { - "type": "any" + "text": "any" } } ] @@ -1071,21 +1078,21 @@ "description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object", "return": { "type": { - "type": "*" + "text": "*" } }, "parameters": [ { "name": "v", "type": { - "type": "string" + "text": "string" }, "description": "formattedValue: the formatted value inside " }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ] @@ -1097,21 +1104,21 @@ "description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "*" + "text": "*" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ] @@ -1123,14 +1130,14 @@ "description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -1143,14 +1150,14 @@ "description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -1165,7 +1172,7 @@ { "name": "config", "type": { - "type": "{source:'model'|'serialized'|'formatted'|null}" + "text": "{source:'model'|'serialized'|'formatted'|null}" }, "description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'." } @@ -1177,14 +1184,14 @@ "privacy": "public", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "value", "type": { - "type": "string|undefined" + "text": "string|undefined" }, "default": "this.formattedValue" } @@ -1196,7 +1203,7 @@ "privacy": "public", "return": { "type": { - "type": "string|undefined" + "text": "string|undefined" } } }, @@ -1209,7 +1216,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" } } ] @@ -1222,7 +1229,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" }, "description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed." } @@ -1246,7 +1253,7 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } } }, @@ -1271,10 +1278,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "FormatMixin" } ], "exports": [ @@ -1295,17 +1298,26 @@ { "kind": "mixin", "name": "InteractionStateMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "events": [ { "name": "touched-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "dirty-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -1315,10 +1327,6 @@ "module": "/src/FormControlMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/InteractionStateMixin.js" - }, "attributes": [ { "name": "touched", @@ -1371,13 +1379,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldVal", "type": { - "type": "*" + "text": "*" } } ] @@ -1434,10 +1442,6 @@ "description": "Show the validity feedback when one of the following conditions is met:\n\n- submitted\nIf the form is submitted, always show the error message.\n\n- prefilled\nthe user already filled in something, or the value is prefilled\nwhen the form is initially rendered.\n\n- touched && dirty\nWhen a user starts typing for the first time in a field with for instance `required`\nvalidation, error message should not be shown until a field becomes `touched`\n(a user leaves(blurs) a field).\nWhen a user enters a field without altering the value(making it `dirty`),\nan error message shouldn't be shown either." } ] - }, - { - "kind": "variable", - "name": "InteractionStateMixin" } ], "exports": [ @@ -1462,13 +1466,13 @@ { "name": "user-input-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "form-element-name-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "FormControlMixin", @@ -1478,7 +1482,7 @@ { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "FormControlMixin", @@ -1488,7 +1492,7 @@ { "name": "touched-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "InteractionStateMixin", @@ -1498,7 +1502,7 @@ { "name": "dirty-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "InteractionStateMixin", @@ -1508,7 +1512,7 @@ { "name": "focus", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -1518,7 +1522,7 @@ { "name": "blur", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -1528,7 +1532,7 @@ { "name": "focusin", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -1538,7 +1542,7 @@ { "name": "focusout", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -1656,7 +1660,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined" }, @@ -1691,7 +1695,7 @@ "name": "name", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined", "inheritedFrom": { @@ -1740,7 +1744,7 @@ "name": "_ariaLabelledNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]", "inheritedFrom": { @@ -1753,7 +1757,7 @@ "name": "_ariaDescribedNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]", "inheritedFrom": { @@ -1766,7 +1770,7 @@ "name": "_repropagationRole", "privacy": "public", "type": { - "type": "'child'|'choice-group'|'fieldset'" + "text": "'child'|'choice-group'|'fieldset'" }, "default": "'child'", "inheritedFrom": { @@ -1864,7 +1868,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -1909,7 +1913,7 @@ { "name": "additionalSlots", "type": { - "type": "string[]" + "text": "string[]" }, "default": "['prefix', 'suffix', 'before', 'after']" } @@ -1928,19 +1932,19 @@ { "name": "attrName", "type": { - "type": "string" + "text": "string" } }, { "name": "nodes", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { "name": "reorder", "type": { - "type": "boolean|undefined" + "text": "boolean|undefined" } } ], @@ -1965,7 +1969,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -1979,7 +1983,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -1993,7 +1997,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2007,7 +2011,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2021,7 +2025,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2035,7 +2039,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2049,7 +2053,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } }, "inheritedFrom": { @@ -2063,7 +2067,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2077,7 +2081,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } }, "inheritedFrom": { @@ -2091,7 +2095,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2105,7 +2109,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -2119,14 +2123,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "?" + "text": "?" }, "default": "this.modelValue" } @@ -2142,7 +2146,7 @@ "privacy": "public", "return": { "type": { - "type": "Array." + "text": "Array." } }, "inheritedFrom": { @@ -2159,13 +2163,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -2184,13 +2188,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -2206,14 +2210,14 @@ "privacy": "public", "return": { "type": { - "type": "HTMLElement | undefined" + "text": "HTMLElement | undefined" } }, "parameters": [ { "name": "slotName", "type": { - "type": "string" + "text": "string" } } ], @@ -2239,7 +2243,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -2256,7 +2260,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -2274,7 +2278,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -2349,13 +2353,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldVal", "type": { - "type": "*" + "text": "*" } } ], @@ -2531,21 +2535,21 @@ "description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object", "return": { "type": { - "type": "*" + "text": "*" } }, "parameters": [ { "name": "v", "type": { - "type": "string" + "text": "string" }, "description": "formattedValue: the formatted value inside " }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ], @@ -2561,21 +2565,21 @@ "description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "*" + "text": "*" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ], @@ -2591,14 +2595,14 @@ "description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -2615,14 +2619,14 @@ "description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -2641,7 +2645,7 @@ { "name": "config", "type": { - "type": "{source:'model'|'serialized'|'formatted'|null}" + "text": "{source:'model'|'serialized'|'formatted'|null}" }, "description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'." } @@ -2657,14 +2661,14 @@ "privacy": "public", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "value", "type": { - "type": "string|undefined" + "text": "string|undefined" }, "default": "this.formattedValue" } @@ -2680,7 +2684,7 @@ "privacy": "public", "return": { "type": { - "type": "string|undefined" + "text": "string|undefined" } }, "inheritedFrom": { @@ -2697,7 +2701,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" } } ], @@ -2714,7 +2718,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" }, "description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed." } @@ -2750,7 +2754,7 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "inheritedFrom": { @@ -2798,20 +2802,31 @@ { "kind": "mixin", "name": "NativeTextFieldMixin", - "superclass": { - "name": "superclass", - "module": "./src/NativeTextFieldMixin.js" - }, + "parameters": [ + { + "name": "superclass}", + "type": { + "text": "NativeTextField>" + }, + "description": "superclass" + } + ], "members": [ { "kind": "field", "name": "selectionStart", - "privacy": "public" + "privacy": "public", + "type": { + "text": "number" + } }, { "kind": "field", "name": "selectionEnd", - "privacy": "public" + "privacy": "public", + "type": { + "text": "number" + } }, { "kind": "field", @@ -2827,17 +2842,13 @@ { "name": "newValue", "type": { - "type": "string" + "text": "string" }, "description": "The value that should be saved." } ] } ] - }, - { - "kind": "variable", - "name": "NativeTextFieldMixin" } ], "exports": [ @@ -2896,7 +2907,7 @@ "privacy": "public", "return": { "type": { - "type": "Promise | boolean" + "text": "Promise | boolean" } } } @@ -2922,7 +2933,7 @@ "privacy": "public", "return": { "type": { - "type": "Promise" + "text": "Promise" } } }, @@ -2958,7 +2969,7 @@ "privacy": "public", "return": { "type": { - "type": "Promise" + "text": "Promise" } } }, @@ -3023,7 +3034,7 @@ "name": "focused", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -3032,7 +3043,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3042,7 +3053,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3052,7 +3063,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3062,7 +3073,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3072,7 +3083,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3082,7 +3093,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3092,7 +3103,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3102,7 +3113,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } } @@ -3113,14 +3124,14 @@ "name": "FocusImplementation", "return": { "type": { - "type": "T & Constructor & FocusHost & Constructor & typeof FormControlHost" + "text": "T & Constructor & FocusHost & Constructor & typeof FormControlHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -3158,7 +3169,7 @@ "name": "readOnly", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -3166,7 +3177,7 @@ "name": "name", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3174,7 +3185,7 @@ "name": "modelValue", "privacy": "public", "type": { - "type": "unknown" + "text": "unknown" } }, { @@ -3182,7 +3193,7 @@ "name": "label", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3190,7 +3201,7 @@ "name": "__label", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" } }, { @@ -3198,7 +3209,7 @@ "name": "helpText", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3206,7 +3217,7 @@ "name": "__helpText", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" } }, { @@ -3219,7 +3230,7 @@ "name": "__fieldName", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" } }, { @@ -3227,7 +3238,7 @@ "name": "slots", "privacy": "public", "type": { - "type": "SlotsMap" + "text": "SlotsMap" } }, { @@ -3235,7 +3246,7 @@ "name": "_inputNode", "privacy": "public", "type": { - "type": "HTMLElementWithValue" + "text": "HTMLElementWithValue" } }, { @@ -3243,7 +3254,7 @@ "name": "_labelNode", "privacy": "public", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { @@ -3251,7 +3262,7 @@ "name": "_helpTextNode", "privacy": "public", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { @@ -3259,7 +3270,7 @@ "name": "_feedbackNode", "privacy": "public", "type": { - "type": "LionValidationFeedback | undefined" + "text": "LionValidationFeedback | undefined" } }, { @@ -3267,7 +3278,7 @@ "name": "_inputId", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3275,7 +3286,7 @@ "name": "_ariaLabelledNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { @@ -3283,7 +3294,7 @@ "name": "_ariaDescribedNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { @@ -3291,7 +3302,7 @@ "name": "_repropagationRole", "privacy": "public", "type": { - "type": "'child' | 'choice-group' | 'fieldset'" + "text": "'child' | 'choice-group' | 'fieldset'" } }, { @@ -3299,7 +3310,7 @@ "name": "_isRepropagationEndpoint", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -3308,7 +3319,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3318,14 +3329,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "import('@lion/core').PropertyValues" + "text": "import('@lion/core').PropertyValues" } } ] @@ -3336,7 +3347,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3346,7 +3357,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3356,7 +3367,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3366,7 +3377,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3376,7 +3387,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3386,7 +3397,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3396,7 +3407,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3406,7 +3417,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | typeof nothing" + "text": "TemplateResult | typeof nothing" } } }, @@ -3416,7 +3427,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3426,7 +3437,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | typeof nothing" + "text": "TemplateResult | typeof nothing" } } }, @@ -3436,7 +3447,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3446,7 +3457,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -3456,7 +3467,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3466,7 +3477,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3476,7 +3487,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3486,14 +3497,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "additionalSlots", "type": { - "type": "string[]" + "text": "string[]" } } ] @@ -3504,26 +3515,26 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "attrName", "type": { - "type": "string" + "text": "string" } }, { "name": "nodes", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { "name": "reorder", "type": { - "type": "boolean | undefined" + "text": "boolean | undefined" } } ] @@ -3534,14 +3545,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -3552,7 +3563,7 @@ "privacy": "public", "return": { "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } } }, @@ -3562,20 +3573,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }" + "text": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }" } } ] @@ -3585,7 +3596,7 @@ "name": "__reorderAriaLabelledNodes", "privacy": "public", "type": { - "type": "boolean | undefined" + "text": "boolean | undefined" } }, { @@ -3594,20 +3605,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }" + "text": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }" } } ] @@ -3617,7 +3628,7 @@ "name": "__reorderAriaDescribedNodes", "privacy": "public", "type": { - "type": "boolean | undefined" + "text": "boolean | undefined" } }, { @@ -3626,14 +3637,14 @@ "privacy": "public", "return": { "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, "parameters": [ { "name": "slotName", "type": { - "type": "string" + "text": "string" } } ] @@ -3644,7 +3655,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3653,7 +3664,7 @@ "name": "__repropagateChildrenInitialized", "privacy": "public", "type": { - "type": "boolean | undefined" + "text": "boolean | undefined" } }, { @@ -3662,14 +3673,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -3680,14 +3691,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -3699,14 +3710,14 @@ "name": "FormControlImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof FormRegisteringHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost" + "text": "T &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof FormRegisteringHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -3744,7 +3755,7 @@ "name": "formattedValue", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3752,7 +3763,7 @@ "name": "serializedValue", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3760,7 +3771,7 @@ "name": "formatOn", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3768,7 +3779,7 @@ "name": "formatOptions", "privacy": "public", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" } }, { @@ -3776,7 +3787,7 @@ "name": "__preventRecursiveTrigger", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -3784,7 +3795,7 @@ "name": "__isHandlingUserInput", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -3793,20 +3804,20 @@ "privacy": "public", "return": { "type": { - "type": "unknown" + "text": "unknown" } }, "parameters": [ { "name": "v", "type": { - "type": "string" + "text": "string" } }, { "name": "opts", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" } } ] @@ -3817,20 +3828,20 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "unknown" + "text": "unknown" } }, { "name": "opts", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" } } ] @@ -3841,14 +3852,14 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -3859,14 +3870,14 @@ "privacy": "public", "return": { "type": { - "type": "unknown" + "text": "unknown" } }, "parameters": [ { "name": "v", "type": { - "type": "string" + "text": "string" } } ] @@ -3876,7 +3887,7 @@ "name": "value", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -3885,14 +3896,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "opts", "type": { - "type": "{ source: 'model' | 'serialized' | 'formatted' | null }" + "text": "{ source: 'model' | 'serialized' | 'formatted' | null }" } } ] @@ -3903,14 +3914,14 @@ "privacy": "public", "return": { "type": { - "type": "object" + "text": "object" } }, "parameters": [ { "name": "value", "type": { - "type": "string | undefined" + "text": "string | undefined" } } ] @@ -3921,7 +3932,7 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } } }, @@ -3931,14 +3942,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "arg", "type": { - "type": "{ modelValue: unknown }" + "text": "{ modelValue: unknown }" } } ] @@ -3949,7 +3960,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3959,7 +3970,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3969,7 +3980,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3979,7 +3990,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -3989,7 +4000,7 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } } }, @@ -3999,7 +4010,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4009,7 +4020,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4019,7 +4030,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4029,7 +4040,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } } @@ -4040,14 +4051,14 @@ "name": "FormatImplementation", "return": { "type": { - "type": "T &\n Constructor &\n FormatHost &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof FormControlHost" + "text": "T &\n Constructor &\n FormatHost &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof FormControlHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -4085,7 +4096,7 @@ "name": "prefilled", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -4093,7 +4104,7 @@ "name": "filled", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -4101,7 +4112,7 @@ "name": "touched", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -4109,7 +4120,7 @@ "name": "dirty", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -4117,7 +4128,7 @@ "name": "submitted", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -4125,7 +4136,7 @@ "name": "_leaveEvent", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -4133,7 +4144,7 @@ "name": "_valueChangedEvent", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -4142,7 +4153,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4152,7 +4163,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4162,7 +4173,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4172,7 +4183,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4182,7 +4193,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4192,7 +4203,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4202,7 +4213,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -4212,7 +4223,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } } @@ -4223,14 +4234,14 @@ "name": "InteractionStateImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof InteractionStateHost &\n Constructor &\n typeof FormControlHost" + "text": "T &\n Constructor &\n typeof InteractionStateHost &\n Constructor &\n typeof FormControlHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -4272,7 +4283,7 @@ "name": "_inputNode", "privacy": "public", "type": { - "type": "HTMLTextAreaElement | HTMLInputElement" + "text": "HTMLTextAreaElement | HTMLInputElement" } }, { @@ -4280,7 +4291,7 @@ "name": "name", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined", "inheritedFrom": { @@ -4329,7 +4340,7 @@ "name": "_ariaLabelledNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]", "inheritedFrom": { @@ -4342,7 +4353,7 @@ "name": "_ariaDescribedNodes", "privacy": "public", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "default": "[]", "inheritedFrom": { @@ -4355,7 +4366,7 @@ "name": "_repropagationRole", "privacy": "public", "type": { - "type": "'child'|'choice-group'|'fieldset'" + "text": "'child'|'choice-group'|'fieldset'" }, "default": "'child'", "inheritedFrom": { @@ -4444,7 +4455,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -4489,7 +4500,7 @@ { "name": "additionalSlots", "type": { - "type": "string[]" + "text": "string[]" }, "default": "['prefix', 'suffix', 'before', 'after']" } @@ -4508,19 +4519,19 @@ { "name": "attrName", "type": { - "type": "string" + "text": "string" } }, { "name": "nodes", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, { "name": "reorder", "type": { - "type": "boolean|undefined" + "text": "boolean|undefined" } } ], @@ -4545,7 +4556,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4559,7 +4570,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4573,7 +4584,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4587,7 +4598,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4601,7 +4612,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4615,7 +4626,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4629,7 +4640,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } }, "inheritedFrom": { @@ -4643,7 +4654,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4657,7 +4668,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } }, "inheritedFrom": { @@ -4671,7 +4682,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4685,7 +4696,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "inheritedFrom": { @@ -4699,14 +4710,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "?" + "text": "?" }, "default": "this.modelValue" } @@ -4722,7 +4733,7 @@ "privacy": "public", "return": { "type": { - "type": "Array." + "text": "Array." } }, "inheritedFrom": { @@ -4739,13 +4750,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -4764,13 +4775,13 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "customConfig", "type": { - "type": "{idPrefix?:string; reorder?: boolean}" + "text": "{idPrefix?:string; reorder?: boolean}" }, "default": "{}" } @@ -4786,14 +4797,14 @@ "privacy": "public", "return": { "type": { - "type": "HTMLElement | undefined" + "text": "HTMLElement | undefined" } }, "parameters": [ { "name": "slotName", "type": { - "type": "string" + "text": "string" } } ], @@ -4819,7 +4830,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -4836,7 +4847,7 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -4854,7 +4865,7 @@ { "name": "target", "type": { - "type": "EventTarget & ChoiceInputHost" + "text": "EventTarget & ChoiceInputHost" } } ], @@ -4929,13 +4940,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldVal", "type": { - "type": "*" + "text": "*" } } ], @@ -5130,21 +5141,21 @@ "description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object", "return": { "type": { - "type": "*" + "text": "*" } }, "parameters": [ { "name": "v", "type": { - "type": "string" + "text": "string" }, "description": "formattedValue: the formatted value inside " }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ], @@ -5160,21 +5171,21 @@ "description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "*" + "text": "*" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" }, { "name": "opts", "type": { - "type": "FormatOptions" + "text": "FormatOptions" } } ], @@ -5190,14 +5201,14 @@ "description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -5214,14 +5225,14 @@ "description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "v", "type": { - "type": "?" + "text": "?" }, "description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)" } @@ -5240,7 +5251,7 @@ { "name": "config", "type": { - "type": "{source:'model'|'serialized'|'formatted'|null}" + "text": "{source:'model'|'serialized'|'formatted'|null}" }, "description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'." } @@ -5256,14 +5267,14 @@ "privacy": "public", "return": { "type": { - "type": "?" + "text": "?" } }, "parameters": [ { "name": "value", "type": { - "type": "string|undefined" + "text": "string|undefined" }, "default": "this.formattedValue" } @@ -5279,7 +5290,7 @@ "privacy": "public", "return": { "type": { - "type": "string|undefined" + "text": "string|undefined" } }, "inheritedFrom": { @@ -5296,7 +5307,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" } } ], @@ -5313,7 +5324,7 @@ { "name": "args", "type": { - "type": "{ modelValue: unknown; }[]" + "text": "{ modelValue: unknown; }[]" }, "description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed." } @@ -5349,7 +5360,7 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "inheritedFrom": { @@ -5380,7 +5391,7 @@ "name": "autocomplete", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined", "inheritedFrom": { @@ -5503,7 +5514,7 @@ { "name": "form-element-name-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "FormControlMixin", @@ -5513,7 +5524,7 @@ { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "FormControlMixin", @@ -5523,7 +5534,7 @@ { "name": "touched-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "InteractionStateMixin", @@ -5533,7 +5544,7 @@ { "name": "dirty-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "InteractionStateMixin", @@ -5543,7 +5554,7 @@ { "name": "focus", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -5553,7 +5564,7 @@ { "name": "blur", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -5563,7 +5574,7 @@ { "name": "focusin", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -5573,7 +5584,7 @@ { "name": "focusout", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "FocusMixin", @@ -5583,7 +5594,7 @@ { "name": "user-input-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "FormatMixin", @@ -5601,7 +5612,7 @@ "name": "selectionStart", "privacy": "public", "type": { - "type": "number" + "text": "number" } }, { @@ -5609,7 +5620,7 @@ "name": "selectionEnd", "privacy": "public", "type": { - "type": "number" + "text": "number" } } ] @@ -5619,14 +5630,14 @@ "name": "NativeTextFieldImplementation", "return": { "type": { - "type": "T & Constructor & NativeTextFieldHost & typeof NativeTextField" + "text": "T & Constructor & NativeTextFieldHost & typeof NativeTextField" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -5666,6 +5677,15 @@ { "kind": "mixin", "name": "ChoiceGroupMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "mixins": [ { "name": "FormRegistrarMixin", @@ -5676,10 +5696,6 @@ "module": "/src/choice-group/InteractionStateMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/choice-group/ChoiceGroupMixin.js" - }, "attributes": [ { "name": "multiple-choice", @@ -5721,7 +5737,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues" + "text": "PropertyValues" } } ] @@ -5739,13 +5755,13 @@ { "name": "child", "type": { - "type": "FormControl" + "text": "FormControl" } }, { "name": "indexToInsertAt", "type": { - "type": "number" + "text": "number" } } ] @@ -5763,7 +5779,7 @@ { "name": "property", "type": { - "type": "string" + "text": "string" } }, { @@ -5780,7 +5796,7 @@ { "name": "child", "type": { - "type": "FormControl" + "text": "FormControl" } } ] @@ -5798,7 +5814,7 @@ { "name": "ev", "type": { - "type": "CustomEvent & {target:FormControl}" + "text": "CustomEvent & {target:FormControl}" } } ] @@ -5816,13 +5832,13 @@ { "name": "value", "type": { - "type": "string | any[]" + "text": "string | any[]" } }, { "name": "check", "type": { - "type": "Function" + "text": "Function" } } ] @@ -5840,16 +5856,12 @@ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] } ] - }, - { - "kind": "variable", - "name": "ChoiceGroupMixin" } ], "exports": [ @@ -5870,16 +5882,21 @@ { "kind": "mixin", "name": "ChoiceInputMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "mixins": [ { "name": "FormatMixin", "module": "/src/choice-group/FormatMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/choice-group/ChoiceInputMixin.js" - }, "attributes": [ { "name": "checked", @@ -5929,13 +5946,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ] @@ -5948,7 +5965,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -5961,7 +5978,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -6001,7 +6018,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -6014,7 +6031,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -6033,7 +6050,7 @@ { "name": "checked", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -6046,7 +6063,7 @@ { "name": "checked", "type": { - "type": "any" + "text": "any" } } ] @@ -6069,13 +6086,13 @@ { "name": "newV", "type": { - "type": "{ modelValue:unknown }" + "text": "{ modelValue:unknown }" } }, { "name": "old", "type": { - "type": "{ modelValue:unknown }" + "text": "{ modelValue:unknown }" }, "optional": true } @@ -6094,7 +6111,7 @@ { "name": "modelValue", "type": { - "type": "ChoiceInputModelValue " + "text": "ChoiceInputModelValue " } } ] @@ -6116,10 +6133,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "ChoiceInputMixin" } ], "exports": [ @@ -6159,21 +6172,21 @@ { "name": "value", "type": { - "type": "unknown" + "text": "unknown" }, "optional": true }, { "name": "options", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "optional": true }, { "name": "config", "type": { - "type": "{ node: any }" + "text": "{ node: any }" } } ] @@ -6205,6 +6218,15 @@ { "kind": "mixin", "name": "FormGroupMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "mixins": [ { "name": "FormRegistrarMixin", @@ -6220,17 +6242,13 @@ }, { "name": "DisabledMixin", - "package": "@lion/core/src/DisabledMixin.js" + "package": "@lion/core" }, { "name": "SlotMixin", "package": "@lion/core" } ], - "superclass": { - "name": "superclass", - "module": "./src/form-group/FormGroupMixin.js" - }, "attributes": [ { "name": "submitted", @@ -6331,7 +6349,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -6349,7 +6367,7 @@ { "name": "event", "type": { - "type": "Event" + "text": "Event" } } ] @@ -6397,7 +6415,7 @@ { "name": "property", "type": { - "type": "string" + "text": "string" } }, { @@ -6414,13 +6432,13 @@ { "name": "property", "type": { - "type": "string | number" + "text": "string | number" } }, { "name": "value", "type": { - "type": "any" + "text": "any" } } ] @@ -6433,13 +6451,13 @@ { "name": "property", "type": { - "type": "string" + "text": "string" } }, { "name": "values", "type": { - "type": "{ [x: string]: any; }" + "text": "{ [x: string]: any; }" } } ] @@ -6452,7 +6470,7 @@ { "name": "property", "type": { - "type": "string" + "text": "string" } } ] @@ -6465,7 +6483,7 @@ { "name": "state", "type": { - "type": "string" + "text": "string" }, "description": "one of ValidateHost.validationTypes" } @@ -6479,7 +6497,7 @@ { "name": "property", "type": { - "type": "string" + "text": "string" } } ] @@ -6493,7 +6511,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -6511,7 +6529,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -6529,7 +6547,7 @@ { "name": "child", "type": { - "type": "FormControl" + "text": "FormControl" } } ] @@ -6542,13 +6560,13 @@ { "name": "child", "type": { - "type": "FormControl" + "text": "FormControl" } }, { "name": "indexToInsertAt", "type": { - "type": "number" + "text": "number" } } ] @@ -6568,14 +6586,14 @@ { "name": "field", "type": { - "type": "FormControl" + "text": "FormControl" }, "description": "the child: lion-field/lion-input/lion-textarea" }, { "name": "descriptionElements", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "description": "description elements like feedback and help-text" } @@ -6589,16 +6607,12 @@ { "name": "el", "type": { - "type": "FormRegisteringHost" + "text": "FormRegisteringHost" } } ] } ] - }, - { - "kind": "variable", - "name": "FormGroupMixin" } ], "exports": [ @@ -6630,7 +6644,7 @@ "privacy": "public", "return": { "type": { - "type": "string[]" + "text": "string[]" } } } @@ -6708,392 +6722,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "./src/validate/LionValidationFeedback.js", - "declarations": [ - { - "kind": "class", - "name": "LionValidationFeedback", - "superclass": { - "name": "LitElement", - "package": "@lion/core" - }, - "members": [ - { - "kind": "field", - "name": "feedbackData", - "privacy": "public" - }, - { - "kind": "method", - "name": "_messageTemplate", - "privacy": "public", - "parameters": [ - { - "name": "opts", - "type": { - "type": "Object" - } - }, - { - "name": "opts.message", - "type": { - "type": "string | Node | TemplateResult " - }, - "description": "message or feedback node or TemplateResult" - }, - { - "name": "opts.type", - "type": { - "type": "string" - }, - "optional": true - }, - { - "name": "opts.validator", - "type": { - "type": "Validator" - }, - "optional": true - } - ] - } - ], - "tagName": "lion-validation-feedback" - } - ], - "exports": [ - { - "kind": "js", - "name": "LionValidationFeedback", - "declaration": { - "name": "LionValidationFeedback", - "module": "./src/validate/LionValidationFeedback.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "./src/validate/ResultValidator.js", - "declarations": [ - { - "kind": "class", - "name": "ResultValidator", - "superclass": { - "name": "Validator", - "module": "/src/src/validate/Validator.js" - }, - "members": [ - { - "kind": "method", - "name": "executeOnResults", - "privacy": "public", - "return": { - "type": { - "type": "boolean" - } - }, - "parameters": [ - { - "name": "context", - "type": { - "type": "Object" - } - }, - { - "name": "context.regularValidationResult", - "type": { - "type": "Validator[]" - } - }, - { - "name": "context.prevValidationResult", - "type": { - "type": "Validator[] | undefined" - } - }, - { - "name": "context.validators", - "type": { - "type": "Validator[]" - }, - "optional": true - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ResultValidator", - "declaration": { - "name": "ResultValidator", - "module": "./src/validate/ResultValidator.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "./src/validate/Unparseable.js", - "declarations": [ - { - "kind": "class", - "name": "Unparseable", - "members": [ - { - "kind": "method", - "name": "toString", - "privacy": "public" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "Unparseable", - "declaration": { - "name": "Unparseable", - "module": "./src/validate/Unparseable.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "./src/validate/ValidateMixin.js", - "declarations": [ - { - "kind": "variable", - "name": "ValidateMixinImplementation", - "description": "", - "type": { - "type": "LitElement>" - } - }, - { - "kind": "variable", - "name": "ValidateMixin" - } - ], - "exports": [ - { - "kind": "js", - "name": "ValidateMixinImplementation", - "declaration": { - "name": "ValidateMixinImplementation", - "module": "./src/validate/ValidateMixin.js" - } - }, - { - "kind": "js", - "name": "ValidateMixin", - "declaration": { - "name": "ValidateMixin", - "module": "./src/validate/ValidateMixin.js" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "./src/validate/Validator.js", - "declarations": [ - { - "kind": "class", - "name": "Validator", - "members": [ - { - "name": "MessageData.modelValue", - "type": { - "type": "*" - }, - "description": "" - }, - { - "name": "MessageData.fieldName", - "type": { - "type": "string" - }, - "description": "" - }, - { - "name": "MessageData.formControl", - "type": { - "type": "HTMLElement" - }, - "description": "" - }, - { - "name": "MessageData.type", - "type": { - "type": "string" - }, - "description": "" - }, - { - "name": "MessageData.config", - "type": { - "type": "Object." - }, - "description": "" - }, - { - "name": "MessageData.name", - "type": { - "type": "string" - }, - "description": "" - }, - { - "kind": "field", - "name": "validatorName", - "static": true, - "privacy": "public" - }, - { - "kind": "field", - "name": "async", - "static": true, - "privacy": "public" - }, - { - "kind": "method", - "name": "execute", - "privacy": "public", - "return": { - "type": { - "type": "Boolean|Promise" - } - }, - "parameters": [ - { - "name": "modelValue", - "type": { - "type": "?" - }, - "optional": true - }, - { - "name": "param", - "type": { - "type": "?" - }, - "optional": true - }, - { - "name": "config", - "type": { - "type": "{}" - }, - "optional": true - } - ] - }, - { - "kind": "field", - "name": "param", - "privacy": "public" - }, - { - "kind": "field", - "name": "config", - "privacy": "public" - }, - { - "kind": "method", - "name": "_getMessage", - "privacy": "public", - "return": { - "type": { - "type": "Promise" - } - }, - "parameters": [ - { - "name": "data", - "type": { - "type": "MessageData" - }, - "optional": true - } - ] - }, - { - "kind": "method", - "name": "getMessage", - "privacy": "public", - "static": true, - "return": { - "type": { - "type": "Promise" - } - }, - "parameters": [ - { - "name": "data", - "type": { - "type": "MessageData" - }, - "optional": true - } - ] - }, - { - "kind": "method", - "name": "onFormControlConnect", - "privacy": "public", - "parameters": [ - { - "name": "formControl", - "type": { - "type": "HTMLElement" - } - } - ] - }, - { - "kind": "method", - "name": "onFormControlDisconnect", - "privacy": "public", - "parameters": [ - { - "name": "formControl", - "type": { - "type": "HTMLElement" - } - } - ] - }, - { - "kind": "method", - "name": "abortExecution", - "privacy": "public" - }, - { - "kind": "method", - "name": "__fakeExtendsEventTarget", - "privacy": "public" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "Validator", - "declaration": { - "name": "Validator", - "module": "./src/validate/Validator.js" - } - } - ] - }, { "kind": "javascript-module", "path": "./src/utils/AsyncQueue.js", @@ -7110,7 +6738,7 @@ { "name": "task", "type": { - "type": "function" + "text": "function" } } ] @@ -7163,27 +6791,27 @@ "name": "getAriaElementsInRightDomOrder", "return": { "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, "parameters": [ { "name": "descriptionElements", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" }, "description": "holds references to description or label elements whose\nid should be returned" }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.reverse", "type": { - "type": "boolean" + "text": "boolean" }, "optional": true } @@ -7211,14 +6839,14 @@ "description": "Return PascalCased version of the camelCased string", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "str", "type": { - "type": "string" + "text": "string" } } ] @@ -7235,6 +6863,820 @@ } ] }, + { + "kind": "javascript-module", + "path": "./src/validate/LionValidationFeedback.js", + "declarations": [ + { + "kind": "class", + "name": "LionValidationFeedback", + "superclass": { + "name": "LitElement", + "package": "@lion/core" + }, + "members": [ + { + "kind": "field", + "name": "feedbackData", + "privacy": "public" + }, + { + "kind": "method", + "name": "_messageTemplate", + "privacy": "public", + "parameters": [ + { + "name": "opts", + "type": { + "text": "Object" + } + }, + { + "name": "opts.message", + "type": { + "text": "string | Node | TemplateResult " + }, + "description": "message or feedback node or TemplateResult" + }, + { + "name": "opts.type", + "type": { + "text": "string" + }, + "optional": true + }, + { + "name": "opts.validator", + "type": { + "text": "Validator" + }, + "optional": true + } + ] + } + ], + "tagName": "lion-validation-feedback" + } + ], + "exports": [ + { + "kind": "js", + "name": "LionValidationFeedback", + "declaration": { + "name": "LionValidationFeedback", + "module": "./src/validate/LionValidationFeedback.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "./src/validate/ResultValidator.js", + "declarations": [ + { + "kind": "class", + "name": "ResultValidator", + "superclass": { + "name": "Validator", + "module": "/src/src/validate/Validator.js" + }, + "members": [ + { + "kind": "method", + "name": "executeOnResults", + "privacy": "public", + "return": { + "type": { + "text": "boolean" + } + }, + "parameters": [ + { + "name": "context", + "type": { + "text": "Object" + } + }, + { + "name": "context.regularValidationResult", + "type": { + "text": "Validator[]" + } + }, + { + "name": "context.prevValidationResult", + "type": { + "text": "Validator[] | undefined" + } + }, + { + "name": "context.validators", + "type": { + "text": "Validator[]" + }, + "optional": true + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ResultValidator", + "declaration": { + "name": "ResultValidator", + "module": "./src/validate/ResultValidator.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "./src/validate/Unparseable.js", + "declarations": [ + { + "kind": "class", + "name": "Unparseable", + "members": [ + { + "kind": "method", + "name": "toString", + "privacy": "public" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Unparseable", + "declaration": { + "name": "Unparseable", + "module": "./src/validate/Unparseable.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "./src/validate/ValidateMixin.js", + "declarations": [ + { + "kind": "mixin", + "name": "ValidateMixinImplementation", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], + "events": [ + { + "name": "showsFeedbackForChanged", + "type": { + "text": "Event" + } + }, + { + "type": { + "text": "Event" + } + }, + { + "name": "shouldShowFeedbackForChanged", + "type": { + "text": "Event" + } + }, + { + "name": "validate-performed", + "type": { + "text": "Event" + }, + "description": "private event that should be listened to by LionFieldSet" + } + ], + "mixins": [ + { + "name": "FormControlMixin", + "module": "/src/validate/FormControlMixin.js" + }, + { + "name": "SyncUpdatableMixin", + "module": "/src/utils/SyncUpdatableMixin.js" + }, + { + "name": "DisabledMixin", + "package": "@lion/core" + }, + { + "name": "SlotMixin", + "package": "@lion/core" + }, + { + "name": "ScopedElementsMixin", + "package": "@lion/core" + } + ], + "members": [ + { + "kind": "field", + "name": "scopedElements", + "static": true, + "privacy": "public" + }, + { + "kind": "field", + "name": "validators", + "privacy": "public", + "type": { + "text": "Validator[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "hasFeedbackFor", + "privacy": "public", + "type": { + "text": "string[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "shouldShowFeedbackFor", + "privacy": "public", + "type": { + "text": "string[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "showsFeedbackFor", + "privacy": "public", + "type": { + "text": "string[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "validationStates", + "privacy": "public", + "type": { + "text": "Object.>" + }, + "default": "{}" + }, + { + "kind": "field", + "name": "isPending", + "privacy": "public", + "default": "false" + }, + { + "kind": "field", + "name": "defaultValidators", + "privacy": "public", + "type": { + "text": "Validator[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "_visibleMessagesAmount", + "privacy": "public", + "default": "1" + }, + { + "kind": "field", + "name": "validationTypes", + "static": true, + "privacy": "public" + }, + { + "kind": "field", + "name": "slots", + "privacy": "public" + }, + { + "kind": "field", + "name": "_allValidators", + "privacy": "public" + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public" + }, + { + "kind": "method", + "name": "disconnectedCallback", + "privacy": "public" + }, + { + "kind": "method", + "name": "firstUpdated", + "privacy": "public", + "parameters": [ + { + "name": "changedProperties", + "type": { + "text": "PropertyValues" + } + } + ] + }, + { + "kind": "method", + "name": "updateSync", + "privacy": "public", + "parameters": [ + { + "name": "name", + "type": { + "text": "string" + } + }, + { + "name": "oldValue", + "type": { + "text": "?" + } + } + ] + }, + { + "kind": "method", + "name": "validate", + "privacy": "public", + "parameters": [ + { + "name": "opts", + "type": { + "text": "{ clearCurrentResult?: boolean }" + }, + "optional": true + } + ] + }, + { + "kind": "method", + "name": "__storePrevResult", + "privacy": "public" + }, + { + "kind": "method", + "name": "__executeValidators", + "privacy": "public" + }, + { + "kind": "method", + "name": "__executeSyncValidators", + "privacy": "public", + "parameters": [ + { + "name": "syncValidators", + "type": { + "text": "Validator[]" + } + }, + { + "name": "value", + "type": { + "text": "unknown" + } + }, + { + "name": "opts", + "type": { + "text": "{ hasAsync: boolean }" + } + } + ] + }, + { + "kind": "method", + "name": "__executeAsyncValidators", + "privacy": "public", + "parameters": [ + { + "name": "asyncValidators", + "type": { + "text": "Validator[]" + }, + "description": "all Validators except required and ResultValidators" + }, + { + "name": "value", + "type": { + "text": "?" + } + } + ] + }, + { + "kind": "method", + "name": "__executeResultValidators", + "privacy": "public", + "parameters": [ + { + "name": "regularValidationResult", + "type": { + "text": "Validator[]" + }, + "description": "result of steps 1-3" + } + ] + }, + { + "kind": "method", + "name": "__finishValidation", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "object" + } + }, + { + "name": "options.source", + "type": { + "text": "'sync'|'async'" + } + }, + { + "name": "options.hasAsync", + "type": { + "text": "boolean" + }, + "description": "whether async validators are configured in this run.\nIf not, we have nothing left to wait for.", + "optional": true + } + ] + }, + { + "kind": "method", + "name": "__clearValidationResults", + "privacy": "public" + }, + { + "kind": "method", + "name": "__onValidatorUpdated", + "privacy": "public", + "parameters": [ + { + "name": "e", + "type": { + "text": "Event|CustomEvent" + } + } + ] + }, + { + "kind": "method", + "name": "__setupValidators", + "privacy": "public" + }, + { + "kind": "method", + "name": "__isEmpty", + "privacy": "public", + "parameters": [ + { + "name": "v", + "type": { + "text": "?" + } + } + ] + }, + { + "kind": "method", + "name": "__getFeedbackMessages", + "privacy": "public", + "return": { + "type": { + "text": "Promise." + } + }, + "parameters": [ + { + "name": "validators", + "type": { + "text": "Validator[]" + }, + "description": "list of objects having a .getMessage method" + } + ] + }, + { + "kind": "method", + "name": "_updateFeedbackComponent", + "privacy": "public" + }, + { + "kind": "method", + "name": "_showFeedbackConditionFor", + "privacy": "public", + "description": "Show the validity feedback when returning true, don't show when false", + "parameters": [ + { + "name": "type", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "_hasFeedbackVisibleFor", + "privacy": "public", + "parameters": [ + { + "name": "type", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "updated", + "privacy": "public", + "parameters": [ + { + "name": "changedProperties", + "type": { + "text": "PropertyValues" + } + } + ] + }, + { + "kind": "method", + "name": "_updateShouldShowFeedbackFor", + "privacy": "public" + }, + { + "kind": "method", + "name": "_prioritizeAndFilterFeedback", + "privacy": "public", + "return": { + "type": { + "text": "Validator[]" + } + }, + "parameters": [ + { + "name": "opts", + "type": { + "text": "{ validationResult: Validator[] }" + } + } + ] + } + ], + "attributes": [ + { + "name": "shows-feedback-for", + "fieldName": "showsFeedbackFor" + }, + { + "name": "is-pending", + "fieldName": "isPending" + } + ] + }, + { + "kind": "variable", + "name": "ValidateMixin" + } + ], + "exports": [ + { + "kind": "js", + "name": "ValidateMixinImplementation", + "declaration": { + "name": "ValidateMixinImplementation", + "module": "./src/validate/ValidateMixin.js" + } + }, + { + "kind": "js", + "name": "ValidateMixin", + "declaration": { + "name": "ValidateMixin", + "module": "./src/validate/ValidateMixin.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "./src/validate/Validator.js", + "declarations": [ + { + "kind": "class", + "name": "Validator", + "members": [ + { + "name": "MessageData.modelValue", + "type": { + "text": "*" + }, + "description": "" + }, + { + "name": "MessageData.fieldName", + "type": { + "text": "string" + }, + "description": "" + }, + { + "name": "MessageData.formControl", + "type": { + "text": "HTMLElement" + }, + "description": "" + }, + { + "name": "MessageData.type", + "type": { + "text": "string" + }, + "description": "" + }, + { + "name": "MessageData.config", + "type": { + "text": "Object." + }, + "description": "" + }, + { + "name": "MessageData.name", + "type": { + "text": "string" + }, + "description": "" + }, + { + "kind": "field", + "name": "validatorName", + "static": true, + "privacy": "public" + }, + { + "kind": "field", + "name": "async", + "static": true, + "privacy": "public" + }, + { + "kind": "method", + "name": "execute", + "privacy": "public", + "return": { + "type": { + "text": "Boolean|Promise" + } + }, + "parameters": [ + { + "name": "modelValue", + "type": { + "text": "?" + }, + "optional": true + }, + { + "name": "param", + "type": { + "text": "?" + }, + "optional": true + }, + { + "name": "config", + "type": { + "text": "{}" + }, + "optional": true + } + ] + }, + { + "kind": "field", + "name": "param", + "privacy": "public" + }, + { + "kind": "field", + "name": "config", + "privacy": "public" + }, + { + "kind": "method", + "name": "_getMessage", + "privacy": "public", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "data", + "type": { + "text": "MessageData" + }, + "optional": true + } + ] + }, + { + "kind": "method", + "name": "getMessage", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "data", + "type": { + "text": "MessageData" + }, + "optional": true + } + ] + }, + { + "kind": "method", + "name": "onFormControlConnect", + "privacy": "public", + "parameters": [ + { + "name": "formControl", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "onFormControlDisconnect", + "privacy": "public", + "parameters": [ + { + "name": "formControl", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "abortExecution", + "privacy": "public" + }, + { + "kind": "method", + "name": "__fakeExtendsEventTarget", + "privacy": "public" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Validator", + "declaration": { + "name": "Validator", + "module": "./src/validate/Validator.js" + } + } + ] + }, { "kind": "javascript-module", "path": "./types/choice-group/ChoiceGroupMixinTypes.d.ts", @@ -7248,7 +7690,7 @@ "name": "multipleChoice", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -7257,7 +7699,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7267,7 +7709,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7276,7 +7718,7 @@ "name": "modelValue", "privacy": "public", "type": { - "type": "any" + "text": "any" } }, { @@ -7284,7 +7726,7 @@ "name": "serializedValue", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -7292,7 +7734,7 @@ "name": "formattedValue", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -7301,7 +7743,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7311,7 +7753,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7321,20 +7763,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "child", "type": { - "type": "FormControlHost" + "text": "FormControlHost" } }, { "name": "indexToInsertAt", "type": { - "type": "number" + "text": "number" } } ] @@ -7345,7 +7787,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7355,20 +7797,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "property", "type": { - "type": "string" + "text": "string" } }, { "name": "filterCondition", "type": { - "type": "Function" + "text": "Function" } } ] @@ -7379,14 +7821,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "child", "type": { - "type": "FormControlHost" + "text": "FormControlHost" } } ] @@ -7397,7 +7839,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7407,14 +7849,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -7425,7 +7867,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7435,20 +7877,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "value", "type": { - "type": "any" + "text": "any" } }, { "name": "check", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -7459,7 +7901,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7469,14 +7911,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "child", "type": { - "type": "FormControlHost" + "text": "FormControlHost" } } ] @@ -7487,14 +7929,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -7506,14 +7948,14 @@ "name": "ChoiceGroupImplementation", "return": { "type": { - "type": "T &\n Constructor &\n ChoiceGroupHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof InteractionStateHost" + "text": "T &\n Constructor &\n ChoiceGroupHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof InteractionStateHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -7551,7 +7993,7 @@ "name": "modelValue", "privacy": "public", "type": { - "type": "ChoiceInputModelValue" + "text": "ChoiceInputModelValue" } }, { @@ -7559,7 +8001,7 @@ "name": "serializedValue", "privacy": "public", "type": { - "type": "ChoiceInputSerializedValue" + "text": "ChoiceInputSerializedValue" } }, { @@ -7567,7 +8009,7 @@ "name": "checked", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -7575,7 +8017,7 @@ "name": "choiceValue", "privacy": "public", "type": { - "type": "any" + "text": "any" } }, { @@ -7584,20 +8026,20 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ] @@ -7608,14 +8050,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "Map" + "text": "Map" } } ] @@ -7626,14 +8068,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "Map" + "text": "Map" } } ] @@ -7644,7 +8086,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -7654,7 +8096,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -7664,7 +8106,7 @@ "privacy": "public", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -7674,7 +8116,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7684,7 +8126,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7694,14 +8136,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -7712,7 +8154,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7722,14 +8164,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -7740,14 +8182,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "checked", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -7758,14 +8200,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "checked", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -7776,7 +8218,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7785,7 +8227,7 @@ "name": "__isHandlingUserInput", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -7794,7 +8236,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7804,20 +8246,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "newV", "type": { - "type": "{ modelValue: ChoiceInputModelValue }" + "text": "{ modelValue: ChoiceInputModelValue }" } }, { "name": "oldV", "type": { - "type": "{ modelValue: ChoiceInputModelValue }" + "text": "{ modelValue: ChoiceInputModelValue }" } } ] @@ -7828,7 +8270,7 @@ "privacy": "public", "return": { "type": { - "type": "any" + "text": "any" } } }, @@ -7838,14 +8280,14 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "ChoiceInputModelValue" + "text": "ChoiceInputModelValue" } } ] @@ -7856,7 +8298,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7866,7 +8308,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7875,7 +8317,7 @@ "name": "type", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -7883,7 +8325,7 @@ "name": "_inputNode", "privacy": "public", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -7893,14 +8335,14 @@ "name": "ChoiceInputImplementation", "return": { "type": { - "type": "T &\n Constructor &\n ChoiceInputHost &\n Constructor &\n FormatHost &\n HTMLElement" + "text": "T &\n Constructor &\n ChoiceInputHost &\n Constructor &\n FormatHost &\n HTMLElement" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -7940,7 +8382,7 @@ "static": true, "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7949,7 +8391,7 @@ "name": "_inputNode", "privacy": "public", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { @@ -7958,7 +8400,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7968,7 +8410,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -7977,7 +8419,7 @@ "name": "prefilled", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -7985,7 +8427,7 @@ "name": "touched", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -7993,7 +8435,7 @@ "name": "dirty", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -8001,7 +8443,7 @@ "name": "submitted", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -8009,7 +8451,7 @@ "name": "serializedValue", "privacy": "public", "type": { - "type": "{ [key: string]: any }" + "text": "{ [key: string]: any }" } }, { @@ -8017,7 +8459,7 @@ "name": "modelValue", "privacy": "public", "type": { - "type": "{ [x: string]: any }" + "text": "{ [x: string]: any }" } }, { @@ -8025,7 +8467,7 @@ "name": "formattedValue", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -8033,7 +8475,7 @@ "name": "children", "privacy": "public", "type": { - "type": "Array" + "text": "Array" } }, { @@ -8041,7 +8483,7 @@ "name": "_initialModelValue", "privacy": "public", "type": { - "type": "{ [x: string]: any }" + "text": "{ [x: string]: any }" } }, { @@ -8050,20 +8492,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "property", "type": { - "type": "string" + "text": "string" } }, { "name": "value", "type": { - "type": "any" + "text": "any" } } ] @@ -8074,7 +8516,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8084,7 +8526,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } } @@ -8095,14 +8537,14 @@ "name": "FormGroupImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof FormGroupHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost" + "text": "T &\n Constructor &\n typeof FormGroupHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -8141,7 +8583,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8151,7 +8593,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8160,7 +8602,7 @@ "name": "_parentFormGroup", "privacy": "public", "type": { - "type": "FormRegistrarHost" + "text": "FormRegistrarHost" } } ] @@ -8170,14 +8612,14 @@ "name": "FormRegisteringImplementation", "return": { "type": { - "type": "T & Constructor & typeof FormRegisteringHost" + "text": "T & Constructor & typeof FormRegisteringHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -8215,7 +8657,7 @@ "name": "_parentFormGroup", "privacy": "public", "type": { - "type": "FormRegistrarHost" + "text": "FormRegistrarHost" } } ] @@ -8229,7 +8671,7 @@ "name": "_isFormOrFieldset", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -8237,7 +8679,7 @@ "name": "formElements", "privacy": "public", "type": { - "type": "FormControlsCollection & { [x: string]: any }" + "text": "FormControlsCollection & { [x: string]: any }" } }, { @@ -8246,20 +8688,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "child", "type": { - "type": "| (FormControlHost & ElementWithParentFormGroup)\n | (FormControlHost & HTMLElement)\n | (HTMLElement & ElementWithParentFormGroup)" + "text": "| (FormControlHost & ElementWithParentFormGroup)\n | (FormControlHost & HTMLElement)\n | (HTMLElement & ElementWithParentFormGroup)" } }, { "name": "indexToInsertAt", "type": { - "type": "number" + "text": "number" } } ] @@ -8270,14 +8712,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "child", "type": { - "type": "FormRegisteringHost" + "text": "FormRegisteringHost" } } ] @@ -8288,14 +8730,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "e", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -8306,14 +8748,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "el", "type": { - "type": "FormControlHost" + "text": "FormControlHost" } } ] @@ -8323,7 +8765,7 @@ "name": "registrationComplete", "privacy": "public", "type": { - "type": "Promise" + "text": "Promise" } } ] @@ -8333,14 +8775,14 @@ "name": "FormRegistrarImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormRegisteringHost" + "text": "T &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormRegisteringHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -8386,7 +8828,7 @@ "name": "registrationTarget", "privacy": "public", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { @@ -8395,14 +8837,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -8414,14 +8856,14 @@ "name": "FormRegistrarPortalImplementation", "return": { "type": { - "type": "T & Constructor & FormRegistrarPortalHost" + "text": "T & Constructor & FormRegistrarPortalHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -8461,26 +8903,26 @@ "static": true, "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "newValue", "type": { - "type": "any" + "text": "any" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ] @@ -8491,20 +8933,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ] @@ -8515,7 +8957,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8524,7 +8966,7 @@ "name": "__SyncUpdatableNamespace", "privacy": "public", "type": { - "type": "SyncUpdatableNamespace" + "text": "SyncUpdatableNamespace" } }, { @@ -8533,14 +8975,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "PropertyValues" + "text": "PropertyValues" } } ] @@ -8551,7 +8993,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } } @@ -8562,14 +9004,14 @@ "name": "SyncUpdatableImplementation", "return": { "type": { - "type": "T & Constructor & typeof SyncUpdatableHost" + "text": "T & Constructor & typeof SyncUpdatableHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -8607,7 +9049,7 @@ "name": "validators", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8615,7 +9057,7 @@ "name": "hasFeedbackFor", "privacy": "public", "type": { - "type": "string[]" + "text": "string[]" } }, { @@ -8623,7 +9065,7 @@ "name": "shouldShowFeedbackFor", "privacy": "public", "type": { - "type": "string[]" + "text": "string[]" } }, { @@ -8631,7 +9073,7 @@ "name": "showsFeedbackFor", "privacy": "public", "type": { - "type": "string[]" + "text": "string[]" } }, { @@ -8639,7 +9081,7 @@ "name": "validationStates", "privacy": "public", "type": { - "type": "{ [key: string]: { [key: string]: Object } }" + "text": "{ [key: string]: { [key: string]: Object } }" } }, { @@ -8647,7 +9089,7 @@ "name": "isPending", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -8655,7 +9097,7 @@ "name": "defaultValidators", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8663,7 +9105,7 @@ "name": "_visibleMessagesAmount", "privacy": "public", "type": { - "type": "number" + "text": "number" } }, { @@ -8671,7 +9113,7 @@ "name": "fieldName", "privacy": "public", "type": { - "type": "string" + "text": "string" } }, { @@ -8680,7 +9122,7 @@ "static": true, "privacy": "public", "type": { - "type": "string[]" + "text": "string[]" } }, { @@ -8688,7 +9130,7 @@ "name": "slots", "privacy": "public", "type": { - "type": "SlotsMap" + "text": "SlotsMap" } }, { @@ -8696,7 +9138,7 @@ "name": "_feedbackNode", "privacy": "public", "type": { - "type": "LionValidationFeedback" + "text": "LionValidationFeedback" } }, { @@ -8704,7 +9146,7 @@ "name": "_allValidators", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8712,7 +9154,7 @@ "name": "__syncValidationResult", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8720,7 +9162,7 @@ "name": "__asyncValidationResult", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8728,7 +9170,7 @@ "name": "__validationResult", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8736,7 +9178,7 @@ "name": "__prevValidationResult", "privacy": "public", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { @@ -8745,7 +9187,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8755,7 +9197,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8765,14 +9207,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "import('@lion/core').PropertyValues" + "text": "import('@lion/core').PropertyValues" } } ] @@ -8783,20 +9225,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -8807,14 +9249,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "changedProperties", "type": { - "type": "import('@lion/core').PropertyValues" + "text": "import('@lion/core').PropertyValues" } } ] @@ -8825,14 +9267,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "opts", "type": { - "type": "{ clearCurrentResult?: boolean }" + "text": "{ clearCurrentResult?: boolean }" } } ] @@ -8843,7 +9285,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8853,7 +9295,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8862,7 +9304,7 @@ "name": "validateComplete", "privacy": "public", "type": { - "type": "Promise" + "text": "Promise" } }, { @@ -8870,7 +9312,7 @@ "name": "feedbackComplete", "privacy": "public", "type": { - "type": "Promise" + "text": "Promise" } }, { @@ -8879,7 +9321,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8889,26 +9331,26 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "syncValidators", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { "name": "value", "type": { - "type": "unknown" + "text": "unknown" } }, { "name": "opts", "type": { - "type": "{ hasAsync: boolean }" + "text": "{ hasAsync: boolean }" } } ] @@ -8919,20 +9361,20 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "asyncValidators", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { "name": "value", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -8943,14 +9385,14 @@ "privacy": "public", "return": { "type": { - "type": "Validator[]" + "text": "Validator[]" } }, "parameters": [ { "name": "regularValidationResult", "type": { - "type": "Validator[]" + "text": "Validator[]" } } ] @@ -8961,14 +9403,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "options", "type": { - "type": "{ source: 'sync' | 'async'; hasAsync?: boolean }" + "text": "{ source: 'sync' | 'async'; hasAsync?: boolean }" } } ] @@ -8979,7 +9421,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -8989,14 +9431,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "e", "type": { - "type": "Event | CustomEvent" + "text": "Event | CustomEvent" } } ] @@ -9007,7 +9449,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -9017,14 +9459,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "v", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -9035,14 +9477,14 @@ "privacy": "public", "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "validators", "type": { - "type": "Validator[]" + "text": "Validator[]" } } ] @@ -9053,7 +9495,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -9063,14 +9505,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "type", "type": { - "type": "string" + "text": "string" } } ] @@ -9081,14 +9523,14 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "type", "type": { - "type": "string" + "text": "string" } } ] @@ -9099,7 +9541,7 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -9109,14 +9551,14 @@ "privacy": "public", "return": { "type": { - "type": "Validator[]" + "text": "Validator[]" } }, "parameters": [ { "name": "opts", "type": { - "type": "{ validationResult: Validator[] }" + "text": "{ validationResult: Validator[] }" } } ] @@ -9128,14 +9570,14 @@ "name": "ValidateImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof SyncUpdatableHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost &\n Constructor &\n typeof ScopedElementsHost" + "text": "T &\n Constructor &\n typeof ValidateHost &\n Constructor &\n typeof FormControlHost &\n Constructor &\n typeof SyncUpdatableHost &\n Constructor &\n typeof DisabledHost &\n Constructor &\n typeof SlotHost &\n Constructor &\n typeof ScopedElementsHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -9178,26 +9620,26 @@ "privacy": "public", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "context", "type": { - "type": "Object" + "text": "Object" } }, { "name": "context.regularValidationResult", "type": { - "type": "Validator[]" + "text": "Validator[]" } }, { "name": "context.prevValidationResult", "type": { - "type": "Validator[]" + "text": "Validator[]" } } ] @@ -9242,7 +9684,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9271,7 +9713,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9304,7 +9746,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9337,7 +9779,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9366,7 +9808,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9447,7 +9889,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9476,7 +9918,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9509,7 +9951,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9542,7 +9984,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9611,7 +10053,7 @@ { "name": "formControl", "type": { - "type": "FormControlHost & HTMLElement" + "text": "FormControlHost & HTMLElement" } } ] @@ -9624,7 +10066,7 @@ { "name": "formControl", "type": { - "type": "FormControlHost & HTMLElement" + "text": "FormControlHost & HTMLElement" } } ] @@ -9669,7 +10111,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9698,7 +10140,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9731,7 +10173,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9764,7 +10206,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9797,7 +10239,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9826,7 +10268,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } } ] @@ -9855,7 +10297,7 @@ { "name": "value", "type": { - "type": "?" + "text": "?" } }, { @@ -9951,4 +10393,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/form-core/package.json b/packages/form-core/package.json index 25eb6b4ac..cf32affa6 100644 --- a/packages/form-core/package.json +++ b/packages/form-core/package.json @@ -54,4 +54,4 @@ "./lion-validation-feedback": "./lion-validation-feedback.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/form-integrations/custom-elements.json b/packages/form-integrations/custom-elements.json index ff2b023d6..68af5acf3 100644 --- a/packages/form-integrations/custom-elements.json +++ b/packages/form-integrations/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -179,4 +179,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/form-integrations/package.json b/packages/form-integrations/package.json index 0d7d7e5e1..2d919d5cd 100644 --- a/packages/form-integrations/package.json +++ b/packages/form-integrations/package.json @@ -68,4 +68,4 @@ }, "exports": "./index.js", "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/form/custom-elements.json b/packages/form/custom-elements.json index de50b4bec..0216b17d8 100644 --- a/packages/form/custom-elements.json +++ b/packages/form/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -43,13 +43,13 @@ { "name": "submit", "type": { - "type": "Event" + "text": "Event" } }, { "name": "reset", "type": { - "type": "Event" + "text": "Event" } } ], @@ -86,7 +86,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -104,7 +104,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -135,4 +135,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/form/package.json b/packages/form/package.json index 209a68073..23111285d 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -49,4 +49,4 @@ "./lion-form": "./lion-form.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/helpers/custom-elements.json b/packages/helpers/custom-elements.json index 23546878a..d5afbdbaf 100644 --- a/packages/helpers/custom-elements.json +++ b/packages/helpers/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -150,7 +150,7 @@ { "name": "content", "type": { - "type": "string" + "text": "string" }, "description": "Content to be logged to the action logger" } @@ -163,14 +163,14 @@ "description": "Protected getter that returns the template of a single log", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "parameters": [ { "name": "content", "type": { - "type": "string" + "text": "string" } } ] @@ -183,7 +183,7 @@ { "name": "content", "type": { - "type": "string" + "text": "string" } } ] @@ -196,7 +196,7 @@ { "name": "content", "type": { - "type": "string" + "text": "string" } } ] @@ -268,7 +268,7 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -300,7 +300,7 @@ { "name": "orderPerDepth", "type": { - "type": "Array.<[]>" + "text": "Array.<[]>" }, "description": "array of arrays giving the order of each level" } @@ -319,4 +319,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/helpers/package.json b/packages/helpers/package.json index b412e9fb7..d4baa298c 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -50,4 +50,4 @@ "./sb-locale-switcher": "./sb-locale-switcher.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/icon/custom-elements.json b/packages/icon/custom-elements.json index e4f09901e..8f0e6cee8 100644 --- a/packages/icon/custom-elements.json +++ b/packages/icon/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -15,6 +15,14 @@ "module": "./src/LionIcon.js" } }, + { + "kind": "js", + "name": "IconManager", + "declaration": { + "name": "IconManager", + "module": "./src/IconManager.js" + } + }, { "kind": "js", "name": "icons", @@ -65,13 +73,13 @@ { "name": "namespace", "type": { - "type": "string" + "text": "string" } }, { "name": "iconResolver", "type": { - "type": "(iconset: string, icon: string) => TemplateResult | Promise | nothing | Promise " + "text": "(iconset: string, icon: string) => TemplateResult | Promise | nothing | Promise " } } ] @@ -85,7 +93,7 @@ { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -97,26 +105,26 @@ "description": "Resolves icon for the given parameters. Returns the icon as a svg string.", "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "namespace", "type": { - "type": "string" + "text": "string" } }, { "name": "iconset", "type": { - "type": "string" + "text": "string" } }, { "name": "icon", "type": { - "type": "string" + "text": "string" } } ] @@ -128,14 +136,14 @@ "description": "Resolves icon for the given icon id. Returns the icon as a svg string.", "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "iconId", "type": { - "type": "string" + "text": "string" } } ] @@ -202,7 +210,7 @@ { "name": "svgObject", "type": { - "type": "TemplateResult | nothing" + "text": "TemplateResult | nothing" } } ] @@ -220,7 +228,7 @@ { "name": "prevIconId", "type": { - "type": "string" + "text": "string" } } ] @@ -883,4 +891,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/icon/package.json b/packages/icon/package.json index 7741da771..74d786ac3 100644 --- a/packages/icon/package.json +++ b/packages/icon/package.json @@ -51,4 +51,4 @@ "./lion-icon": "./lion-icon.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-amount/custom-elements.json b/packages/input-amount/custom-elements.json index e6979e01a..dde717bd6 100644 --- a/packages/input-amount/custom-elements.json +++ b/packages/input-amount/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -81,7 +81,7 @@ "name": "currency", "privacy": "public", "type": { - "type": "string | undefined" + "text": "string | undefined" }, "default": "undefined" }, @@ -113,7 +113,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -142,13 +142,13 @@ { "name": "opts", "type": { - "type": "Object" + "text": "Object" } }, { "name": "opts.currency", "type": { - "type": "string" + "text": "string" } } ] @@ -190,14 +190,14 @@ { "name": "modelValue", "type": { - "type": "number" + "text": "number" }, "description": "Number to format" }, { "name": "givenOptions", "type": { - "type": "FormatOptions" + "text": "FormatOptions" }, "optional": true } @@ -210,13 +210,13 @@ { "name": "currency", "type": { - "type": "string" + "text": "string" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -253,14 +253,14 @@ { "name": "value", "type": { - "type": "string" + "text": "string" }, "description": "Number to be parsed" }, { "name": "options", "type": { - "type": "object" + "text": "object" }, "description": "Locale Options", "optional": true @@ -280,4 +280,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-amount/package.json b/packages/input-amount/package.json index 7ea9425f3..a4625660f 100644 --- a/packages/input-amount/package.json +++ b/packages/input-amount/package.json @@ -53,4 +53,4 @@ "./lion-input-amount": "./lion-input-amount.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-date/custom-elements.json b/packages/input-date/custom-elements.json index 455eb7c32..83abd6311 100644 --- a/packages/input-date/custom-elements.json +++ b/packages/input-date/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -69,7 +69,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -87,7 +87,7 @@ { "name": "modelValue", "type": { - "type": "Date" + "text": "Date" } } ] @@ -100,7 +100,7 @@ { "name": "serializedValue", "type": { - "type": "string" + "text": "string" } } ] @@ -121,4 +121,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-date/package.json b/packages/input-date/package.json index 436869a74..316ea13b2 100644 --- a/packages/input-date/package.json +++ b/packages/input-date/package.json @@ -53,4 +53,4 @@ "./lion-input-date": "./lion-input-date.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-datepicker/custom-elements.json b/packages/input-datepicker/custom-elements.json index e3ae4d3ee..39e305ed3 100644 --- a/packages/input-datepicker/custom-elements.json +++ b/packages/input-datepicker/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -58,7 +58,7 @@ { "name": "close-overlay", "type": { - "type": "Event" + "text": "Event" } } ], @@ -191,13 +191,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldValue", "type": { - "type": "?" + "text": "?" } } ] @@ -215,7 +215,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -228,7 +228,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -267,7 +267,7 @@ "privacy": "public", "return": { "type": { - "type": "Object" + "text": "Object" } } }, @@ -290,7 +290,7 @@ { "name": "opts", "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'", "return": { "type": { - "type": "Date|undefined" + "text": "Date|undefined" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "?" + "text": "?" } } ] @@ -324,7 +324,7 @@ { "name": "validators", "type": { - "type": "Validator[]" + "text": "Validator[]" }, "description": "errorValidators or warningValidators array" } @@ -403,7 +403,7 @@ { "name": "day", "type": { - "type": "number" + "text": "number" } } ] @@ -920,4 +920,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-datepicker/package.json b/packages/input-datepicker/package.json index 40db79060..e0e65064d 100644 --- a/packages/input-datepicker/package.json +++ b/packages/input-datepicker/package.json @@ -59,4 +59,4 @@ "./lion-input-datepicker": "./lion-input-datepicker.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-email/custom-elements.json b/packages/input-email/custom-elements.json index 96d8272fd..0f2ac909c 100644 --- a/packages/input-email/custom-elements.json +++ b/packages/input-email/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -64,4 +64,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-email/package.json b/packages/input-email/package.json index 161c24ba3..c2323e6cc 100644 --- a/packages/input-email/package.json +++ b/packages/input-email/package.json @@ -53,4 +53,4 @@ "./lion-input-email": "./lion-input-email.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-iban/custom-elements.json b/packages/input-iban/custom-elements.json index 83a22910c..0aa684954 100644 --- a/packages/input-iban/custom-elements.json +++ b/packages/input-iban/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -113,14 +113,14 @@ "description": "Takes an unformatted IBAN and returns a formatted one.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "modelValue", "type": { - "type": "string" + "text": "string" }, "description": "value to be formatted" } @@ -148,14 +148,14 @@ "description": "Parses an IBAN trimming spaces and making uppercase.", "return": { "type": { - "type": "string|undefined" + "text": "string|undefined" } }, "parameters": [ { "name": "viewValue", "type": { - "type": "string" + "text": "string" }, "description": "value to be parsed" } @@ -199,7 +199,7 @@ { "name": "value", "type": { - "type": "string" + "text": "string" } } ] @@ -211,56 +211,56 @@ "static": true, "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "data", "type": { - "type": "object" + "text": "object" }, "optional": true }, { "name": "data.modelValue", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.fieldName", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.params", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.type", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.config", "type": { - "type": "Object." + "text": "Object." }, "optional": true }, { "name": "data.name", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -288,14 +288,14 @@ "privacy": "public", "return": { "type": { - "type": "Boolean" + "text": "Boolean" } }, "parameters": [ { "name": "value", "type": { - "type": "string" + "text": "string" } } ] @@ -307,56 +307,56 @@ "static": true, "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "data", "type": { - "type": "object" + "text": "object" }, "optional": true }, { "name": "data.modelValue", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.fieldName", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.params", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.type", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.config", "type": { - "type": "Object." + "text": "Object." }, "optional": true }, { "name": "data.name", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -384,14 +384,14 @@ "privacy": "public", "return": { "type": { - "type": "Boolean" + "text": "Boolean" } }, "parameters": [ { "name": "value", "type": { - "type": "string" + "text": "string" } } ] @@ -403,56 +403,56 @@ "static": true, "return": { "type": { - "type": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "data", "type": { - "type": "object" + "text": "object" }, "optional": true }, { "name": "data.modelValue", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.fieldName", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.params", "type": { - "type": "*" + "text": "*" }, "optional": true }, { "name": "data.type", "type": { - "type": "string" + "text": "string" }, "optional": true }, { "name": "data.config", "type": { - "type": "Object." + "text": "Object." }, "optional": true }, { "name": "data.name", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -951,4 +951,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-iban/package.json b/packages/input-iban/package.json index bb240d5d1..d8fb75bd7 100644 --- a/packages/input-iban/package.json +++ b/packages/input-iban/package.json @@ -54,4 +54,4 @@ "./lion-input-iban": "./lion-input-iban.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-range/custom-elements.json b/packages/input-range/custom-elements.json index 48a235f3b..4a9e627a9 100644 --- a/packages/input-range/custom-elements.json +++ b/packages/input-range/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -105,7 +105,7 @@ { "name": "scope", "type": { - "type": "CSSResult" + "text": "CSSResult" } } ] @@ -133,7 +133,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -146,7 +146,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -187,4 +187,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-range/package.json b/packages/input-range/package.json index f3ed7f4cb..ebedebed7 100644 --- a/packages/input-range/package.json +++ b/packages/input-range/package.json @@ -52,4 +52,4 @@ "./lion-input-range": "./lion-input-range.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input-stepper/custom-elements.json b/packages/input-stepper/custom-elements.json index 99047a6c2..02651d4b4 100644 --- a/packages/input-stepper/custom-elements.json +++ b/packages/input-stepper/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -43,7 +43,7 @@ { "name": "user-input-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -112,7 +112,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -137,7 +137,7 @@ { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "description": "keyboard event" } @@ -156,14 +156,14 @@ "description": "Get slotted element", "return": { "type": { - "type": "HTMLButtonElement|Object" + "text": "HTMLButtonElement|Object" } }, "parameters": [ { "name": "slotName", "type": { - "type": "String" + "text": "String" }, "description": "slot name" } @@ -188,7 +188,7 @@ "description": "Get the increment button node", "return": { "type": { - "type": "Element|null" + "text": "Element|null" } } }, @@ -199,7 +199,7 @@ "description": "Get the decrement button node", "return": { "type": { - "type": "Element|null" + "text": "Element|null" } } }, @@ -216,7 +216,7 @@ "description": "Get the decrementor button sign template", "return": { "type": { - "type": "String|TemplateResult" + "text": "String|TemplateResult" } } }, @@ -227,7 +227,7 @@ "description": "Get the incrementor button sign template", "return": { "type": { - "type": "String|TemplateResult" + "text": "String|TemplateResult" } } }, @@ -238,7 +238,7 @@ "description": "Get the increment button template", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } }, @@ -249,7 +249,7 @@ "description": "Get the decrement button template", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } } } @@ -269,4 +269,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input-stepper/package.json b/packages/input-stepper/package.json index 7ffe69abd..bc75cce69 100644 --- a/packages/input-stepper/package.json +++ b/packages/input-stepper/package.json @@ -52,4 +52,4 @@ "./lion-input-stepper": "./lion-input-stepper.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/input/custom-elements.json b/packages/input/custom-elements.json index d56d7f59a..366dce913 100644 --- a/packages/input/custom-elements.json +++ b/packages/input/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -42,7 +42,7 @@ "mixins": [ { "name": "NativeTextFieldMixin", - "package": "@lion/form-core/src/NativeTextFieldMixin" + "package": "@lion/form-core" } ], "superclass": { @@ -100,13 +100,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldValue", "type": { - "type": "?" + "text": "?" } } ] @@ -119,7 +119,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -132,7 +132,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -158,4 +158,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/input/package.json b/packages/input/package.json index 46ee9a7b4..96fd361a6 100644 --- a/packages/input/package.json +++ b/packages/input/package.json @@ -49,4 +49,4 @@ "./lion-input": "./lion-input.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/listbox/custom-elements.json b/packages/listbox/custom-elements.json index f52eb161d..95627f93a 100644 --- a/packages/listbox/custom-elements.json +++ b/packages/listbox/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -265,6 +265,9 @@ "kind": "field", "name": "_listboxActiveDescendantNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "ListboxMixin", "module": "./src/ListboxMixin.js" @@ -274,6 +277,9 @@ "kind": "field", "name": "_listboxSlot", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "ListboxMixin", "module": "./src/ListboxMixin.js" @@ -283,6 +289,9 @@ "kind": "field", "name": "_scrollTargetNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "ListboxMixin", "module": "./src/ListboxMixin.js" @@ -292,6 +301,9 @@ "kind": "field", "name": "_activeDescendantOwnerNode", "privacy": "public", + "type": { + "text": "HTMLElement" + }, "inheritedFrom": { "name": "ListboxMixin", "module": "./src/ListboxMixin.js" @@ -319,6 +331,9 @@ "kind": "field", "name": "checkedIndex", "privacy": "public", + "type": { + "text": "number | number[]" + }, "inheritedFrom": { "name": "ListboxMixin", "module": "./src/ListboxMixin.js" @@ -341,7 +356,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -358,7 +373,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -385,7 +400,7 @@ { "name": "index", "type": { - "type": "number|number[]" + "text": "number|number[]" } } ], @@ -402,13 +417,13 @@ { "name": "child", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "indexToInsertAt", "type": { - "type": "Number" + "text": "Number" } } ], @@ -470,13 +485,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" }, "optional": true, "default": "1" @@ -495,13 +510,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" }, "optional": true, "default": "-1" @@ -520,7 +535,7 @@ { "name": "ev", "type": { - "type": "Event & { target: LionOption }" + "text": "Event & { target: LionOption }" } } ], @@ -537,7 +552,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "description": "the keydown event object" } @@ -555,7 +570,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ], @@ -572,7 +587,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -616,7 +631,7 @@ { "name": "el", "type": { - "type": "LionOption | null" + "text": "LionOption | null" } } ], @@ -633,7 +648,7 @@ { "name": "exclude", "type": { - "type": "LionOption|LionOption[]" + "text": "LionOption|LionOption[]" }, "optional": true, "default": "[]" @@ -652,7 +667,7 @@ { "name": "cfgOrEvent", "type": { - "type": "Event & { target: LionOption }" + "text": "Event & { target: LionOption }" } } ], @@ -670,13 +685,13 @@ { "name": "attribute", "type": { - "type": "string" + "text": "string" } }, { "name": "value", "type": { - "type": "number" + "text": "number" } } ], @@ -693,7 +708,7 @@ { "name": "ev", "type": { - "type": "CustomEvent & { target: LionOption; }" + "text": "CustomEvent & { target: LionOption; }" } } ], @@ -710,13 +725,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" } } ], @@ -743,7 +758,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ], @@ -794,7 +809,7 @@ { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "ListboxMixin", @@ -826,7 +841,7 @@ { "name": "active-changed", "type": { - "type": "Event" + "text": "Event" } } ], @@ -874,13 +889,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -982,11 +997,20 @@ { "kind": "mixin", "name": "ListboxMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "events": [ { "name": "model-value-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -1012,10 +1036,6 @@ "package": "@lion/form-core" } ], - "superclass": { - "name": "superclass", - "module": "./src/ListboxMixin.js" - }, "attributes": [ { "name": "orientation", @@ -1092,22 +1112,34 @@ { "kind": "field", "name": "_listboxActiveDescendantNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "_listboxSlot", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "_scrollTargetNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "_activeDescendantOwnerNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", @@ -1122,7 +1154,10 @@ { "kind": "field", "name": "checkedIndex", - "privacy": "public" + "privacy": "public", + "type": { + "text": "number | number[]" + } }, { "kind": "method", @@ -1137,7 +1172,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -1150,7 +1185,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -1169,7 +1204,7 @@ { "name": "index", "type": { - "type": "number|number[]" + "text": "number|number[]" } } ] @@ -1182,13 +1217,13 @@ { "name": "child", "type": { - "type": "LionOption" + "text": "LionOption" } }, { "name": "indexToInsertAt", "type": { - "type": "Number" + "text": "Number" } } ] @@ -1226,13 +1261,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" }, "optional": true, "default": "1" @@ -1247,13 +1282,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" }, "optional": true, "default": "-1" @@ -1268,7 +1303,7 @@ { "name": "ev", "type": { - "type": "Event & { target: LionOption }" + "text": "Event & { target: LionOption }" } } ] @@ -1281,7 +1316,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "description": "the keydown event object" } @@ -1295,7 +1330,7 @@ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ] @@ -1308,7 +1343,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -1336,7 +1371,7 @@ { "name": "el", "type": { - "type": "LionOption | null" + "text": "LionOption | null" } } ] @@ -1349,7 +1384,7 @@ { "name": "exclude", "type": { - "type": "LionOption|LionOption[]" + "text": "LionOption|LionOption[]" }, "optional": true, "default": "[]" @@ -1364,7 +1399,7 @@ { "name": "cfgOrEvent", "type": { - "type": "Event & { target: LionOption }" + "text": "Event & { target: LionOption }" } } ] @@ -1378,13 +1413,13 @@ { "name": "attribute", "type": { - "type": "string" + "text": "string" } }, { "name": "value", "type": { - "type": "number" + "text": "number" } } ] @@ -1397,7 +1432,7 @@ { "name": "ev", "type": { - "type": "CustomEvent & { target: LionOption; }" + "text": "CustomEvent & { target: LionOption; }" } } ] @@ -1410,13 +1445,13 @@ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" } } ] @@ -1435,7 +1470,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -1462,10 +1497,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "ListboxMixin" } ], "exports": [ @@ -1492,7 +1523,7 @@ "name": "_parentFormGroup", "privacy": "protected", "type": { - "type": "ChoiceGroupHost" + "text": "ChoiceGroupHost" } } ] @@ -1522,7 +1553,7 @@ "name": "selectionFollowsFocus", "privacy": "public", "type": { - "type": "Boolean" + "text": "Boolean" } }, { @@ -1530,7 +1561,7 @@ "name": "rotateKeyboardNavigation", "privacy": "public", "type": { - "type": "Boolean" + "text": "Boolean" } }, { @@ -1538,7 +1569,7 @@ "name": "orientation", "privacy": "public", "type": { - "type": "'vertical' | 'horizontal'" + "text": "'vertical' | 'horizontal'" } }, { @@ -1546,7 +1577,7 @@ "name": "hasNoDefaultSelected", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -1554,7 +1585,7 @@ "name": "singleOption", "privacy": "public", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -1562,7 +1593,7 @@ "name": "checkedIndex", "privacy": "public", "type": { - "type": "number | number[]" + "text": "number | number[]" } }, { @@ -1570,7 +1601,7 @@ "name": "activeIndex", "privacy": "public", "type": { - "type": "number" + "text": "number" } }, { @@ -1578,7 +1609,7 @@ "name": "formElements", "privacy": "public", "type": { - "type": "LionOption[]" + "text": "LionOption[]" } }, { @@ -1587,14 +1618,14 @@ "privacy": "public", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "index", "type": { - "type": "number | number[]" + "text": "number | number[]" } } ] @@ -1606,7 +1637,7 @@ "description": "Reset interaction states and modelValue", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1615,7 +1646,7 @@ "name": "_scrollTargetNode", "privacy": "protected", "type": { - "type": "LionOptions" + "text": "LionOptions" } }, { @@ -1623,7 +1654,7 @@ "name": "_listboxNode", "privacy": "protected", "type": { - "type": "LionOptions" + "text": "LionOptions" } }, { @@ -1631,7 +1662,7 @@ "name": "_listboxReceivesNoFocus", "privacy": "protected", "type": { - "type": "boolean" + "text": "boolean" } }, { @@ -1640,7 +1671,7 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1650,7 +1681,7 @@ "privacy": "private", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1660,20 +1691,20 @@ "privacy": "protected", "return": { "type": { - "type": "number" + "text": "number" } }, "parameters": [ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" } } ] @@ -1684,20 +1715,20 @@ "privacy": "protected", "return": { "type": { - "type": "number" + "text": "number" } }, "parameters": [ { "name": "currentIndex", "type": { - "type": "number" + "text": "number" } }, { "name": "offset", "type": { - "type": "number" + "text": "number" } } ] @@ -1708,14 +1739,14 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -1726,14 +1757,14 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -1744,7 +1775,7 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1754,7 +1785,7 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1764,14 +1795,14 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "MouseEvent" + "text": "MouseEvent" } } ] @@ -1782,7 +1813,7 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } } }, @@ -1792,14 +1823,14 @@ "privacy": "protected", "return": { "type": { - "type": "void" + "text": "void" } }, "parameters": [ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -1809,7 +1840,7 @@ "name": "_activeDescendantOwnerNode", "privacy": "protected", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -1819,14 +1850,14 @@ "name": "ListboxImplementation", "return": { "type": { - "type": "T &\n Constructor &\n typeof ListboxHost &\n Constructor &\n typeof ChoiceGroupHost &\n Constructor &\n typeof SlotHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormControlHost" + "text": "T &\n Constructor &\n typeof ListboxHost &\n Constructor &\n typeof ChoiceGroupHost &\n Constructor &\n typeof SlotHost &\n Constructor &\n typeof FormRegistrarHost &\n Constructor &\n typeof FormControlHost" } }, "parameters": [ { "name": "superclass", "type": { - "type": "T" + "text": "T" } } ] @@ -1852,4 +1883,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/listbox/package.json b/packages/listbox/package.json index 91e2bbb25..67759cfb0 100644 --- a/packages/listbox/package.json +++ b/packages/listbox/package.json @@ -56,4 +56,4 @@ "./lion-options": "./lion-options.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/localize/custom-elements.json b/packages/localize/custom-elements.json index 8931d249c..4726f40c1 100644 --- a/packages/localize/custom-elements.json +++ b/packages/localize/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -217,7 +217,7 @@ { "name": "localeChanged", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -245,7 +245,7 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -258,7 +258,7 @@ { "name": "value", "type": { - "type": "string" + "text": "string" } } ] @@ -281,19 +281,19 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } }, { "name": "data", "type": { - "type": "object" + "text": "object" } } ] @@ -306,13 +306,13 @@ { "name": "pattern", "type": { - "type": "RegExp|string" + "text": "RegExp|string" } }, { "name": "loader", "type": { - "type": "function" + "text": "function" } } ] @@ -323,27 +323,27 @@ "privacy": "public", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "namespaces", "type": { - "type": "NamespaceObject[]" + "text": "NamespaceObject[]" } }, { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "optional": true }, { "name": "options.locale", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -355,27 +355,27 @@ "privacy": "public", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "namespaceObj", "type": { - "type": "NamespaceObject" + "text": "NamespaceObject" } }, { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "optional": true }, { "name": "options.locale", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -387,27 +387,27 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "keys", "type": { - "type": "string | string[]" + "text": "string | string[]" } }, { "name": "vars", "type": { - "type": "Object." + "text": "Object." }, "optional": true }, { "name": "opts", "type": { - "type": "Object" + "text": "Object" }, "optional": true, "default": "{}" @@ -415,7 +415,7 @@ { "name": "opts.locale", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -439,13 +439,13 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -458,13 +458,13 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -475,32 +475,32 @@ "privacy": "public", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespaceObj", "type": { - "type": "NamespaceObject" + "text": "NamespaceObject" } }, { "name": "isDynamicImport", "type": { - "type": "boolean" + "text": "boolean" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -513,19 +513,19 @@ { "name": "namespaceObj", "type": { - "type": "NamespaceObject" + "text": "NamespaceObject" } }, { "name": "isDynamicImport", "type": { - "type": "boolean" + "text": "boolean" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -536,32 +536,32 @@ "privacy": "public", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "loader", "type": { - "type": "function" + "text": "function" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } }, { "name": "fallbackLocale", "type": { - "type": "string" + "text": "string" }, "optional": true, "default": "this._fallbackLocale" @@ -576,19 +576,19 @@ { "name": "locale", "type": { - "type": "string" + "text": "string" } }, { "name": "namespace", "type": { - "type": "string" + "text": "string" } }, { "name": "promise", "type": { - "type": "Promise." + "text": "Promise." } } ] @@ -599,14 +599,14 @@ "privacy": "public", "return": { "type": { - "type": "function|null" + "text": "function|null" } }, "parameters": [ { "name": "namespace", "type": { - "type": "string" + "text": "string" } } ] @@ -617,14 +617,14 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -637,19 +637,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "listener", "type": { - "type": "EventListener" + "text": "EventListener" } }, { "name": "options", "type": { - "type": "...Object" + "text": "...Object" } } ] @@ -662,19 +662,19 @@ { "name": "type", "type": { - "type": "string" + "text": "string" } }, { "name": "listener", "type": { - "type": "EventListener" + "text": "EventListener" } }, { "name": "options", "type": { - "type": "...Object" + "text": "...Object" } } ] @@ -687,7 +687,7 @@ { "name": "event", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -698,20 +698,20 @@ "privacy": "public", "return": { "type": { - "type": "undefined" + "text": "undefined" } }, "parameters": [ { "name": "newLocale", "type": { - "type": "string" + "text": "string" } }, { "name": "oldLocale", "type": { - "type": "string" + "text": "string" } } ] @@ -722,20 +722,20 @@ "privacy": "public", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "newLocale", "type": { - "type": "string" + "text": "string" } }, { "name": "oldLocale", "type": { - "type": "string" + "text": "string" } } ] @@ -746,20 +746,20 @@ "privacy": "public", "return": { "type": { - "type": "string | undefined" + "text": "string | undefined" } }, "parameters": [ { "name": "keys", "type": { - "type": "string | string[]" + "text": "string | string[]" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -770,20 +770,20 @@ "privacy": "public", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "key", "type": { - "type": "string | undefined" + "text": "string | undefined" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -796,7 +796,7 @@ { "name": "options", "type": { - "type": "{locale:string, postProcessor:DatePostProcessor}" + "text": "{locale:string, postProcessor:DatePostProcessor}" } } ] @@ -809,7 +809,7 @@ { "name": "options", "type": { - "type": "{locale:string, postProcessor:NumberPostProcessor}" + "text": "{locale:string, postProcessor:NumberPostProcessor}" } } ] @@ -835,10 +835,6 @@ { "kind": "mixin", "name": "LocalizeMixin", - "superclass": { - "name": "superclass", - "module": "./src/LocalizeMixin.js" - }, "members": [ { "kind": "field", @@ -859,7 +855,7 @@ "description": "hook into LitElement to only render once all translations are loaded", "return": { "type": { - "type": "Promise." + "text": "Promise." } } }, @@ -879,33 +875,33 @@ "privacy": "public", "return": { "type": { - "type": "string | function" + "text": "string | function" } }, "parameters": [ { "name": "keys", "type": { - "type": "string | string[]" + "text": "string | string[]" } }, { "name": "variables", "type": { - "type": "Object." + "text": "Object." } }, { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "optional": true }, { "name": "options.locale", "type": { - "type": "string" + "text": "string" }, "optional": true } @@ -917,7 +913,7 @@ "privacy": "public", "return": { "type": { - "type": "string[]" + "text": "string[]" } } }, @@ -944,7 +940,7 @@ { "name": "event", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ] @@ -962,13 +958,13 @@ { "name": "newLocale", "type": { - "type": "string" + "text": "string" } }, { "name": "oldLocale", "type": { - "type": "string" + "text": "string" } } ] @@ -979,10 +975,6 @@ "privacy": "public" } ] - }, - { - "kind": "variable", - "name": "LocalizeMixin" } ], "exports": [ @@ -1005,14 +997,14 @@ "name": "default", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "obj", "type": { - "type": "Object." + "text": "Object." } } ] @@ -1038,7 +1030,7 @@ "name": "localize", "description": "", "type": { - "type": "LocalizeManager" + "text": "LocalizeManager" } }, { @@ -1048,7 +1040,7 @@ { "name": "newLocalize", "type": { - "type": "LocalizeManager" + "text": "LocalizeManager" } } ] @@ -1098,13 +1090,13 @@ { "name": "path", "type": { - "type": "string" + "text": "string" } }, { "name": "data", "type": { - "type": "Object" + "text": "Object" } } ] @@ -1116,13 +1108,13 @@ { "name": "namespaces", "type": { - "type": "string[]" + "text": "string[]" } }, { "name": "locales", "type": { - "type": "string[]" + "text": "string[]" } } ] @@ -1136,20 +1128,20 @@ "name": "fakeImport", "return": { "type": { - "type": "Promise." + "text": "Promise." } }, "parameters": [ { "name": "path", "type": { - "type": "string" + "text": "string" } }, { "name": "ms", "type": { - "type": "number" + "text": "number" }, "optional": true, "default": "0" @@ -1230,7 +1222,7 @@ "kind": "variable", "name": "fetchMock", "type": { - "type": "any" + "text": "any" } } ], @@ -1361,20 +1353,20 @@ "description": "Formats date based on locale and options", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } }, { "name": "options", "type": { - "type": "FormatDateOptions" + "text": "FormatDateOptions" }, "description": "Intl options are available", "optional": true @@ -1403,7 +1395,7 @@ "description": "To compute the localized date format", "return": { "type": { - "type": "string" + "text": "string" } } } @@ -1428,21 +1420,21 @@ "name": "getMonthNames", "return": { "type": { - "type": "string[]" + "text": "string[]" } }, "parameters": [ { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "optional": true }, { "name": "options.locale", "type": { - "type": "string" + "text": "string" }, "description": "locale", "optional": true @@ -1450,7 +1442,7 @@ { "name": "options.style", "type": { - "type": "string" + "text": "string" }, "description": "long, short or narrow", "optional": true @@ -1478,21 +1470,21 @@ "name": "getWeekdayNames", "return": { "type": { - "type": "string[]" + "text": "string[]" } }, "parameters": [ { "name": "options", "type": { - "type": "Object" + "text": "Object" }, "optional": true }, { "name": "options.locale", "type": { - "type": "string" + "text": "string" }, "description": "locale", "optional": true @@ -1500,7 +1492,7 @@ { "name": "options.style", "type": { - "type": "string" + "text": "string" }, "description": "long, short or narrow", "optional": true @@ -1508,7 +1500,7 @@ { "name": "options.firstDayOfWeek", "type": { - "type": "number" + "text": "number" }, "description": "0 (Sunday), 1 (Monday), etc...", "optional": true @@ -1536,14 +1528,14 @@ "name": "normalizeDateTime", "return": { "type": { - "type": "Date" + "text": "Date" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -1570,14 +1562,14 @@ "description": "To parse a date into the right format", "return": { "type": { - "type": "Date | undefined" + "text": "Date | undefined" } }, "parameters": [ { "name": "dateString", "type": { - "type": "string" + "text": "string" } } ] @@ -1604,21 +1596,21 @@ "description": "Formats a number based on locale and options. It uses Intl for the formatting.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "number", "type": { - "type": "number" + "text": "number" }, "description": "Number to be formatted" }, { "name": "options", "type": { - "type": "FormatOptions" + "text": "FormatOptions" }, "description": "Intl options are available extended by roundMode and returnIfNaN", "optional": true, @@ -1648,20 +1640,20 @@ "description": "Round the number based on the options", "return": { "type": { - "type": "number" + "text": "number" } }, "parameters": [ { "name": "number", "type": { - "type": "number" + "text": "number" } }, { "name": "roundMode", "type": { - "type": "string" + "text": "string" } } ] @@ -1672,21 +1664,21 @@ "description": "Splits a number up in parts for integer, fraction, group, literal, decimal and currency.", "return": { "type": { - "type": "string | FormatNumberPart[]" + "text": "string | FormatNumberPart[]" } }, "parameters": [ { "name": "number", "type": { - "type": "number" + "text": "number" }, "description": "Number to split up" }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "description": "Intl options are available extended by roundMode,returnIfNaN", "optional": true, @@ -1724,21 +1716,21 @@ "description": "Based on number, returns currency name like 'US dollar'", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "currencyIso", "type": { - "type": "string" + "text": "string" }, "description": "iso code like USD" }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "description": "Intl options are available extended by roundMode", "optional": true @@ -1767,14 +1759,14 @@ "description": "To get the decimal separator", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "locale", "type": { - "type": "string" + "text": "string" }, "description": "To override the browser locale", "optional": true @@ -1802,14 +1794,14 @@ "name": "getFractionDigits", "return": { "type": { - "type": "number" + "text": "number" } }, "parameters": [ { "name": "currency", "type": { - "type": "string" + "text": "string" }, "description": "Currency code e.g. EUR", "optional": true, @@ -1839,14 +1831,14 @@ "description": "Gets the group separator", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "locale", "type": { - "type": "string" + "text": "string" }, "description": "To override the browser locale", "optional": true @@ -1875,20 +1867,20 @@ "description": "For Turkey fixes currency label with locale options", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "currency", "type": { - "type": "string" + "text": "string" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" } } ] @@ -1915,14 +1907,14 @@ "description": "Gets the locale to use", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "locale", "type": { - "type": "string" + "text": "string" }, "description": "Locale to override browser locale", "optional": true @@ -1951,14 +1943,14 @@ "description": "To add a leading zero to a single number", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "dateString", "type": { - "type": "string" + "text": "string" } } ] @@ -1985,14 +1977,14 @@ "description": "To clean date from added characters from IE", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "dateAsString", "type": { - "type": "string" + "text": "string" } } ] @@ -2020,7 +2012,7 @@ { "name": "months", "type": { - "type": "string[]" + "text": "string[]" } } ] @@ -2047,20 +2039,20 @@ "description": "To filter out some added characters in IE", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "str", "type": { - "type": "string" + "text": "string" } }, { "name": "locale", "type": { - "type": "string" + "text": "string" }, "optional": true, "default": "''" @@ -2068,7 +2060,7 @@ { "name": "options", "type": { - "type": "FormatDateOptions" + "text": "FormatDateOptions" }, "description": "Intl options are available", "optional": true @@ -2097,14 +2089,14 @@ "description": "To get the absolute value of a number.", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "n", "type": { - "type": "string" + "text": "string" }, "description": "number in string format" } @@ -2132,14 +2124,14 @@ "description": "To sanitize a date from IE11 handling", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "date", "type": { - "type": "Date" + "text": "Date" } } ] @@ -2166,14 +2158,14 @@ "description": "To split a date into days, months, years, etc", "return": { "type": { - "type": "ArrayLike. | null" + "text": "ArrayLike. | null" } }, "parameters": [ { "name": "dateAsString", "type": { - "type": "string" + "text": "string" } } ] @@ -2200,14 +2192,14 @@ "description": "To trim the date", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "dateAsString", "type": { - "type": "string" + "text": "string" } } ] @@ -2234,14 +2226,14 @@ "description": "When number is NaN we should return an empty string or returnIfNaN param", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "returnIfNaN", "type": { - "type": "string|undefined" + "text": "string|undefined" } } ] @@ -2267,14 +2259,14 @@ "name": "normalSpaces", "return": { "type": { - "type": "string" + "text": "string" } }, "parameters": [ { "name": "value", "type": { - "type": "string" + "text": "string" } } ] @@ -2302,7 +2294,7 @@ { "name": "currencyName", "type": { - "type": "string" + "text": "string" } } ] @@ -2329,20 +2321,20 @@ "description": "Add separators when they are not present", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "groupSeparator", "type": { - "type": "string" + "text": "string" } } ] @@ -2369,14 +2361,14 @@ "description": "For Dutch and Belgian amounts the currency should be at the end of the string", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } } ] @@ -2403,20 +2395,20 @@ "description": "Change the symbols for locale 'en-AU', due to bug in Chrome", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "optional": true } @@ -2444,14 +2436,14 @@ "description": "Parts with forced \"normal\" spaces", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } } ] @@ -2478,20 +2470,20 @@ "description": "When in some locales there is no space between currency and amount it is added", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "optional": true } @@ -2518,14 +2510,14 @@ "name": "forceSpaceInsteadOfZeroForGroup", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } } ] @@ -2551,20 +2543,20 @@ "name": "forceTryCurrencyCode", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "optional": true } @@ -2591,20 +2583,20 @@ "name": "forceYenSymbol", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "optional": true } @@ -2632,27 +2624,27 @@ "description": "Normalizes function \"formatNumberToParts\"", "return": { "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, "parameters": [ { "name": "formattedParts", "type": { - "type": "FormatNumberPart[]" + "text": "FormatNumberPart[]" } }, { "name": "options", "type": { - "type": "FormatNumberOptions" + "text": "FormatNumberOptions" }, "default": "{}" }, { "name": "_locale", "type": { - "type": "string" + "text": "string" } } ] @@ -2706,4 +2698,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/localize/package.json b/packages/localize/package.json index c6e2dc6fa..23c9884bb 100644 --- a/packages/localize/package.json +++ b/packages/localize/package.json @@ -49,4 +49,4 @@ "./test-helpers": "./test-helpers.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/overlays/custom-elements.json b/packages/overlays/custom-elements.json index 1a73d17e7..2424f0f0a 100644 --- a/packages/overlays/custom-elements.json +++ b/packages/overlays/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -168,7 +168,7 @@ "name": "config", "privacy": "public", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" }, "default": "{}", "inheritedFrom": { @@ -184,13 +184,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ], @@ -205,14 +205,14 @@ "privacy": "public", "return": { "type": { - "type": "OverlayController" + "text": "OverlayController" } }, "parameters": [ { "name": "config", "type": { - "type": "DefineOverlayConfig" + "text": "DefineOverlayConfig" } } ], @@ -229,7 +229,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ], @@ -328,7 +328,7 @@ { "name": "newOpened", "type": { - "type": "boolean" + "text": "boolean" } } ], @@ -410,7 +410,7 @@ { "name": "opened-changed", "type": { - "type": "Event" + "text": "Event" }, "inheritedFrom": { "name": "OverlayMixin", @@ -420,7 +420,7 @@ { "name": "before-closed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" }, "inheritedFrom": { "name": "OverlayMixin", @@ -448,16 +448,21 @@ { "kind": "mixin", "name": "ArrowMixin", + "parameters": [ + { + "name": "superclass", + "type": { + "text": "LitElement>" + }, + "description": "" + } + ], "mixins": [ { "name": "OverlayMixin", "module": "/src/OverlayMixin.js" } ], - "superclass": { - "name": "superclass", - "module": "./src/ArrowMixin.js" - }, "attributes": [ { "name": "has-arrow", @@ -493,7 +498,7 @@ "description": "Overrides arrow and keepTogether modifier to be enabled,\nand adds onCreate and onUpdate hooks to sync from popper state", "return": { "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } }, @@ -503,14 +508,14 @@ "privacy": "public", "return": { "type": { - "type": "Partial" + "text": "Partial" } }, "parameters": [ { "name": "popperConfigToExtendFrom", "type": { - "type": "Partial" + "text": "Partial" } } ] @@ -533,7 +538,7 @@ { "name": "data", "type": { - "type": "Partial" + "text": "Partial" } } ] @@ -545,12 +550,8 @@ "name": "ArrowMixinImplementation", "description": "", "type": { - "type": "LitElement>" + "text": "LitElement>" } - }, - { - "kind": "variable", - "name": "ArrowMixin" } ], "exports": [ @@ -583,25 +584,25 @@ { "name": "before-hide", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "show", "type": { - "type": "Event" + "text": "Event" } }, { "name": "before-hide", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "hide", "type": { - "type": "Event" + "text": "Event" } } ], @@ -613,122 +614,194 @@ { "kind": "field", "name": "invoker", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement | undefined" + } }, { "kind": "field", "name": "content", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "placementMode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "'global' | 'local' | undefined" + } }, { "kind": "field", "name": "invokerNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement | undefined" + } }, { "kind": "field", "name": "referenceNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "contentNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "contentWrapperNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "backdropNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "elementToFocusAfterHide", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "hasBackdrop", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "isBlocking", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "preventsScroll", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "trapsKeyboardFocus", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "hidesOnEsc", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "hidesOnOutsideClick", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "hidesOnOutsideEsc", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "inheritsReferenceWidth", - "privacy": "public" + "privacy": "public", + "type": { + "text": "'max' | 'full' | 'min' | 'none' | undefined " + } }, { "kind": "field", "name": "handlesAccessibility", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "isTooltip", - "privacy": "public" + "privacy": "public", + "type": { + "text": "boolean" + } }, { "kind": "field", "name": "invokerRelation", - "privacy": "public" + "privacy": "public", + "type": { + "text": "'label' | 'description'| undefined" + } }, { "kind": "field", "name": "popperConfig", - "privacy": "public" + "privacy": "public", + "type": { + "text": "PopperOptions" + } }, { "kind": "field", "name": "viewportConfig", - "privacy": "public" + "privacy": "public", + "type": { + "text": "ViewportConfig" + } }, { "kind": "field", "name": "_renderTarget", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement" + } }, { "kind": "field", "name": "_referenceNode", - "privacy": "public" + "privacy": "public", + "type": { + "text": "HTMLElement | undefined" + } }, { "kind": "field", @@ -744,7 +817,7 @@ { "name": "cfgToAdd", "type": { - "type": " OverlayConfig " + "text": " OverlayConfig " } } ] @@ -757,7 +830,7 @@ { "name": "newConfig", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } ] @@ -770,7 +843,7 @@ { "name": "options", "type": { - "type": "{ cfgToAdd: OverlayConfig }" + "text": "{ cfgToAdd: OverlayConfig }" } } ] @@ -789,7 +862,7 @@ { "name": "options", "type": { - "type": "{ cfgToAdd: OverlayConfig }" + "text": "{ cfgToAdd: OverlayConfig }" } } ] @@ -803,7 +876,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -816,7 +889,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -829,13 +902,13 @@ { "name": "node", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } }, { "name": "attrs", "type": { - "type": "string[]" + "text": "string[]" } } ] @@ -858,7 +931,7 @@ { "name": "elementToFocusAfterHide", "type": { - "type": "HTMLElement" + "text": "HTMLElement" }, "default": "this.elementToFocusAfterHide" } @@ -872,7 +945,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -885,7 +958,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -904,7 +977,7 @@ { "name": "hideConfig", "type": { - "type": "{backdropNode:HTMLElement, contentNode:HTMLElement}" + "text": "{backdropNode:HTMLElement, contentNode:HTMLElement}" } } ] @@ -917,7 +990,7 @@ { "name": "hideConfig", "type": { - "type": "{backdropNode:HTMLElement, contentNode:HTMLElement}" + "text": "{backdropNode:HTMLElement, contentNode:HTMLElement}" } } ] @@ -931,7 +1004,7 @@ { "name": "showConfig", "type": { - "type": "{backdropNode:HTMLElement, contentNode:HTMLElement}" + "text": "{backdropNode:HTMLElement, contentNode:HTMLElement}" } } ] @@ -944,7 +1017,7 @@ { "name": "showConfig", "type": { - "type": "{backdropNode:HTMLElement, contentNode:HTMLElement}" + "text": "{backdropNode:HTMLElement, contentNode:HTMLElement}" } } ] @@ -968,7 +1041,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -981,7 +1054,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -994,7 +1067,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1013,7 +1086,7 @@ { "name": "config", "type": { - "type": "{ animation?: boolean, phase: OverlayPhase }" + "text": "{ animation?: boolean, phase: OverlayPhase }" } } ] @@ -1031,7 +1104,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1070,7 +1143,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1083,7 +1156,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1101,7 +1174,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1114,7 +1187,7 @@ { "name": "config", "type": { - "type": "{ phase: OverlayPhase }" + "text": "{ phase: OverlayPhase }" } } ] @@ -1159,26 +1232,22 @@ { "name": "opened-changed", "type": { - "type": "Event" + "text": "Event" } }, { "name": "before-closed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "before-closed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], - "superclass": { - "name": "superclass", - "module": "./src/OverlayMixin.js" - }, "attributes": [ { "name": "opened", @@ -1197,7 +1266,7 @@ "name": "config", "privacy": "public", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" }, "default": "{}" }, @@ -1209,13 +1278,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "any" + "text": "any" } } ] @@ -1226,14 +1295,14 @@ "privacy": "public", "return": { "type": { - "type": "OverlayController" + "text": "OverlayController" } }, "parameters": [ { "name": "config", "type": { - "type": "DefineOverlayConfig" + "text": "DefineOverlayConfig" } } ] @@ -1244,7 +1313,7 @@ "privacy": "public", "return": { "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } }, @@ -1256,7 +1325,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -1325,7 +1394,7 @@ { "name": "newOpened", "type": { - "type": "boolean" + "text": "boolean" } } ] @@ -1370,12 +1439,8 @@ "name": "OverlayMixinImplementation", "description": "", "type": { - "type": "OverlayMixin" + "text": "OverlayMixin" } - }, - { - "kind": "variable", - "name": "OverlayMixin" } ], "exports": [ @@ -1439,14 +1504,14 @@ "description": "Registers an overlay controller.", "return": { "type": { - "type": "OverlayController" + "text": "OverlayController" } }, "parameters": [ { "name": "ctrlToAdd", "type": { - "type": "OverlayController" + "text": "OverlayController" }, "description": "controller of the newly added overlay" } @@ -1460,7 +1525,7 @@ { "name": "ctrlToRemove", "type": { - "type": "OverlayController" + "text": "OverlayController" } } ] @@ -1473,7 +1538,7 @@ { "name": "ctrlToShow", "type": { - "type": "OverlayController" + "text": "OverlayController" } } ] @@ -1486,7 +1551,7 @@ { "name": "ctrlToHide", "type": { - "type": "any" + "text": "any" } } ] @@ -1514,7 +1579,7 @@ { "name": "placementMode", "type": { - "type": "'local' | 'global' | undefined" + "text": "'local' | 'global' | undefined" } } ] @@ -1550,7 +1615,7 @@ { "name": "blockingCtrl", "type": { - "type": "OverlayController" + "text": "OverlayController" } } ] @@ -1563,7 +1628,7 @@ { "name": "blockingCtrl", "type": { - "type": "OverlayController" + "text": "OverlayController" } } ] @@ -1617,7 +1682,7 @@ { "name": "newOverlays", "type": { - "type": "OverlaysManager" + "text": "OverlaysManager" } } ] @@ -1642,6 +1707,420 @@ } ] }, + { + "kind": "javascript-module", + "path": "./types/ArrowMixinTypes.d.ts", + "declarations": [ + { + "kind": "class", + "name": "ArrowHost", + "members": [ + { + "kind": "field", + "name": "hasArrow", + "privacy": "public", + "type": { + "text": "boolean" + } + }, + { + "kind": "field", + "name": "repositionComplete", + "privacy": "public", + "type": { + "text": "Promise" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "public", + "return": { + "type": { + "text": "TemplateResult" + } + } + }, + { + "kind": "method", + "name": "_arrowTemplate", + "privacy": "public", + "return": { + "type": { + "text": "TemplateResult" + } + } + }, + { + "kind": "method", + "name": "_arrowNodeTemplate", + "privacy": "public", + "return": { + "type": { + "text": "TemplateResult" + } + } + }, + { + "kind": "method", + "name": "_defineOverlayConfig", + "privacy": "public", + "return": { + "type": { + "text": "OverlayConfig" + } + } + }, + { + "kind": "method", + "name": "_getPopperArrowConfig", + "privacy": "public", + "return": { + "type": { + "text": "Partial" + } + }, + "parameters": [ + { + "name": "popperConfigToExtendFrom", + "type": { + "text": "Partial" + } + } + ] + }, + { + "kind": "method", + "name": "__setupRepositionCompletePromise", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "field", + "name": "_arrowNode", + "privacy": "public", + "type": { + "text": "Element | null" + } + }, + { + "kind": "method", + "name": "__syncFromPopperState", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "parameters": [ + { + "name": "data", + "type": { + "text": "Partial" + } + } + ] + } + ] + }, + { + "kind": "function", + "name": "ArrowImplementation", + "return": { + "type": { + "text": "T & Constructor & ArrowHost" + } + }, + "parameters": [ + { + "name": "superclass", + "type": { + "text": "T" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ArrowHost", + "declaration": { + "name": "ArrowHost", + "module": "./types/ArrowMixinTypes.d.ts" + } + }, + { + "kind": "js", + "name": "ArrowImplementation", + "declaration": { + "name": "ArrowImplementation", + "module": "./types/ArrowMixinTypes.d.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "./types/OverlayConfig.d.ts", + "declarations": [], + "exports": [] + }, + { + "kind": "javascript-module", + "path": "./types/OverlayMixinTypes.d.ts", + "declarations": [ + { + "kind": "class", + "name": "OverlayHost", + "members": [ + { + "kind": "field", + "name": "opened", + "privacy": "public", + "type": { + "text": "Boolean" + } + }, + { + "kind": "field", + "name": "config", + "privacy": "public", + "type": { + "text": "OverlayConfig" + } + }, + { + "kind": "method", + "name": "open", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "close", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "toggle", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "field", + "name": "_overlayCtrl", + "privacy": "protected", + "type": { + "text": "OverlayController" + } + }, + { + "kind": "field", + "name": "_overlayInvokerNode", + "privacy": "protected", + "type": { + "text": "HTMLElement" + } + }, + { + "kind": "field", + "name": "_overlayBackdropNode", + "privacy": "protected", + "type": { + "text": "HTMLElement" + } + }, + { + "kind": "field", + "name": "_overlayContentNode", + "privacy": "protected", + "type": { + "text": "HTMLElement" + } + }, + { + "kind": "field", + "name": "_overlayContentWrapperNode", + "privacy": "protected", + "type": { + "text": "HTMLElement" + } + }, + { + "kind": "method", + "name": "_defineOverlay", + "privacy": "protected", + "description": "returns an instance of a (dynamic) overlay controller\nIn case overriding _defineOverlayConfig is not enough", + "return": { + "type": { + "text": "OverlayController" + } + }, + "parameters": [ + { + "name": "config", + "type": { + "text": "DefineOverlayConfig" + } + } + ] + }, + { + "kind": "method", + "name": "_defineOverlayConfig", + "privacy": "protected", + "return": { + "type": { + "text": "OverlayConfig" + } + } + }, + { + "kind": "method", + "name": "_setupOpenCloseListeners", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "_teardownOpenCloseListeners", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "_setupOverlayCtrl", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "_teardownOverlayCtrl", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "_setOpenedWithoutPropertyEffects", + "privacy": "protected", + "description": "When the opened state is changed by an Application Developer,cthe OverlayController is\nrequested to show/hide. It might happen that this request is not honoured\n(intercepted in before-hide for instance), so that we need to sync the controller state\nto this webcomponent again, preventing eternal loops.", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "newOpened", + "type": { + "text": "Boolean" + } + } + ] + }, + { + "kind": "method", + "name": "__setupSyncFromOverlayController", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "__teardownSyncFromOverlayController", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "__syncToOverlayController", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + } + ] + }, + { + "kind": "function", + "name": "OverlayImplementation", + "return": { + "type": { + "text": "T & Constructor & typeof OverlayHost" + } + }, + "parameters": [ + { + "name": "superclass", + "type": { + "text": "T" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "OverlayHost", + "declaration": { + "name": "OverlayHost", + "module": "./types/OverlayMixinTypes.d.ts" + } + }, + { + "kind": "js", + "name": "OverlayImplementation", + "declaration": { + "name": "OverlayImplementation", + "module": "./types/OverlayMixinTypes.d.ts" + } + } + ] + }, { "kind": "javascript-module", "path": "./translations/bg-BG.js", @@ -2104,420 +2583,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "./types/ArrowMixinTypes.d.ts", - "declarations": [ - { - "kind": "class", - "name": "ArrowHost", - "members": [ - { - "kind": "field", - "name": "hasArrow", - "privacy": "public", - "type": { - "type": "boolean" - } - }, - { - "kind": "field", - "name": "repositionComplete", - "privacy": "public", - "type": { - "type": "Promise" - } - }, - { - "kind": "method", - "name": "render", - "privacy": "public", - "return": { - "type": { - "type": "TemplateResult" - } - } - }, - { - "kind": "method", - "name": "_arrowTemplate", - "privacy": "public", - "return": { - "type": { - "type": "TemplateResult" - } - } - }, - { - "kind": "method", - "name": "_arrowNodeTemplate", - "privacy": "public", - "return": { - "type": { - "type": "TemplateResult" - } - } - }, - { - "kind": "method", - "name": "_defineOverlayConfig", - "privacy": "public", - "return": { - "type": { - "type": "OverlayConfig" - } - } - }, - { - "kind": "method", - "name": "_getPopperArrowConfig", - "privacy": "public", - "return": { - "type": { - "type": "Partial" - } - }, - "parameters": [ - { - "name": "popperConfigToExtendFrom", - "type": { - "type": "Partial" - } - } - ] - }, - { - "kind": "method", - "name": "__setupRepositionCompletePromise", - "privacy": "public", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "field", - "name": "_arrowNode", - "privacy": "public", - "type": { - "type": "Element | null" - } - }, - { - "kind": "method", - "name": "__syncFromPopperState", - "privacy": "public", - "return": { - "type": { - "type": "void" - } - }, - "parameters": [ - { - "name": "data", - "type": { - "type": "Partial" - } - } - ] - } - ] - }, - { - "kind": "function", - "name": "ArrowImplementation", - "return": { - "type": { - "type": "T & Constructor & ArrowHost" - } - }, - "parameters": [ - { - "name": "superclass", - "type": { - "type": "T" - } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ArrowHost", - "declaration": { - "name": "ArrowHost", - "module": "./types/ArrowMixinTypes.d.ts" - } - }, - { - "kind": "js", - "name": "ArrowImplementation", - "declaration": { - "name": "ArrowImplementation", - "module": "./types/ArrowMixinTypes.d.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "./types/OverlayConfig.d.ts", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "./types/OverlayMixinTypes.d.ts", - "declarations": [ - { - "kind": "class", - "name": "OverlayHost", - "members": [ - { - "kind": "field", - "name": "opened", - "privacy": "public", - "type": { - "type": "Boolean" - } - }, - { - "kind": "field", - "name": "config", - "privacy": "public", - "type": { - "type": "OverlayConfig" - } - }, - { - "kind": "method", - "name": "open", - "privacy": "public", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "close", - "privacy": "public", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "toggle", - "privacy": "public", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "field", - "name": "_overlayCtrl", - "privacy": "protected", - "type": { - "type": "OverlayController" - } - }, - { - "kind": "field", - "name": "_overlayInvokerNode", - "privacy": "protected", - "type": { - "type": "HTMLElement" - } - }, - { - "kind": "field", - "name": "_overlayBackdropNode", - "privacy": "protected", - "type": { - "type": "HTMLElement" - } - }, - { - "kind": "field", - "name": "_overlayContentNode", - "privacy": "protected", - "type": { - "type": "HTMLElement" - } - }, - { - "kind": "field", - "name": "_overlayContentWrapperNode", - "privacy": "protected", - "type": { - "type": "HTMLElement" - } - }, - { - "kind": "method", - "name": "_defineOverlay", - "privacy": "protected", - "description": "returns an instance of a (dynamic) overlay controller\nIn case overriding _defineOverlayConfig is not enough", - "return": { - "type": { - "type": "OverlayController" - } - }, - "parameters": [ - { - "name": "config", - "type": { - "type": "DefineOverlayConfig" - } - } - ] - }, - { - "kind": "method", - "name": "_defineOverlayConfig", - "privacy": "protected", - "return": { - "type": { - "type": "OverlayConfig" - } - } - }, - { - "kind": "method", - "name": "_setupOpenCloseListeners", - "privacy": "protected", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "_teardownOpenCloseListeners", - "privacy": "protected", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "_setupOverlayCtrl", - "privacy": "protected", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "_teardownOverlayCtrl", - "privacy": "protected", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "_setOpenedWithoutPropertyEffects", - "privacy": "protected", - "description": "When the opened state is changed by an Application Developer,cthe OverlayController is\nrequested to show/hide. It might happen that this request is not honoured\n(intercepted in before-hide for instance), so that we need to sync the controller state\nto this webcomponent again, preventing eternal loops.", - "return": { - "type": { - "type": "Promise" - } - }, - "parameters": [ - { - "name": "newOpened", - "type": { - "type": "Boolean" - } - } - ] - }, - { - "kind": "method", - "name": "__setupSyncFromOverlayController", - "privacy": "private", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "__teardownSyncFromOverlayController", - "privacy": "private", - "return": { - "type": { - "type": "void" - } - } - }, - { - "kind": "method", - "name": "__syncToOverlayController", - "privacy": "private", - "return": { - "type": { - "type": "void" - } - } - } - ] - }, - { - "kind": "function", - "name": "OverlayImplementation", - "return": { - "type": { - "type": "T & Constructor & typeof OverlayHost" - } - }, - "parameters": [ - { - "name": "superclass", - "type": { - "type": "T" - } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "OverlayHost", - "declaration": { - "name": "OverlayHost", - "module": "./types/OverlayMixinTypes.d.ts" - } - }, - { - "kind": "js", - "name": "OverlayImplementation", - "declaration": { - "name": "OverlayImplementation", - "module": "./types/OverlayMixinTypes.d.ts" - } - } - ] - }, { "kind": "javascript-module", "path": "./docs/directives/ref.js", @@ -2527,7 +2592,7 @@ "name": "ref", "description": "will be used to store reference to attribute names like #myElement", "type": { - "type": "object" + "text": "object" } } ], @@ -2551,7 +2616,7 @@ "name": "withBottomSheetConfig", "description": "", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } ], @@ -2575,7 +2640,7 @@ "name": "withDropdownConfig", "description": "", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } ], @@ -2599,7 +2664,7 @@ "name": "withModalDialogConfig", "description": "", "type": { - "type": "OverlayConfig" + "text": "OverlayConfig" } } ], @@ -2626,14 +2691,14 @@ { "name": "rootElement", "type": { - "type": "HTMLElement" + "text": "HTMLElement" }, "description": "The root element" }, { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "description": "The keyboard event" } @@ -2645,14 +2710,14 @@ "description": "Contains focus within given root element. When focus is on the last focusable\nelement inside the root element, the next focus will be redirected to the first\nfocusable element.", "return": { "type": { - "type": "{ disconnect: () => void }" + "text": "{ disconnect: () => void }" } }, "parameters": [ { "name": "rootElement", "type": { - "type": "HTMLElement" + "text": "HTMLElement" }, "description": "The element to contain focus within" } @@ -2688,20 +2753,20 @@ "description": "Whether first element contains the second element, also goes through shadow roots", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "el", "type": { - "type": "HTMLElement|ShadowRoot" + "text": "HTMLElement|ShadowRoot" } }, { "name": "targetEl", "type": { - "type": "HTMLElement|ShadowRoot" + "text": "HTMLElement|ShadowRoot" } } ] @@ -2728,7 +2793,7 @@ "description": "Returns the activeElement, even when they are inside a shadowRoot.\n(If an element in a shadowRoot is focused, document.activeElement\nreturns the shadowRoot host.", "return": { "type": { - "type": "Element" + "text": "Element" } } } @@ -2753,14 +2818,14 @@ "name": "getFocusableElements", "return": { "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, "parameters": [ { "name": "element", "type": { - "type": "Element" + "text": "Element" } } ] @@ -2789,7 +2854,7 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -2802,7 +2867,7 @@ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -2837,20 +2902,20 @@ "description": "Compares two OverlayConfigs to equivalence. Intended to prevent unnecessary resets.\nNote that it doesn't cover as many use cases as common implementations, such as Lodash isEqual.", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "a", "type": { - "type": "Partial" + "text": "Partial" } }, { "name": "b", "type": { - "type": "Partial" + "text": "Partial" } } ] @@ -2876,14 +2941,14 @@ "name": "isVisible", "return": { "type": { - "type": "boolean" + "text": "boolean" } }, "parameters": [ { "name": "element", "type": { - "type": "HTMLElement" + "text": "HTMLElement" } } ] @@ -2955,14 +3020,14 @@ "name": "sortByTabIndex", "return": { "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } }, "parameters": [ { "name": "elements", "type": { - "type": "HTMLElement[]" + "text": "HTMLElement[]" } } ] @@ -2990,7 +3055,7 @@ { "name": "cssValue", "type": { - "type": "string" + "text": "string" } } ] @@ -3032,4 +3097,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/overlays/package.json b/packages/overlays/package.json index 716c32566..0af19d05d 100644 --- a/packages/overlays/package.json +++ b/packages/overlays/package.json @@ -54,4 +54,4 @@ "./test-suites/*": "./test-suites/*" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/pagination/custom-elements.json b/packages/pagination/custom-elements.json index 2e177c1c9..198a9d9a8 100644 --- a/packages/pagination/custom-elements.json +++ b/packages/pagination/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -95,7 +95,7 @@ { "name": "pageNumber", "type": { - "type": "number" + "text": "number" } } ] @@ -115,7 +115,7 @@ { "name": "page", "type": { - "type": "Number" + "text": "Number" }, "description": "page number to be set" } @@ -128,7 +128,7 @@ "description": "Calculate nav list based on current page selection.", "return": { "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.", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "parameters": [ { "name": "label", "type": { - "type": "String" + "text": "String" }, "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.", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "parameters": [ { "name": "label", "type": { - "type": "String" + "text": "String" }, "description": "namespace label i.e. next or previous" }, { "name": "pageNumber", "type": { - "type": "Number" + "text": "Number" }, "description": "page number to be set" }, { "name": "namespace", "type": { - "type": "String" + "text": "String" }, "description": "namespace prefix for translations", "default": "'lion'" @@ -194,14 +194,14 @@ "description": "Get disabled button template.\nThis method can be overridden to apply customized template in wrapper.", "return": { "type": { - "type": "TemplateResult" + "text": "TemplateResult" } }, "parameters": [ { "name": "label", "type": { - "type": "String" + "text": "String" }, "description": "namespace label i.e. next or previous" } @@ -214,7 +214,7 @@ "description": "Render navigation list", "return": { "type": { - "type": "TemplateResult[]" + "text": "TemplateResult[]" } } } @@ -454,4 +454,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/pagination/package.json b/packages/pagination/package.json index dc3e9ada8..f4d2a9a54 100644 --- a/packages/pagination/package.json +++ b/packages/pagination/package.json @@ -50,4 +50,4 @@ "./lion-pagination": "./lion-pagination.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/progress-indicator/custom-elements.json b/packages/progress-indicator/custom-elements.json index a571e2dc2..674a41a06 100644 --- a/packages/progress-indicator/custom-elements.json +++ b/packages/progress-indicator/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -358,4 +358,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/progress-indicator/package.json b/packages/progress-indicator/package.json index 9a5064401..c21baf7ec 100644 --- a/packages/progress-indicator/package.json +++ b/packages/progress-indicator/package.json @@ -50,4 +50,4 @@ "./lion-progress-indicator": "./lion-progress-indicator.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/radio-group/custom-elements.json b/packages/radio-group/custom-elements.json index b3ff00402..d2b35650f 100644 --- a/packages/radio-group/custom-elements.json +++ b/packages/radio-group/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -136,4 +136,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/radio-group/package.json b/packages/radio-group/package.json index be638df09..189c4bc53 100644 --- a/packages/radio-group/package.json +++ b/packages/radio-group/package.json @@ -53,4 +53,4 @@ "./lion-radio-group": "./lion-radio-group.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/select-rich/custom-elements.json b/packages/select-rich/custom-elements.json index 928eac2ed..5d985626a 100644 --- a/packages/select-rich/custom-elements.json +++ b/packages/select-rich/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -114,7 +114,7 @@ "name": "selectedElement", "privacy": "public", "type": { - "type": "LionOption | null" + "text": "LionOption | null" }, "description": "The option element that is currently selected", "default": "null" @@ -210,7 +210,7 @@ { "name": "blur", "type": { - "type": "Event" + "text": "Event" } } ], @@ -244,7 +244,7 @@ "name": "navigateWithinInvoker", "privacy": "public", "type": { - "type": "Boolean" + "text": "Boolean" }, "description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.", "default": "false" @@ -254,7 +254,7 @@ "name": "interactionMode", "privacy": "public", "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", "default": "'auto'" @@ -278,7 +278,10 @@ { "kind": "field", "name": "_invokerNode", - "privacy": "protected" + "privacy": "protected", + "type": { + "text": "LionSelectInvoker" + } }, { "kind": "field", @@ -303,13 +306,13 @@ { "name": "name", "type": { - "type": "string" + "text": "string" } }, { "name": "oldValue", "type": { - "type": "unknown" + "text": "unknown" } } ] @@ -322,7 +325,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -335,13 +338,13 @@ { "name": "child", "type": { - "type": "LionOption & FormControlHost" + "text": "LionOption & FormControlHost" } }, { "name": "indexToInsertAt", "type": { - "type": "Number" + "text": "Number" } } ] @@ -354,7 +357,7 @@ { "name": "child", "type": { - "type": "FormRegisteringHost" + "text": "FormRegisteringHost" }, "description": "the child element (field)" } @@ -481,7 +484,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -494,7 +497,7 @@ { "name": "ev", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" }, "description": "the keydown event object" } @@ -557,4 +560,4 @@ "exports": [] } ] -} +} \ No newline at end of file diff --git a/packages/select-rich/package.json b/packages/select-rich/package.json index fdcec9e3e..e15119bfb 100644 --- a/packages/select-rich/package.json +++ b/packages/select-rich/package.json @@ -61,4 +61,4 @@ "./lion-select-rich": "./lion-select-rich.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/select/custom-elements.json b/packages/select/custom-elements.json index f7abe6586..528016080 100644 --- a/packages/select/custom-elements.json +++ b/packages/select/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -43,7 +43,7 @@ { "name": "user-input-changed", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -70,7 +70,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -101,4 +101,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/select/package.json b/packages/select/package.json index 1237a7da5..1a9e11433 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -50,4 +50,4 @@ "./lion-select": "./lion-select.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/singleton-manager/custom-elements.json b/packages/singleton-manager/custom-elements.json index 93ce15c74..f03f58ceb 100644 --- a/packages/singleton-manager/custom-elements.json +++ b/packages/singleton-manager/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -47,13 +47,13 @@ { "name": "key", "type": { - "type": "string" + "text": "string" } }, { "name": "value", "type": { - "type": "any" + "text": "any" } } ] @@ -64,14 +64,14 @@ "privacy": "public", "return": { "type": { - "type": "" + "text": "" } }, "parameters": [ { "name": "key", "type": { - "type": "string" + "text": "string" } } ] @@ -84,7 +84,7 @@ { "name": "key", "type": { - "type": "string" + "text": "string" } } ] @@ -260,7 +260,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "default": "'OverlayManager 1.x'" @@ -396,7 +396,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "default": "'OverlayManager 1.x'" @@ -532,7 +532,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "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", "path": "./demo/singleton-complex/node_modules/page-b/page-b.js", @@ -603,7 +636,7 @@ { "name": "request-instance", "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", "path": "./demo/fail/node_modules/page-b/node_modules/overlays/index.js", @@ -693,7 +693,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "default": "'OverlayManager 2.x'" @@ -765,7 +765,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "default": "'OverlayManager 2.x'" @@ -837,7 +837,7 @@ "kind": "field", "name": "name", "type": { - "type": "string" + "text": "string" }, "privacy": "public", "default": "'OverlayManager 2.x'" @@ -898,4 +898,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/singleton-manager/package.json b/packages/singleton-manager/package.json index b338daf5c..51be90ad7 100644 --- a/packages/singleton-manager/package.json +++ b/packages/singleton-manager/package.json @@ -43,4 +43,4 @@ }, "exports": "./index.js", "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/steps/custom-elements.json b/packages/steps/custom-elements.json index 1fa069e9e..4d6191d70 100644 --- a/packages/steps/custom-elements.json +++ b/packages/steps/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -66,19 +66,19 @@ { "name": "enter", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "leave", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } }, { "name": "skip", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -157,7 +157,7 @@ { "name": "data", "type": { - "type": "Object" + "text": "Object" }, "optional": true } @@ -189,7 +189,7 @@ { "name": "transition", "type": { - "type": "CustomEvent" + "text": "CustomEvent" } } ], @@ -213,7 +213,7 @@ "name": "data", "privacy": "public", "type": { - "type": "{[key: string]: ?}" + "text": "{[key: string]: ?}" }, "default": "{}" }, @@ -222,7 +222,7 @@ "name": "current", "privacy": "public", "type": { - "type": "number" + "text": "number" }, "default": "0" }, @@ -249,13 +249,13 @@ { "name": "newCurrent", "type": { - "type": "number" + "text": "number" } }, { "name": "oldCurrent", "type": { - "type": "number" + "text": "number" } } ] @@ -268,13 +268,13 @@ { "name": "newCurrent", "type": { - "type": "number" + "text": "number" } }, { "name": "oldCurrent", "type": { - "type": "number" + "text": "number" } } ] @@ -287,13 +287,13 @@ { "name": "fromStep", "type": { - "type": "{number: number, element: LionStep}" + "text": "{number: number, element: LionStep}" } }, { "name": "toStep", "type": { - "type": "{number: number, element: LionStep}" + "text": "{number: number, element: LionStep}" } } ] @@ -306,13 +306,13 @@ { "name": "newValues", "type": { - "type": "{current: number}" + "text": "{current: number}" } }, { "name": "oldValues", "type": { - "type": "{current: number}" + "text": "{current: number}" } } ] @@ -333,4 +333,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/steps/package.json b/packages/steps/package.json index d38669679..2cdd2abe9 100644 --- a/packages/steps/package.json +++ b/packages/steps/package.json @@ -51,4 +51,4 @@ "./lion-steps": "./lion-steps.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/switch/custom-elements.json b/packages/switch/custom-elements.json index 2eaff225e..b08a8c743 100644 --- a/packages/switch/custom-elements.json +++ b/packages/switch/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -127,7 +127,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -174,7 +174,7 @@ { "name": "checked-changed", "type": { - "type": "Event" + "text": "Event" } } ], @@ -229,7 +229,7 @@ { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -242,7 +242,7 @@ { "name": "e", "type": { - "type": "KeyboardEvent" + "text": "KeyboardEvent" } } ] @@ -256,13 +256,13 @@ { "name": "name", "type": { - "type": "PropertyKey" + "text": "PropertyKey" } }, { "name": "oldValue", "type": { - "type": "?" + "text": "?" } } ] @@ -283,4 +283,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/switch/package.json b/packages/switch/package.json index 4de68365b..0bd9c5b61 100644 --- a/packages/switch/package.json +++ b/packages/switch/package.json @@ -53,4 +53,4 @@ "./lion-switch-button": "./lion-switch-button.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/tabs/custom-elements.json b/packages/tabs/custom-elements.json index 0cd66b043..bb92be91a 100644 --- a/packages/tabs/custom-elements.json +++ b/packages/tabs/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -43,7 +43,7 @@ { "name": "selected-changed", "type": { - "type": "Event" + "text": "Event" } } ], @@ -86,14 +86,14 @@ "privacy": "public", "return": { "type": { - "type": "EventHandlerNonNull" + "text": "EventHandlerNonNull" } }, "parameters": [ { "name": "index", "type": { - "type": "number" + "text": "number" } } ] @@ -106,7 +106,7 @@ { "name": "ev", "type": { - "type": "Event" + "text": "Event" } } ] @@ -119,7 +119,7 @@ { "name": "value", "type": { - "type": "number" + "text": "number" }, "description": "The new index for focus" } @@ -157,4 +157,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/tabs/package.json b/packages/tabs/package.json index 2c280938d..3800c8095 100644 --- a/packages/tabs/package.json +++ b/packages/tabs/package.json @@ -49,4 +49,4 @@ "./lion-tabs": "./lion-tabs.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/textarea/custom-elements.json b/packages/textarea/custom-elements.json index 73cbc8012..bd87a4b34 100644 --- a/packages/textarea/custom-elements.json +++ b/packages/textarea/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -110,7 +110,7 @@ { "name": "changedProperties", "type": { - "type": "PropertyValues " + "text": "PropertyValues " } } ] @@ -167,4 +167,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/textarea/package.json b/packages/textarea/package.json index 5d8f48da6..564ebdad0 100644 --- a/packages/textarea/package.json +++ b/packages/textarea/package.json @@ -52,4 +52,4 @@ "./lion-textarea": "./lion-textarea.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/tooltip/custom-elements.json b/packages/tooltip/custom-elements.json index d2cdfad21..7934c02ed 100644 --- a/packages/tooltip/custom-elements.json +++ b/packages/tooltip/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -65,7 +65,7 @@ "name": "invokerRelation", "privacy": "public", "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).", "default": "'description'" @@ -131,4 +131,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/tooltip/package.json b/packages/tooltip/package.json index 82f0ba355..47fee47af 100644 --- a/packages/tooltip/package.json +++ b/packages/tooltip/package.json @@ -51,4 +51,4 @@ "./lion-tooltip": "./lion-tooltip.js" }, "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/packages/validate-messages/custom-elements.json b/packages/validate-messages/custom-elements.json index 09ab25045..52d563dc1 100644 --- a/packages/validate-messages/custom-elements.json +++ b/packages/validate-messages/custom-elements.json @@ -1,5 +1,5 @@ { - "schemaVersion": "experimental", + "schemaVersion": "0.1.0", "readme": "", "modules": [ { @@ -500,4 +500,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/packages/validate-messages/package.json b/packages/validate-messages/package.json index acc8f9e4c..0fbb74f03 100644 --- a/packages/validate-messages/package.json +++ b/packages/validate-messages/package.json @@ -47,4 +47,4 @@ }, "exports": "./index.js", "customElementsManifest": "custom-elements.json" -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 80788ca18..374ceb61c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1350,6 +1350,22 @@ resolved "https://registry.yarnpkg.com/@coolaj86/urequest/-/urequest-1.3.7.tgz#66a1d66378dd6534e9c8e68948bf09acf32bab77" 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": version "10.0.29" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0" @@ -4252,6 +4268,11 @@ commander@~2.9.0: dependencies: 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: version "1.8.0" 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" 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: version "4.0.0" resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4"