@justeattakeaway/pie-button 1.14.0 → 1.14.1

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.
@@ -50,7 +50,7 @@
50
50
  "type": {
51
51
  "text": "[\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\n]"
52
52
  },
53
- "default": "[\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\n]"
53
+ "default": "[ 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark', 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost', ]"
54
54
  },
55
55
  {
56
56
  "kind": "variable",
@@ -90,7 +90,7 @@
90
90
  "type": {
91
91
  "text": "DefaultProps"
92
92
  },
93
- "default": "{\n tag: 'button',\n size: 'medium',\n type: 'submit',\n variant: 'primary',\n iconPlacement: 'leading',\n disabled: false,\n isLoading: false,\n isFullWidth: false,\n isResponsive: false,\n}"
93
+ "default": "{ tag: 'button', size: 'medium', type: 'submit', variant: 'primary', iconPlacement: 'leading', disabled: false, isLoading: false, isFullWidth: false, isResponsive: false, }"
94
94
  }
95
95
  ],
96
96
  "exports": [
@@ -201,52 +201,64 @@
201
201
  "type": {
202
202
  "text": "ButtonProps['aria']"
203
203
  },
204
- "privacy": "public"
204
+ "privacy": "public",
205
+ "attribute": "aria"
205
206
  },
206
207
  {
207
208
  "kind": "field",
208
209
  "name": "tag",
209
- "privacy": "public"
210
+ "privacy": "public",
211
+ "attribute": "tag"
210
212
  },
211
213
  {
212
214
  "kind": "field",
213
215
  "name": "size",
214
- "privacy": "public"
216
+ "privacy": "public",
217
+ "attribute": "size"
215
218
  },
216
219
  {
217
220
  "kind": "field",
218
221
  "name": "type",
219
- "privacy": "public"
222
+ "privacy": "public",
223
+ "attribute": "type"
220
224
  },
221
225
  {
222
226
  "kind": "field",
223
227
  "name": "variant",
224
- "privacy": "public"
228
+ "privacy": "public",
229
+ "attribute": "variant"
225
230
  },
226
231
  {
227
232
  "kind": "field",
228
233
  "name": "iconPlacement",
229
- "privacy": "public"
234
+ "privacy": "public",
235
+ "attribute": "iconPlacement"
230
236
  },
231
237
  {
232
238
  "kind": "field",
233
239
  "name": "disabled",
234
- "privacy": "public"
240
+ "privacy": "public",
241
+ "attribute": "disabled"
235
242
  },
236
243
  {
237
244
  "kind": "field",
238
245
  "name": "isLoading",
239
- "privacy": "public"
246
+ "privacy": "public",
247
+ "attribute": "isLoading",
248
+ "reflects": true
240
249
  },
241
250
  {
242
251
  "kind": "field",
243
252
  "name": "isFullWidth",
244
- "privacy": "public"
253
+ "privacy": "public",
254
+ "attribute": "isFullWidth",
255
+ "reflects": true
245
256
  },
246
257
  {
247
258
  "kind": "field",
248
259
  "name": "isResponsive",
249
- "privacy": "public"
260
+ "privacy": "public",
261
+ "attribute": "isResponsive"
250
262
  },
251
263
  {
252
264
  "kind": "field",
@@ -254,7 +266,8 @@
254
266
  "type": {
255
267
  "text": "ButtonProps['name']"
256
268
  },
257
- "privacy": "public"
269
+ "privacy": "public",
270
+ "attribute": "name"
258
271
  },
259
272
  {
260
273
  "kind": "field",
@@ -262,7 +275,8 @@
262
275
  "type": {
263
276
  "text": "ButtonProps['value']"
264
277
  },
265
- "privacy": "public"
278
+ "privacy": "public",
279
+ "attribute": "value"
266
280
  },
267
281
  {
268
282
  "kind": "field",
@@ -270,7 +284,8 @@
270
284
  "type": {
271
285
  "text": "ButtonProps['formaction']"
272
286
  },
273
- "privacy": "public"
287
+ "privacy": "public",
288
+ "attribute": "formaction"
274
289
  },
