@spectrum-web-components/meter 0.8.5-overlay.17 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,208 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-meter.js",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/Meter.js",
14
+ "declarations": [
15
+ {
16
+ "kind": "class",
17
+ "description": "",
18
+ "name": "Meter",
19
+ "slots": [
20
+ {
21
+ "description": "text labeling the Meter",
22
+ "name": ""
23
+ }
24
+ ],
25
+ "members": [
26
+ {
27
+ "kind": "field",
28
+ "name": "progress",
29
+ "type": {
30
+ "text": "number"
31
+ },
32
+ "privacy": "public",
33
+ "default": "0",
34
+ "attribute": "progress"
35
+ },
36
+ {
37
+ "kind": "field",
38
+ "name": "overBackground",
39
+ "type": {
40
+ "text": "boolean"
41
+ },
42
+ "privacy": "public",
43
+ "default": "false",
44
+ "attribute": "over-background",
45
+ "reflects": true
46
+ },
47
+ {
48
+ "kind": "field",
49
+ "name": "notice",
50
+ "type": {
51
+ "text": "boolean"
52
+ },
53
+ "privacy": "public",
54
+ "default": "false",
55
+ "attribute": "notice",
56
+ "reflects": true
57
+ },
58
+ {
59
+ "kind": "field",
60
+ "name": "negative",
61
+ "type": {
62
+ "text": "boolean"
63
+ },
64
+ "privacy": "public",
65
+ "default": "false",
66
+ "attribute": "negative",
67
+ "reflects": true
68
+ },
69
+ {
70
+ "kind": "field",
71
+ "name": "positive",
72
+ "type": {
73
+ "text": "boolean"
74
+ },
75
+ "privacy": "public",
76
+ "default": "false",
77
+ "attribute": "positive",
78
+ "reflects": true
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "label",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "privacy": "public",
87
+ "default": "''",
88
+ "attribute": "label",
89
+ "reflects": true
90
+ },
91
+ {
92
+ "kind": "field",
93
+ "name": "sideLabel",
94
+ "type": {
95
+ "text": "boolean"
96
+ },
97
+ "privacy": "public",
98
+ "default": "false",
99
+ "attribute": "side-label",
100
+ "reflects": true
101
+ },
102
+ {
103
+ "kind": "field",
104
+ "name": "static",
105
+ "type": {
106
+ "text": "'white' | undefined"
107
+ },
108
+ "privacy": "public",
109
+ "attribute": "static",
110
+ "reflects": true
111
+ }
112
+ ],
113
+ "attributes": [
114
+ {
115
+ "name": "progress",
116
+ "type": {
117
+ "text": "number"
118
+ },
119
+ "default": "0",
120
+ "fieldName": "progress"
121
+ },
122
+ {
123
+ "name": "over-background",
124
+ "type": {
125
+ "text": "boolean"
126
+ },
127
+ "default": "false",
128
+ "fieldName": "overBackground"
129
+ },
130
+ {
131
+ "name": "notice",
132
+ "type": {
133
+ "text": "boolean"
134
+ },
135
+ "default": "false",
136
+ "fieldName": "notice"
137
+ },
138
+ {
139
+ "name": "negative",
140
+ "type": {
141
+ "text": "boolean"
142
+ },
143
+ "default": "false",
144
+ "fieldName": "negative"
145
+ },
146
+ {
147
+ "name": "positive",
148
+ "type": {
149
+ "text": "boolean"
150
+ },
151
+ "default": "false",
152
+ "fieldName": "positive"
153
+ },
154
+ {
155
+ "name": "label",
156
+ "type": {
157
+ "text": "string"
158
+ },
159
+ "default": "''",
160
+ "fieldName": "label"
161
+ },
162
+ {
163
+ "name": "side-label",
164
+ "type": {
165
+ "text": "boolean"
166
+ },
167
+ "default": "false",
168
+ "fieldName": "sideLabel"
169
+ },
170
+ {
171
+ "name": "static",
172
+ "type": {
173
+ "text": "'white' | undefined"
174
+ },
175
+ "fieldName": "static"
176
+ }
177
+ ],
178
+ "mixins": [
179
+ {
180
+ "name": "SizedMixin",
181
+ "package": "@spectrum-web-components/base"
182
+ },
183
+ {
184
+ "name": "ObserveSlotText",
185
+ "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
186
+ }
187
+ ],
188
+ "superclass": {
189
+ "name": "SpectrumElement",
190
+ "package": "@spectrum-web-components/base"
191
+ },
192
+ "tagName": "sp-meter",
193
+ "customElement": true
194
+ }
195
+ ],
196
+ "exports": [
197
+ {
198
+ "kind": "js",
199
+ "name": "Meter",
200
+ "declaration": {
201
+ "name": "Meter",
202
+ "module": "src/Meter.js"
203
+ }
204
+ }
205
+ ]
206
+ }
207
+ ]
208
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/meter",
3
- "version": "0.8.5-overlay.17+8895a820a",
3
+ "version": "0.30.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,12 +57,12 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.7.6-overlay.61+8895a820a",
61
- "@spectrum-web-components/field-label": "^0.10.11-overlay.17+8895a820a",
62
- "@spectrum-web-components/shared": "^0.15.8-overlay.17+8895a820a"
60
+ "@spectrum-web-components/base": "^0.30.0",
61
+ "@spectrum-web-components/field-label": "^0.30.0",
62
+ "@spectrum-web-components/shared": "^0.30.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@spectrum-css/progressbar": "^3.0.22"
65
+ "@spectrum-css/progressbar": "^3.0.27"
66
66
  },
