@justeattakeaway/pie-webc 0.7.45 → 0.8.0
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/components/data-table-body.d.ts +1 -0
- package/components/data-table-body.js +1 -0
- package/components/data-table-cell.d.ts +1 -0
- package/components/data-table-cell.js +1 -0
- package/components/data-table-contents.d.ts +1 -0
- package/components/data-table-contents.js +1 -0
- package/components/data-table-head-cell.d.ts +1 -0
- package/components/data-table-head-cell.js +1 -0
- package/components/data-table-head.d.ts +1 -0
- package/components/data-table-head.js +1 -0
- package/components/data-table-row.d.ts +1 -0
- package/components/data-table-row.js +1 -0
- package/package.json +472 -22
- package/react/data-table-body.d.ts +1 -0
- package/react/data-table-body.js +1 -0
- package/react/data-table-cell.d.ts +1 -0
- package/react/data-table-cell.js +1 -0
- package/react/data-table-contents.d.ts +1 -0
- package/react/data-table-contents.js +1 -0
- package/react/data-table-head-cell.d.ts +1 -0
- package/react/data-table-head-cell.js +1 -0
- package/react/data-table-head.d.ts +1 -0
- package/react/data-table-head.js +1 -0
- package/react/data-table-row.d.ts +1 -0
- package/react/data-table-row.js +1 -0
- package/src/componentService.js +10 -0
- package/test/componentService.spec.js +17 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-body/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-body/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-cell/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-cell/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-contents/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-contents/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head-cell/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head-cell/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-row/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-row/index.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-webc",
|
|
3
3
|
"description": "Component bundle containing all PIE web components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -19,330 +19,780 @@
|
|
|
19
19
|
"require": "./components/assistive-text.js",
|
|
20
20
|
"types": "./components/assistive-text.d.ts"
|
|
21
21
|
},
|
|
22
|
+
"./components/assistive-text": {
|
|
23
|
+
"import": "./components/assistive-text.js",
|
|
24
|
+
"require": "./components/assistive-text.js",
|
|
25
|
+
"types": "./components/assistive-text.d.ts"
|
|
26
|
+
},
|
|
22
27
|
"./react/assistive-text.js": {
|
|
23
28
|
"import": "./react/assistive-text.js",
|
|
24
29
|
"require": "./react/assistive-text.js",
|
|
25
30
|
"types": "./react/assistive-text.d.ts"
|
|
26
31
|
},
|
|
32
|
+
"./react/assistive-text": {
|
|
33
|
+
"import": "./react/assistive-text.js",
|
|
34
|
+
"require": "./react/assistive-text.js",
|
|
35
|
+
"types": "./react/assistive-text.d.ts"
|
|
36
|
+
},
|
|
27
37
|
"./components/avatar.js": {
|
|
28
38
|
"import": "./components/avatar.js",
|
|
29
39
|
"require": "./components/avatar.js",
|
|
30
40
|
"types": "./components/avatar.d.ts"
|
|
31
41
|
},
|
|
42
|
+
"./components/avatar": {
|
|
43
|
+
"import": "./components/avatar.js",
|
|
44
|
+
"require": "./components/avatar.js",
|
|
45
|
+
"types": "./components/avatar.d.ts"
|
|
46
|
+
},
|
|
32
47
|
"./react/avatar.js": {
|
|
33
48
|
"import": "./react/avatar.js",
|
|
34
49
|
"require": "./react/avatar.js",
|
|
35
50
|
"types": "./react/avatar.d.ts"
|
|
36
51
|
},
|
|
52
|
+
"./react/avatar": {
|
|
53
|
+
"import": "./react/avatar.js",
|
|
54
|
+
"require": "./react/avatar.js",
|
|
55
|
+
"types": "./react/avatar.d.ts"
|
|
56
|
+
},
|
|
37
57
|
"./components/breadcrumb.js": {
|
|
38
58
|
"import": "./components/breadcrumb.js",
|
|
39
59
|
"require": "./components/breadcrumb.js",
|
|
40
60
|
"types": "./components/breadcrumb.d.ts"
|
|
41
61
|
},
|
|
62
|
+
"./components/breadcrumb": {
|
|
63
|
+
"import": "./components/breadcrumb.js",
|
|
64
|
+
"require": "./components/breadcrumb.js",
|
|
65
|
+
"types": "./components/breadcrumb.d.ts"
|
|
66
|
+
},
|
|
42
67
|
"./react/breadcrumb.js": {
|
|
43
68
|
"import": "./react/breadcrumb.js",
|
|
44
69
|
"require": "./react/breadcrumb.js",
|
|
45
70
|
"types": "./react/breadcrumb.d.ts"
|
|
46
71
|
},
|
|
72
|
+
"./react/breadcrumb": {
|
|
73
|
+
"import": "./react/breadcrumb.js",
|
|
74
|
+
"require": "./react/breadcrumb.js",
|
|
75
|
+
"types": "./react/breadcrumb.d.ts"
|
|
76
|
+
},
|
|
47
77
|
"./components/breadcrumb-item.js": {
|
|
48
78
|
"import": "./components/breadcrumb-item.js",
|
|
49
79
|
"require": "./components/breadcrumb-item.js",
|
|
50
80
|
"types": "./components/breadcrumb-item.d.ts"
|
|
51
81
|
},
|
|
82
|
+
"./components/breadcrumb-item": {
|
|
83
|
+
"import": "./components/breadcrumb-item.js",
|
|
84
|
+
"require": "./components/breadcrumb-item.js",
|
|
85
|
+
"types": "./components/breadcrumb-item.d.ts"
|
|
86
|
+
},
|
|
52
87
|
"./react/breadcrumb-item.js": {
|
|
53
88
|
"import": "./react/breadcrumb-item.js",
|
|
54
89
|
"require": "./react/breadcrumb-item.js",
|
|
55
90
|
"types": "./react/breadcrumb-item.d.ts"
|
|
56
91
|
},
|
|
92
|
+
"./react/breadcrumb-item": {
|
|
93
|
+
"import": "./react/breadcrumb-item.js",
|
|
94
|
+
"require": "./react/breadcrumb-item.js",
|
|
95
|
+
"types": "./react/breadcrumb-item.d.ts"
|
|
96
|
+
},
|
|
57
97
|
"./components/button.js": {
|
|
58
98
|
"import": "./components/button.js",
|
|
59
99
|
"require": "./components/button.js",
|
|
60
100
|
"types": "./components/button.d.ts"
|
|
61
101
|
},
|
|
102
|
+
"./components/button": {
|
|
103
|
+
"import": "./components/button.js",
|
|
104
|
+
"require": "./components/button.js",
|
|
105
|
+
"types": "./components/button.d.ts"
|
|
106
|
+
},
|
|
62
107
|
"./react/button.js": {
|
|
63
108
|
"import": "./react/button.js",
|
|
64
109
|
"require": "./react/button.js",
|
|
65
110
|
"types": "./react/button.d.ts"
|
|
66
111
|
},
|
|
112
|
+
"./react/button": {
|
|
113
|
+
"import": "./react/button.js",
|
|
114
|
+
"require": "./react/button.js",
|
|
115
|
+
"types": "./react/button.d.ts"
|
|
116
|
+
},
|
|
67
117
|
"./components/card.js": {
|
|
68
118
|
"import": "./components/card.js",
|
|
69
119
|
"require": "./components/card.js",
|
|
70
120
|
"types": "./components/card.d.ts"
|
|
71
121
|
},
|
|
122
|
+
"./components/card": {
|
|
123
|
+
"import": "./components/card.js",
|
|
124
|
+
"require": "./components/card.js",
|
|
125
|
+
"types": "./components/card.d.ts"
|
|
126
|
+
},
|
|
72
127
|
"./react/card.js": {
|
|
73
128
|
"import": "./react/card.js",
|
|
74
129
|
"require": "./react/card.js",
|
|
75
130
|
"types": "./react/card.d.ts"
|
|
76
131
|
},
|
|
132
|
+
"./react/card": {
|
|
133
|
+
"import": "./react/card.js",
|
|
134
|
+
"require": "./react/card.js",
|
|
135
|
+
"types": "./react/card.d.ts"
|
|
136
|
+
},
|
|
77
137
|
"./components/checkbox.js": {
|
|
78
138
|
"import": "./components/checkbox.js",
|
|
79
139
|
"require": "./components/checkbox.js",
|
|
80
140
|
"types": "./components/checkbox.d.ts"
|
|
81
141
|
},
|
|
142
|
+
"./components/checkbox": {
|
|
143
|
+
"import": "./components/checkbox.js",
|
|
144
|
+
"require": "./components/checkbox.js",
|
|
145
|
+
"types": "./components/checkbox.d.ts"
|
|
146
|
+
},
|
|
82
147
|
"./react/checkbox.js": {
|
|
83
148
|
"import": "./react/checkbox.js",
|
|
84
149
|
"require": "./react/checkbox.js",
|
|
85
150
|
"types": "./react/checkbox.d.ts"
|
|
86
151
|
},
|
|
152
|
+
"./react/checkbox": {
|
|
153
|
+
"import": "./react/checkbox.js",
|
|
154
|
+
"require": "./react/checkbox.js",
|
|
155
|
+
"types": "./react/checkbox.d.ts"
|
|
156
|
+
},
|
|
87
157
|
"./components/checkbox-group.js": {
|
|
88
158
|
"import": "./components/checkbox-group.js",
|
|
89
159
|
"require": "./components/checkbox-group.js",
|
|
90
160
|
"types": "./components/checkbox-group.d.ts"
|
|
91
161
|
},
|
|
162
|
+
"./components/checkbox-group": {
|
|
163
|
+
"import": "./components/checkbox-group.js",
|
|
164
|
+
"require": "./components/checkbox-group.js",
|
|
165
|
+
"types": "./components/checkbox-group.d.ts"
|
|
166
|
+
},
|
|
92
167
|
"./react/checkbox-group.js": {
|
|
93
168
|
"import": "./react/checkbox-group.js",
|
|
94
169
|
"require": "./react/checkbox-group.js",
|
|
95
170
|
"types": "./react/checkbox-group.d.ts"
|
|
96
171
|
},
|
|
172
|
+
"./react/checkbox-group": {
|
|
173
|
+
"import": "./react/checkbox-group.js",
|
|
174
|
+
"require": "./react/checkbox-group.js",
|
|
175
|
+
"types": "./react/checkbox-group.d.ts"
|
|
176
|
+
},
|
|
97
177
|
"./components/chip.js": {
|
|
98
178
|
"import": "./components/chip.js",
|
|
99
179
|
"require": "./components/chip.js",
|
|
100
180
|
"types": "./components/chip.d.ts"
|
|
101
181
|
},
|
|
182
|
+
"./components/chip": {
|
|
183
|
+
"import": "./components/chip.js",
|
|
184
|
+
"require": "./components/chip.js",
|
|
185
|
+
"types": "./components/chip.d.ts"
|
|
186
|
+
},
|
|
102
187
|
"./react/chip.js": {
|
|
103
188
|
"import": "./react/chip.js",
|
|
104
189
|
"require": "./react/chip.js",
|
|
105
190
|
"types": "./react/chip.d.ts"
|
|
106
191
|
},
|
|
192
|
+
"./react/chip": {
|
|
193
|
+
"import": "./react/chip.js",
|
|
194
|
+
"require": "./react/chip.js",
|
|
195
|
+
"types": "./react/chip.d.ts"
|
|
196
|
+
},
|
|
107
197
|
"./components/cookie-banner.js": {
|
|
108
198
|
"import": "./components/cookie-banner.js",
|
|
109
199
|
"require": "./components/cookie-banner.js",
|
|
110
200
|
"types": "./components/cookie-banner.d.ts"
|
|
111
201
|
},
|
|
202
|
+
"./components/cookie-banner": {
|
|
203
|
+
"import": "./components/cookie-banner.js",
|
|
204
|
+
"require": "./components/cookie-banner.js",
|
|
205
|
+
"types": "./components/cookie-banner.d.ts"
|
|
206
|
+
},
|
|
112
207
|
"./react/cookie-banner.js": {
|
|
113
208
|
"import": "./react/cookie-banner.js",
|
|
114
209
|
"require": "./react/cookie-banner.js",
|
|
115
210
|
"types": "./react/cookie-banner.d.ts"
|
|
116
211
|
},
|
|
212
|
+
"./react/cookie-banner": {
|
|
213
|
+
"import": "./react/cookie-banner.js",
|
|
214
|
+
"require": "./react/cookie-banner.js",
|
|
215
|
+
"types": "./react/cookie-banner.d.ts"
|
|
216
|
+
},
|
|
117
217
|
"./components/data-table.js": {
|
|
118
218
|
"import": "./components/data-table.js",
|
|
119
219
|
"require": "./components/data-table.js",
|
|
120
220
|
"types": "./components/data-table.d.ts"
|
|
121
221
|
},
|
|
222
|
+
"./components/data-table": {
|
|
223
|
+
"import": "./components/data-table.js",
|
|
224
|
+
"require": "./components/data-table.js",
|
|
225
|
+
"types": "./components/data-table.d.ts"
|
|
226
|
+
},
|
|
122
227
|
"./react/data-table.js": {
|
|
123
228
|
"import": "./react/data-table.js",
|
|
124
229
|
"require": "./react/data-table.js",
|
|
125
230
|
"types": "./react/data-table.d.ts"
|
|
126
231
|
},
|
|
232
|
+
"./react/data-table": {
|
|
233
|
+
"import": "./react/data-table.js",
|
|
234
|
+
"require": "./react/data-table.js",
|
|
235
|
+
"types": "./react/data-table.d.ts"
|
|
236
|
+
},
|
|
237
|
+
"./components/data-table-body.js": {
|
|
238
|
+
"import": "./components/data-table-body.js",
|
|
239
|
+
"require": "./components/data-table-body.js",
|
|
240
|
+
"types": "./components/data-table-body.d.ts"
|
|
241
|
+
},
|
|
242
|
+
"./components/data-table-body": {
|
|
243
|
+
"import": "./components/data-table-body.js",
|
|
244
|
+
"require": "./components/data-table-body.js",
|
|
245
|
+
"types": "./components/data-table-body.d.ts"
|
|
246
|
+
},
|
|
247
|
+
"./react/data-table-body.js": {
|
|
248
|
+
"import": "./react/data-table-body.js",
|
|
249
|
+
"require": "./react/data-table-body.js",
|
|
250
|
+
"types": "./react/data-table-body.d.ts"
|
|
251
|
+
},
|
|
252
|
+
"./react/data-table-body": {
|
|
253
|
+
"import": "./react/data-table-body.js",
|
|
254
|
+
"require": "./react/data-table-body.js",
|
|
255
|
+
"types": "./react/data-table-body.d.ts"
|
|
256
|
+
},
|
|
257
|
+
"./components/data-table-cell.js": {
|
|
258
|
+
"import": "./components/data-table-cell.js",
|
|
259
|
+
"require": "./components/data-table-cell.js",
|
|
260
|
+
"types": "./components/data-table-cell.d.ts"
|
|
261
|
+
},
|
|
262
|
+
"./components/data-table-cell": {
|
|
263
|
+
"import": "./components/data-table-cell.js",
|
|
264
|
+
"require": "./components/data-table-cell.js",
|
|
265
|
+
"types": "./components/data-table-cell.d.ts"
|
|
266
|
+
},
|
|
267
|
+
"./react/data-table-cell.js": {
|
|
268
|
+
"import": "./react/data-table-cell.js",
|
|
269
|
+
"require": "./react/data-table-cell.js",
|
|
270
|
+
"types": "./react/data-table-cell.d.ts"
|
|
271
|
+
},
|
|
272
|
+
"./react/data-table-cell": {
|
|
273
|
+
"import": "./react/data-table-cell.js",
|
|
274
|
+
"require": "./react/data-table-cell.js",
|
|
275
|
+
"types": "./react/data-table-cell.d.ts"
|
|
276
|
+
},
|
|
277
|
+
"./components/data-table-contents.js": {
|
|
278
|
+
"import": "./components/data-table-contents.js",
|
|
279
|
+
"require": "./components/data-table-contents.js",
|
|
280
|
+
"types": "./components/data-table-contents.d.ts"
|
|
281
|
+
},
|
|
282
|
+
"./components/data-table-contents": {
|
|
283
|
+
"import": "./components/data-table-contents.js",
|
|
284
|
+
"require": "./components/data-table-contents.js",
|
|
285
|
+
"types": "./components/data-table-contents.d.ts"
|
|
286
|
+
},
|
|
287
|
+
"./react/data-table-contents.js": {
|
|
288
|
+
"import": "./react/data-table-contents.js",
|
|
289
|
+
"require": "./react/data-table-contents.js",
|
|
290
|
+
"types": "./react/data-table-contents.d.ts"
|
|
291
|
+
},
|
|
292
|
+
"./react/data-table-contents": {
|
|
293
|
+
"import": "./react/data-table-contents.js",
|
|
294
|
+
"require": "./react/data-table-contents.js",
|
|
295
|
+
"types": "./react/data-table-contents.d.ts"
|
|
296
|
+
},
|
|
297
|
+
"./components/data-table-head.js": {
|
|
298
|
+
"import": "./components/data-table-head.js",
|
|
299
|
+
"require": "./components/data-table-head.js",
|
|
300
|
+
"types": "./components/data-table-head.d.ts"
|
|
301
|
+
},
|
|
302
|
+
"./components/data-table-head": {
|
|
303
|
+
"import": "./components/data-table-head.js",
|
|
304
|
+
"require": "./components/data-table-head.js",
|
|
305
|
+
"types": "./components/data-table-head.d.ts"
|
|
306
|
+
},
|
|
307
|
+
"./react/data-table-head.js": {
|
|
308
|
+
"import": "./react/data-table-head.js",
|
|
309
|
+
"require": "./react/data-table-head.js",
|
|
310
|
+
"types": "./react/data-table-head.d.ts"
|
|
311
|
+
},
|
|
312
|
+
"./react/data-table-head": {
|
|
313
|
+
"import": "./react/data-table-head.js",
|
|
314
|
+
"require": "./react/data-table-head.js",
|
|
315
|
+
"types": "./react/data-table-head.d.ts"
|
|
316
|
+
},
|
|
317
|
+
"./components/data-table-head-cell.js": {
|
|
318
|
+
"import": "./components/data-table-head-cell.js",
|
|
319
|
+
"require": "./components/data-table-head-cell.js",
|
|
320
|
+
"types": "./components/data-table-head-cell.d.ts"
|
|
321
|
+
},
|
|
322
|
+
"./components/data-table-head-cell": {
|
|
323
|
+
"import": "./components/data-table-head-cell.js",
|
|
324
|
+
"require": "./components/data-table-head-cell.js",
|
|
325
|
+
"types": "./components/data-table-head-cell.d.ts"
|
|
326
|
+
},
|
|
327
|
+
"./react/data-table-head-cell.js": {
|
|
328
|
+
"import": "./react/data-table-head-cell.js",
|
|
329
|
+
"require": "./react/data-table-head-cell.js",
|
|
330
|
+
"types": "./react/data-table-head-cell.d.ts"
|
|
331
|
+
},
|
|
332
|
+
"./react/data-table-head-cell": {
|
|
333
|
+
"import": "./react/data-table-head-cell.js",
|
|
334
|
+
"require": "./react/data-table-head-cell.js",
|
|
335
|
+
"types": "./react/data-table-head-cell.d.ts"
|
|
336
|
+
},
|
|
127
337
|
"./components/data-table-header.js": {
|
|
128
338
|
"import": "./components/data-table-header.js",
|
|
129
339
|
"require": "./components/data-table-header.js",
|
|
130
340
|
"types": "./components/data-table-header.d.ts"
|
|
131
341
|
},
|
|
342
|
+
"./components/data-table-header": {
|
|
343
|
+
"import": "./components/data-table-header.js",
|
|
344
|
+
"require": "./components/data-table-header.js",
|
|
345
|
+
"types": "./components/data-table-header.d.ts"
|
|
346
|
+
},
|
|
132
347
|
"./react/data-table-header.js": {
|
|
133
348
|
"import": "./react/data-table-header.js",
|
|
134
349
|
"require": "./react/data-table-header.js",
|
|
135
350
|
"types": "./react/data-table-header.d.ts"
|
|
136
351
|
},
|
|
352
|
+
"./react/data-table-header": {
|
|
353
|
+
"import": "./react/data-table-header.js",
|
|
354
|
+
"require": "./react/data-table-header.js",
|
|
355
|
+
"types": "./react/data-table-header.d.ts"
|
|
356
|
+
},
|
|
357
|
+
"./components/data-table-row.js": {
|
|
358
|
+
"import": "./components/data-table-row.js",
|
|
359
|
+
"require": "./components/data-table-row.js",
|
|
360
|
+
"types": "./components/data-table-row.d.ts"
|
|
361
|
+
},
|
|
362
|
+
"./components/data-table-row": {
|
|
363
|
+
"import": "./components/data-table-row.js",
|
|
364
|
+
"require": "./components/data-table-row.js",
|
|
365
|
+
"types": "./components/data-table-row.d.ts"
|
|
366
|
+
},
|
|
367
|
+
"./react/data-table-row.js": {
|
|
368
|
+
"import": "./react/data-table-row.js",
|
|
369
|
+
"require": "./react/data-table-row.js",
|
|
370
|
+
"types": "./react/data-table-row.d.ts"
|
|
371
|
+
},
|
|
372
|
+
"./react/data-table-row": {
|
|
373
|
+
"import": "./react/data-table-row.js",
|
|
374
|
+
"require": "./react/data-table-row.js",
|
|
375
|
+
"types": "./react/data-table-row.d.ts"
|
|
376
|
+
},
|
|
137
377
|
"./components/divider.js": {
|
|
138
378
|
"import": "./components/divider.js",
|
|
139
379
|
"require": "./components/divider.js",
|
|
140
380
|
"types": "./components/divider.d.ts"
|
|
141
381
|
},
|
|
382
|
+
"./components/divider": {
|
|
383
|
+
"import": "./components/divider.js",
|
|
384
|
+
"require": "./components/divider.js",
|
|
385
|
+
"types": "./components/divider.d.ts"
|
|
386
|
+
},
|
|
142
387
|
"./react/divider.js": {
|
|
143
388
|
"import": "./react/divider.js",
|
|
144
389
|
"require": "./react/divider.js",
|
|
145
390
|
"types": "./react/divider.d.ts"
|
|
146
391
|
},
|
|
392
|
+
"./react/divider": {
|
|
393
|
+
"import": "./react/divider.js",
|
|
394
|
+
"require": "./react/divider.js",
|
|
395
|
+
"types": "./react/divider.d.ts"
|
|
396
|
+
},
|
|
147
397
|
"./components/form-label.js": {
|
|
148
398
|
"import": "./components/form-label.js",
|
|
149
399
|
"require": "./components/form-label.js",
|
|
150
400
|
"types": "./components/form-label.d.ts"
|
|
151
401
|
},
|
|
402
|
+
"./components/form-label": {
|
|
403
|
+
"import": "./components/form-label.js",
|
|
404
|
+
"require": "./components/form-label.js",
|
|
405
|
+
"types": "./components/form-label.d.ts"
|
|
406
|
+
},
|
|
152
407
|
"./react/form-label.js": {
|
|
153
408
|
"import": "./react/form-label.js",
|
|
154
409
|
"require": "./react/form-label.js",
|
|
155
410
|
"types": "./react/form-label.d.ts"
|
|
156
411
|
},
|
|
412
|
+
"./react/form-label": {
|
|
413
|
+
"import": "./react/form-label.js",
|
|
414
|
+
"require": "./react/form-label.js",
|
|
415
|
+
"types": "./react/form-label.d.ts"
|
|
416
|
+
},
|
|
157
417
|
"./components/icon-button.js": {
|
|
158
418
|
"import": "./components/icon-button.js",
|
|
159
419
|
"require": "./components/icon-button.js",
|
|
160
420
|
"types": "./components/icon-button.d.ts"
|
|
161
421
|
},
|
|
422
|
+
"./components/icon-button": {
|
|
423
|
+
"import": "./components/icon-button.js",
|
|
424
|
+
"require": "./components/icon-button.js",
|
|
425
|
+
"types": "./components/icon-button.d.ts"
|
|
426
|
+
},
|
|
162
427
|
"./react/icon-button.js": {
|
|
163
428
|
"import": "./react/icon-button.js",
|
|
164
429
|
"require": "./react/icon-button.js",
|
|
165
430
|
"types": "./react/icon-button.d.ts"
|
|
166
431
|
},
|
|
432
|
+
"./react/icon-button": {
|
|
433
|
+
"import": "./react/icon-button.js",
|
|
434
|
+
"require": "./react/icon-button.js",
|
|
435
|
+
"types": "./react/icon-button.d.ts"
|
|
436
|
+
},
|
|
167
437
|
"./components/link.js": {
|
|
168
438
|
"import": "./components/link.js",
|
|
169
439
|
"require": "./components/link.js",
|
|
170
440
|
"types": "./components/link.d.ts"
|
|
171
441
|
},
|
|
442
|
+
"./components/link": {
|
|
443
|
+
"import": "./components/link.js",
|
|
444
|
+
"require": "./components/link.js",
|
|
445
|
+
"types": "./components/link.d.ts"
|
|
446
|
+
},
|
|
172
447
|
"./react/link.js": {
|
|
173
448
|
"import": "./react/link.js",
|
|
174
449
|
"require": "./react/link.js",
|
|
175
450
|
"types": "./react/link.d.ts"
|
|
176
451
|
},
|
|
452
|
+
"./react/link": {
|
|
453
|
+
"import": "./react/link.js",
|
|
454
|
+
"require": "./react/link.js",
|
|
455
|
+
"types": "./react/link.d.ts"
|
|
456
|
+
},
|
|
177
457
|
"./components/list.js": {
|
|
178
458
|
"import": "./components/list.js",
|
|
179
459
|
"require": "./components/list.js",
|
|
180
460
|
"types": "./components/list.d.ts"
|
|
181
461
|
},
|
|
462
|
+
"./components/list": {
|
|
463
|
+
"import": "./components/list.js",
|
|
464
|
+
"require": "./components/list.js",
|
|
465
|
+
"types": "./components/list.d.ts"
|
|
466
|
+
},
|
|
182
467
|
"./react/list.js": {
|
|
183
468
|
"import": "./react/list.js",
|
|
184
469
|
"require": "./react/list.js",
|
|
185
470
|
"types": "./react/list.d.ts"
|
|
186
471
|
},
|
|
472
|
+
"./react/list": {
|
|
473
|
+
"import": "./react/list.js",
|
|
474
|
+
"require": "./react/list.js",
|
|
475
|
+
"types": "./react/list.d.ts"
|
|
476
|
+
},
|
|
187
477
|
"./components/list-item.js": {
|
|
188
478
|
"import": "./components/list-item.js",
|
|
189
479
|
"require": "./components/list-item.js",
|
|
190
480
|
"types": "./components/list-item.d.ts"
|
|
191
481
|
},
|
|
482
|
+
"./components/list-item": {
|
|
483
|
+
"import": "./components/list-item.js",
|
|
484
|
+
"require": "./components/list-item.js",
|
|
485
|
+
"types": "./components/list-item.d.ts"
|
|
486
|
+
},
|
|
192
487
|
"./react/list-item.js": {
|
|
193
488
|
"import": "./react/list-item.js",
|
|
194
489
|
"require": "./react/list-item.js",
|
|
195
490
|
"types": "./react/list-item.d.ts"
|
|
196
491
|
},
|
|
492
|
+
"./react/list-item": {
|
|
493
|
+
"import": "./react/list-item.js",
|
|
494
|
+
"require": "./react/list-item.js",
|
|
495
|
+
"types": "./react/list-item.d.ts"
|
|
496
|
+
},
|
|
197
497
|
"./components/lottie-player.js": {
|
|
198
498
|
"import": "./components/lottie-player.js",
|
|
199
499
|
"require": "./components/lottie-player.js",
|
|
200
500
|
"types": "./components/lottie-player.d.ts"
|
|
201
501
|
},
|
|
502
|
+
"./components/lottie-player": {
|
|
503
|
+
"import": "./components/lottie-player.js",
|
|
504
|
+
"require": "./components/lottie-player.js",
|
|
505
|
+
"types": "./components/lottie-player.d.ts"
|
|
506
|
+
},
|
|
202
507
|
"./react/lottie-player.js": {
|
|
203
508
|
"import": "./react/lottie-player.js",
|
|
204
509
|
"require": "./react/lottie-player.js",
|
|
205
510
|
"types": "./react/lottie-player.d.ts"
|
|
206
511
|
},
|
|
512
|
+
"./react/lottie-player": {
|
|
513
|
+
"import": "./react/lottie-player.js",
|
|
514
|
+
"require": "./react/lottie-player.js",
|
|
515
|
+
"types": "./react/lottie-player.d.ts"
|
|
516
|
+
},
|
|
207
517
|
"./components/modal.js": {
|
|
208
518
|
"import": "./components/modal.js",
|
|
209
519
|
"require": "./components/modal.js",
|
|
210
520
|
"types": "./components/modal.d.ts"
|
|
211
521
|
},
|
|
522
|
+
"./components/modal": {
|
|
523
|
+
"import": "./components/modal.js",
|
|
524
|
+
"require": "./components/modal.js",
|
|
525
|
+
"types": "./components/modal.d.ts"
|
|
526
|
+
},
|
|
212
527
|
"./react/modal.js": {
|
|
213
528
|
"import": "./react/modal.js",
|
|
214
529
|
"require": "./react/modal.js",
|
|
215
530
|
"types": "./react/modal.d.ts"
|
|
216
531
|
},
|
|
532
|
+
"./react/modal": {
|
|
533
|
+
"import": "./react/modal.js",
|
|
534
|
+
"require": "./react/modal.js",
|
|
535
|
+
"types": "./react/modal.d.ts"
|
|
536
|
+
},
|
|
217
537
|
"./components/notification.js": {
|
|
218
538
|
"import": "./components/notification.js",
|
|
219
539
|
"require": "./components/notification.js",
|
|
220
540
|
"types": "./components/notification.d.ts"
|
|
221
541
|
},
|
|
542
|
+
"./components/notification": {
|
|
543
|
+
"import": "./components/notification.js",
|
|
544
|
+
"require": "./components/notification.js",
|
|
545
|
+
"types": "./components/notification.d.ts"
|
|
546
|
+
},
|
|
222
547
|
"./react/notification.js": {
|
|
223
548
|
"import": "./react/notification.js",
|
|
224
549
|
"require": "./react/notification.js",
|
|
225
550
|
"types": "./react/notification.d.ts"
|
|
226
551
|
},
|
|
552
|
+
"./react/notification": {
|
|
553
|
+
"import": "./react/notification.js",
|
|
554
|
+
"require": "./react/notification.js",
|
|
555
|
+
"types": "./react/notification.d.ts"
|
|
556
|
+
},
|
|
227
557
|
"./components/radio.js": {
|
|
228
558
|
"import": "./components/radio.js",
|
|
229
559
|
"require": "./components/radio.js",
|
|
230
560
|
"types": "./components/radio.d.ts"
|
|
231
561
|
},
|
|
562
|
+
"./components/radio": {
|
|
563
|
+
"import": "./components/radio.js",
|
|
564
|
+
"require": "./components/radio.js",
|
|
565
|
+
"types": "./components/radio.d.ts"
|
|
566
|
+
},
|
|
232
567
|
"./react/radio.js": {
|
|
233
568
|
"import": "./react/radio.js",
|
|
234
569
|
"require": "./react/radio.js",
|
|
235
570
|
"types": "./react/radio.d.ts"
|
|
236
571
|
},
|
|
572
|
+
"./react/radio": {
|
|
573
|
+
"import": "./react/radio.js",
|
|
574
|
+
"require": "./react/radio.js",
|
|
575
|
+
"types": "./react/radio.d.ts"
|
|
576
|
+
},
|
|
237
577
|
"./components/radio-group.js": {
|
|
238
578
|
"import": "./components/radio-group.js",
|
|
239
579
|
"require": "./components/radio-group.js",
|
|
240
580
|
"types": "./components/radio-group.d.ts"
|
|
241
581
|
},
|
|
582
|
+
"./components/radio-group": {
|
|
583
|
+
"import": "./components/radio-group.js",
|
|
584
|
+
"require": "./components/radio-group.js",
|
|
585
|
+
"types": "./components/radio-group.d.ts"
|
|
586
|
+
},
|
|
242
587
|
"./react/radio-group.js": {
|
|
243
588
|
"import": "./react/radio-group.js",
|
|
244
589
|
"require": "./react/radio-group.js",
|
|
245
590
|
"types": "./react/radio-group.d.ts"
|
|
246
591
|
},
|
|
592
|
+
"./react/radio-group": {
|
|
593
|
+
"import": "./react/radio-group.js",
|
|
594
|
+
"require": "./react/radio-group.js",
|
|
595
|
+
"types": "./react/radio-group.d.ts"
|
|
596
|
+
},
|
|
247
597
|
"./components/select.js": {
|
|
248
598
|
"import": "./components/select.js",
|
|
249
599
|
"require": "./components/select.js",
|
|
250
600
|
"types": "./components/select.d.ts"
|
|
251
601
|
},
|
|
602
|
+
"./components/select": {
|
|
603
|
+
"import": "./components/select.js",
|
|
604
|
+
"require": "./components/select.js",
|
|
605
|
+
"types": "./components/select.d.ts"
|
|
606
|
+
},
|
|
252
607
|
"./react/select.js": {
|
|
253
608
|
"import": "./react/select.js",
|
|
254
609
|
"require": "./react/select.js",
|
|
255
610
|
"types": "./react/select.d.ts"
|
|
256
611
|
},
|
|
612
|
+
"./react/select": {
|
|
613
|
+
"import": "./react/select.js",
|
|
614
|
+
"require": "./react/select.js",
|
|
615
|
+
"types": "./react/select.d.ts"
|
|
616
|
+
},
|
|
257
617
|
"./components/spinner.js": {
|
|
258
618
|
"import": "./components/spinner.js",
|
|
259
619
|
"require": "./components/spinner.js",
|
|
260
620
|
"types": "./components/spinner.d.ts"
|
|
261
621
|
},
|
|
622
|
+
"./components/spinner": {
|
|
623
|
+
"import": "./components/spinner.js",
|
|
624
|
+
"require": "./components/spinner.js",
|
|
625
|
+
"types": "./components/spinner.d.ts"
|
|
626
|
+
},
|
|
262
627
|
"./react/spinner.js": {
|
|
263
628
|
"import": "./react/spinner.js",
|
|
264
629
|
"require": "./react/spinner.js",
|
|
265
630
|
"types": "./react/spinner.d.ts"
|
|
266
631
|
},
|
|
632
|
+
"./react/spinner": {
|
|
633
|
+
"import": "./react/spinner.js",
|
|
634
|
+
"require": "./react/spinner.js",
|
|
635
|
+
"types": "./react/spinner.d.ts"
|
|
636
|
+
},
|
|
267
637
|
"./components/switch.js": {
|
|
268
638
|
"import": "./components/switch.js",
|
|
269
639
|
"require": "./components/switch.js",
|
|
270
640
|
"types": "./components/switch.d.ts"
|
|
271
641
|
},
|
|
642
|
+
"./components/switch": {
|
|
643
|
+
"import": "./components/switch.js",
|
|
644
|
+
"require": "./components/switch.js",
|
|
645
|
+
"types": "./components/switch.d.ts"
|
|
646
|
+
},
|
|
272
647
|
"./react/switch.js": {
|
|
273
648
|
"import": "./react/switch.js",
|
|
274
649
|
"require": "./react/switch.js",
|
|
275
650
|
"types": "./react/switch.d.ts"
|
|
276
651
|
},
|
|
652
|
+
"./react/switch": {
|
|
653
|
+
"import": "./react/switch.js",
|
|
654
|
+
"require": "./react/switch.js",
|
|
655
|
+
"types": "./react/switch.d.ts"
|
|
656
|
+
},
|
|
277
657
|
"./components/tabs.js": {
|
|
278
658
|
"import": "./components/tabs.js",
|
|
279
659
|
"require": "./components/tabs.js",
|
|
280
660
|
"types": "./components/tabs.d.ts"
|
|
281
661
|
},
|
|
662
|
+
"./components/tabs": {
|
|
663
|
+
"import": "./components/tabs.js",
|
|
664
|
+
"require": "./components/tabs.js",
|
|
665
|
+
"types": "./components/tabs.d.ts"
|
|
666
|
+
},
|
|
282
667
|
"./react/tabs.js": {
|
|
283
668
|
"import": "./react/tabs.js",
|
|
284
669
|
"require": "./react/tabs.js",
|
|
285
670
|
"types": "./react/tabs.d.ts"
|
|
286
671
|
},
|
|
672
|
+
"./react/tabs": {
|
|
673
|
+
"import": "./react/tabs.js",
|
|
674
|
+
"require": "./react/tabs.js",
|
|
675
|
+
"types": "./react/tabs.d.ts"
|
|
676
|
+
},
|
|
287
677
|
"./components/tag.js": {
|
|
288
678
|
"import": "./components/tag.js",
|
|
289
679
|
"require": "./components/tag.js",
|
|
290
680
|
"types": "./components/tag.d.ts"
|
|
291
681
|
},
|
|
682
|
+
"./components/tag": {
|
|
683
|
+
"import": "./components/tag.js",
|
|
684
|
+
"require": "./components/tag.js",
|
|
685
|
+
"types": "./components/tag.d.ts"
|
|
686
|
+
},
|
|
292
687
|
"./react/tag.js": {
|
|
293
688
|
"import": "./react/tag.js",
|
|
294
689
|
"require": "./react/tag.js",
|
|
295
690
|
"types": "./react/tag.d.ts"
|
|
296
691
|
},
|
|
692
|
+
"./react/tag": {
|
|
693
|
+
"import": "./react/tag.js",
|
|
694
|
+
"require": "./react/tag.js",
|
|
695
|
+
"types": "./react/tag.d.ts"
|
|
696
|
+
},
|
|
297
697
|
"./components/text-input.js": {
|
|
298
698
|
"import": "./components/text-input.js",
|
|
299
699
|
"require": "./components/text-input.js",
|
|
300
700
|
"types": "./components/text-input.d.ts"
|
|
301
701
|
},
|
|
702
|
+
"./components/text-input": {
|
|
703
|
+
"import": "./components/text-input.js",
|
|
704
|
+
"require": "./components/text-input.js",
|
|
705
|
+
"types": "./components/text-input.d.ts"
|
|
706
|
+
},
|
|
302
707
|
"./react/text-input.js": {
|
|
303
708
|
"import": "./react/text-input.js",
|
|
304
709
|
"require": "./react/text-input.js",
|
|
305
710
|
"types": "./react/text-input.d.ts"
|
|
306
711
|
},
|
|
712
|
+
"./react/text-input": {
|
|
713
|
+
"import": "./react/text-input.js",
|
|
714
|
+
"require": "./react/text-input.js",
|
|
715
|
+
"types": "./react/text-input.d.ts"
|
|
716
|
+
},
|
|
307
717
|
"./components/textarea.js": {
|
|
308
718
|
"import": "./components/textarea.js",
|
|
309
719
|
"require": "./components/textarea.js",
|
|
310
720
|
"types": "./components/textarea.d.ts"
|
|
311
721
|
},
|
|
722
|
+
"./components/textarea": {
|
|
723
|
+
"import": "./components/textarea.js",
|
|
724
|
+
"require": "./components/textarea.js",
|
|
725
|
+
"types": "./components/textarea.d.ts"
|
|
726
|
+
},
|
|
312
727
|
"./react/textarea.js": {
|
|
313
728
|
"import": "./react/textarea.js",
|
|
314
729
|
"require": "./react/textarea.js",
|
|
315
730
|
"types": "./react/textarea.d.ts"
|
|
316
731
|
},
|
|
732
|
+
"./react/textarea": {
|
|
733
|
+
"import": "./react/textarea.js",
|
|
734
|
+
"require": "./react/textarea.js",
|
|
735
|
+
"types": "./react/textarea.d.ts"
|
|
736
|
+
},
|
|
317
737
|
"./components/thumbnail.js": {
|
|
318
738
|
"import": "./components/thumbnail.js",
|
|
319
739
|
"require": "./components/thumbnail.js",
|
|
320
740
|
"types": "./components/thumbnail.d.ts"
|
|
321
741
|
},
|
|
742
|
+
"./components/thumbnail": {
|
|
743
|
+
"import": "./components/thumbnail.js",
|
|
744
|
+
"require": "./components/thumbnail.js",
|
|
745
|
+
"types": "./components/thumbnail.d.ts"
|
|
746
|
+
},
|
|
322
747
|
"./react/thumbnail.js": {
|
|
323
748
|
"import": "./react/thumbnail.js",
|
|
324
749
|
"require": "./react/thumbnail.js",
|
|
325
750
|
"types": "./react/thumbnail.d.ts"
|
|
326
751
|
},
|
|
752
|
+
"./react/thumbnail": {
|
|
753
|
+
"import": "./react/thumbnail.js",
|
|
754
|
+
"require": "./react/thumbnail.js",
|
|
755
|
+
"types": "./react/thumbnail.d.ts"
|
|
756
|
+
},
|
|
327
757
|
"./components/toast.js": {
|
|
328
758
|
"import": "./components/toast.js",
|
|
329
759
|
"require": "./components/toast.js",
|
|
330
760
|
"types": "./components/toast.d.ts"
|
|
331
761
|
},
|
|
762
|
+
"./components/toast": {
|
|
763
|
+
"import": "./components/toast.js",
|
|
764
|
+
"require": "./components/toast.js",
|
|
765
|
+
"types": "./components/toast.d.ts"
|
|
766
|
+
},
|
|
332
767
|
"./react/toast.js": {
|
|
333
768
|
"import": "./react/toast.js",
|
|
334
769
|
"require": "./react/toast.js",
|
|
335
770
|
"types": "./react/toast.d.ts"
|
|
336
771
|
},
|
|
772
|
+
"./react/toast": {
|
|
773
|
+
"import": "./react/toast.js",
|
|
774
|
+
"require": "./react/toast.js",
|
|
775
|
+
"types": "./react/toast.d.ts"
|
|
776
|
+
},
|
|
337
777
|
"./components/toast-provider.js": {
|
|
338
778
|
"import": "./components/toast-provider.js",
|
|
339
779
|
"require": "./components/toast-provider.js",
|
|
340
780
|
"types": "./components/toast-provider.d.ts"
|
|
341
781
|
},
|
|
782
|
+
"./components/toast-provider": {
|
|
783
|
+
"import": "./components/toast-provider.js",
|
|
784
|
+
"require": "./components/toast-provider.js",
|
|
785
|
+
"types": "./components/toast-provider.d.ts"
|
|
786
|
+
},
|
|
342
787
|
"./react/toast-provider.js": {
|
|
343
788
|
"import": "./react/toast-provider.js",
|
|
344
789
|
"require": "./react/toast-provider.js",
|
|
345
790
|
"types": "./react/toast-provider.d.ts"
|
|
791
|
+
},
|
|
792
|
+
"./react/toast-provider": {
|
|
793
|
+
"import": "./react/toast-provider.js",
|
|
794
|
+
"require": "./react/toast-provider.js",
|
|
795
|
+
"types": "./react/toast-provider.d.ts"
|
|
346
796
|
}
|
|
347
797
|
},
|
|
348
798
|
"bin": {
|
|
@@ -361,36 +811,36 @@
|
|
|
361
811
|
"chalk": "5.3.0"
|
|
362
812
|
},
|
|
363
813
|
"dependencies": {
|
|
364
|
-
"@justeattakeaway/pie-assistive-text": "0.11.
|
|
365
|
-
"@justeattakeaway/pie-avatar": "0.4.
|
|
366
|
-
"@justeattakeaway/pie-breadcrumb": "0.7.
|
|
367
|
-
"@justeattakeaway/pie-button": "1.11.
|
|
814
|
+
"@justeattakeaway/pie-assistive-text": "0.11.11",
|
|
815
|
+
"@justeattakeaway/pie-avatar": "0.4.12",
|
|
816
|
+
"@justeattakeaway/pie-breadcrumb": "0.7.14",
|
|
817
|
+
"@justeattakeaway/pie-button": "1.11.1",
|
|
368
818
|
"@justeattakeaway/pie-card": "0.26.9",
|
|
369
|
-
"@justeattakeaway/pie-checkbox": "1.0.
|
|
370
|
-
"@justeattakeaway/pie-checkbox-group": "1.0.
|
|
371
|
-
"@justeattakeaway/pie-chip": "0.15.
|
|
372
|
-
"@justeattakeaway/pie-cookie-banner": "1.7.
|
|
373
|
-
"@justeattakeaway/pie-data-table": "0.
|
|
819
|
+
"@justeattakeaway/pie-checkbox": "1.0.4",
|
|
820
|
+
"@justeattakeaway/pie-checkbox-group": "1.0.4",
|
|
821
|
+
"@justeattakeaway/pie-chip": "0.15.9",
|
|
822
|
+
"@justeattakeaway/pie-cookie-banner": "1.7.4",
|
|
823
|
+
"@justeattakeaway/pie-data-table": "0.3.0",
|
|
374
824
|
"@justeattakeaway/pie-divider": "1.5.7",
|
|
375
825
|
"@justeattakeaway/pie-form-label": "0.18.8",
|
|
376
|
-
"@justeattakeaway/pie-icon-button": "2.
|
|
377
|
-
"@justeattakeaway/pie-link": "1.3.
|
|
826
|
+
"@justeattakeaway/pie-icon-button": "2.6.0",
|
|
827
|
+
"@justeattakeaway/pie-link": "1.3.9",
|
|
378
828
|
"@justeattakeaway/pie-list": "0.0.12",
|
|
379
829
|
"@justeattakeaway/pie-lottie-player": "0.3.2",
|
|
380
|
-
"@justeattakeaway/pie-modal": "1.
|
|
381
|
-
"@justeattakeaway/pie-notification": "0.21.
|
|
830
|
+
"@justeattakeaway/pie-modal": "1.24.1",
|
|
831
|
+
"@justeattakeaway/pie-notification": "0.21.5",
|
|
382
832
|
"@justeattakeaway/pie-radio": "1.0.2",
|
|
383
|
-
"@justeattakeaway/pie-radio-group": "1.0.
|
|
384
|
-
"@justeattakeaway/pie-select": "0.8.
|
|
385
|
-
"@justeattakeaway/pie-spinner": "1.
|
|
386
|
-
"@justeattakeaway/pie-switch": "2.3.
|
|
833
|
+
"@justeattakeaway/pie-radio-group": "1.0.4",
|
|
834
|
+
"@justeattakeaway/pie-select": "0.8.12",
|
|
835
|
+
"@justeattakeaway/pie-spinner": "1.4.0",
|
|
836
|
+
"@justeattakeaway/pie-switch": "2.3.11",
|
|
387
837
|
"@justeattakeaway/pie-tabs": "0.1.8",
|
|
388
838
|
"@justeattakeaway/pie-tag": "0.22.4",
|
|
389
|
-
"@justeattakeaway/pie-text-input": "0.29.
|
|
390
|
-
"@justeattakeaway/pie-textarea": "0.17.
|
|
839
|
+
"@justeattakeaway/pie-text-input": "0.29.12",
|
|
840
|
+
"@justeattakeaway/pie-textarea": "0.17.11",
|
|
391
841
|
"@justeattakeaway/pie-thumbnail": "0.8.13",
|
|
392
|
-
"@justeattakeaway/pie-toast": "0.12.
|
|
393
|
-
"@justeattakeaway/pie-toast-provider": "0.7.
|
|
842
|
+
"@justeattakeaway/pie-toast": "0.12.19",
|
|
843
|
+
"@justeattakeaway/pie-toast-provider": "0.7.20"
|
|
394
844
|
},
|
|
395
845
|
"volta": {
|
|
396
846
|
"extends": "../../../package.json"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-body/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-body/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-cell/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-cell/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-contents/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-contents/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head-cell/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head-cell/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-head/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-row/react.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@justeattakeaway/pie-data-table/dist/pie-data-table-row/react.js';
|
package/src/componentService.js
CHANGED
|
@@ -78,11 +78,21 @@ export class ComponentService {
|
|
|
78
78
|
*/
|
|
79
79
|
createPackageJsonExports (componentName) {
|
|
80
80
|
const exports = {
|
|
81
|
+
[`./components/${componentName}`]: {
|
|
82
|
+
import: `./components/${componentName}.js`,
|
|
83
|
+
require: `./components/${componentName}.js`,
|
|
84
|
+
types: `./components/${componentName}.d.ts`,
|
|
85
|
+
},
|
|
81
86
|
[`./components/${componentName}.js`]: {
|
|
82
87
|
import: `./components/${componentName}.js`,
|
|
83
88
|
require: `./components/${componentName}.js`,
|
|
84
89
|
types: `./components/${componentName}.d.ts`,
|
|
85
90
|
},
|
|
91
|
+
[`./react/${componentName}`]: {
|
|
92
|
+
import: `./react/${componentName}.js`,
|
|
93
|
+
require: `./react/${componentName}.js`,
|
|
94
|
+
types: `./react/${componentName}.d.ts`,
|
|
95
|
+
},
|
|
86
96
|
[`./react/${componentName}.js`]: {
|
|
87
97
|
import: `./react/${componentName}.js`,
|
|
88
98
|
require: `./react/${componentName}.js`,
|
|
@@ -131,11 +131,21 @@ describe('ComponentService', () => {
|
|
|
131
131
|
|
|
132
132
|
// Assert
|
|
133
133
|
expect(result).toEqual({
|
|
134
|
+
'./components/component-name': {
|
|
135
|
+
import: './components/component-name.js',
|
|
136
|
+
require: './components/component-name.js',
|
|
137
|
+
types: './components/component-name.d.ts',
|
|
138
|
+
},
|
|
134
139
|
'./components/component-name.js': {
|
|
135
140
|
import: './components/component-name.js',
|
|
136
141
|
require: './components/component-name.js',
|
|
137
142
|
types: './components/component-name.d.ts',
|
|
138
143
|
},
|
|
144
|
+
'./react/component-name': {
|
|
145
|
+
import: './react/component-name.js',
|
|
146
|
+
require: './react/component-name.js',
|
|
147
|
+
types: './react/component-name.d.ts',
|
|
148
|
+
},
|
|
139
149
|
'./react/component-name.js': {
|
|
140
150
|
import: './react/component-name.js',
|
|
141
151
|
require: './react/component-name.js',
|
|
@@ -244,8 +254,10 @@ describe('ComponentService', () => {
|
|
|
244
254
|
const { exports } = componentService.processComponents(workingDir, excludedFolders, rootPackageJson);
|
|
245
255
|
|
|
246
256
|
// Assert
|
|
247
|
-
expect(Object.keys(exports)).toHaveLength(
|
|
257
|
+
expect(Object.keys(exports)).toHaveLength(4);
|
|
258
|
+
expect(Object.keys(exports)).toContain('./components/component-name');
|
|
248
259
|
expect(Object.keys(exports)).toContain('./components/component-name.js');
|
|
260
|
+
expect(Object.keys(exports)).toContain('./react/component-name');
|
|
249
261
|
expect(Object.keys(exports)).toContain('./react/component-name.js');
|
|
250
262
|
// Content of the exports object is tested in createPackageJsonExports
|
|
251
263
|
});
|
|
@@ -267,7 +279,7 @@ describe('ComponentService', () => {
|
|
|
267
279
|
// Assert
|
|
268
280
|
expect(Object.keys(exports)).toContain('./components/existing-component.js');
|
|
269
281
|
expect(Object.keys(exports)).toContain('./react/existing-component.js');
|
|
270
|
-
expect(Object.keys(exports)).toHaveLength(
|
|
282
|
+
expect(Object.keys(exports)).toHaveLength(6);
|
|
271
283
|
});
|
|
272
284
|
|
|
273
285
|
it('should override existing exports in the package.json', () => {
|
|
@@ -285,9 +297,11 @@ describe('ComponentService', () => {
|
|
|
285
297
|
const { exports } = componentService.processComponents(workingDir, excludedFolders, rootPackageJson);
|
|
286
298
|
|
|
287
299
|
// Assert
|
|
300
|
+
expect(Object.keys(exports)).toContain('./components/component-name');
|
|
288
301
|
expect(Object.keys(exports)).toContain('./components/component-name.js');
|
|
302
|
+
expect(Object.keys(exports)).toContain('./react/component-name');
|
|
289
303
|
expect(Object.keys(exports)).toContain('./react/component-name.js');
|
|
290
|
-
expect(Object.keys(exports)).toHaveLength(
|
|
304
|
+
expect(Object.keys(exports)).toHaveLength(4);
|
|
291
305
|
});
|
|
292
306
|
|
|
293
307
|
it('should preserve existing dependencies in the package.json', () => {
|