275
290
  {
276
291
  "kind": "field",
@@ -278,7 +293,8 @@
278
293
  "type": {
279
294
  "text": "ButtonProps['formenctype']"
280
295
  },
281
- "privacy": "public"
296
+ "privacy": "public",
297
+ "attribute": "formenctype"
282
298
  },
283
299
  {
284
300
  "kind": "field",
@@ -286,7 +302,8 @@
286
302
  "type": {
287
303
  "text": "ButtonProps['formmethod']"
288
304
  },
289
- "privacy": "public"
305
+ "privacy": "public",
306
+ "attribute": "formmethod"
290
307
  },
291
308
  {
292
309
  "kind": "field",
@@ -294,7 +311,8 @@
294
311
  "type": {
295
312
  "text": "ButtonProps['formnovalidate']"
296
313
  },
297
- "privacy": "public"
314
+ "privacy": "public",
315
+ "attribute": "formnovalidate"
298
316
  },
299
317
  {
300
318
  "kind": "field",
@@ -302,7 +320,8 @@
302
320
  "type": {
303
321
  "text": "ButtonProps['formtarget']"
304
322
  },
305
- "privacy": "public"
323
+ "privacy": "public",
324
+ "attribute": "formtarget"
306
325
  },
307
326
  {
308
327
  "kind": "field",
@@ -310,7 +329,8 @@
310
329
  "type": {
311
330
  "text": "ButtonProps['responsiveSize']"
312
331
  },
313
- "privacy": "public"
332
+ "privacy": "public",
333
+ "attribute": "responsiveSize"
314
334
  },
315
335
  {
316
336
  "kind": "field",
@@ -318,7 +338,8 @@
318
338
  "type": {
319
339
  "text": "ButtonProps['href']"
320
340
  },
321
- "privacy": "public"
341
+ "privacy": "public",
342
+ "attribute": "href"
322
343
  },
323
344
  {
324
345
  "kind": "field",
@@ -326,7 +347,8 @@
326
347
  "type": {
327
348
  "text": "ButtonProps['rel']"
328
349
  },
329
- "privacy": "public"
350
+ "privacy": "public",
351
+ "attribute": "rel"
330
352
  },
331
353
  {
332
354
  "kind": "field",
@@ -334,7 +356,8 @@
334
356
  "type": {
335
357
  "text": "ButtonProps['target']"
336
358
  },
337
- "privacy": "public"
359
+ "privacy": "public",
360
+ "attribute": "target"
338
361
  },
339
362
  {
340
363
  "kind": "field",
@@ -342,7 +365,8 @@
342
365
  "type": {
343
366
  "text": "ButtonProps['download']"
344
367
  },
345
- "privacy": "public"
368
+ "privacy": "public",
369
+ "attribute": "download"
346
370
  },
347
371
  {
348
372
  "kind": "method",
@@ -404,6 +428,135 @@
404
428
  ]
405
429
  }
406
430
  ],
