@justeattakeaway/pie-button 1.6.6 → 1.6.7
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.
- package/custom-elements.json +20 -157
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/react.d.ts +6 -6
- package/package.json +6 -6
package/custom-elements.json
CHANGED
|
@@ -198,58 +198,47 @@
|
|
|
198
198
|
{
|
|
199
199
|
"kind": "field",
|
|
200
200
|
"name": "tag",
|
|
201
|
-
"privacy": "public"
|
|
202
|
-
"attribute": "tag"
|
|
201
|
+
"privacy": "public"
|
|
203
202
|
},
|
|
204
203
|
{
|
|
205
204
|
"kind": "field",
|
|
206
205
|
"name": "size",
|
|
207
|
-
"privacy": "public"
|
|
208
|
-
"attribute": "size"
|
|
206
|
+
"privacy": "public"
|
|
209
207
|
},
|
|
210
208
|
{
|
|
211
209
|
"kind": "field",
|
|
212
210
|
"name": "type",
|
|
213
|
-
"privacy": "public"
|
|
214
|
-
"attribute": "type"
|
|
211
|
+
"privacy": "public"
|
|
215
212
|
},
|
|
216
213
|
{
|
|
217
214
|
"kind": "field",
|
|
218
215
|
"name": "variant",
|
|
219
|
-
"privacy": "public"
|
|
220
|
-
"attribute": "variant"
|
|
216
|
+
"privacy": "public"
|
|
221
217
|
},
|
|
222
218
|
{
|
|
223
219
|
"kind": "field",
|
|
224
220
|
"name": "iconPlacement",
|
|
225
|
-
"privacy": "public"
|
|
226
|
-
"attribute": "iconPlacement"
|
|
221
|
+
"privacy": "public"
|
|
227
222
|
},
|
|
228
223
|
{
|
|
229
224
|
"kind": "field",
|
|
230
225
|
"name": "disabled",
|
|
231
|
-
"privacy": "public"
|
|
232
|
-
"attribute": "disabled"
|
|
226
|
+
"privacy": "public"
|
|
233
227
|
},
|
|
234
228
|
{
|
|
235
229
|
"kind": "field",
|
|
236
230
|
"name": "isLoading",
|
|
237
|
-
"privacy": "public"
|
|
238
|
-
"attribute": "isLoading",
|
|
239
|
-
"reflects": true
|
|
231
|
+
"privacy": "public"
|
|
240
232
|
},
|
|
241
233
|
{
|
|
242
234
|
"kind": "field",
|
|
243
235
|
"name": "isFullWidth",
|
|
244
|
-
"privacy": "public"
|
|
245
|
-
"attribute": "isFullWidth",
|
|
246
|
-
"reflects": true
|
|
236
|
+
"privacy": "public"
|
|
247
237
|
},
|
|
248
238
|
{
|
|
249
239
|
"kind": "field",
|
|
250
240
|
"name": "isResponsive",
|
|
251
|
-
"privacy": "public"
|
|
252
|
-
"attribute": "isResponsive"
|
|
241
|
+
"privacy": "public"
|
|
253
242
|
},
|
|
254
243
|
{
|
|
255
244
|
"kind": "field",
|
|
@@ -257,8 +246,7 @@
|
|
|
257
246
|
"type": {
|
|
258
247
|
"text": "ButtonProps['name']"
|
|
259
248
|
},
|
|
260
|
-
"privacy": "public"
|
|
261
|
-
"attribute": "name"
|
|
249
|
+
"privacy": "public"
|
|
262
250
|
},
|
|
263
251
|
{
|
|
264
252
|
"kind": "field",
|
|
@@ -266,8 +254,7 @@
|
|
|
266
254
|
"type": {
|
|
267
255
|
"text": "ButtonProps['value']"
|
|
268
256
|
},
|
|
269
|
-
"privacy": "public"
|
|
270
|
-
"attribute": "value"
|
|
257
|
+
"privacy": "public"
|
|
271
258
|
},
|
|
272
259
|
{
|
|
273
260
|
"kind": "field",
|
|
@@ -275,8 +262,7 @@
|
|
|
275
262
|
"type": {
|
|
276
263
|
"text": "ButtonProps['formaction']"
|
|
277
264
|
},
|
|
278
|
-
"privacy": "public"
|
|
279
|
-
"attribute": "formaction"
|
|
265
|
+
"privacy": "public"
|
|
280
266
|
},
|
|
281
267
|
{
|
|
282
268
|
"kind": "field",
|
|
@@ -284,8 +270,7 @@
|
|
|
284
270
|
"type": {
|
|
285
271
|
"text": "ButtonProps['formenctype']"
|
|
286
272
|
},
|
|
287
|
-
"privacy": "public"
|
|
288
|
-
"attribute": "formenctype"
|
|
273
|
+
"privacy": "public"
|
|
289
274
|
},
|
|
290
275
|
{
|
|
291
276
|
"kind": "field",
|
|
@@ -293,8 +278,7 @@
|
|
|
293
278
|
"type": {
|
|
294
279
|
"text": "ButtonProps['formmethod']"
|
|
295
280
|
},
|
|
296
|
-
"privacy": "public"
|
|
297
|
-
"attribute": "formmethod"
|
|
281
|
+
"privacy": "public"
|
|
298
282
|
},
|
|
299
283
|
{
|
|
300
284
|
"kind": "field",
|
|
@@ -302,8 +286,7 @@
|
|
|
302
286
|
"type": {
|
|
303
287
|
"text": "ButtonProps['formnovalidate']"
|
|
304
288
|
},
|
|
305
|
-
"privacy": "public"
|
|
306
|
-
"attribute": "formnovalidate"
|
|
289
|
+
"privacy": "public"
|
|
307
290
|
},
|
|
308
291
|
{
|
|
309
292
|
"kind": "field",
|
|
@@ -311,8 +294,7 @@
|
|
|
311
294
|
"type": {
|
|
312
295
|
"text": "ButtonProps['formtarget']"
|
|
313
296
|
},
|
|
314
|
-
"privacy": "public"
|
|
315
|
-
"attribute": "formtarget"
|
|
297
|
+
"privacy": "public"
|
|
316
298
|
},
|
|
317
299
|
{
|
|
318
300
|
"kind": "field",
|
|
@@ -320,8 +302,7 @@
|
|
|
320
302
|
"type": {
|
|
321
303
|
"text": "ButtonProps['responsiveSize']"
|
|
322
304
|
},
|
|
323
|
-
"privacy": "public"
|
|
324
|
-
"attribute": "responsiveSize"
|
|
305
|
+
"privacy": "public"
|
|
325
306
|
},
|
|
326
307
|
{
|
|
327
308
|
"kind": "field",
|
|
@@ -329,8 +310,7 @@
|
|
|
329
310
|
"type": {
|
|
330
311
|
"text": "ButtonProps['href']"
|
|
331
312
|
},
|
|
332
|
-
"privacy": "public"
|
|
333
|
-
"attribute": "href"
|
|
313
|
+
"privacy": "public"
|
|
334
314
|
},
|
|
335
315
|
{
|
|
336
316
|
"kind": "field",
|
|
@@ -338,8 +318,7 @@
|
|
|
338
318
|
"type": {
|
|
339
319
|
"text": "ButtonProps['rel']"
|
|
340
320
|
},
|
|
341
|
-
"privacy": "public"
|
|
342
|
-
"attribute": "rel"
|
|
321
|
+
"privacy": "public"
|
|
343
322
|
},
|
|
344
323
|
{
|
|
345
324
|
"kind": "field",
|
|
@@ -347,8 +326,7 @@
|
|
|
347
326
|
"type": {
|
|
348
327
|
"text": "ButtonProps['target']"
|
|
349
328
|
},
|
|
350
|
-
"privacy": "public"
|
|
351
|
-
"attribute": "target"
|
|
329
|
+
"privacy": "public"
|
|
352
330
|
},
|
|
353
331
|
{
|
|
354
332
|
"kind": "method",
|
|
@@ -414,121 +392,6 @@
|
|
|
414
392
|
"name": "focus"
|
|
415
393
|
}
|
|
416
394
|
],
|
|
417
|
-
"attributes": [
|
|
418
|
-
{
|
|
419
|
-
"name": "tag",
|
|
420
|
-
"fieldName": "tag"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"name": "size",
|
|
424
|
-
"fieldName": "size"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"name": "type",
|
|
428
|
-
"fieldName": "type"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"name": "variant",
|
|
432
|
-
"fieldName": "variant"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"name": "iconPlacement",
|
|
436
|
-
"fieldName": "iconPlacement"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"name": "disabled",
|
|
440
|
-
"fieldName": "disabled"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"name": "isLoading",
|
|
444
|
-
"fieldName": "isLoading"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"name": "isFullWidth",
|
|
448
|
-
"fieldName": "isFullWidth"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "isResponsive",
|
|
452
|
-
"fieldName": "isResponsive"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"name": "name",
|
|
456
|
-
"type": {
|
|
457
|
-
"text": "ButtonProps['name']"
|
|
458
|
-
},
|
|
459
|
-
"fieldName": "name"
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"name": "value",
|
|
463
|
-
"type": {
|
|
464
|
-
"text": "ButtonProps['value']"
|
|
465
|
-
},
|
|
466
|
-
"fieldName": "value"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"name": "formaction",
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "ButtonProps['formaction']"
|
|
472
|
-
},
|
|
473
|
-
"fieldName": "formaction"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"name": "formenctype",
|
|
477
|
-
"type": {
|
|
478
|
-
"text": "ButtonProps['formenctype']"
|
|
479
|
-
},
|
|
480
|
-
"fieldName": "formenctype"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"name": "formmethod",
|
|
484
|
-
"type": {
|
|
485
|
-
"text": "ButtonProps['formmethod']"
|
|
486
|
-
},
|
|
487
|
-
"fieldName": "formmethod"
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "formnovalidate",
|
|
491
|
-
"type": {
|
|
492
|
-
"text": "ButtonProps['formnovalidate']"
|
|
493
|
-
},
|
|
494
|
-
"fieldName": "formnovalidate"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "formtarget",
|
|
498
|
-
"type": {
|
|
499
|
-
"text": "ButtonProps['formtarget']"
|
|
500
|
-
},
|
|
501
|
-
"fieldName": "formtarget"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"name": "responsiveSize",
|
|
505
|
-
"type": {
|
|
506
|
-
"text": "ButtonProps['responsiveSize']"
|
|
507
|
-
},
|
|
508
|
-
"fieldName": "responsiveSize"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "href",
|
|
512
|
-
"type": {
|
|
513
|
-
"text": "ButtonProps['href']"
|
|
514
|
-
},
|
|
515
|
-
"fieldName": "href"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"name": "rel",
|
|
519
|
-
"type": {
|
|
520
|
-
"text": "ButtonProps['rel']"
|
|
521
|
-
},
|
|
522
|
-
"fieldName": "rel"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"name": "target",
|
|
526
|
-
"type": {
|
|
527
|
-
"text": "ButtonProps['target']"
|
|
528
|
-
},
|
|
529
|
-
"fieldName": "target"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
395
|
"mixins": [
|
|
533
396
|
{
|
|
534
397
|
"name": "FormControlMixin",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ClassInfo } from 'lit/directives/class-map.js';
|
|
2
2
|
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import { CSSResult } from 'lit';
|
|
4
|
+
import { FormControlInterface } from '@justeattakeaway/pie-webc-core';
|
|
5
|
+
import { GenericConstructor } from '@justeattakeaway/pie-webc-core';
|
|
6
6
|
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import { PropertyValues } from 'lit';
|
|
8
|
+
import { TemplateResult } from 'lit';
|
|
9
9
|
|
|
10
10
|
export declare interface ButtonProps {
|
|
11
11
|
/**
|
package/dist/index.js
CHANGED
|
@@ -478,7 +478,7 @@ const O = class O extends It {
|
|
|
478
478
|
this.getAttribute("v") || this.setAttribute("v", O.v);
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
|
-
O.v = "1.6.
|
|
481
|
+
O.v = "1.6.7";
|
|
482
482
|
let j = O;
|
|
483
483
|
const Nt = ["button", "a"], Pt = ["xsmall", "small-productive", "small-expressive", "medium", "large"], Jt = ["productive", "expressive"], Ot = ["submit", "button", "reset"], _t = [
|
|
484
484
|
"primary",
|
package/dist/react.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ClassInfo } from 'lit/directives/class-map.js';
|
|
2
2
|
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import { CSSResult } from 'lit';
|
|
4
|
+
import { FormControlInterface } from '@justeattakeaway/pie-webc-core';
|
|
5
|
+
import { GenericConstructor } from '@justeattakeaway/pie-webc-core';
|
|
6
6
|
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
7
|
-
import
|
|
7
|
+
import { PropertyValues } from 'lit';
|
|
8
8
|
import * as React_2 from 'react';
|
|
9
|
-
import
|
|
9
|
+
import { TemplateResult } from 'lit';
|
|
10
10
|
|
|
11
11
|
export declare interface ButtonProps {
|
|
12
12
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const formTargetTypes: readonly ["_self", "_blank", "_parent", "_
|
|
|
116
116
|
|
|
117
117
|
export declare const iconPlacements: readonly ["leading", "trailing"];
|
|
118
118
|
|
|
119
|
-
export declare const PieButton: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<PieButton_2> & ReactBaseType>;
|
|
119
|
+
export declare const PieButton: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<ButtonProps> & React_2.RefAttributes<PieButton_2> & ReactBaseType>;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* @tagname pie-button
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-button",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.7",
|
|
4
4
|
"description": "PIE design system button built using web components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
43
|
-
"@justeattakeaway/pie-css": "0.
|
|
44
|
-
"@justeattakeaway/pie-monorepo-utils": "0.
|
|
42
|
+
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
43
|
+
"@justeattakeaway/pie-css": "0.19.0",
|
|
44
|
+
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
45
45
|
"@justeattakeaway/pie-wrapper-react": "0.14.3",
|
|
46
46
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
47
47
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"dist/*.js"
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@justeattakeaway/pie-spinner": "1.2.
|
|
57
|
-
"@justeattakeaway/pie-webc-core": "1.
|
|
56
|
+
"@justeattakeaway/pie-spinner": "1.2.5",
|
|
57
|
+
"@justeattakeaway/pie-webc-core": "1.1.0",
|
|
58
58
|
"element-internals-polyfill": "1.3.11"
|
|
59
59
|
}
|
|
60
60
|
}
|