@justeattakeaway/pie-modal 1.26.3 → 1.26.5
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 +139 -22
- package/dist/dialog-polyfill.esm-CbjBMXAG.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +1 -1
- package/dist/react.d.ts +0 -0
- package/dist/react.js +0 -0
- package/package.json +8 -8
package/custom-elements.json
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"type": {
|
|
59
59
|
"text": "[\n 'default',\n 'subtle',\n 'brand-01',\n 'brand-02',\n 'brand-03',\n 'brand-03-subtle',\n 'brand-04',\n 'brand-04-subtle',\n 'brand-05',\n 'brand-05-subtle',\n 'brand-06',\n 'brand-06-subtle',\n 'brand-08',\n 'brand-08-subtle',\n]"
|
|
60
60
|
},
|
|
61
|
-
"default": "[
|
|
61
|
+
"default": "[ 'default', 'subtle', 'brand-01', 'brand-02', 'brand-03', 'brand-03-subtle', 'brand-04', 'brand-04-subtle', 'brand-05', 'brand-05-subtle', 'brand-06', 'brand-06-subtle', 'brand-08', 'brand-08-subtle', ]"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"kind": "variable",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"type": {
|
|
112
112
|
"text": "DefaultProps"
|
|
113
113
|
},
|
|
114
|
-
"default": "{
|
|
114
|
+
"default": "{ hasBackButton: false, hasStackedActions: false, headingLevel: 'h2', isOpen: false, isDismissible: false, isHeadingEmphasised: false, isFooterPinned: true, isFullWidthBelowMid: false, isLoading: false, position: 'center', size: 'medium', backgroundColor: 'default', imageSlotAspectRatio: 'medium', }"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
117
|
"exports": [
|
|
@@ -242,7 +242,8 @@
|
|
|
242
242
|
"type": {
|
|
243
243
|
"text": "ModalProps['aria']"
|
|
244
244
|
},
|
|
245
|
-
"privacy": "public"
|
|
245
|
+
"privacy": "public",
|
|
246
|
+
"attribute": "aria"
|
|
246
247
|
},
|
|
247
248
|
{
|
|
248
249
|
"kind": "field",
|
|
@@ -250,52 +251,64 @@
|
|
|
250
251
|
"type": {
|
|
251
252
|
"text": "string"
|
|
252
253
|
},
|
|
253
|
-
"privacy": "public"
|
|
254
|
+
"privacy": "public",
|
|
255
|
+
"attribute": "heading"
|
|
254
256
|
},
|
|
255
257
|
{
|
|
256
258
|
"kind": "field",
|
|
257
259
|
"name": "headingLevel",
|
|
258
|
-
"privacy": "public"
|
|
260
|
+
"privacy": "public",
|
|
261
|
+
"attribute": "headingLevel"
|
|
259
262
|
},
|
|
260
263
|
{
|
|
261
264
|
"kind": "field",
|
|
262
265
|
"name": "hasBackButton",
|
|
263
|
-
"privacy": "public"
|
|
266
|
+
"privacy": "public",
|
|
267
|
+
"attribute": "hasBackButton"
|
|
264
268
|
},
|
|
265
269
|
{
|
|
266
270
|
"kind": "field",
|
|
267
271
|
"name": "hasStackedActions",
|
|
268
|
-
"privacy": "public"
|
|
272
|
+
"privacy": "public",
|
|
273
|
+
"attribute": "hasStackedActions"
|
|
269
274
|
},
|
|
270
275
|
{
|
|
271
276
|
"kind": "field",
|
|
272
277
|
"name": "isDismissible",
|
|
273
|
-
"privacy": "public"
|
|
278
|
+
"privacy": "public",
|
|
279
|
+
"attribute": "isDismissible",
|
|
280
|
+
"reflects": true
|
|
274
281
|
},
|
|
275
282
|
{
|
|
276
283
|
"kind": "field",
|
|
277
284
|
"name": "isHeadingEmphasised",
|
|
278
|
-
"privacy": "public"
|
|
285
|
+
"privacy": "public",
|
|
286
|
+
"attribute": "isHeadingEmphasised"
|
|
279
287
|
},
|
|
280
288
|
{
|
|
281
289
|
"kind": "field",
|
|
282
290
|
"name": "isFooterPinned",
|
|
283
|
-
"privacy": "public"
|
|
291
|
+
"privacy": "public",
|
|
292
|
+
"attribute": "isFooterPinned"
|
|
284
293
|
},
|
|
285
294
|
{
|
|
286
295
|
"kind": "field",
|
|
287
296
|
"name": "isFullWidthBelowMid",
|
|
288
|
-
"privacy": "public"
|
|
297
|
+
"privacy": "public",
|
|
298
|
+
"attribute": "isFullWidthBelowMid"
|
|
289
299
|
},
|
|
290
300
|
{
|
|
291
301
|
"kind": "field",
|
|
292
302
|
"name": "isLoading",
|
|
293
|
-
"privacy": "public"
|
|
303
|
+
"privacy": "public",
|
|
304
|
+
"attribute": "isLoading",
|
|
305
|
+
"reflects": true
|
|
294
306
|
},
|
|
295
307
|
{
|
|
296
308
|
"kind": "field",
|
|
297
309
|
"name": "isOpen",
|
|
298
|
-
"privacy": "public"
|
|
310
|
+
"privacy": "public",
|
|
311
|
+
"attribute": "isOpen"
|
|
299
312
|
},
|
|
300
313
|
{
|
|
301
314
|
"kind": "field",
|
|
@@ -303,12 +316,14 @@
|
|
|
303
316
|
"type": {
|
|
304
317
|
"text": "ModalProps['leadingAction']"
|
|
305
318
|
},
|
|
306
|
-
"privacy": "public"
|
|
319
|
+
"privacy": "public",
|
|
320
|
+
"attribute": "leadingAction"
|
|
307
321
|
},
|
|
308
322
|
{
|
|
309
323
|
"kind": "field",
|
|
310
324
|
"name": "position",
|
|
311
|
-
"privacy": "public"
|
|
325
|
+
"privacy": "public",
|
|
326
|
+
"attribute": "position"
|
|
312
327
|
},
|
|
313
328
|
{
|
|
314
329
|
"kind": "field",
|
|
@@ -316,12 +331,14 @@
|
|
|
316
331
|
"type": {
|
|
317
332
|
"text": "ModalProps['returnFocusAfterCloseSelector']"
|
|
318
333
|
},
|
|
319
|
-
"privacy": "public"
|
|
334
|
+
"privacy": "public",
|
|
335
|
+
"attribute": "returnFocusAfterCloseSelector"
|
|
320
336
|
},
|
|
321
337
|
{
|
|
322
338
|
"kind": "field",
|
|
323
339
|
"name": "size",
|
|
324
|
-
"privacy": "public"
|
|
340
|
+
"privacy": "public",
|
|
341
|
+
"attribute": "size"
|
|
325
342
|
},
|
|
326
343
|
{
|
|
327
344
|
"kind": "field",
|
|
@@ -329,12 +346,14 @@
|
|
|
329
346
|
"type": {
|
|
330
347
|
"text": "ModalProps['supportingAction']"
|
|
331
348
|
},
|
|
332
|
-
"privacy": "public"
|
|
349
|
+
"privacy": "public",
|
|
350
|
+
"attribute": "supportingAction"
|
|
333
351
|
},
|
|
334
352
|
{
|
|
335
353
|
"kind": "field",
|
|
336
354
|
"name": "backgroundColor",
|
|
337
|
-
"privacy": "public"
|
|
355
|
+
"privacy": "public",
|
|
356
|
+
"attribute": "backgroundColor"
|
|
338
357
|
},
|
|
339
358
|
{
|
|
340
359
|
"kind": "field",
|
|
@@ -342,12 +361,14 @@
|
|
|
342
361
|
"type": {
|
|
343
362
|
"text": "ModalProps['imageSlotMode']"
|
|
344
363
|
},
|
|
345
|
-
"privacy": "public"
|
|
364
|
+
"privacy": "public",
|
|
365
|
+
"attribute": "imageSlotMode"
|
|
346
366
|
},
|
|
347
367
|
{
|
|
348
368
|
"kind": "field",
|
|
349
369
|
"name": "imageSlotAspectRatio",
|
|
350
|
-
"privacy": "public"
|
|
370
|
+
"privacy": "public",
|
|
371
|
+
"attribute": "imageSlotAspectRatio"
|
|
351
372
|
},
|
|
352
373
|
{
|
|
353
374
|
"kind": "field",
|
|
@@ -732,6 +753,102 @@
|
|
|
732
753
|
"name": "pie-modal-supporting-action-click"
|
|
733
754
|
}
|
|
734
755
|
],
|
|
756
|
+
"attributes": [
|
|
757
|
+
{
|
|
758
|
+
"name": "aria",
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "ModalProps['aria']"
|
|
761
|
+
},
|
|
762
|
+
"fieldName": "aria"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "heading",
|
|
766
|
+
"type": {
|
|
767
|
+
"text": "string"
|
|
768
|
+
},
|
|
769
|
+
"fieldName": "heading"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "headingLevel",
|
|
773
|
+
"fieldName": "headingLevel"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "hasBackButton",
|
|
777
|
+
"fieldName": "hasBackButton"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"name": "hasStackedActions",
|
|
781
|
+
"fieldName": "hasStackedActions"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "isDismissible",
|
|
785
|
+
"fieldName": "isDismissible"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "isHeadingEmphasised",
|
|
789
|
+
"fieldName": "isHeadingEmphasised"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "isFooterPinned",
|
|
793
|
+
"fieldName": "isFooterPinned"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "isFullWidthBelowMid",
|
|
797
|
+
"fieldName": "isFullWidthBelowMid"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "isLoading",
|
|
801
|
+
"fieldName": "isLoading"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"name": "isOpen",
|
|
805
|
+
"fieldName": "isOpen"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "leadingAction",
|
|
809
|
+
"type": {
|
|
810
|
+
"text": "ModalProps['leadingAction']"
|
|
811
|
+
},
|
|
812
|
+
"fieldName": "leadingAction"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "position",
|
|
816
|
+
"fieldName": "position"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "returnFocusAfterCloseSelector",
|
|
820
|
+
"type": {
|
|
821
|
+
"text": "ModalProps['returnFocusAfterCloseSelector']"
|
|
822
|
+
},
|
|
823
|
+
"fieldName": "returnFocusAfterCloseSelector"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "size",
|
|
827
|
+
"fieldName": "size"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "supportingAction",
|
|
831
|
+
"type": {
|
|
832
|
+
"text": "ModalProps['supportingAction']"
|
|
833
|
+
},
|
|
834
|
+
"fieldName": "supportingAction"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "backgroundColor",
|
|
838
|
+
"fieldName": "backgroundColor"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "imageSlotMode",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "ModalProps['imageSlotMode']"
|
|
844
|
+
},
|
|
845
|
+
"fieldName": "imageSlotMode"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "imageSlotAspectRatio",
|
|
849
|
+
"fieldName": "imageSlotAspectRatio"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
735
852
|
"superclass": {
|
|
736
853
|
"name": "PieElement",
|
|
737
854
|
"package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
|
|
@@ -746,7 +863,7 @@
|
|
|
746
863
|
"name": "*",
|
|
747
864
|
"declaration": {
|
|
748
865
|
"name": "*",
|
|
749
|
-
"
|
|
866
|
+
"module": "src/defs"
|
|
750
867
|
}
|
|
751
868
|
},
|
|
752
869
|
{
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
package/dist/react.d.ts
CHANGED
|
File without changes
|
package/dist/react.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-modal",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.5",
|
|
4
4
|
"description": "PIE design system modal built using web components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@justeat/pie-design-tokens": "7.11.1",
|
|
50
|
-
"@justeattakeaway/pie-button": "1.14.
|
|
51
|
-
"@justeattakeaway/pie-components-config": "0.21.
|
|
50
|
+
"@justeattakeaway/pie-button": "1.14.1",
|
|
51
|
+
"@justeattakeaway/pie-components-config": "0.21.2",
|
|
52
52
|
"@justeattakeaway/pie-css": "1.1.1",
|
|
53
53
|
"@justeattakeaway/pie-monorepo-utils": "0.9.1",
|
|
54
|
-
"@justeattakeaway/pie-text-input": "0.29.
|
|
54
|
+
"@justeattakeaway/pie-text-input": "0.29.33",
|
|
55
55
|
"@justeattakeaway/pie-wrapper-react": "0.14.4",
|
|
56
56
|
"@types/body-scroll-lock": "3.1.2"
|
|
57
57
|
},
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"extends": "../../../package.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@justeattakeaway/pie-button": "1.14.
|
|
63
|
-
"@justeattakeaway/pie-icon-button": "2.7.
|
|
64
|
-
"@justeattakeaway/pie-icons-webc": "1.
|
|
65
|
-
"@justeattakeaway/pie-spinner": "1.4.
|
|
62
|
+
"@justeattakeaway/pie-button": "1.14.1",
|
|
63
|
+
"@justeattakeaway/pie-icon-button": "2.7.13",
|
|
64
|
+
"@justeattakeaway/pie-icons-webc": "1.24.0",
|
|
65
|
+
"@justeattakeaway/pie-spinner": "1.4.15",
|
|
66
66
|
"@justeattakeaway/pie-webc-core": "14.0.1",
|
|
67
67
|
"body-scroll-lock": "3.1.5",
|
|
68
68
|
"dialog-polyfill": "0.5.6"
|