@spectrum-web-components/switch 1.2.0-beta.1 → 1.2.0-beta.2

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,89 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-switch.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-switch",
13
+ "declaration": {
14
+ "name": "Switch",
15
+ "module": "/src/Switch.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/Switch.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "class",
26
+ "description": "",
27
+ "name": "Switch",
28
+ "slots": [
29
+ {
30
+ "description": "text label of the Switch",
31
+ "name": ""
32
+ }
33
+ ],
34
+ "members": [
35
+ {
36
+ "kind": "field",
37
+ "name": "emphasized",
38
+ "type": {
39
+ "text": "boolean"
40
+ },
41
+ "privacy": "public",
42
+ "default": "false",
43
+ "attribute": "emphasized",
44
+ "reflects": true
45
+ }
46
+ ],
47
+ "events": [
48
+ {
49
+ "description": "Announces a change in the `checked` property of a Switch",
50
+ "name": "change"
51
+ }
52
+ ],
53
+ "attributes": [
54
+ {
55
+ "name": "emphasized",
56
+ "type": {
57
+ "text": "boolean"
58
+ },
59
+ "default": "false",
60
+ "fieldName": "emphasized"
61
+ }
62
+ ],
63
+ "mixins": [
64
+ {
65
+ "name": "SizedMixin",
66
+ "package": "@spectrum-web-components/base"
67
+ }
68
+ ],
69
+ "superclass": {
70
+ "name": "CheckboxBase",
71
+ "package": "@spectrum-web-components/checkbox/src/CheckboxBase.js"
72
+ },
73
+ "tagName": "sp-switch",
74
+ "customElement": true
75
+ }
76
+ ],
77
+ "exports": [
78
+ {
79
+ "kind": "js",
80
+ "name": "Switch",
81
+ "declaration": {
82
+ "name": "Switch",
83
+ "module": "src/Switch.js"
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ]
89
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/switch",
3
- "version": "1.2.0-beta.1",
3
+ "version": "1.2.0-beta.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -59,8 +59,8 @@
59
59
  "lit-html"
60
60
  ],
61
61
  "dependencies": {
62
- "@spectrum-web-components/base": "^1.2.0-beta.1",
63
- "@spectrum-web-components/checkbox": "^1.2.0-beta.1"
62
+ "@spectrum-web-components/base": "^1.2.0-beta.2",
63
+ "@spectrum-web-components/checkbox": "^1.2.0-beta.2"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@spectrum-css/switch": "6.0.0-s2-foundations.16"
@@ -71,5 +71,5 @@
71
71
  "./sp-*.js",
72
72
  "./**/*.dev.js"
73
73
  ],
74
- "gitHead": "10139c3ba67a3abfb114859efadac87d9dc4a472"
74
+ "gitHead": "c0c67a3bdce0642f6a60d11a62fdcb6c1909ca62"
75
75
  }