67
67
  "types": "./src/index.d.ts",
68
68
  "customElements": "custom-elements.json",
@@ -70,5 +70,5 @@
70
70
  "./sp-*.js",
71
71
  "./**/*.dev.js"
72
72
  ],
73
- "gitHead": "8895a820a1f108ccf14b37eb582d1f8de0c1a0f6"
73
+ "gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
74
74
  }
package/sp-meter.dev.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  import { Meter } from "./src/Meter.dev.js";
3
- customElements.define("sp-meter", Meter);
3
+ import { defineElement } from "@spectrum-web-components/base/src/define-element.js";
4
+ defineElement("sp-meter", Meter);
4
5
  //# sourceMappingURL=sp-meter.dev.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-meter.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*/\n\nimport { Meter } from './src/Meter.dev.js'\n\ncustomElements.define('sp-meter', Meter);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-meter': Meter;\n }\n}\n"],
5
- "mappings": ";AAYA,SAAS,aAAa;AAEtB,eAAe,OAAO,YAAY,KAAK;",
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*/\n\nimport { Meter } from './src/Meter.dev.js'\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-meter', Meter);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-meter': Meter;\n }\n}\n"],
5
+ "mappings": ";AAYA,SAAS,aAAa;AACtB,SAAS,qBAAqB;AAE9B,cAAc,YAAY,KAAK;",
6
6
  "names": []
7
7
  }
package/sp-meter.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";import{Meter as e}from"./src/Meter.js";customElements.define("sp-meter",e);
1
+ "use strict";import{Meter as e}from"./src/Meter.js";import{defineElement as r}from"@spectrum-web-components/base/src/define-element.js";r("sp-meter",e);
2
2
  //# sourceMappingURL=sp-meter.js.map
package/sp-meter.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["sp-meter.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*/\n\nimport { Meter } from './src/Meter.js';\n\ncustomElements.define('sp-meter', Meter);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-meter': Meter;\n }\n}\n"],
5
- "mappings": "aAYA,OAAS,SAAAA,MAAa,iBAEtB,eAAe,OAAO,WAAYA,CAAK",
6
- "names": ["Meter"]
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*/\n\nimport { Meter } from './src/Meter.js';\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\n\ndefineElement('sp-meter', Meter);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-meter': Meter;\n }\n}\n"],
5
+ "mappings": "aAYA,OAAS,SAAAA,MAAa,iBACtB,OAAS,iBAAAC,MAAqB,sDAE9BA,EAAc,WAAYD,CAAK",
6
+ "names": ["Meter", "defineElement"]
7
7
  }