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

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

View file

@ -10,6 +10,7 @@
"build:docs": "wca analyze \"packages/tabs/**/*.js\"",
"build: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",

View file

@ -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"
}
}
]

View file

@ -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
}

View file

@ -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<Response>"
}
},
"parameters": [
{
"name": "url",
"name": "info",
"type": {
"type": "string"
"text": "RequestInfo"
}
},
{
"name": "config",
"name": "init",
"type": {
"type": "{[key:string]: ?}"
"text": "RequestInit & Partial<CacheRequestExtension>"
},
"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,17 +427,45 @@
"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": []
}

View file

@ -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"
}
}
]

View file

@ -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"
}
}
]

View file

@ -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 "
}
}
]

View file

@ -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<void>"
"text": "Promise<void>"
}
},
"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"
}
}
]

File diff suppressed because it is too large Load diff

View file

@ -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<DisabledHost> & typeof DisabledHost"
"text": "T & Constructor<DisabledHost> & 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<DisabledWithTabIndexHost> & Constructor<DisabledHost>"
"text": "T & Constructor<DisabledWithTabIndexHost> & Constructor<DisabledHost>"
}
},
"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<SlotHost> & typeof SlotHost"
"text": "T & Constructor<SlotHost> & 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"
}
}
]

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

@ -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"
}
}
]

View file

@ -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"
}

View file

@ -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<TemplateResult> | nothing | Promise<nothing> "
"text": "(iconset: string, icon: string) => TemplateResult | Promise<TemplateResult> | nothing | Promise<nothing> "
}
}
]
@ -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<TemplateResult>"
"text": "Promise<TemplateResult>"
}
},
"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<TemplateResult>"
"text": "Promise<TemplateResult>"
}
},
"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"
}
}
]

View file

@ -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

View file

@ -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"
}
}
]

View file

@ -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"
}
}
]

View file

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

View file

@ -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<string|Node>"
"text": "Promise<string|Node>"
}
},
"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.<string,?>"
"text": "Object.<string,?>"
},
"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<string|Node>"
"text": "Promise<string|Node>"
}
},
"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.<string,?>"
"text": "Object.<string,?>"
},
"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<string|Node>"
"text": "Promise<string|Node>"
}
},
"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.<string,?>"
"text": "Object.<string,?>"
},
"optional": true
},
{
"name": "data.name",
"type": {
"type": "string"
"text": "string"
},
"optional": true
}

View file

@ -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 "
}
}
]

View file

@ -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"
}
}
}

View file

@ -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 "
}
}
]

View file

@ -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<ListboxHost> &\n typeof ListboxHost &\n Constructor<ChoiceGroupHost> &\n typeof ChoiceGroupHost &\n Constructor<SlotHost> &\n typeof SlotHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormControlHost> &\n typeof FormControlHost"
"text": "T &\n Constructor<ListboxHost> &\n typeof ListboxHost &\n Constructor<ChoiceGroupHost> &\n typeof ChoiceGroupHost &\n Constructor<SlotHost> &\n typeof SlotHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormControlHost> &\n typeof FormControlHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
"text": "T"
}
}
]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
{
"schemaVersion": "experimental",
"schemaVersion": "0.1.0",
"readme": "",
"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[]"
}
}
}

View file

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

View file

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

View file

@ -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"
}

View file

@ -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 "
}
}
]

View file

@ -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'"

View file

@ -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}"
}
}
]

View file

@ -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": "?"
}
}
]

View file

@ -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"
}

View file

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

View file

@ -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'"

View file

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

View file

@ -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"