@spectrum-web-components/status-light 0.11.12-overlay.18 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,97 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-status-light.js",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/StatusLight.js",
14
+ "declarations": [
15
+ {
16
+ "kind": "class",
17
+ "description": "",
18
+ "name": "StatusLight",
19
+ "slots": [
20
+ {
21
+ "description": "text label of the Status Light",
22
+ "name": ""
23
+ }
24
+ ],
25
+ "members": [
26
+ {
27
+ "kind": "field",
28
+ "name": "disabled",
29
+ "type": {
30
+ "text": "boolean"
31
+ },
32
+ "privacy": "public",
33
+ "default": "false",
34
+ "description": "A status light in a disabled state shows that a status exists, but is not available in that circumstance. This can be used to maintain layout continuity and communicate that a status may become available later.",
35
+ "attribute": "disabled",
36
+ "reflects": true
37
+ },
38
+ {
39
+ "kind": "field",
40
+ "name": "variant",
41
+ "type": {
42
+ "text": "| 'negative'\n | 'notice'\n | 'positive'\n | 'info'\n | 'neutral'\n | 'yellow'\n | 'fuchsia'\n | 'indigo'\n | 'seafoam'\n | 'chartreuse'\n | 'magenta'\n | 'celery'\n | 'purple'"
43
+ },
44
+ "privacy": "public",
45
+ "default": "'info'",
46
+ "description": "The visual variant to apply to this status light.",
47
+ "attribute": "variant",
48
+ "reflects": true
49
+ }
50
+ ],
51
+ "attributes": [
52
+ {
53
+ "name": "disabled",
54
+ "type": {
55
+ "text": "boolean"
56
+ },
57
+ "default": "false",
58
+ "description": "A status light in a disabled state shows that a status exists, but is not available in that circumstance. This can be used to maintain layout continuity and communicate that a status may become available later.",
59
+ "fieldName": "disabled"
60
+ },
61
+ {
62
+ "name": "variant",
63
+ "type": {
64
+ "text": "| 'negative'\n | 'notice'\n | 'positive'\n | 'info'\n | 'neutral'\n | 'yellow'\n | 'fuchsia'\n | 'indigo'\n | 'seafoam'\n | 'chartreuse'\n | 'magenta'\n | 'celery'\n | 'purple'"
65
+ },
66
+ "default": "'info'",
67
+ "description": "The visual variant to apply to this status light.",
68
+ "fieldName": "variant"
69
+ }
70
+ ],
71
+ "mixins": [
72
+ {
73
+ "name": "SizedMixin",
74
+ "package": "@spectrum-web-components/base"
75
+ }
76
+ ],
77
+ "superclass": {
78
+ "name": "SpectrumElement",
79
+ "package": "@spectrum-web-components/base"
80
+ },
81
+ "tagName": "sp-status-light",
82
+ "customElement": true
83
+ }
84
+ ],
85
+ "exports": [
86
+ {
87
+ "kind": "js",
88
+ "name": "StatusLight",
89
+ "declaration": {
90
+ "name": "StatusLight",
91
+ "module": "src/StatusLight.js"
92
+ }
93
+ }
94
+ ]
95
+ }
96
+ ]
97
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/status-light",
3
- "version": "0.11.12-overlay.18+2ba65b1a7",
3
+ "version": "0.30.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,10 +57,10 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.7.6-overlay.62+2ba65b1a7"
60
+ "@spectrum-web-components/base": "^0.30.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@spectrum-css/statuslight": "^6.0.19"
63
+ "@spectrum-css/statuslight": "^6.0.23"
64
64
  },
65
65
  "types": "./src/index.d.ts",
66
66
  "customElements": "custom-elements.json",
@@ -68,5 +68,5 @@
68
68
  "./sp-*.js",
69
69
  "./**/*.dev.js"
70
70
  ],
71
- "gitHead": "2ba65b1a7310f182972a840bea45ba93203c2da0"
71
+ "gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
72
72
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  import { StatusLight } from "./src/StatusLight.dev.js";
3
- customElements.define("sp-status-light", StatusLight);
3
+ import { defineElement } from "@spectrum-web-components/base/src/define-element.js";
4
+ defineElement("sp-status-light", StatusLight);
4
5
  //# sourceMappingURL=sp-status-light.dev.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-status-light.ts"],
4
- "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.dev.js'\n\ncustomElements.define('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
- "mappings": ";AAWA,SAAS,mBAAmB;AAE5B,eAAe,OAAO,mBAAmB,WAAW;",
4
+ "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.dev.js'\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
+ "mappings": ";AAWA,SAAS,mBAAmB;AAC5B,SAAS,qBAAqB;AAE9B,cAAc,mBAAmB,WAAW;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,2 @@
1
- "use strict";import{StatusLight as t}from"./src/StatusLight.js";customElements.define("sp-status-light",t);
1
+ "use strict";import{StatusLight as t}from"./src/StatusLight.js";import{defineElement as e}from"@spectrum-web-components/base/src/define-element.js";e("sp-status-light",t);
2
2
  //# sourceMappingURL=sp-status-light.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-status-light.ts"],
4
- "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.js';\n\ncustomElements.define('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
- "mappings": "aAWA,OAAS,eAAAA,MAAmB,uBAE5B,eAAe,OAAO,kBAAmBA,CAAW",
6
- "names": ["StatusLight"]
4
+ "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { StatusLight } from './src/StatusLight.js';\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-status-light', StatusLight);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-status-light': StatusLight;\n }\n}\n"],
5
+ "mappings": "aAWA,OAAS,eAAAA,MAAmB,uBAC5B,OAAS,iBAAAC,MAAqB,sDAE9BA,EAAc,kBAAmBD,CAAW",
6
+ "names": ["StatusLight", "defineElement"]
7
7
  }