docs: add custom elements manifest

This commit is contained in:
thepassle 2021-02-11 09:59:22 +01:00 committed by Joren Broekema
parent 0f3882c628
commit 4c115ccf4e
76 changed files with 35009 additions and 37 deletions

View file

@ -0,0 +1,152 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionAccordion",
"declaration": {
"name": "LionAccordion",
"module": "./src/LionAccordion.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-accordion.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-accordion",
"declaration": {
"name": "LionAccordion",
"module": "./src/LionAccordion.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionAccordion.js",
"declarations": [
{
"kind": "class",
"name": "LionAccordion",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "focusedIndex",
"fieldName": "focusedIndex"
},
{
"name": "expanded",
"fieldName": "expanded"
}
],
"members": [
{
"kind": "field",
"name": "focusedIndex",
"privacy": "public"
},
{
"kind": "field",
"name": "expanded",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupSlots",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupStore",
"privacy": "public"
},
{
"kind": "method",
"name": "__cleanStore",
"privacy": "public"
},
{
"kind": "method",
"name": "__createInvokerClickHandler",
"privacy": "public",
"parameters": [
{
"name": "index",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "__handleInvokerKeydown",
"privacy": "public",
"parameters": [
{
"name": "e",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "field",
"name": "_pairCount",
"privacy": "public"
},
{
"kind": "method",
"name": "__updateFocused",
"privacy": "public"
},
{
"kind": "method",
"name": "__updateExpanded",
"privacy": "public"
},
{
"kind": "method",
"name": "__toggleExpanded",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "number"
}
}
]
}
],
"tagName": "lion-accordion"
}
],
"exports": [
{
"kind": "js",
"name": "LionAccordion",
"declaration": {
"name": "LionAccordion",
"module": "./src/LionAccordion.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group accordion",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group accordion",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group accordion",
@ -43,8 +44,12 @@
"publishConfig": {
"access": "public"
},
<<<<<<< HEAD
"exports": {
".": "./index.js",
"./lion-accordion": "./lion-accordion.js"
}
=======
"customElementsManifest": "custom-elements.json"
>>>>>>> d8595b90... docs: add custom elements manifest
}

View file

@ -0,0 +1,498 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "ajax",
"declaration": {
"name": "ajax",
"module": "./src/ajax.js"
}
},
{
"kind": "js",
"name": "setAjax",
"declaration": {
"name": "setAjax",
"module": "./src/ajax.js"
}
},
{
"kind": "js",
"name": "AjaxClass",
"declaration": {
"name": "AjaxClass",
"module": "./src/AjaxClass.js"
}
},
{
"kind": "js",
"name": "cancelInterceptorFactory",
"declaration": {
"name": "cancelInterceptorFactory",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "cancelPreviousOnNewRequestInterceptorFactory",
"declaration": {
"name": "cancelPreviousOnNewRequestInterceptorFactory",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "addAcceptLanguageHeaderInterceptorFactory",
"declaration": {
"name": "addAcceptLanguageHeaderInterceptorFactory",
"module": "./src/interceptors.js"
}
},
{
"kind": "js",
"name": "jsonPrefixTransformerFactory",
"declaration": {
"name": "jsonPrefixTransformerFactory",
"module": "./src/transformers.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/AjaxClass.js",
"declarations": [
{
"kind": "class",
"name": "AjaxClass",
"members": [
{
"kind": "field",
"name": "options",
"privacy": "public"
},
{
"kind": "method",
"name": "request",
"privacy": "public",
"description": "Dispatches a request",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "url",
"type": {
"type": "string"
}
},
{
"name": "config",
"type": {
"type": "{[key:string]: ?}"
},
"description": "the config specific for this request",
"optional": true
}
]
},
{
"kind": "method",
"name": "cancel",
"privacy": "public",
"parameters": [
{
"name": "msg",
"type": {
"type": "string"
}
}
]
},
{
"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",
"type": {
"type": "{[key:string]: ?}"
},
"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]: ?}"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "AjaxClass",
"declaration": {
"name": "AjaxClass",
"module": "./src/AjaxClass.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/ajax.js",
"declarations": [
{
"kind": "variable",
"name": "ajax"
},
{
"kind": "function",
"name": "setAjax",
"description": "setAjax allows the Application Developer to override the globally used instance of {@link:ajax}.\nAll interactions with {@link:ajax} after the call to setAjax will use this new instance\n(so make sure to call this method before dependant code using {@link:ajax} is ran and this\nmethod is not called by any of your (indirect) dependencies.)",
"parameters": [
{
"name": "newAjax",
"type": {
"type": "AjaxClass"
},
"description": "the globally used instance of {@link:ajax}."
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ajax",
"declaration": {
"name": "ajax",
"module": "./src/ajax.js"
}
},
{
"kind": "js",
"name": "setAjax",
"declaration": {
"name": "setAjax",
"module": "./src/ajax.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/interceptors.js",
"declarations": [
{
"kind": "function",
"name": "addAcceptLanguageHeaderInterceptorFactory",
"return": {
"type": {
"type": "(config: {[key:string]: ?}) => {[key:string]: ?}"
}
},
"parameters": [
{
"name": "lang",
"type": {
"type": "string"
},
"optional": true
}
]
},
{
"kind": "function",
"name": "cancelInterceptorFactory",
"return": {
"type": {
"type": "(config: {[key:string]: ?}) => {[key:string]: ?}"
}
},
"parameters": [
{
"name": "ajaxInstance",
"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": [
{
"name": "prefix",
"type": {
"type": "string"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "jsonPrefixTransformerFactory",
"declaration": {
"name": "jsonPrefixTransformerFactory",
"module": "./src/transformers.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/assets/data.json",
"declarations": [],
"exports": []
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group ajax",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group ajax",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group ajax",
@ -39,5 +40,6 @@
"publishConfig": {
"access": "public"
},
"exports": "./index.js"
"exports": "./index.js",
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,229 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionButton",
"declaration": {
"name": "LionButton",
"module": "./src/LionButton.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-button.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-button",
"declaration": {
"name": "LionButton",
"module": "./src/LionButton.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionButton.js",
"declarations": [
{
"kind": "class",
"name": "LionButton",
"mixins": [
{
"name": "DisabledWithTabIndexMixin",
"package": "@lion/core"
},
{
"name": "SlotMixin",
"package": "@lion/core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "role",
"fieldName": "role"
},
{
"name": "active",
"fieldName": "active"
},
{
"name": "type",
"fieldName": "type"
}
],
"members": [
{
"kind": "field",
"name": "role",
"privacy": "public",
"default": "'button'"
},
{
"kind": "field",
"name": "active",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "type",
"privacy": "public",
"default": "'submit'"
},
{
"kind": "method",
"name": "_beforeTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_afterTemplate",
"privacy": "public"
},
{
"kind": "field",
"name": "_nativeButtonNode",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "method",
"name": "__clickDelegationHandler",
"privacy": "public",
"description": "Delegate click, by flashing a native button as a direct child\nof the form, and firing click on this button. This will fire the form submit\nwithout side effects caused by the click bubbling back up to lion-button.",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "__setupDelegationInConstructor",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupEvents",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownEvents",
"privacy": "public"
},
{
"kind": "method",
"name": "__mousedownHandler",
"privacy": "public"
},
{
"kind": "method",
"name": "__keydownHandler",
"privacy": "public",
"parameters": [
{
"name": "e",
"type": {
"type": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "__keyupHandler",
"privacy": "public",
"parameters": [
{
"name": "e",
"type": {
"type": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "__preventEventLeakage",
"privacy": "public",
"description": "Prevents that someone who listens outside or on form catches the click event",
"parameters": [
{
"name": "e",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "__setupSubmitAndResetHelperOnConnected",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownSubmitAndResetHelperOnDisconnected",
"privacy": "public"
}
],
"tagName": "lion-button"
}
],
"exports": [
{
"kind": "js",
"name": "LionButton",
"declaration": {
"name": "LionButton",
"module": "./src/LionButton.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test/demos.screenshots-test.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/assets/icon.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/assets/icon.svg.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group button",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group button",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group button",
@ -46,5 +47,6 @@
"exports": {
".": "./index.js",
"./lion-button": "./lion-button.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group calendar",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group calendar",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group calendar",
@ -48,5 +49,6 @@
".": "./index.js",
"./lion-calendar": "./lion-calendar.js",
"./test-helpers": "./test-helpers.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,255 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionCheckboxGroup",
"declaration": {
"name": "LionCheckboxGroup",
"module": "./src/LionCheckboxGroup.js"
}
},
{
"kind": "js",
"name": "LionCheckboxIndeterminate",
"declaration": {
"name": "LionCheckboxIndeterminate",
"module": "./src/LionCheckboxIndeterminate.js"
}
},
{
"kind": "js",
"name": "LionCheckbox",
"declaration": {
"name": "LionCheckbox",
"module": "./src/LionCheckbox.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-checkbox-group.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-checkbox-group",
"declaration": {
"name": "LionCheckboxGroup",
"module": "./src/LionCheckboxGroup.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-checkbox-indeterminate.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-checkbox-indeterminate",
"declaration": {
"name": "LionCheckboxIndeterminate",
"module": "./src/LionCheckboxIndeterminate.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-checkbox.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-checkbox",
"declaration": {
"name": "LionCheckbox",
"module": "./src/LionCheckbox.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionCheckbox.js",
"declarations": [
{
"kind": "class",
"name": "LionCheckbox",
"mixins": [
{
"name": "ChoiceInputMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"members": [
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
}
],
"tagName": "lion-checkbox"
}
],
"exports": [
{
"kind": "js",
"name": "LionCheckbox",
"declaration": {
"name": "LionCheckbox",
"module": "./src/LionCheckbox.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionCheckboxGroup.js",
"declarations": [
{
"kind": "class",
"name": "LionCheckboxGroup",
"mixins": [
{
"name": "ChoiceGroupMixin",
"package": "@lion/form-core"
},
{
"name": "FormGroupMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"tagName": "lion-checkbox-group"
}
],
"exports": [
{
"kind": "js",
"name": "LionCheckboxGroup",
"declaration": {
"name": "LionCheckboxGroup",
"module": "./src/LionCheckboxGroup.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionCheckboxIndeterminate.js",
"declarations": [
{
"kind": "class",
"name": "LionCheckboxIndeterminate",
"superclass": {
"name": "LionCheckbox",
"module": "/src/src/LionCheckbox.js"
},
"attributes": [
{
"name": "indeterminate",
"fieldName": "indeterminate"
}
],
"members": [
{
"kind": "field",
"name": "indeterminate",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "_checkboxGroupNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_subCheckboxes",
"privacy": "public"
},
{
"kind": "method",
"name": "_setOwnCheckedState",
"privacy": "public"
},
{
"kind": "method",
"name": "__onModelValueChanged",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_afterTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_onRequestToAddFormElement",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
}
],
"tagName": "lion-checkbox-indeterminate"
}
],
"exports": [
{
"kind": "js",
"name": "LionCheckboxIndeterminate",
"declaration": {
"name": "LionCheckboxIndeterminate",
"module": "./src/LionCheckboxIndeterminate.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group checkbox-group",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group checkbox-group",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group checkbox-group",
@ -52,5 +53,6 @@
"./lion-checkbox": "./lion-checkbox.js",
"./lion-checkbox-group": "./lion-checkbox-group.js",
"./lion-checkbox-indeterminate": "./lion-checkbox-indeterminate.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,423 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionCollapsible",
"declaration": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-collapsible.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-collapsible",
"declaration": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/CustomCollapsible.js",
"declarations": [
{
"kind": "class",
"name": "CustomCollapsible",
"superclass": {
"name": "LionCollapsible",
"module": "/demo/src/LionCollapsible.js"
},
"attributes": [
{
"name": "transitioning",
"fieldName": "transitioning"
},
{
"name": "opened",
"fieldName": "opened",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
],
"members": [
{
"kind": "field",
"name": "transitioning",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "toggle",
"privacy": "public",
"description": "Wait until transition is finished."
},
{
"kind": "method",
"name": "_showAnimation",
"privacy": "public",
"description": "Trigger show animation and wait for transition to be finished.",
"parameters": [
{
"name": "options",
"type": {
"type": "Object"
},
"description": "element node and its options"
},
{
"name": "options.contentNode",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "_hideAnimation",
"privacy": "public",
"description": "Trigger hide animation and wait for transition to be finished.",
"parameters": [
{
"name": "options",
"type": {
"type": "Object"
},
"description": "element node and its options"
},
{
"name": "options.contentNode",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "_waitForTransition",
"privacy": "public",
"description": "Wait until the transition event is finished.",
"return": {
"type": {
"type": "Promise<void>"
}
},
"parameters": [
{
"name": "options",
"type": {
"type": "Object"
},
"description": "element node and its options"
},
{
"name": "options.contentNode",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "__calculateHeight",
"privacy": "private",
"description": "Calculate total content height after collapsible opens",
"parameters": [
{
"name": "contentNode",
"type": {
"type": "HTMLElement"
},
"description": "content node"
}
]
},
{
"kind": "field",
"name": "opened",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "method",
"name": "show",
"privacy": "public",
"description": "Show extra content.",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "method",
"name": "hide",
"privacy": "public",
"description": "Hide extra content.",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "field",
"name": "_invokerNode",
"privacy": "public",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "field",
"name": "_contentNode",
"privacy": "public",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "field",
"name": "_contentHeight",
"privacy": "public",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "method",
"name": "__openedChanged",
"privacy": "private",
"description": "Update content slot size and fire `opened-changed` event",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "method",
"name": "__updateContentSize",
"privacy": "private",
"description": "Toggle extra content visibility on state change.",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
},
{
"kind": "method",
"name": "__setDefaultState",
"privacy": "private",
"description": "Set default state for content based on `opened` attr",
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
],
"tagName": "custom-collapsible",
"events": [
{
"name": "opened-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "CustomCollapsible",
"declaration": {
"name": "CustomCollapsible",
"module": "./demo/CustomCollapsible.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/applyDemoCollapsibleStyles.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/custom-collapsible.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "custom-collapsible",
"declaration": {
"name": "CustomCollapsible",
"module": "./demo/CustomCollapsible.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionCollapsible.js",
"declarations": [
{
"kind": "class",
"name": "LionCollapsible",
"events": [
{
"name": "opened-changed",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "opened",
"fieldName": "opened"
}
],
"members": [
{
"kind": "field",
"name": "opened",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "show",
"privacy": "public",
"description": "Show extra content."
},
{
"kind": "method",
"name": "hide",
"privacy": "public",
"description": "Hide extra content."
},
{
"kind": "method",
"name": "toggle",
"privacy": "public",
"description": "Toggle the current(opened/closed) state."
},
{
"kind": "method",
"name": "_showAnimation",
"privacy": "protected",
"description": "Show animation implementation in sub-classer.",
"parameters": [
{
"name": "opts",
"type": {
"type": "Object"
}
}
]
},
{
"kind": "method",
"name": "_hideAnimation",
"privacy": "protected",
"description": "Hide animation implementation in sub-classer.",
"parameters": [
{
"name": "opts",
"type": {
"type": "Object"
}
}
]
},
{
"kind": "field",
"name": "_invokerNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_contentNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_contentHeight",
"privacy": "public"
},
{
"kind": "method",
"name": "__openedChanged",
"privacy": "private",
"description": "Update content slot size and fire `opened-changed` event"
},
{
"kind": "method",
"name": "__updateContentSize",
"privacy": "private",
"description": "Toggle extra content visibility on state change."
},
{
"kind": "method",
"name": "__setDefaultState",
"privacy": "private",
"description": "Set default state for content based on `opened` attr"
}
],
"tagName": "lion-collapsible"
}
],
"exports": [
{
"kind": "js",
"name": "LionCollapsible",
"declaration": {
"name": "LionCollapsible",
"module": "./src/LionCollapsible.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group collapsible",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group collapsible",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group collapsible",
@ -49,5 +50,6 @@
"exports": {
".": "./index.js",
"./lion-collapsible": "./lion-collapsible.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group combobox",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group combobox",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group combobox",
@ -59,5 +60,6 @@
"exports": {
".": "./index.js",
"./lion-combobox": "./lion-combobox.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group core",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group core",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group core",
@ -51,5 +52,6 @@
"./test-helpers/*": "./test-helpers/*",
"./closestPolyfill": "./src/closestPolyfill.js",
"./differentKeyEventNamesShimIE": "./src/differentKeyEventNamesShimIE.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,163 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionDialog",
"declaration": {
"name": "LionDialog",
"module": "./src/LionDialog.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-dialog.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-dialog",
"declaration": {
"name": "LionDialog",
"module": "./src/LionDialog.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/demo-dialog-style.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/demo-dialog-style.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/slots-dialog-content.js",
"declarations": [
{
"kind": "class",
"name": "SlotsDialogContent",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"tagName": "slots-dialog-content"
}
],
"exports": [
{
"kind": "custom-element-definition",
"name": "slots-dialog-content",
"declaration": {
"name": "SlotsDialogContent",
"module": "./docs/slots-dialog-content.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/styled-dialog-content.js",
"declarations": [
{
"kind": "class",
"name": "StyledDialogContent",
"events": [
{
"name": "close-overlay",
"type": {
"type": "Event"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "method",
"name": "_closeOverlay",
"privacy": "public"
}
],
"tagName": "styled-dialog-content"
}
],
"exports": [
{
"kind": "custom-element-definition",
"name": "styled-dialog-content",
"declaration": {
"name": "StyledDialogContent",
"module": "./docs/styled-dialog-content.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionDialog.js",
"declarations": [
{
"kind": "class",
"name": "LionDialog",
"mixins": [
{
"name": "OverlayMixin",
"package": "@lion/overlays"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "method",
"name": "_defineOverlayConfig",
"privacy": "public"
},
{
"kind": "method",
"name": "_setupOpenCloseListeners",
"privacy": "public"
},
{
"kind": "method",
"name": "_teardownOpenCloseListeners",
"privacy": "public"
}
],
"tagName": "lion-dialog"
}
],
"exports": [
{
"kind": "js",
"name": "LionDialog",
"declaration": {
"name": "LionDialog",
"module": "./src/LionDialog.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group dialog",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group dialog",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group dialog",
@ -48,5 +49,6 @@
"exports": {
".": "./index.js",
"./lion-dialog": "./lion-dialog.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,81 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionFieldset",
"declaration": {
"name": "LionFieldset",
"module": "./src/LionFieldset.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-fieldset.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-fieldset",
"declaration": {
"name": "LionFieldset",
"module": "./src/LionFieldset.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionFieldset.js",
"declarations": [
{
"kind": "class",
"name": "LionFieldset",
"mixins": [
{
"name": "FormGroupMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"tagName": "lion-fieldset"
}
],
"exports": [
{
"kind": "js",
"name": "LionFieldset",
"declaration": {
"name": "LionFieldset",
"module": "./src/LionFieldset.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/helpers/demo-fieldset-child.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "demo-fieldset-child",
"declaration": {
"module": "./docs/helpers/demo-fieldset-child.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group fieldset",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group fieldset",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group fieldset",
@ -48,5 +49,6 @@
"exports": {
".": "./index.js",
"./lion-fieldset": "./lion-fieldset.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group form-core",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group form-core",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group form-core",
@ -51,5 +52,6 @@
"./test-suites/*": "./test-suites/*",
"./lion-field": "./lion-field.js",
"./lion-validation-feedback": "./lion-validation-feedback.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,182 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/helper-wc/h-output.js",
"declarations": [
{
"kind": "class",
"name": "HelperOutput",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "field",
"fieldName": "field"
},
{
"name": "show",
"fieldName": "show"
}
],
"members": [
{
"kind": "field",
"name": "field",
"privacy": "public"
},
{
"kind": "field",
"name": "show",
"privacy": "public"
},
{
"kind": "method",
"name": "__rerender",
"privacy": "public"
},
{
"kind": "method",
"name": "__renderProp",
"privacy": "public",
"parameters": [
{
"name": "p"
}
]
}
],
"tagName": "h-output"
}
],
"exports": [
{
"kind": "js",
"name": "HelperOutput",
"declaration": {
"name": "HelperOutput",
"module": "./docs/helper-wc/h-output.js"
}
},
{
"kind": "custom-element-definition",
"name": "h-output",
"declaration": {
"name": "HelperOutput",
"module": "./docs/helper-wc/h-output.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test/helpers/umbrella-form.js",
"declarations": [
{
"kind": "class",
"name": "UmbrellaForm",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "_lionFormNode",
"privacy": "public"
}
],
"tagName": "umbrella-form"
}
],
"exports": [
{
"kind": "js",
"name": "UmbrellaForm",
"declaration": {
"name": "UmbrellaForm",
"module": "./test/helpers/umbrella-form.js"
}
},
{
"kind": "custom-element-definition",
"name": "umbrella-form",
"declaration": {
"name": "UmbrellaForm",
"module": "./test/helpers/umbrella-form.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/15-features-overview.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/17-validation-examples.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/20-system-overview.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/25-system-model-value.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/30-system-formatting.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/35-system-interaction-states.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/40-system-creating-a-custom-field.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/50-content-inside-fields.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/60-dialog-integration.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/fieldset-examples.md",
"declarations": [],
"exports": []
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group form-integrations",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group form-integrations",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group form-integrations",
@ -65,5 +66,6 @@
"publishConfig": {
"access": "public"
},
"exports": "./index.js"
"exports": "./index.js",
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,138 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionForm",
"declaration": {
"name": "LionForm",
"module": "./src/LionForm.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-form.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-form",
"declaration": {
"name": "LionForm",
"module": "./src/LionForm.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionForm.js",
"declarations": [
{
"kind": "class",
"name": "LionForm",
"events": [
{
"name": "submit",
"type": {
"type": "Event"
}
},
{
"name": "reset",
"type": {
"type": "Event"
}
}
],
"superclass": {
"name": "LionFieldset",
"package": "@lion/fieldset"
},
"members": [
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "field",
"name": "_formNode",
"privacy": "public"
},
{
"kind": "method",
"name": "submit",
"privacy": "public"
},
{
"kind": "method",
"name": "_submit",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "reset",
"privacy": "public"
},
{
"kind": "method",
"name": "_reset",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "__registerEventsForLionForm",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownEventsForLionForm",
"privacy": "public"
}
],
"tagName": "lion-form"
}
],
"exports": [
{
"kind": "js",
"name": "LionForm",
"declaration": {
"name": "LionForm",
"module": "./src/LionForm.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group form",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group form",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group form",
@ -46,5 +47,6 @@
"exports": {
".": "./index.js",
"./lion-form": "./lion-form.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

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

View file

@ -21,6 +21,7 @@
"sortEachDepth"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group helpers",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group helpers",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group helpers",
@ -47,5 +48,6 @@
".": "./index.js",
"./sb-action-logger": "./sb-action-logger.js",
"./sb-locale-switcher": "./sb-locale-switcher.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,886 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionIcon",
"declaration": {
"name": "LionIcon",
"module": "./src/LionIcon.js"
}
},
{
"kind": "js",
"name": "icons",
"declaration": {
"name": "icons",
"module": "./src/icons.js"
}
},
{
"kind": "js",
"name": "setIcons",
"declaration": {
"name": "setIcons",
"module": "./src/icons.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-icon.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-icon",
"declaration": {
"name": "LionIcon",
"module": "./src/LionIcon.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/IconManager.js",
"declarations": [
{
"kind": "class",
"name": "IconManager",
"members": [
{
"kind": "method",
"name": "addIconResolver",
"privacy": "public",
"description": "Adds an icon resolver for the given namespace. An icon resolver is a\nfunction which takes an icon set and an icon name and returns an svg\nicon as a TemplateResult. This function can be sync or async.",
"parameters": [
{
"name": "namespace",
"type": {
"type": "string"
}
},
{
"name": "iconResolver",
"type": {
"type": "(iconset: string, icon: string) => TemplateResult | Promise<TemplateResult> | nothing | Promise<nothing> "
}
}
]
},
{
"kind": "method",
"name": "removeIconResolver",
"privacy": "public",
"description": "Removes an icon resolver for a namespace.",
"parameters": [
{
"name": "namespace",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "resolveIcon",
"privacy": "public",
"description": "Resolves icon for the given parameters. Returns the icon as a svg string.",
"return": {
"type": {
"type": "Promise<TemplateResult>"
}
},
"parameters": [
{
"name": "namespace",
"type": {
"type": "string"
}
},
{
"name": "iconset",
"type": {
"type": "string"
}
},
{
"name": "icon",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "resolveIconForId",
"privacy": "public",
"description": "Resolves icon for the given icon id. Returns the icon as a svg string.",
"return": {
"type": {
"type": "Promise<TemplateResult>"
}
},
"parameters": [
{
"name": "iconId",
"type": {
"type": "string"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "IconManager",
"declaration": {
"name": "IconManager",
"module": "./src/IconManager.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionIcon.js",
"declarations": [
{
"kind": "class",
"name": "LionIcon",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "svg",
"privacy": "public"
},
{
"kind": "field",
"name": "ariaLabel",
"privacy": "public",
"default": "''"
},
{
"kind": "field",
"name": "iconId",
"privacy": "public",
"default": "''"
},
{
"kind": "field",
"name": "role",
"privacy": "public",
"default": "'img'"
},
{
"kind": "method",
"name": "_onLabelChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "_renderSvg",
"privacy": "public",
"parameters": [
{
"name": "svgObject",
"type": {
"type": "TemplateResult | nothing"
}
}
]
},
{
"kind": "field",
"name": "_iconManager",
"privacy": "public"
},
{
"kind": "method",
"name": "_onIconIdChanged",
"privacy": "public",
"parameters": [
{
"name": "prevIconId",
"type": {
"type": "string"
}
}
]
}
],
"attributes": [
{
"name": "aria-label",
"fieldName": "ariaLabel"
},
{
"name": "icon-id",
"fieldName": "iconId"
},
{
"name": "role",
"fieldName": "role"
}
],
"tagName": "lion-icon"
}
],
"exports": [
{
"kind": "js",
"name": "LionIcon",
"declaration": {
"name": "LionIcon",
"module": "./src/LionIcon.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/icons.js",
"declarations": [
{
"kind": "variable",
"name": "icons"
},
{
"kind": "function",
"name": "setIcons",
"parameters": [
{
"name": "newIcons"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "icons",
"declaration": {
"name": "icons",
"module": "./src/icons.js"
}
},
{
"kind": "js",
"name": "setIcons",
"declaration": {
"name": "setIcons",
"module": "./src/icons.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test/hammer.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./test/hammer.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test/heart.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./test/heart.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/iconset-bugs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "bug01",
"declaration": {
"name": "bug01",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug02",
"declaration": {
"name": "bug02",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug05",
"declaration": {
"name": "bug05",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug06",
"declaration": {
"name": "bug06",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug08",
"declaration": {
"name": "bug08",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug12",
"declaration": {
"name": "bug12",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug19",
"declaration": {
"name": "bug19",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug23",
"declaration": {
"name": "bug23",
"module": "./docs/icons/iconset-bugs.js"
}
},
{
"kind": "js",
"name": "bug24",
"declaration": {
"name": "bug24",
"module": "./docs/icons/iconset-bugs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/iconset-misc.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "arrowLeft",
"declaration": {
"name": "arrowLeft",
"module": "./docs/icons/iconset-misc.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/iconset-space.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "alienSpaceship",
"declaration": {
"name": "alienSpaceship",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "meteor",
"declaration": {
"name": "meteor",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "moonFlag",
"declaration": {
"name": "moonFlag",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "moon",
"declaration": {
"name": "moon",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "night",
"declaration": {
"name": "night",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "orbit",
"declaration": {
"name": "orbit",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "planet",
"declaration": {
"name": "planet",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "robot",
"declaration": {
"name": "robot",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "rocket",
"declaration": {
"name": "rocket",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "satellite",
"declaration": {
"name": "satellite",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "signal",
"declaration": {
"name": "signal",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "spaceHelmet",
"declaration": {
"name": "spaceHelmet",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "sun",
"declaration": {
"name": "sun",
"module": "./docs/icons/iconset-space.js"
}
},
{
"kind": "js",
"name": "telescope",
"declaration": {
"name": "telescope",
"module": "./docs/icons/iconset-space.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug01.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug01.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug02.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug02.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug05.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug05.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug06.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug06.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug08.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug08.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug12.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug12.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug19.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug19.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug23.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug23.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/bugs/bug24.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/bugs/bug24.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/misc/arrowLeft.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/misc/arrowLeft.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/aliens-spaceship.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/aliens-spaceship.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/meteor.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/meteor.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/moon-flag.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/moon-flag.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/moon.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/moon.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/night.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/night.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/orbit.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/orbit.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/planet.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/planet.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/robot.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/robot.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/rocket.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/rocket.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/satellite.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/satellite.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/signal.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/signal.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/space-helmet.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/space-helmet.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/sun.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/sun.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/icons/space/telescope.svg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/icons/space/telescope.svg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/system.md",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./docs/system.md"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group icon",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group icon",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group icon",
@ -48,5 +49,6 @@
"exports": {
".": "./index.js",
"./lion-icon": "./lion-icon.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,283 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputAmount",
"declaration": {
"name": "LionInputAmount",
"module": "./src/LionInputAmount.js"
}
},
{
"kind": "js",
"name": "formatAmount",
"declaration": {
"name": "formatAmount",
"module": "./src/formatters.js"
}
},
{
"kind": "js",
"name": "parseAmount",
"declaration": {
"name": "parseAmount",
"module": "./src/parsers.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-amount.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-amount",
"declaration": {
"name": "LionInputAmount",
"module": "./src/LionInputAmount.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputAmount.js",
"declarations": [
{
"kind": "class",
"name": "LionInputAmount",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"attributes": [
{
"name": "currency",
"fieldName": "currency"
},
{
"name": "modelValue",
"fieldName": "modelValue"
}
],
"members": [
{
"kind": "field",
"name": "currency",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined"
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "_currencyDisplayNode",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "__callParser",
"privacy": "public",
"parameters": [
{
"name": "value",
"default": "this.formattedValue"
}
]
},
{
"kind": "method",
"name": "_reflectBackOn",
"privacy": "public"
},
{
"kind": "method",
"name": "_onCurrencyChanged",
"privacy": "public",
"parameters": [
{
"name": "opts",
"type": {
"type": "Object"
}
},
{
"name": "opts.currency",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "__setCurrencyDisplayLabel",
"privacy": "public"
},
{
"kind": "field",
"name": "__currencyLabel",
"privacy": "public"
}
],
"tagName": "lion-input-amount"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputAmount",
"declaration": {
"name": "LionInputAmount",
"module": "./src/LionInputAmount.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/formatters.js",
"declarations": [
{
"kind": "function",
"name": "formatAmount",
"description": "Formats a number considering the default fraction digits provided by Intl.",
"parameters": [
{
"name": "modelValue",
"type": {
"type": "number"
},
"description": "Number to format"
},
{
"name": "givenOptions",
"type": {
"type": "FormatOptions"
},
"optional": true
}
]
},
{
"kind": "function",
"name": "formatCurrencyLabel",
"parameters": [
{
"name": "currency",
"type": {
"type": "string"
}
},
{
"name": "locale",
"type": {
"type": "string"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "formatAmount",
"declaration": {
"name": "formatAmount",
"module": "./src/formatters.js"
}
},
{
"kind": "js",
"name": "formatCurrencyLabel",
"declaration": {
"name": "formatCurrencyLabel",
"module": "./src/formatters.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/parsers.js",
"declarations": [
{
"kind": "function",
"name": "parseAmount",
"description": "Parses a number string and returns the best possible javascript number.\nFor edge cases it may use locale to give the best possible assumption.\n\nIt has 3 \"methods\" of returning numbers\n- 'unparseable': becomes just numbers\n- 'withLocale': result depends on given or global locale\n- 'heuristic': result depends on considering separators",
"parameters": [
{
"name": "value",
"type": {
"type": "string"
},
"description": "Number to be parsed"
},
{
"name": "options",
"type": {
"type": "object"
},
"description": "Locale Options",
"optional": true
}
]
}
],
"exports": [
{
"kind": "js",
"name": "parseAmount",
"declaration": {
"name": "parseAmount",
"module": "./src/parsers.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-amount",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-amount",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-amount",
@ -50,5 +51,6 @@
"exports": {
".": "./index.js",
"./lion-input-amount": "./lion-input-amount.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,124 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputDate",
"declaration": {
"name": "LionInputDate",
"module": "./src/LionInputDate.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-date.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-date",
"declaration": {
"name": "LionInputDate",
"module": "./src/LionInputDate.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputDate.js",
"declarations": [
{
"kind": "class",
"name": "LionInputDate",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"attributes": [
{
"name": "modelValue",
"fieldName": "modelValue"
}
],
"members": [
{
"kind": "field",
"name": "modelValue",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "serializer",
"privacy": "public",
"parameters": [
{
"name": "modelValue",
"type": {
"type": "Date"
}
}
]
},
{
"kind": "method",
"name": "deserializer",
"privacy": "public",
"parameters": [
{
"name": "serializedValue",
"type": {
"type": "string"
}
}
]
}
],
"tagName": "lion-input-date"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputDate",
"declaration": {
"name": "LionInputDate",
"module": "./src/LionInputDate.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-date",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-date",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-date",
@ -50,5 +51,6 @@
"exports": {
".": "./index.js",
"./lion-input-date": "./lion-input-date.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,923 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputDatepicker",
"declaration": {
"name": "LionInputDatepicker",
"module": "./src/LionInputDatepicker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-datepicker.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-datepicker",
"declaration": {
"name": "LionInputDatepicker",
"module": "./src/LionInputDatepicker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test-helpers.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "DatepickerInputObject",
"declaration": {
"name": "DatepickerInputObject",
"module": "./test-helpers/DatepickerInputObject.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionCalendarOverlayFrame.js",
"declarations": [
{
"kind": "class",
"name": "LionCalendarOverlayFrame",
"events": [
{
"name": "close-overlay",
"type": {
"type": "Event"
}
}
],
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "localizeNamespaces",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "__dispatchCloseEvent",
"privacy": "public"
}
],
"tagName": "lion-calendar-overlay-frame"
}
],
"exports": [
{
"kind": "js",
"name": "LionCalendarOverlayFrame",
"declaration": {
"name": "LionCalendarOverlayFrame",
"module": "./src/LionCalendarOverlayFrame.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputDatepicker.js",
"declarations": [
{
"kind": "class",
"name": "LionInputDatepicker",
"mixins": [
{
"name": "ScopedElementsMixin",
"package": "@lion/core"
},
{
"name": "ArrowMixin",
"package": "@lion/overlays"
},
{
"name": "OverlayMixin",
"package": "@lion/overlays"
}
],
"superclass": {
"name": "LionInputDate",
"package": "@lion/input-date"
},
"members": [
{
"kind": "field",
"name": "scopedElements",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "calendarHeading",
"privacy": "public"
},
{
"kind": "field",
"name": "_calendarInvokerSlot",
"privacy": "public",
"default": "'suffix'"
},
{
"kind": "field",
"name": "__calendarMinDate",
"privacy": "public"
},
{
"kind": "field",
"name": "__calendarMaxDate",
"privacy": "public"
},
{
"kind": "field",
"name": "__calendarDisableDates",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "localizeNamespaces",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "_invokerNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_calendarNode",
"privacy": "public"
},
{
"kind": "method",
"name": "__createUniqueIdForA11y",
"privacy": "public"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldValue",
"type": {
"type": "?"
}
}
]
},
{
"kind": "method",
"name": "__toggleInvokerDisabled",
"privacy": "public"
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "_overlayTemplate",
"privacy": "public",
"description": "Defining this overlay as a templates from OverlayMixin\nthis is our source to give as .contentNode to OverlayController.\nImportant: do not change the name of this method."
},
{
"kind": "method",
"name": "render",
"privacy": "public"
},
{
"kind": "method",
"name": "_calendarTemplate",
"privacy": "public",
"description": "Subclassers can replace this with their custom extension of\nLionCalendar, like `<my-calendar id=\"calendar\"></my-calendar>`"
},
{
"kind": "method",
"name": "_invokerTemplate",
"privacy": "public",
"description": "Subclassers can replace this with their custom extension invoker,\nlike `<my-button><calendar-icon></calendar-icon></my-button>`"
},
{
"kind": "method",
"name": "_setupOverlayCtrl",
"privacy": "public"
},
{
"kind": "method",
"name": "_defineOverlayConfig",
"privacy": "public",
"return": {
"type": {
"type": "Object"
}
}
},
{
"kind": "method",
"name": "__openCalendarOverlay",
"privacy": "public"
},
{
"kind": "method",
"name": "_onCalendarOverlayOpened",
"privacy": "public",
"description": "Lifecycle callback for subclassers"
},
{
"kind": "method",
"name": "_onCalendarUserSelectedChanged",
"privacy": "public",
"parameters": [
{
"name": "opts",
"type": {
"type": "{ target: { selectedDate: Date }}"
}
}
]
},
{
"kind": "method",
"name": "__getSyncDownValue",
"privacy": "public",
"static": true,
"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"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "?"
}
}
]
},
{
"kind": "method",
"name": "__syncDisabledDates",
"privacy": "public",
"description": "Validators contain the information to synchronize the input with\nthe min, max and enabled dates of the calendar.",
"parameters": [
{
"name": "validators",
"type": {
"type": "Validator[]"
},
"description": "errorValidators or warningValidators array"
}
]
},
{
"kind": "field",
"name": "_overlayInvokerNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_overlayContentNode",
"privacy": "public"
}
],
"attributes": [
{
"name": "calendar-heading",
"fieldName": "calendarHeading"
}
],
"tagName": "lion-input-datepicker"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputDatepicker",
"declaration": {
"name": "LionInputDatepicker",
"module": "./src/LionInputDatepicker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/lion-calendar-overlay-frame.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-calendar-overlay-frame",
"declaration": {
"name": "LionCalendarOverlayFrame",
"module": "./src/LionCalendarOverlayFrame.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test-helpers/DatepickerInputObject.js",
"declarations": [
{
"kind": "class",
"name": "DatepickerInputObject",
"members": [
{
"kind": "method",
"name": "openCalendar",
"privacy": "public",
"description": "Methods mimicing User Interaction"
},
{
"kind": "method",
"name": "closeCalendar",
"privacy": "public"
},
{
"kind": "method",
"name": "selectMonthDay",
"privacy": "public",
"parameters": [
{
"name": "day",
"type": {
"type": "number"
}
}
]
},
{
"kind": "field",
"name": "invokerEl",
"privacy": "public"
},
{
"kind": "field",
"name": "overlayEl",
"privacy": "public"
},
{
"kind": "field",
"name": "overlayHeadingEl",
"privacy": "public"
},
{
"kind": "field",
"name": "overlayCloseButtonEl",
"privacy": "public"
},
{
"kind": "field",
"name": "calendarEl",
"privacy": "public"
},
{
"kind": "field",
"name": "calendarObj",
"privacy": "public"
},
{
"kind": "field",
"name": "overlayController",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "DatepickerInputObject",
"declaration": {
"name": "DatepickerInputObject",
"module": "./test-helpers/DatepickerInputObject.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg-BG.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg-BG.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs-CZ.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs-CZ.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de-DE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de-DE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-AU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-AU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-GB.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-GB.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-US.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-US.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es-ES.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es-ES.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-FR.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-FR.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu-HU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu-HU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it-IT.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it-IT.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-NL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-NL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl-PL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl-PL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro-RO.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro-RO.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru-RU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru-RU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk-SK.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk-SK.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk-UA.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk-UA.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/zh.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/zh.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-datepicker",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-datepicker",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-datepicker",
@ -56,5 +57,6 @@
".": "./index.js",
"./test-helpers/*": "./test-helpers/*",
"./lion-input-datepicker": "./lion-input-datepicker.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,67 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputEmail",
"declaration": {
"name": "LionInputEmail",
"module": "./src/LionInputEmail.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-email.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-email",
"declaration": {
"name": "LionInputEmail",
"module": "./src/LionInputEmail.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputEmail.js",
"declarations": [
{
"kind": "class",
"name": "LionInputEmail",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"tagName": "lion-input-email"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputEmail",
"declaration": {
"name": "LionInputEmail",
"module": "./src/LionInputEmail.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-email",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-email",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-email",
@ -50,5 +51,6 @@
"exports": {
".": "./index.js",
"./lion-input-email": "./lion-input-email.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,954 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputIban",
"declaration": {
"name": "LionInputIban",
"module": "./src/LionInputIban.js"
}
},
{
"kind": "js",
"name": "formatIBAN",
"declaration": {
"name": "formatIBAN",
"module": "./src/formatters.js"
}
},
{
"kind": "js",
"name": "parseIBAN",
"declaration": {
"name": "parseIBAN",
"module": "./src/parsers.js"
}
},
{
"kind": "js",
"name": "IsIBAN",
"declaration": {
"name": "IsIBAN",
"module": "./src/validators.js"
}
},
{
"kind": "js",
"name": "IsCountryIBAN",
"declaration": {
"name": "IsCountryIBAN",
"module": "./src/validators.js"
}
},
{
"kind": "js",
"name": "IsNotCountryIBAN",
"declaration": {
"name": "IsNotCountryIBAN",
"module": "./src/validators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-iban.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-iban",
"declaration": {
"name": "LionInputIban",
"module": "./src/LionInputIban.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputIban.js",
"declarations": [
{
"kind": "class",
"name": "LionInputIban",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"tagName": "lion-input-iban"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputIban",
"declaration": {
"name": "LionInputIban",
"module": "./src/LionInputIban.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/formatters.js",
"declarations": [
{
"kind": "function",
"name": "formatIBAN",
"description": "Takes an unformatted IBAN and returns a formatted one.",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "string"
},
"description": "value to be formatted"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "formatIBAN",
"declaration": {
"name": "formatIBAN",
"module": "./src/formatters.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/parsers.js",
"declarations": [
{
"kind": "function",
"name": "parseIBAN",
"description": "Parses an IBAN trimming spaces and making uppercase.",
"return": {
"type": {
"type": "string|undefined"
}
},
"parameters": [
{
"name": "viewValue",
"type": {
"type": "string"
},
"description": "value to be parsed"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "parseIBAN",
"declaration": {
"name": "parseIBAN",
"module": "./src/parsers.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validators.js",
"declarations": [
{
"kind": "class",
"name": "IsIBAN",
"superclass": {
"name": "Validator",
"package": "@lion/form-core"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "getMessage",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "Promise<string|Node>"
}
},
"parameters": [
{
"name": "data",
"type": {
"type": "object"
},
"optional": true
},
{
"name": "data.modelValue",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.fieldName",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.params",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.type",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.config",
"type": {
"type": "Object.<string,?>"
},
"optional": true
},
{
"name": "data.name",
"type": {
"type": "string"
},
"optional": true
}
]
}
]
},
{
"kind": "class",
"name": "IsCountryIBAN",
"superclass": {
"name": "IsIBAN",
"module": "/src/validators.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "getMessage",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "Promise<string|Node>"
}
},
"parameters": [
{
"name": "data",
"type": {
"type": "object"
},
"optional": true
},
{
"name": "data.modelValue",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.fieldName",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.params",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.type",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.config",
"type": {
"type": "Object.<string,?>"
},
"optional": true
},
{
"name": "data.name",
"type": {
"type": "string"
},
"optional": true
}
]
}
]
},
{
"kind": "class",
"name": "IsNotCountryIBAN",
"superclass": {
"name": "IsIBAN",
"module": "/src/validators.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Boolean"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "getMessage",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "Promise<string|Node>"
}
},
"parameters": [
{
"name": "data",
"type": {
"type": "object"
},
"optional": true
},
{
"name": "data.modelValue",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.fieldName",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.params",
"type": {
"type": "*"
},
"optional": true
},
{
"name": "data.type",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "data.config",
"type": {
"type": "Object.<string,?>"
},
"optional": true
},
{
"name": "data.name",
"type": {
"type": "string"
},
"optional": true
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "IsIBAN",
"declaration": {
"name": "IsIBAN",
"module": "./src/validators.js"
}
},
{
"kind": "js",
"name": "IsCountryIBAN",
"declaration": {
"name": "IsCountryIBAN",
"module": "./src/validators.js"
}
},
{
"kind": "js",
"name": "IsNotCountryIBAN",
"declaration": {
"name": "IsNotCountryIBAN",
"module": "./src/validators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg-BG.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg-BG.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs-CZ.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs-CZ.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de-DE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de-DE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-AU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-AU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-GB.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-GB.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-US.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-US.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es-ES.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es-ES.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-FR.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-FR.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu-HU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu-HU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it-IT.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it-IT.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-NL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-NL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl-PL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl-PL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro-RO.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro-RO.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru-RU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru-RU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk-SK.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk-SK.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk-UA.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk-UA.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/zh.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/zh.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-iban",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-iban",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-iban",
@ -51,5 +52,6 @@
"exports": {
".": "./index.js",
"./lion-input-iban": "./lion-input-iban.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,190 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputRange",
"declaration": {
"name": "LionInputRange",
"module": "./src/LionInputRange.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-range.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-range",
"declaration": {
"name": "LionInputRange",
"module": "./src/LionInputRange.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputRange.js",
"declarations": [
{
"kind": "class",
"name": "LionInputRange",
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"attributes": [
{
"name": "min",
"fieldName": "min"
},
{
"name": "max",
"fieldName": "max"
},
{
"name": "unit",
"fieldName": "unit"
},
{
"name": "step",
"fieldName": "step"
},
{
"name": "no-min-max-labels",
"fieldName": "noMinMaxLabels"
}
],
"members": [
{
"kind": "field",
"name": "min",
"privacy": "public",
"default": "Infinity"
},
{
"kind": "field",
"name": "max",
"privacy": "public",
"default": "Infinity"
},
{
"kind": "field",
"name": "unit",
"privacy": "public",
"default": "''"
},
{
"kind": "field",
"name": "step",
"privacy": "public",
"default": "1"
},
{
"kind": "field",
"name": "noMinMaxLabels",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "rangeStyles",
"privacy": "public",
"static": true,
"parameters": [
{
"name": "scope",
"type": {
"type": "CSSResult"
}
}
]
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupStyleTag",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownStyleTag",
"privacy": "public"
}
],
"tagName": "lion-input-range"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputRange",
"declaration": {
"name": "LionInputRange",
"module": "./src/LionInputRange.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-range",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-range",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-range",
@ -49,5 +50,6 @@
"exports": {
".": "./index.js",
"./lion-input-range": "./lion-input-range.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,272 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInputStepper",
"declaration": {
"name": "LionInputStepper",
"module": "./src/LionInputStepper.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input-stepper.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input-stepper",
"declaration": {
"name": "LionInputStepper",
"module": "./src/LionInputStepper.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInputStepper.js",
"declarations": [
{
"kind": "class",
"name": "LionInputStepper",
"events": [
{
"name": "user-input-changed",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"attributes": [
{
"name": "min",
"fieldName": "min"
},
{
"name": "max",
"fieldName": "max"
},
{
"name": "step",
"fieldName": "step"
}
],
"members": [
{
"kind": "field",
"name": "min",
"privacy": "public",
"default": "Infinity"
},
{
"kind": "field",
"name": "max",
"privacy": "public",
"default": "Infinity"
},
{
"kind": "field",
"name": "step",
"privacy": "public",
"default": "1"
},
{
"kind": "field",
"name": "currentValue",
"privacy": "public"
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "method",
"name": "__setAriaLabelsAndValidator",
"privacy": "private",
"description": "Set aria labels and apply validators"
},
{
"kind": "method",
"name": "__keyDownHandler",
"privacy": "private",
"description": "Update values on keyboard arrow up and down event",
"parameters": [
{
"name": "e",
"type": {
"type": "KeyboardEvent"
},
"description": "keyboard event"
}
]
},
{
"kind": "method",
"name": "__toggleSpinnerButtonsState",
"privacy": "private",
"description": "Toggle disabled state for the buttons"
},
{
"kind": "method",
"name": "__getSlot",
"privacy": "public",
"description": "Get slotted element",
"return": {
"type": {
"type": "HTMLButtonElement|Object"
}
},
"parameters": [
{
"name": "slotName",
"type": {
"type": "String"
},
"description": "slot name"
}
]
},
{
"kind": "method",
"name": "__increment",
"privacy": "private",
"description": "Increment the value based on given step or default step value is 1"
},
{
"kind": "method",
"name": "__decrement",
"privacy": "private",
"description": "Decrement the value based on given step or default step value is 1"
},
{
"kind": "method",
"name": "__getIncrementButtonNode",
"privacy": "public",
"description": "Get the increment button node",
"return": {
"type": {
"type": "Element|null"
}
}
},
{
"kind": "method",
"name": "__getDecrementButtonNode",
"privacy": "public",
"description": "Get the decrement button node",
"return": {
"type": {
"type": "Element|null"
}
}
},
{
"kind": "method",
"name": "_onChange",
"privacy": "public",
"description": "Toggle +/- buttons on change"
},
{
"kind": "method",
"name": "_decrementorSignTemplate",
"privacy": "public",
"description": "Get the decrementor button sign template",
"return": {
"type": {
"type": "String|TemplateResult"
}
}
},
{
"kind": "method",
"name": "_incrementorSignTemplate",
"privacy": "public",
"description": "Get the incrementor button sign template",
"return": {
"type": {
"type": "String|TemplateResult"
}
}
},
{
"kind": "method",
"name": "_decrementorTemplate",
"privacy": "public",
"description": "Get the increment button template",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_incrementorTemplate",
"privacy": "public",
"description": "Get the decrement button template",
"return": {
"type": {
"type": "TemplateResult"
}
}
}
],
"tagName": "lion-input-stepper"
}
],
"exports": [
{
"kind": "js",
"name": "LionInputStepper",
"declaration": {
"name": "LionInputStepper",
"module": "./src/LionInputStepper.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input-stepper",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input-stepper",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input-stepper",
@ -49,5 +50,6 @@
"exports": {
".": "./index.js",
"./lion-input-stepper": "./lion-input-stepper.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,161 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionInput",
"declaration": {
"name": "LionInput",
"module": "./src/LionInput.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-input.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-input",
"declaration": {
"name": "LionInput",
"module": "./src/LionInput.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionInput.js",
"declarations": [
{
"kind": "class",
"name": "LionInput",
"mixins": [
{
"name": "NativeTextFieldMixin",
"package": "@lion/form-core/src/NativeTextFieldMixin"
}
],
"superclass": {
"name": "LionField",
"package": "@lion/form-core"
},
"attributes": [
{
"name": "readonly",
"fieldName": "readOnly"
},
{
"name": "type",
"fieldName": "type"
},
{
"name": "placeholder",
"fieldName": "placeholder"
}
],
"members": [
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "type",
"privacy": "public",
"default": "'text'"
},
{
"kind": "field",
"name": "placeholder",
"privacy": "public",
"default": "''"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldValue",
"type": {
"type": "?"
}
}
]
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "__delegateReadOnly",
"privacy": "public"
}
],
"tagName": "lion-input"
}
],
"exports": [
{
"kind": "js",
"name": "LionInput",
"declaration": {
"name": "LionInput",
"module": "./src/LionInput.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group input",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group input",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group input",
@ -46,5 +47,6 @@
"exports": {
".": "./index.js",
"./lion-input": "./lion-input.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group listbox",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group listbox",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group listbox",
@ -53,5 +54,6 @@
"./lion-listbox": "./lion-listbox.js",
"./lion-option": "./lion-option.js",
"./lion-options": "./lion-options.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group localize",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group localize",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group localize",
@ -46,5 +47,6 @@
"exports": {
".": "./index.js",
"./test-helpers": "./test-helpers.js"
}
},
"customElementsManifest": "custom-elements.json"
}

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group overlays",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group overlays",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group overlays",
@ -51,5 +52,6 @@
".": "./index.js",
"./translations/*": "./translations/*",
"./test-suites/*": "./test-suites/*"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,457 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionPagination",
"declaration": {
"name": "LionPagination",
"module": "./src/LionPagination.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-pagination.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-pagination",
"declaration": {
"name": "LionPagination",
"module": "./src/LionPagination.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionPagination.js",
"declarations": [
{
"kind": "class",
"name": "LionPagination",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "localizeNamespaces",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "current",
"privacy": "public",
"default": "1"
},
{
"kind": "field",
"name": "count",
"privacy": "public",
"default": "0"
},
{
"kind": "method",
"name": "next",
"privacy": "public",
"description": "Go next in pagination"
},
{
"kind": "method",
"name": "first",
"privacy": "public",
"description": "Go to first page"
},
{
"kind": "method",
"name": "last",
"privacy": "public",
"description": "Go to the last page"
},
{
"kind": "method",
"name": "goto",
"privacy": "public",
"description": "Go to the specific page",
"parameters": [
{
"name": "pageNumber",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "previous",
"privacy": "public",
"description": "Go back in pagination"
},
{
"kind": "method",
"name": "__fire",
"privacy": "private",
"description": "Set desired page in the pagination and fire the current changed event.",
"parameters": [
{
"name": "page",
"type": {
"type": "Number"
},
"description": "page number to be set"
}
]
},
{
"kind": "method",
"name": "__calculateNavList",
"privacy": "private",
"description": "Calculate nav list based on current page selection.",
"return": {
"type": {
"type": "(number|'...')[]"
}
}
},
{
"kind": "method",
"name": "_prevNextIconTemplate",
"privacy": "protected",
"description": "Get previous or next button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": {
"type": {
"type": "TemplateResult"
}
},
"parameters": [
{
"name": "label",
"type": {
"type": "String"
},
"description": "namespace label i.e. next or previous"
}
]
},
{
"kind": "method",
"name": "_prevNextButtonTemplate",
"privacy": "protected",
"description": "Get next or previous button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": {
"type": {
"type": "TemplateResult"
}
},
"parameters": [
{
"name": "label",
"type": {
"type": "String"
},
"description": "namespace label i.e. next or previous"
},
{
"name": "pageNumber",
"type": {
"type": "Number"
},
"description": "page number to be set"
},
{
"name": "namespace",
"type": {
"type": "String"
},
"description": "namespace prefix for translations",
"default": "'lion'"
}
]
},
{
"kind": "method",
"name": "_disabledButtonTemplate",
"privacy": "protected",
"description": "Get disabled button template.\nThis method can be overridden to apply customized template in wrapper.",
"return": {
"type": {
"type": "TemplateResult"
}
},
"parameters": [
{
"name": "label",
"type": {
"type": "String"
},
"description": "namespace label i.e. next or previous"
}
]
},
{
"kind": "method",
"name": "_renderNavList",
"privacy": "protected",
"description": "Render navigation list",
"return": {
"type": {
"type": "TemplateResult[]"
}
}
}
],
"attributes": [
{
"name": "current",
"fieldName": "current"
},
{
"name": "count",
"fieldName": "count"
}
],
"tagName": "lion-pagination"
}
],
"exports": [
{
"kind": "js",
"name": "LionPagination",
"declaration": {
"name": "LionPagination",
"module": "./src/LionPagination.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/zh.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/zh.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group pagination",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group pagination",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group pagination",
@ -47,5 +48,6 @@
"exports": {
".": "./index.js",
"./lion-pagination": "./lion-pagination.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,361 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionProgressIndicator",
"declaration": {
"name": "LionProgressIndicator",
"module": "./src/LionProgressIndicator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-progress-indicator.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-progress-indicator",
"declaration": {
"name": "LionProgressIndicator",
"module": "./src/LionProgressIndicator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/CustomProgressIndicator.js",
"declarations": [
{
"kind": "class",
"name": "CustomProgressIndicator",
"superclass": {
"name": "LionProgressIndicator",
"module": "/demo/src/LionProgressIndicator.js"
},
"members": [
{
"kind": "method",
"name": "_graphicTemplate",
"privacy": "public"
},
{
"kind": "field",
"name": "localizeNamespaces",
"static": true,
"privacy": "public",
"inheritedFrom": {
"name": "LionProgressIndicator",
"module": "./src/LionProgressIndicator.js"
}
},
{
"kind": "method",
"name": "onLocaleUpdated",
"privacy": "public",
"inheritedFrom": {
"name": "LionProgressIndicator",
"module": "./src/LionProgressIndicator.js"
}
}
],
"tagName": "custom-progress-indicator"
}
],
"exports": [
{
"kind": "js",
"name": "CustomProgressIndicator",
"declaration": {
"name": "CustomProgressIndicator",
"module": "./demo/CustomProgressIndicator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/custom-progress-indicator.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "custom-progress-indicator",
"declaration": {
"name": "CustomProgressIndicator",
"module": "./demo/CustomProgressIndicator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionProgressIndicator.js",
"declarations": [
{
"kind": "class",
"name": "LionProgressIndicator",
"mixins": [
{
"name": "LocalizeMixin",
"package": "@lion/localize"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "localizeNamespaces",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "_graphicTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "onLocaleUpdated",
"privacy": "public"
}
],
"tagName": "lion-progress-indicator"
}
],
"exports": [
{
"kind": "js",
"name": "LionProgressIndicator",
"declaration": {
"name": "LionProgressIndicator",
"module": "./src/LionProgressIndicator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/zh.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/zh.js"
}
}
]
}
]
}

View file

@ -21,6 +21,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group progress-indicator",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group progress-indicator",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group progress-indicator",
@ -47,5 +48,6 @@
"exports": {
".": "./index.js",
"./lion-progress-indicator": "./lion-progress-indicator.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,139 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionRadioGroup",
"declaration": {
"name": "LionRadioGroup",
"module": "./src/LionRadioGroup.js"
}
},
{
"kind": "js",
"name": "LionRadio",
"declaration": {
"name": "LionRadio",
"module": "./src/LionRadio.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-radio-group.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-radio-group",
"declaration": {
"name": "LionRadioGroup",
"module": "./src/LionRadioGroup.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-radio.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-radio",
"declaration": {
"name": "LionRadio",
"module": "./src/LionRadio.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionRadio.js",
"declarations": [
{
"kind": "class",
"name": "LionRadio",
"mixins": [
{
"name": "ChoiceInputMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LionInput",
"package": "@lion/input"
},
"members": [
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
}
],
"tagName": "lion-radio"
}
],
"exports": [
{
"kind": "js",
"name": "LionRadio",
"declaration": {
"name": "LionRadio",
"module": "./src/LionRadio.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionRadioGroup.js",
"declarations": [
{
"kind": "class",
"name": "LionRadioGroup",
"mixins": [
{
"name": "ChoiceGroupMixin",
"package": "@lion/form-core"
},
{
"name": "FormGroupMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "method",
"name": "resetGroup",
"privacy": "public"
}
],
"tagName": "lion-radio-group"
}
],
"exports": [
{
"kind": "js",
"name": "LionRadioGroup",
"declaration": {
"name": "LionRadioGroup",
"module": "./src/LionRadioGroup.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group radio-group",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group radio-group",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group radio-group",
@ -50,5 +51,6 @@
".": "./index.js",
"./lion-radio": "./lion-radio.js",
"./lion-radio-group": "./lion-radio-group.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,560 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionOptions",
"declaration": {
"name": "LionOptions",
"package": "@lion/listbox"
}
},
{
"kind": "js",
"name": "LionOption",
"declaration": {
"name": "LionOption",
"package": "@lion/listbox"
}
},
{
"kind": "js",
"name": "LionSelectRich",
"declaration": {
"name": "LionSelectRich",
"module": "./src/LionSelectRich.js"
}
},
{
"kind": "js",
"name": "LionSelectInvoker",
"declaration": {
"name": "LionSelectInvoker",
"module": "./src/LionSelectInvoker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-option.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./lion-options.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./lion-select-invoker.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-select-invoker",
"declaration": {
"name": "LionSelectInvoker",
"module": "./src/LionSelectInvoker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-select-rich.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-select-rich",
"declaration": {
"name": "LionSelectRich",
"module": "./src/LionSelectRich.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSelectInvoker.js",
"declarations": [
{
"kind": "class",
"name": "LionSelectInvoker",
"superclass": {
"name": "LionButton",
"package": "@lion/button"
},
"attributes": [
{
"name": "selectedElement",
"fieldName": "selectedElement"
},
{
"name": "readonly",
"fieldName": "readOnly"
},
{
"name": "single-option",
"fieldName": "singleOption"
}
],
"members": [
{
"kind": "field",
"name": "selectedElement",
"privacy": "public",
"type": {
"type": "LionOption | null"
},
"description": "The option element that is currently selected",
"default": "null"
},
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"description": "When the connected LionSelectRich instance is readOnly,\nthis should be reflected in the invoker as well",
"default": "false"
},
{
"kind": "field",
"name": "singleOption",
"privacy": "public",
"description": "When the connected LionSelectRich instance has only one option,\nthis should be reflected in the invoker as well",
"default": "false"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "_contentWrapperNode",
"privacy": "public"
},
{
"kind": "method",
"name": "__handleKeydown",
"privacy": "public",
"parameters": [
{
"name": "event"
}
]
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "_contentTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_noSelectionTemplate",
"privacy": "public",
"description": "To be overriden for a placeholder, used when `hasNoDefaultSelected` is true on the select rich"
},
{
"kind": "method",
"name": "_beforeTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_afterTemplate",
"privacy": "public"
}
],
"tagName": "lion-select-invoker"
}
],
"exports": [
{
"kind": "js",
"name": "LionSelectInvoker",
"declaration": {
"name": "LionSelectInvoker",
"module": "./src/LionSelectInvoker.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSelectRich.js",
"declarations": [
{
"kind": "class",
"name": "LionSelectRich",
"events": [
{
"name": "blur",
"type": {
"type": "Event"
}
}
],
"mixins": [
{
"name": "SlotMixin",
"package": "@lion/core"
},
{
"name": "ScopedElementsMixin",
"package": "@lion/core"
},
{
"name": "OverlayMixin",
"package": "@lion/overlays"
}
],
"superclass": {
"name": "LionListbox",
"package": "@lion/listbox"
},
"members": [
{
"kind": "field",
"name": "scopedElements",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "navigateWithinInvoker",
"privacy": "public",
"type": {
"type": "Boolean"
},
"description": "When invoker has focus, up and down arrow keys changes active state of listbox,\nwithout opening overlay.",
"default": "false"
},
{
"kind": "field",
"name": "interactionMode",
"privacy": "public",
"type": {
"type": "'windows/linux'|'mac'|'auto'"
},
"description": "Aligns behavior for 'selectionFollowFocus' and 'navigateWithinInvoker' with\nplatform. When 'auto' (default), platform is automatically detected",
"default": "'auto'"
},
{
"kind": "field",
"name": "singleOption",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "_invokerNode",
"privacy": "protected"
},
{
"kind": "field",
"name": "_scrollTargetNode",
"privacy": "protected"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldValue",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "addFormElement",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "LionOption & FormControlHost"
}
},
{
"name": "indexToInsertAt",
"type": {
"type": "Number"
}
}
]
},
{
"kind": "method",
"name": "removeFormElement",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "FormRegisteringHost"
},
"description": "the child element (field)"
}
]
},
{
"kind": "method",
"name": "toggle",
"privacy": "public"
},
{
"kind": "method",
"name": "_getCheckedElements",
"privacy": "public",
"description": "In the select disabled options are still going to a possible value for example\nwhen prefilling or programmatically setting it."
},
{
"kind": "method",
"name": "_onFormElementsChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "__initInteractionStates",
"privacy": "public"
},
{
"kind": "method",
"name": "__toggleInvokerDisabled",
"privacy": "public"
},
{
"kind": "method",
"name": "__syncInvokerElement",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupInvokerNode",
"privacy": "public"
},
{
"kind": "method",
"name": "__invokerOnClick",
"privacy": "public"
},
{
"kind": "method",
"name": "__invokerOnBlur",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupInvokerNodeEventListener",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownInvokerNode",
"privacy": "public"
},
{
"kind": "method",
"name": "_defineOverlayConfig",
"privacy": "public"
},
{
"kind": "method",
"name": "_noDefaultSelectedInheritsWidth",
"privacy": "public",
"description": "With no selected element, we should override the inheritsReferenceWidth in most cases.\nBy default, we will set it to 'min', and then set it back to what it was initially when\nsomething is selected.\nAs a subclasser you can override this behavior."
},
{
"kind": "method",
"name": "__overlayBeforeShow",
"privacy": "public"
},
{
"kind": "method",
"name": "__overlayOnShow",
"privacy": "public"
},
{
"kind": "method",
"name": "__overlayOnHide",
"privacy": "public"
},
{
"kind": "method",
"name": "_setupOverlayCtrl",
"privacy": "public"
},
{
"kind": "method",
"name": "_teardownOverlayCtrl",
"privacy": "public"
},
{
"kind": "method",
"name": "_alignInvokerWidth",
"privacy": "public",
"description": "Align invoker width with content width\nMake sure display is not set to \"none\" while calculating the content width"
},
{
"kind": "method",
"name": "_onLabelClick",
"privacy": "public"
},
{
"kind": "field",
"name": "_overlayInvokerNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_overlayContentNode",
"privacy": "public"
},
{
"kind": "method",
"name": "__onKeyUp",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "_listboxOnKeyDown",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "KeyboardEvent"
},
"description": "the keydown event object"
}
]
},
{
"kind": "method",
"name": "_listboxOnClick",
"privacy": "public"
},
{
"kind": "method",
"name": "_setupListboxNode",
"privacy": "public"
},
{
"kind": "method",
"name": "_teardownListboxNode",
"privacy": "public"
},
{
"kind": "method",
"name": "__blockListShowDuringTransition",
"privacy": "public",
"description": "Normally, when textbox gets focus or a char is typed, it opens listbox.\nIn transition phases (like clicking option) we prevent this."
}
],
"attributes": [
{
"name": "navigate-within-invoker",
"fieldName": "navigateWithinInvoker"
},
{
"name": "interaction-mode",
"fieldName": "interactionMode"
},
{
"name": "single-option",
"fieldName": "singleOption"
}
],
"tagName": "lion-select-rich"
}
],
"exports": [
{
"kind": "js",
"name": "LionSelectRich",
"declaration": {
"name": "LionSelectRich",
"module": "./src/LionSelectRich.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test/demos.screenshots-test.js",
"declarations": [],
"exports": []
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group select-rich",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group select-rich",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group select-rich",
@ -58,5 +59,6 @@
"./lion-options": "./lion-options.js",
"./lion-select-invoker": "./lion-select-invoker.js",
"./lion-select-rich": "./lion-select-rich.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,104 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionSelect",
"declaration": {
"name": "LionSelect",
"module": "./src/LionSelect.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-select.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-select",
"declaration": {
"name": "LionSelect",
"module": "./src/LionSelect.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSelect.js",
"declarations": [
{
"kind": "class",
"name": "LionSelect",
"events": [
{
"name": "user-input-changed",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LionFieldWithSelect",
"module": "./src/LionSelect.js"
},
"members": [
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "field",
"name": "value",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "_proxyChangeEvent",
"privacy": "public"
}
],
"tagName": "lion-select"
}
],
"exports": [
{
"kind": "js",
"name": "LionSelect",
"declaration": {
"name": "LionSelect",
"module": "./src/LionSelect.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group select",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group select",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group select",
@ -47,5 +48,6 @@
"exports": {
".": "./index.js",
"./lion-select": "./lion-select.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,901 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [
{
"kind": "variable",
"name": "singletonManager"
}
],
"exports": [
{
"kind": "js",
"name": "SingletonManagerClass",
"declaration": {
"name": "SingletonManagerClass",
"module": "./src/SingletonManagerClass.js"
}
},
{
"kind": "js",
"name": "singletonManager",
"declaration": {
"name": "singletonManager",
"module": "./index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/SingletonManagerClass.js",
"declarations": [
{
"kind": "class",
"name": "SingletonManagerClass",
"members": [
{
"kind": "method",
"name": "set",
"privacy": "public",
"description": "Ignores already existing keys (e.g. it will not override)",
"parameters": [
{
"name": "key",
"type": {
"type": "string"
}
},
{
"name": "value",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "get",
"privacy": "public",
"return": {
"type": {
"type": ""
}
},
"parameters": [
{
"name": "key",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "has",
"privacy": "public",
"parameters": [
{
"name": "key",
"type": {
"type": "string"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "SingletonManagerClass",
"declaration": {
"name": "SingletonManagerClass",
"module": "./src/SingletonManagerClass.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/fail/demo-app.js",
"declarations": [
{
"kind": "class",
"name": "DemoApp",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "page",
"fieldName": "page"
}
],
"members": [
{
"kind": "field",
"name": "page",
"privacy": "public",
"default": "'A'"
}
]
}
],
"exports": [
{
"kind": "custom-element-definition",
"name": "demo-app",
"declaration": {
"name": "DemoApp",
"module": "./demo/fail/demo-app.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/fail/server.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/singleton/demo-app.js",
"declarations": [
{
"kind": "class",
"name": "DemoApp",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "page",
"fieldName": "page"
}
],
"members": [
{
"kind": "field",
"name": "page",
"privacy": "public",
"default": "'A'"
}
]
}
],
"exports": [
{
"kind": "custom-element-definition",
"name": "demo-app",
"declaration": {
"name": "DemoApp",
"module": "./demo/singleton/demo-app.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/overlayCompatibility.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/singleton/server.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/demo-app.js",
"declarations": [
{
"kind": "class",
"name": "DemoApp",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "page",
"fieldName": "page"
}
],
"members": [
{
"kind": "field",
"name": "page",
"privacy": "public",
"default": "'A'"
}
],
"tagName": "demo-app"
}
],
"exports": [
{
"kind": "custom-element-definition",
"name": "demo-app",
"declaration": {
"name": "DemoApp",
"module": "./demo/fail/demo-app.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/overlayCompatibility.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/server.js",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./demo/fail/node_modules/overlays/index.js",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 1.x'"
},
{
"kind": "field",
"name": "blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "block",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlock",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/fail/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/fail/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/fail/node_modules/overlays/instance.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/fail/node_modules/page-a/page-a.js",
"declarations": [
{
"kind": "class",
"name": "PageA",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
}
}
],
"exports": [
{
"kind": "js",
"name": "PageA",
"declaration": {
"name": "PageA",
"module": "./demo/fail/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/page-b.js",
"declarations": [
{
"kind": "class",
"name": "PageB",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
}
}
],
"exports": [
{
"kind": "js",
"name": "PageB",
"declaration": {
"name": "PageB",
"module": "./demo/fail/node_modules/page-b/page-b.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-b",
"declaration": {
"name": "PageB",
"module": "./demo/fail/node_modules/page-b/page-b.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/overlays/index.js",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 1.x'"
},
{
"kind": "field",
"name": "blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "block",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlock",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/singleton/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/singleton/node_modules/overlays/instance.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/page-a/page-a.js",
"declarations": [
{
"kind": "class",
"name": "PageA",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
}
}
],
"exports": [
{
"kind": "js",
"name": "PageA",
"declaration": {
"name": "PageA",
"module": "./demo/singleton/node_modules/page-a/page-a.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-a",
"declaration": {
"name": "PageA",
"module": "./demo/singleton/node_modules/page-a/page-a.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/page-b/page-b.js",
"declarations": [
{
"kind": "class",
"name": "PageB",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
}
}
],
"exports": [
{
"kind": "js",
"name": "PageB",
"declaration": {
"name": "PageB",
"module": "./demo/singleton/node_modules/page-b/page-b.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-b",
"declaration": {
"name": "PageB",
"module": "./demo/singleton/node_modules/page-b/page-b.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/overlays/index.js",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 1.x'"
},
{
"kind": "field",
"name": "blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "block",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlock",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/singleton-complex/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/singleton-complex/node_modules/overlays/instance.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-b/page-b.js",
"declarations": [
{
"kind": "class",
"name": "PageB",
"events": [
{
"name": "request-instance",
"type": {
"type": "CustomEvent"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "method",
"name": "getInstance",
"privacy": "public",
"parameters": [
{
"name": "sym"
},
{
"name": "fallback"
}
]
}
],
"tagName": "page-b"
}
],
"exports": [
{
"kind": "js",
"name": "PageB",
"declaration": {
"name": "PageB",
"module": "./demo/singleton-complex/node_modules/page-b/page-b.js"
}
},
{
"kind": "custom-element-definition",
"name": "page-b",
"declaration": {
"name": "PageB",
"module": "./demo/fail/node_modules/page-b/page-b.js"
}
}
]
},
{
"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",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 2.x'"
},
{
"kind": "field",
"name": "_blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "blockBody",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlockBody",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/fail/node_modules/page-b/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/fail/node_modules/page-b/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/fail/node_modules/page-b/node_modules/overlays/instance.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/page-b/node_modules/overlays/index.js",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 2.x'"
},
{
"kind": "field",
"name": "blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "blockingBody",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlockingBody",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/singleton/node_modules/page-b/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton/node_modules/page-b/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/singleton/node_modules/page-b/node_modules/overlays/instance.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-b/node_modules/overlays/index.js",
"declarations": [
{
"kind": "class",
"name": "OverlaysManager",
"members": [
{
"kind": "field",
"name": "name",
"type": {
"type": "string"
},
"privacy": "public",
"default": "'OverlayManager 2.x'"
},
{
"kind": "field",
"name": "_blockBody",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_setupBlocker",
"privacy": "public"
},
{
"kind": "method",
"name": "blockBody",
"privacy": "public"
},
{
"kind": "method",
"name": "unBlockBody",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "OverlaysManager",
"declaration": {
"name": "OverlaysManager",
"module": "./demo/singleton-complex/node_modules/page-b/node_modules/overlays/index.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./demo/singleton-complex/node_modules/page-b/node_modules/overlays/instance.js",
"declarations": [
{
"kind": "variable",
"name": "overlays"
}
],
"exports": [
{
"kind": "js",
"name": "overlays",
"declaration": {
"name": "overlays",
"module": "./demo/singleton-complex/node_modules/page-b/node_modules/overlays/instance.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group singleton-manager",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group singleton-manager",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group singleton-manager",
@ -40,5 +41,6 @@
"publishConfig": {
"access": "public"
},
"exports": "./index.js"
"exports": "./index.js",
"customElementsManifest": "custom-elements.json"
}

View file

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

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group steps",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group steps",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group steps",
@ -48,5 +49,6 @@
".": "./index.js",
"./lion-step": "./lion-step.js",
"./lion-steps": "./lion-steps.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,286 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionSwitch",
"declaration": {
"name": "LionSwitch",
"module": "./src/LionSwitch.js"
}
},
{
"kind": "js",
"name": "LionSwitchButton",
"declaration": {
"name": "LionSwitchButton",
"module": "./src/LionSwitchButton.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-switch-button.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-switch-button",
"declaration": {
"name": "LionSwitchButton",
"module": "./src/LionSwitchButton.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-switch.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-switch",
"declaration": {
"name": "LionSwitch",
"module": "./src/LionSwitch.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSwitch.js",
"declarations": [
{
"kind": "class",
"name": "LionSwitch",
"mixins": [
{
"name": "ScopedElementsMixin",
"package": "@lion/core"
},
{
"name": "ChoiceInputMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LionField",
"package": "@lion/form-core"
},
"members": [
{
"kind": "field",
"name": "scopedElements",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"description": "Restore original render function from FormControlMixin.js\nAs it gets overwritten in ChoiceInputMixin"
},
{
"kind": "method",
"name": "_groupOneTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_groupTwoTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"description": "Override this function from ChoiceInputMixin."
},
{
"kind": "method",
"name": "__handleButtonSwitchCheckedChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "_syncButtonSwitch",
"privacy": "public"
}
],
"tagName": "lion-switch"
}
],
"exports": [
{
"kind": "js",
"name": "LionSwitch",
"declaration": {
"name": "LionSwitch",
"module": "./src/LionSwitch.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionSwitchButton.js",
"declarations": [
{
"kind": "class",
"name": "LionSwitchButton",
"events": [
{
"name": "checked-changed",
"type": {
"type": "Event"
}
}
],
"mixins": [
{
"name": "DisabledWithTabIndexMixin",
"package": "@lion/core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "role",
"fieldName": "role"
},
{
"name": "checked",
"fieldName": "checked"
}
],
"members": [
{
"kind": "field",
"name": "role",
"privacy": "public",
"default": "'switch'"
},
{
"kind": "field",
"name": "checked",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "_toggleChecked",
"privacy": "public"
},
{
"kind": "method",
"name": "__checkedStateChange",
"privacy": "public"
},
{
"kind": "method",
"name": "__handleKeydown",
"privacy": "public",
"parameters": [
{
"name": "e",
"type": {
"type": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "__handleKeyup",
"privacy": "public",
"parameters": [
{
"name": "e",
"type": {
"type": "KeyboardEvent"
}
}
]
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"description": "We synchronously update aria-checked to support voice over on safari.",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldValue",
"type": {
"type": "?"
}
}
]
}
],
"tagName": "lion-switch-button"
}
],
"exports": [
{
"kind": "js",
"name": "LionSwitchButton",
"declaration": {
"name": "LionSwitchButton",
"module": "./src/LionSwitchButton.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group switch",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group switch",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group switch",
@ -50,5 +51,6 @@
".": "./index.js",
"./lion-switch": "./lion-switch.js",
"./lion-switch-button": "./lion-switch-button.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,160 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionTabs",
"declaration": {
"name": "LionTabs",
"module": "./src/LionTabs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-tabs.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-tabs",
"declaration": {
"name": "LionTabs",
"module": "./src/LionTabs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionTabs.js",
"declarations": [
{
"kind": "class",
"name": "LionTabs",
"events": [
{
"name": "selected-changed",
"type": {
"type": "Event"
}
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "selected-index",
"fieldName": "selectedIndex"
}
],
"members": [
{
"kind": "field",
"name": "selectedIndex",
"privacy": "public",
"description": "An index number of the selected tab",
"default": "0"
},
{
"kind": "method",
"name": "__setupSlots",
"privacy": "public"
},
{
"kind": "method",
"name": "__setupStore",
"privacy": "public"
},
{
"kind": "method",
"name": "__cleanStore",
"privacy": "public"
},
{
"kind": "method",
"name": "__createButtonClickHandler",
"privacy": "public",
"return": {
"type": {
"type": "EventHandlerNonNull"
}
},
"parameters": [
{
"name": "index",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "__handleButtonKeyup",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_setSelectedIndexWithFocus",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "number"
},
"description": "The new index for focus"
}
]
},
{
"kind": "field",
"name": "_pairCount",
"privacy": "public"
},
{
"kind": "method",
"name": "__updateSelected",
"privacy": "public",
"parameters": [
{
"name": "withFocus",
"default": "false"
}
]
}
],
"tagName": "lion-tabs"
}
],
"exports": [
{
"kind": "js",
"name": "LionTabs",
"declaration": {
"name": "LionTabs",
"module": "./src/LionTabs.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group tabs",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group tabs",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group tabs",
@ -46,5 +47,6 @@
"exports": {
".": "./index.js",
"./lion-tabs": "./lion-tabs.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,170 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionTextarea",
"declaration": {
"name": "LionTextarea",
"module": "./src/LionTextarea.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-textarea.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-textarea",
"declaration": {
"name": "LionTextarea",
"module": "./src/LionTextarea.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionTextarea.js",
"declarations": [
{
"kind": "class",
"name": "LionTextarea",
"mixins": [
{
"name": "NativeTextFieldMixin",
"package": "@lion/form-core"
}
],
"superclass": {
"name": "LionFieldWithTextArea",
"module": "./src/LionTextarea.js"
},
"attributes": [
{
"name": "max-rows",
"fieldName": "maxRows"
},
{
"name": "rows",
"fieldName": "rows"
},
{
"name": "readonly",
"fieldName": "readOnly"
},
{
"name": "placeholder",
"fieldName": "placeholder"
}
],
"members": [
{
"kind": "field",
"name": "maxRows",
"privacy": "public",
"default": "6"
},
{
"kind": "field",
"name": "rows",
"privacy": "public",
"default": "2"
},
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "placeholder",
"privacy": "public",
"default": "''"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "setTextareaMaxHeight",
"privacy": "public",
"description": "To support maxRows we need to set max-height of the textarea"
},
{
"kind": "field",
"name": "updateComplete",
"privacy": "public"
},
{
"kind": "method",
"name": "resizeTextarea",
"privacy": "public"
},
{
"kind": "method",
"name": "__initializeAutoresize",
"privacy": "public"
},
{
"kind": "method",
"name": "__waitForTextareaRenderedInRealDOM",
"privacy": "public"
},
{
"kind": "method",
"name": "__startAutoresize",
"privacy": "public"
}
],
"tagName": "lion-textarea"
}
],
"exports": [
{
"kind": "js",
"name": "LionTextarea",
"declaration": {
"name": "LionTextarea",
"module": "./src/LionTextarea.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group textarea",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group textarea",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group textarea",
@ -49,5 +50,6 @@
"exports": {
".": "./index.js",
"./lion-textarea": "./lion-textarea.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,134 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionTooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-tooltip.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-tooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionTooltip.js",
"declarations": [
{
"kind": "class",
"name": "LionTooltip",
"mixins": [
{
"name": "ArrowMixin",
"package": "@lion/overlays"
},
{
"name": "OverlayMixin",
"package": "@lion/overlays"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "invoker-relation",
"fieldName": "invokerRelation"
}
],
"members": [
{
"kind": "field",
"name": "invokerRelation",
"privacy": "public",
"type": {
"type": "'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'"
},
{
"kind": "method",
"name": "_defineOverlayConfig",
"privacy": "public"
},
{
"kind": "method",
"name": "_hasDisabledInvoker",
"privacy": "public"
},
{
"kind": "method",
"name": "_setupOpenCloseListeners",
"privacy": "public"
},
{
"kind": "method",
"name": "_teardownOpenCloseListeners",
"privacy": "public"
},
{
"kind": "method",
"name": "__resetActive",
"privacy": "public"
},
{
"kind": "method",
"name": "_showMouse",
"privacy": "public"
},
{
"kind": "method",
"name": "_hideMouse",
"privacy": "public"
},
{
"kind": "method",
"name": "_showKey",
"privacy": "public"
},
{
"kind": "method",
"name": "_hideKey",
"privacy": "public"
}
],
"tagName": "lion-tooltip"
}
],
"exports": [
{
"kind": "js",
"name": "LionTooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group tooltip",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group tooltip",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group tooltip",
@ -48,5 +49,6 @@
"exports": {
".": "./index.js",
"./lion-tooltip": "./lion-tooltip.js"
}
},
"customElementsManifest": "custom-elements.json"
}

View file

@ -0,0 +1,503 @@
{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "loadDefaultFeedbackMessages",
"declaration": {
"name": "loadDefaultFeedbackMessages",
"module": "./src/loadDefaultFeedbackMessages.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/loadDefaultFeedbackMessages.js",
"declarations": [
{
"kind": "function",
"name": "loadDefaultFeedbackMessages"
}
],
"exports": [
{
"kind": "js",
"name": "loadDefaultFeedbackMessages",
"declaration": {
"name": "loadDefaultFeedbackMessages",
"module": "./src/loadDefaultFeedbackMessages.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg-BG.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg-BG.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/bg.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/bg.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs-CZ.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs-CZ.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/cs.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/cs.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de-DE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de-DE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/de.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/de.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-AU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-AU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-GB.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-GB.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en-US.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en-US.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/en.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/en.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es-ES.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es-ES.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/es.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/es.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr-FR.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr-FR.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/fr.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/fr.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu-HU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu-HU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/hu.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/hu.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it-IT.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it-IT.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/it.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/it.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-BE.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-BE.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl-NL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl-NL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/nl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/nl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl-PL.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl-PL.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/pl.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/pl.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro-RO.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro-RO.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ro.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ro.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru-RU.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru-RU.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/ru.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/ru.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk-SK.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk-SK.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/sk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/sk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk-UA.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk-UA.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/uk.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/uk.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./translations/zh.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"module": "./translations/zh.js"
}
}
]
}
]
}

View file

@ -23,6 +23,7 @@
"types"
],
"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"debug": "cd ../../ && npm run debug -- --group validate-messages",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group validate-messages",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group validate-messages",
@ -44,5 +45,6 @@
"publishConfig": {
"access": "public"
},
"exports": "./index.js"
"exports": "./index.js",
"customElementsManifest": "custom-elements.json"
}