@proximus/lavender-button 1.4.19-beta.4 → 1.4.19

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.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-button",
4
- "version": "1.4.19-beta.4",
4
+ "version": "1.4.19",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "px-button",
11
- "description": "Primary button for actions, forms, and more.\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the button text.\n- **after** - Content to be placed after the button text.",
11
+ "description": "\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  { "name": "variant", "value": { "type": "string" } },
@@ -27,97 +27,12 @@
27
27
  { "name": "extended--laptop", "value": { "type": "string" } },
28
28
  { "name": "extended--desktop", "value": { "type": "string" } },
29
29
  { "name": "size", "value": { "type": "string" } },
30
- {
31
- "name": "disabled",
32
- "description": "Whether the native button is disabled.",
33
- "value": { "type": "boolean" }
34
- },
35
30
  {
36
31
  "name": "name",
37
- "description": "The name submitted with the button's value.",
38
- "value": { "type": "string" }
39
- },
40
- {
41
- "name": "value",
42
- "description": "The value associated with the button.",
43
- "value": { "type": "string" }
44
- },
45
- {
46
- "name": "type",
47
- "description": "The native button behavior: submit, reset, or button.",
48
- "value": { "type": "'submit' | 'reset' | 'button'" }
49
- },
50
- {
51
- "name": "formaction",
52
- "description": "The submission URL override.",
53
- "value": { "type": "string" }
54
- },
55
- {
56
- "name": "formenctype",
57
- "description": "The submission encoding override.",
58
- "value": { "type": "string" }
59
- },
60
- {
61
- "name": "formmethod",
62
- "description": "The submission method override.",
63
- "value": { "type": "string" }
64
- },
65
- {
66
- "name": "formnovalidate",
67
- "description": "Whether submission bypasses validation.",
68
- "value": { "type": "boolean" }
69
- },
70
- {
71
- "name": "formtarget",
72
- "description": "The submission target override.",
73
- "value": { "type": "string" }
74
- },
75
- {
76
- "name": "autofocus",
77
- "description": "Whether the native button requests autofocus.",
78
- "value": { "type": "boolean" }
79
- },
80
- {
81
- "name": "title",
82
- "description": "The native button tooltip.",
83
- "value": { "type": "string" }
84
- },
85
- {
86
- "name": "popovertargetaction",
87
- "description": "The action for the target popover.",
88
- "value": { "type": "string" }
89
- },
90
- {
91
- "name": "command",
92
- "description": "The command for the target element, where supported.",
93
- "value": { "type": "string" }
94
- },
95
- {
96
- "name": "commandfor",
97
- "description": "The ID of the command target.",
98
- "value": { "type": "string" }
99
- },
100
- {
101
- "name": "popovertarget",
102
- "description": "The ID of the target popover.",
103
- "value": { "type": "string" }
104
- },
105
- {
106
- "name": "form",
107
- "description": "The ID of the associated form; the form property is the native form reference.",
32
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data.",
108
33
  "value": { "type": "string" }
109
34
  }
110
35
  ],
111
- "slots": [
112
- {
113
- "name": "before",
114
- "description": "Content to be placed before the button text."
115
- },
116
- {
117
- "name": "after",
118
- "description": "Content to be placed after the button text."
119
- }
120
- ],
121
36
  "events": [],
122
37
  "js": {
123
38
  "properties": [
@@ -136,39 +51,7 @@
136
51
  { "name": "shapeDesktop" },
137
52
  { "name": "inverted" },
138
53
  { "name": "ariaExpanded" },
139
- { "name": "size" },
140
- { "name": "form", "type": "HTMLFormElement | null" },
141
- { "name": "labels", "type": "NodeListOf<HTMLLabelElement>" },
142
- { "name": "popoverTargetElement", "type": "Element | null" },
143
- { "name": "commandForElement", "type": "Element | null" },
144
- { "name": "disabled", "type": "boolean" },
145
- { "name": "name", "type": "string" },
146
- { "name": "value", "type": "string" },
147
- { "name": "type", "type": "'submit' | 'reset' | 'button'" },
148
- { "name": "formAction", "type": "string" },
149
- { "name": "formEnctype", "type": "string" },
150
- { "name": "formMethod", "type": "string" },
151
- { "name": "formNoValidate", "type": "boolean" },
152
- { "name": "formTarget", "type": "string" },
153
- { "name": "autofocus", "type": "boolean" },
154
- { "name": "title", "type": "string" },
155
- { "name": "popoverTargetAction", "type": "string" },
156
- { "name": "command", "type": "string" },
157
- { "name": "validity", "type": "ValidityState" },
158
- { "name": "validationMessage", "type": "string" },
159
- { "name": "willValidate", "type": "boolean" },
160
- {
161
- "name": "checkValidity",
162
- "type": "HTMLButtonElement['checkValidity']"
163
- },
164
- {
165
- "name": "reportValidity",
166
- "type": "HTMLButtonElement['reportValidity']"
167
- },
168
- {
169
- "name": "setCustomValidity",
170
- "type": "HTMLButtonElement['setCustomValidity']"
171
- }
54
+ { "name": "size" }
172
55
  ],
173
56
  "events": []
174
57
  }
