@proximus/lavender-switch 2.0.0-alpha.196 → 2.0.0-alpha.198

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,173 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/Switch.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "Switch",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "nativeName",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "static": true,
21
+ "default": "'input'"
22
+ },
23
+ {
24
+ "kind": "field",
25
+ "name": "accessorExclusions",
26
+ "type": {
27
+ "text": "array"
28
+ },
29
+ "static": true,
30
+ "default": "['checked', 'disabled']"
31
+ },
32
+ {
33
+ "kind": "field",
34
+ "name": "internals",
35
+ "type": {
36
+ "text": "ElementInternals"
37
+ },
38
+ "privacy": "protected"
39
+ },
40
+ {
41
+ "kind": "field",
42
+ "name": "template",
43
+ "privacy": "private"
44
+ },
45
+ {
46
+ "kind": "method",
47
+ "name": "formData",
48
+ "return": {
49
+ "type": {
50
+ "text": "FormData"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "kind": "field",
56
+ "name": "formAssociated",
57
+ "static": true,
58
+ "readonly": true
59
+ },
60
+ {
61
+ "kind": "method",
62
+ "name": "formResetCallback"
63
+ },
64
+ {
65
+ "kind": "method",
66
+ "name": "formStateRestoreCallback",
67
+ "parameters": [
68
+ {
69
+ "name": "state",
70
+ "type": {
71
+ "text": "boolean"
72
+ }
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ "kind": "method",
78
+ "name": "setupForId"
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "$switch",
83
+ "readonly": true
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "inverted"
88
+ },
89
+ {
90
+ "kind": "field",
91
+ "name": "checked",
92
+ "type": {
93
+ "text": "boolean"
94
+ }
95
+ },
96
+ {
97
+ "kind": "field",
98
+ "name": "disabled",
99
+ "type": {
100
+ "text": "boolean"
101
+ }
102
+ },
103
+ {
104
+ "kind": "field",
105
+ "name": "innerHTML"
106
+ }
107
+ ],
108
+ "events": [
109
+ {
110
+ "name": "change",
111
+ "type": {
112
+ "text": "Event"
113
+ }
114
+ }
115
+ ],
116
+ "attributes": [
117
+ {
118
+ "name": "inverted"
119
+ },
120
+ {
121
+ "name": "hover"
122
+ }
123
+ ],
124
+ "superclass": {
125
+ "name": "PxElement",
126
+ "package": "@proximus/lavender-common"
127
+ },
128
+ "tagName": "px-switch",
129
+ "customElement": true
130
+ }
131
+ ],
132
+ "exports": [
133
+ {
134
+ "kind": "js",
135
+ "name": "Switch",
136
+ "declaration": {
137
+ "name": "Switch",
138
+ "module": "src/Switch.ts"
139
+ }
140
+ },
141
+ {
142
+ "kind": "custom-element-definition",
143
+ "name": "px-switch",
144
+ "declaration": {
145
+ "name": "Switch",
146
+ "module": "src/Switch.ts"
147
+ }
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ "kind": "javascript-module",
153
+ "path": "src/index.ts",
154
+ "declarations": [],
155
+ "exports": [
156
+ {
157
+ "kind": "js",
158
+ "name": "*",
159
+ "declaration": {
160
+ "name": "*",
161
+ "module": "src/Switch"
162
+ }
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "kind": "javascript-module",
168
+ "path": "src/switch.css",
169
+ "declarations": [],
170
+ "exports": []
171
+ }
172
+ ]
173
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-css-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "properties": [],
5
+ "pseudoElements": []
6
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "px-switch",
7
+ "description": "\n---\n\n\n### **Events:**\n - **change**",
8
+ "attributes": [
9
+ { "name": "inverted", "values": [] },
10
+ { "name": "hover", "values": [] }
11
+ ],
12
+ "references": []
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-switch",
4
+ "version": "2.0.0-alpha.198",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-switch",
11
+ "description": "\n---\n\n\n### **Events:**\n - **change**",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "inverted", "value": { "type": "string" } },
15
+ { "name": "hover", "value": { "type": "string" } }
16
+ ],
17
+ "events": [{ "name": "change", "type": "Event" }],
18
+ "js": {
19
+ "properties": [
20
+ { "name": "$switch" },
21
+ { "name": "inverted" },
22
+ { "name": "checked", "type": "boolean" },
23
+ { "name": "disabled", "type": "boolean" },
24
+ { "name": "innerHTML" }
25
+ ],
26
+ "events": [{ "name": "change", "type": "Event" }]
27
+ }
28
+ }
29
+ ]
30
+ },
31
+ "css": {
32
+ "properties": [],
33
+ "pseudo-elements": []
34
+ }
35
+ }
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-switch",
3
- "version": "2.0.0-alpha.196",
3
+ "version": "2.0.0-alpha.198",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",