@proximus/lavender-button-icon 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,238 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/ButtonIcon.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "buttonIconSizeValues",
12
+ "type": {
13
+ "text": "['', 'default', 'small']"
14
+ },
15
+ "default": "['', 'default', 'small']"
16
+ },
17
+ {
18
+ "kind": "variable",
19
+ "name": "buttonIconVariantValues",
20
+ "type": {
21
+ "text": "[\n '',\n 'default',\n 'secondary',\n 'naked',\n]"
22
+ },
23
+ "default": "[ '', 'default', 'secondary', 'naked', ]"
24
+ },
25
+ {
26
+ "kind": "class",
27
+ "description": "",
28
+ "name": "ButtonIcon",
29
+ "members": [
30
+ {
31
+ "kind": "field",
32
+ "name": "nativeName",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "static": true,
37
+ "default": "'button'"
38
+ },
39
+ {
40
+ "kind": "field",
41
+ "name": "template",
42
+ "privacy": "private"
43
+ },
44
+ {
45
+ "kind": "method",
46
+ "name": "_toggleClass",
47
+ "parameters": [
48
+ {
49
+ "name": "oldValue",
50
+ "type": {
51
+ "text": "string"
52
+ }
53
+ },
54
+ {
55
+ "name": "newValue",
56
+ "type": {
57
+ "text": "string"
58
+ }
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "kind": "method",
64
+ "name": "updateLoading"
65
+ },
66
+ {
67
+ "kind": "method",
68
+ "name": "updateSize",
69
+ "parameters": [
70
+ {
71
+ "name": "oldValue",
72
+ "type": {
73
+ "text": "string"
74
+ }
75
+ },
76
+ {
77
+ "name": "newValue",
78
+ "type": {
79
+ "text": "string"
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "kind": "method",
86
+ "name": "updateVariant",
87
+ "parameters": [
88
+ {
89
+ "name": "oldValue",
90
+ "type": {
91
+ "text": "string"
92
+ }
93
+ },
94
+ {
95
+ "name": "newValue",
96
+ "type": {
97
+ "text": "string"
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "kind": "field",
104
+ "name": "inverted"
105
+ },
106
+ {
107
+ "kind": "field",
108
+ "name": "loading"
109
+ },
110
+ {
111
+ "kind": "field",
112
+ "name": "size"
113
+ },
114
+ {
115
+ "kind": "field",
116
+ "name": "variant"
117
+ },
118
+ {
119
+ "kind": "field",
120
+ "name": "ariaExpanded"
121
+ },
122
+ {
123
+ "kind": "field",
124
+ "name": "innerHTML"
125
+ }
126
+ ],
127
+ "attributes": [
128
+ {
129
+ "name": "inverted"
130
+ },
131
+ {
132
+ "name": "loading"
133
+ },
134
+ {
135
+ "name": "size"
136
+ },
137
+ {
138
+ "name": "variant"
139
+ },
140
+ {
141
+ "name": "aria-expanded"
142
+ },
143
+ {
144
+ "type": {
145
+ "text": "string"
146
+ },
147
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
148
+ "name": "name"
149
+ },
150
+ {
151
+ "type": {
152
+ "text": "string"
153
+ },
154
+ "description": "The value associated with the button's name when it's submitted with a form.",
155
+ "name": "value"
156
+ },
157
+ {
158
+ "type": {
159
+ "text": "string"
160
+ },
161
+ "description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
162
+ "name": "type"
163
+ },
164
+ {
165
+ "type": {
166
+ "text": "boolean"
167
+ },
168
+ "description": "Whether the button is disabled.",
169
+ "name": "disabled"
170
+ }
171
+ ],
172
+ "superclass": {
173
+ "name": "PxElement",
174
+ "package": "@proximus/lavender-common"
175
+ },
176
+ "summary": "Button icon for actions.",
177
+ "tagName": "px-button-icon",
178
+ "customElement": true
179
+ }
180
+ ],
181
+ "exports": [
182
+ {
183
+ "kind": "js",
184
+ "name": "buttonIconSizeValues",
185
+ "declaration": {
186
+ "name": "buttonIconSizeValues",
187
+ "module": "src/ButtonIcon.ts"
188
+ }
189
+ },
190
+ {
191
+ "kind": "js",
192
+ "name": "buttonIconVariantValues",
193
+ "declaration": {
194
+ "name": "buttonIconVariantValues",
195
+ "module": "src/ButtonIcon.ts"
196
+ }
197
+ },
198
+ {
199
+ "kind": "js",
200
+ "name": "ButtonIcon",
201
+ "declaration": {
202
+ "name": "ButtonIcon",
203
+ "module": "src/ButtonIcon.ts"
204
+ }
205
+ },
206
+ {
207
+ "kind": "custom-element-definition",
208
+ "name": "px-button-icon",
209
+ "declaration": {
210
+ "name": "ButtonIcon",
211
+ "module": "src/ButtonIcon.ts"
212
+ }
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "kind": "javascript-module",
218
+ "path": "src/buttonicon.css",
219
+ "declarations": [],
220
+ "exports": []
221
+ },
222
+ {
223
+ "kind": "javascript-module",
224
+ "path": "src/index.ts",
225
+ "declarations": [],
226
+ "exports": [
227
+ {
228
+ "kind": "js",
229
+ "name": "*",
230
+ "declaration": {
231
+ "name": "*",
232
+ "module": "src/ButtonIcon"
233
+ }
234
+ }
235
+ ]
236
+ }
237
+ ]
238
+ }
@@ -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,38 @@
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-button-icon",
7
+ "description": "Button icon for actions.\n---\n",
8
+ "attributes": [
9
+ { "name": "inverted", "values": [] },
10
+ { "name": "loading", "values": [] },
11
+ { "name": "size", "values": [] },
12
+ { "name": "variant", "values": [] },
13
+ { "name": "aria-expanded", "values": [] },
14
+ {
15
+ "name": "name",
16
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
17
+ "values": []
18
+ },
19
+ {
20
+ "name": "value",
21
+ "description": "The value associated with the button's name when it's submitted with a form.",
22
+ "values": []
23
+ },
24
+ {
25
+ "name": "type",
26
+ "description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
27
+ "values": []
28
+ },
29
+ {
30
+ "name": "disabled",
31
+ "description": "Whether the button is disabled.",
32
+ "values": []
33
+ }
34
+ ],
35
+ "references": []
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@proximus/lavender-button-icon",
4
+ "version": "2.0.0-alpha.198",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "px-button-icon",
11
+ "description": "Button icon for actions.\n---\n",
12
+ "doc-url": "",
13
+ "attributes": [
14
+ { "name": "inverted", "value": { "type": "string" } },
15
+ { "name": "loading", "value": { "type": "string" } },
16
+ { "name": "size", "value": { "type": "string" } },
17
+ { "name": "variant", "value": { "type": "string" } },
18
+ { "name": "aria-expanded", "value": { "type": "string" } },
19
+ {
20
+ "name": "name",
21
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
22
+ "value": { "type": "string" }
23
+ },
24
+ {
25
+ "name": "value",
26
+ "description": "The value associated with the button's name when it's submitted with a form.",
27
+ "value": { "type": "string" }
28
+ },
29
+ {
30
+ "name": "type",
31
+ "description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
32
+ "value": { "type": "string" }
33
+ },
34
+ {
35
+ "name": "disabled",
36
+ "description": "Whether the button is disabled.",
37
+ "value": { "type": "boolean" }
38
+ }
39
+ ],
40
+ "events": [],
41
+ "js": {
42
+ "properties": [
43
+ { "name": "inverted" },
44
+ { "name": "loading" },
45
+ { "name": "size" },
46
+ { "name": "variant" },
47
+ { "name": "ariaExpanded" },
48
+ { "name": "innerHTML" }
49
+ ],
50
+ "events": []
51
+ }
52
+ }
53
+ ]
54
+ },
55
+ "css": {
56
+ "properties": [],
57
+ "pseudo-elements": []
58
+ }
59
+ }
60
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-button-icon",
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",