@@ -191,7 +74,7 @@
191
74
  {
192
75
  "name": "type",
193
76
  "description": "The default behavior of the button. Possible values are 'submit', 'reset', and 'button'.",
194
- "value": { "type": "'submit' | 'reset' | 'button'" }
77
+ "value": { "type": "string" }
195
78
  },
196
79
  {
197
80
  "name": "disabled",
@@ -213,67 +96,7 @@
213
96
  { "name": "extended--tablet", "value": { "type": "string" } },
214
97
  { "name": "extended--laptop", "value": { "type": "string" } },
215
98
  { "name": "extended--desktop", "value": { "type": "string" } },
216
- { "name": "size", "value": { "type": "string" } },
217
- {
218
- "name": "formaction",
219
- "description": "The submission URL override.",
220
- "value": { "type": "string" }
221
- },
222
- {
223
- "name": "formenctype",
224
- "description": "The submission encoding override.",
225
- "value": { "type": "string" }
226
- },
227
- {
228
- "name": "formmethod",
229
- "description": "The submission method override.",
230
- "value": { "type": "string" }
231
- },
232
- {
233
- "name": "formnovalidate",
234
- "description": "Whether submission bypasses validation.",
235
- "value": { "type": "boolean" }
236
- },
237
- {
238
- "name": "formtarget",
239
- "description": "The submission target override.",
240
- "value": { "type": "string" }
241
- },
242
- {
243
- "name": "autofocus",
244
- "description": "Whether the native button requests autofocus.",
245
- "value": { "type": "boolean" }
246
- },
247
- {
248
- "name": "title",
249
- "description": "The native button tooltip.",
250
- "value": { "type": "string" }
251
- },
252
- {
253
- "name": "popovertargetaction",
254
- "description": "The action for the target popover.",
255
- "value": { "type": "string" }
256
- },
257
- {
258
- "name": "command",
259
- "description": "The command for the target element, where supported.",
260
- "value": { "type": "string" }
261
- },
262
- {
263
- "name": "commandfor",
264
- "description": "The ID of the command target.",
265
- "value": { "type": "string" }
266
- },
267
- {
268
- "name": "popovertarget",
269
- "description": "The ID of the target popover.",
270
- "value": { "type": "string" }
271
- },
272
- {
273
- "name": "form",
274
- "description": "The ID of the associated form; the form property is the native form reference.",
275
- "value": { "type": "string" }
276
- }
99
+ { "name": "size", "value": { "type": "string" } }
277
100
  ],
278
101
  "slots": [
279
102
  {
@@ -303,39 +126,7 @@
303
126
  { "name": "shapeDesktop" },
304
127
  { "name": "inverted" },
305
128
  { "name": "ariaExpanded" },
306
- { "name": "size" },
307
- { "name": "form", "type": "HTMLFormElement | null" },
308
- { "name": "labels", "type": "NodeListOf<HTMLLabelElement>" },
309
- { "name": "popoverTargetElement", "type": "Element | null" },
310
- { "name": "commandForElement", "type": "Element | null" },
311
- { "name": "disabled", "type": "boolean" },
312
- { "name": "name", "type": "string" },
313
- { "name": "value", "type": "string" },
314
- { "name": "type", "type": "'submit' | 'reset' | 'button'" },
315
- { "name": "formAction", "type": "string" },
316
- { "name": "formEnctype", "type": "string" },
317
- { "name": "formMethod", "type": "string" },
318
- { "name": "formNoValidate", "type": "boolean" },
319
- { "name": "formTarget", "type": "string" },
320
- { "name": "autofocus", "type": "boolean" },
321
- { "name": "title", "type": "string" },
322
- { "name": "popoverTargetAction", "type": "string" },
323
- { "name": "command", "type": "string" },
324
- { "name": "validity", "type": "ValidityState" },
325
- { "name": "validationMessage", "type": "string" },
326
- { "name": "willValidate", "type": "boolean" },
327
- {
328
- "name": "checkValidity",
329
- "type": "HTMLButtonElement['checkValidity']"
330
- },
331
- {
332
- "name": "reportValidity",
333
- "type": "HTMLButtonElement['reportValidity']"
334
- },
335
- {
336
- "name": "setCustomValidity",
337
- "type": "HTMLButtonElement['setCustomValidity']"
338
- }
129
+ { "name": "size" }
339
130
  ],
340
131
  "events": []
341
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-button",
3
- "version": "1.4.19-beta.4",
3
+ "version": "1.4.19",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",