431
+ "attributes": [
432
+ {
433
+ "name": "aria",
434
+ "type": {
435
+ "text": "ButtonProps['aria']"
436
+ },
437
+ "fieldName": "aria"
438
+ },
439
+ {
440
+ "name": "tag",
441
+ "fieldName": "tag"
442
+ },
443
+ {
444
+ "name": "size",
445
+ "fieldName": "size"
446
+ },
447
+ {
448
+ "name": "type",
449
+ "fieldName": "type"
450
+ },
451
+ {
452
+ "name": "variant",
453
+ "fieldName": "variant"
454
+ },
455
+ {
456
+ "name": "iconPlacement",
457
+ "fieldName": "iconPlacement"
458
+ },
459
+ {
460
+ "name": "disabled",
461
+ "fieldName": "disabled"
462
+ },
463
+ {
464
+ "name": "isLoading",
465
+ "fieldName": "isLoading"
466
+ },
467
+ {
468
+ "name": "isFullWidth",
469
+ "fieldName": "isFullWidth"
470
+ },
471
+ {
472
+ "name": "isResponsive",
473
+ "fieldName": "isResponsive"
474
+ },
475
+ {
476
+ "name": "name",
477
+ "type": {
478
+ "text": "ButtonProps['name']"
479
+ },
480
+ "fieldName": "name"
481
+ },
482
+ {
483
+ "name": "value",
484
+ "type": {
485
+ "text": "ButtonProps['value']"
486
+ },
487
+ "fieldName": "value"
488
+ },
489
+ {
490
+ "name": "formaction",
491
+ "type": {
492
+ "text": "ButtonProps['formaction']"
493
+ },
494
+ "fieldName": "formaction"
495
+ },
496
+ {
497
+ "name": "formenctype",
498
+ "type": {
499
+ "text": "ButtonProps['formenctype']"
500
+ },
501
+ "fieldName": "formenctype"
502
+ },
503
+ {
504
+ "name": "formmethod",
505
+ "type": {
506
+ "text": "ButtonProps['formmethod']"
507
+ },
508
+ "fieldName": "formmethod"
509
+ },
510
+ {
511
+ "name": "formnovalidate",
512
+ "type": {
513
+ "text": "ButtonProps['formnovalidate']"
514
+ },
515
+ "fieldName": "formnovalidate"
516
+ },
517
+ {
518
+ "name": "formtarget",
519
+ "type": {
520
+ "text": "ButtonProps['formtarget']"
521
+ },
522
+ "fieldName": "formtarget"
523
+ },
524
+ {
525
+ "name": "responsiveSize",
526
+ "type": {
527
+ "text": "ButtonProps['responsiveSize']"
528
+ },
529
+ "fieldName": "responsiveSize"
530
+ },
531
+ {
532
+ "name": "href",
533
+ "type": {
534
+ "text": "ButtonProps['href']"
535
+ },
536
+ "fieldName": "href"
537
+ },
538
+ {
539
+ "name": "rel",
540
+ "type": {
541
+ "text": "ButtonProps['rel']"
542
+ },
543
+ "fieldName": "rel"
544
+ },
545
+ {
546
+ "name": "target",
547
+ "type": {
548
+ "text": "ButtonProps['target']"
549
+ },
550
+ "fieldName": "target"
551
+ },
552
+ {
553
+ "name": "download",
554
+ "type": {
555
+ "text": "ButtonProps['download']"
556
+ },
557
+ "fieldName": "download"
558
+ }
559
+ ],
407
560
  "mixins": [
408
561
  {
409
562
  "name": "DelegatesFocusMixin",
@@ -428,7 +581,7 @@
428
581
  "name": "*",
429
582
  "declaration": {
430
583
  "name": "*",
431
- "package": "./defs"
584
+ "module": "src/defs"
432
585
  }
433
586
  },
434
587
  {
package/dist/index.js CHANGED
@@ -482,7 +482,7 @@ const _ = class _ extends Tt {
482
482
  this.getAttribute("v") || this.setAttribute("v", _.v);
483
483
  }
484
484
  };
485
- _.v = "1.14.0";
485
+ _.v = "1.14.1";
486
486
  let U = _;
487
487
  const Dt = ["button", "a"], Rt = ["xsmall", "small-productive", "small-expressive", "medium", "large"], Zt = ["productive", "expressive"], $t = ["submit", "button", "reset"], Wt = [
488
488
  "primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "PIE design system button built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,9 +44,9 @@
44
44
  "author": "Just Eat Takeaway.com - Design System Team",
45
45
  "license": "Apache-2.0",
46
46
  "devDependencies": {
47
- "@justeattakeaway/pie-components-config": "0.21.1",
47
+ "@justeattakeaway/pie-components-config": "0.21.2",
48
48
  "@justeattakeaway/pie-css": "1.1.1",
49
- "@justeattakeaway/pie-monorepo-utils": "0.9.0",
49
+ "@justeattakeaway/pie-monorepo-utils": "0.9.1",
50
50
  "@justeattakeaway/pie-wrapper-react": "0.14.4"
51
51
  },
52
52
  "volta": {
@@ -57,7 +57,7 @@
57
57
  "dist/*.js"
58
58
  ],
59
59
  "dependencies": {
60
- "@justeattakeaway/pie-spinner": "1.4.14",
60
+ "@justeattakeaway/pie-spinner": "1.4.15",
61
61
  "@justeattakeaway/pie-webc-core": "14.0.1",
62
62
  "element-internals-polyfill": "1.3.11"
63
63
  }
package/src/react.ts CHANGED
File without changes