@justeattakeaway/pie-link 1.3.27 → 1.3.28
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 +108 -17
- 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 +2 -2
package/custom-elements.json
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"type": {
|
|
67
67
|
"text": "DefaultProps"
|
|
68
68
|
},
|
|
69
|
-
"default": "{
|
|
69
|
+
"default": "{ tag: 'a', variant: 'default', size: 'medium', underline: 'default', isBold: false, isStandalone: false, hasVisited: false, iconPlacement: 'leading', type: 'submit', }"
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"exports": [
|
|
@@ -150,27 +150,32 @@
|
|
|
150
150
|
{
|
|
151
151
|
"kind": "field",
|
|
152
152
|
"name": "tag",
|
|
153
|
-
"privacy": "public"
|
|
153
|
+
"privacy": "public",
|
|
154
|
+
"attribute": "tag"
|
|
154
155
|
},
|
|
155
156
|
{
|
|
156
157
|
"kind": "field",
|
|
157
158
|
"name": "variant",
|
|
158
|
-
"privacy": "public"
|
|
159
|
+
"privacy": "public",
|
|
160
|
+
"attribute": "variant"
|
|
159
161
|
},
|
|
160
162
|
{
|
|
161
163
|
"kind": "field",
|
|
162
164
|
"name": "size",
|
|
163
|
-
"privacy": "public"
|
|
165
|
+
"privacy": "public",
|
|
166
|
+
"attribute": "size"
|
|
164
167
|
},
|
|
165
168
|
{
|
|
166
169
|
"kind": "field",
|
|
167
170
|
"name": "underline",
|
|
168
|
-
"privacy": "public"
|
|
171
|
+
"privacy": "public",
|
|
172
|
+
"attribute": "underline"
|
|
169
173
|
},
|
|
170
174
|
{
|
|
171
175
|
"kind": "field",
|
|
172
176
|
"name": "iconPlacement",
|
|
173
|
-
"privacy": "public"
|
|
177
|
+
"privacy": "public",
|
|
178
|
+
"attribute": "iconPlacement"
|
|
174
179
|
},
|
|
175
180
|
{
|
|
176
181
|
"kind": "field",
|
|
@@ -178,7 +183,9 @@
|
|
|
178
183
|
"type": {
|
|
179
184
|
"text": "LinkProps['href']"
|
|
180
185
|
},
|
|
181
|
-
"privacy": "public"
|
|
186
|
+
"privacy": "public",
|
|
187
|
+
"attribute": "href",
|
|
188
|
+
"reflects": true
|
|
182
189
|
},
|
|
183
190
|
{
|
|
184
191
|
"kind": "field",
|
|
@@ -186,7 +193,9 @@
|
|
|
186
193
|
"type": {
|
|
187
194
|
"text": "LinkProps['target']"
|
|
188
195
|
},
|
|
189
|
-
"privacy": "public"
|
|
196
|
+
"privacy": "public",
|
|
197
|
+
"attribute": "target",
|
|
198
|
+
"reflects": true
|
|
190
199
|
},
|
|
191
200
|
{
|
|
192
201
|
"kind": "field",
|
|
@@ -194,7 +203,9 @@
|
|
|
194
203
|
"type": {
|
|
195
204
|
"text": "LinkProps['rel']"
|
|
196
205
|
},
|
|
197
|
-
"privacy": "public"
|
|
206
|
+
"privacy": "public",
|
|
207
|
+
"attribute": "rel",
|
|
208
|
+
"reflects": true
|
|
198
209
|
},
|
|
199
210
|
{
|
|
200
211
|
"kind": "field",
|
|
@@ -202,27 +213,33 @@
|
|
|
202
213
|
"type": {
|
|
203
214
|
"text": "LinkProps['download']"
|
|
204
215
|
},
|
|
205
|
-
"privacy": "public"
|
|
216
|
+
"privacy": "public",
|
|
217
|
+
"attribute": "download"
|
|
206
218
|
},
|
|
207
219
|
{
|
|
208
220
|
"kind": "field",
|
|
209
221
|
"name": "isBold",
|
|
210
|
-
"privacy": "public"
|
|
222
|
+
"privacy": "public",
|
|
223
|
+
"attribute": "isBold"
|
|
211
224
|
},
|
|
212
225
|
{
|
|
213
226
|
"kind": "field",
|
|
214
227
|
"name": "isStandalone",
|
|
215
|
-
"privacy": "public"
|
|
228
|
+
"privacy": "public",
|
|
229
|
+
"attribute": "isStandalone",
|
|
230
|
+
"reflects": true
|
|
216
231
|
},
|
|
217
232
|
{
|
|
218
233
|
"kind": "field",
|
|
219
234
|
"name": "hasVisited",
|
|
220
|
-
"privacy": "public"
|
|
235
|
+
"privacy": "public",
|
|
236
|
+
"attribute": "hasVisited"
|
|
221
237
|
},
|
|
222
238
|
{
|
|
223
239
|
"kind": "field",
|
|
224
240
|
"name": "type",
|
|
225
|
-
"privacy": "public"
|
|
241
|
+
"privacy": "public",
|
|
242
|
+
"attribute": "type"
|
|
226
243
|
},
|
|
227
244
|
{
|
|
228
245
|
"kind": "field",
|
|
@@ -230,13 +247,14 @@
|
|
|
230
247
|
"type": {
|
|
231
248
|
"text": "LinkProps['aria']"
|
|
232
249
|
},
|
|
233
|
-
"privacy": "public"
|
|
250
|
+
"privacy": "public",
|
|
251
|
+
"attribute": "aria"
|
|
234
252
|
},
|
|
235
253
|
{
|
|
236
254
|
"kind": "method",
|
|
237
255
|
"name": "renderContent",
|
|
238
256
|
"privacy": "private",
|
|
239
|
-
"description": "Renders the link content.\nIcons are only shown in block elements"
|
|
257
|
+
"description": "Renders the link content.\r\nIcons are only shown in block elements"
|
|
240
258
|
},
|
|
241
259
|
{
|
|
242
260
|
"kind": "method",
|
|
@@ -267,6 +285,79 @@
|
|
|
267
285
|
"description": "Renders the link as an anchor element."
|
|
268
286
|
}
|
|
269
287
|
],
|
|
288
|
+
"attributes": [
|
|
289
|
+
{
|
|
290
|
+
"name": "tag",
|
|
291
|
+
"fieldName": "tag"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "variant",
|
|
295
|
+
"fieldName": "variant"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "size",
|
|
299
|
+
"fieldName": "size"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "underline",
|
|
303
|
+
"fieldName": "underline"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "iconPlacement",
|
|
307
|
+
"fieldName": "iconPlacement"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "href",
|
|
311
|
+
"type": {
|
|
312
|
+
"text": "LinkProps['href']"
|
|
313
|
+
},
|
|
314
|
+
"fieldName": "href"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "target",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "LinkProps['target']"
|
|
320
|
+
},
|
|
321
|
+
"fieldName": "target"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "rel",
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "LinkProps['rel']"
|
|
327
|
+
},
|
|
328
|
+
"fieldName": "rel"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "download",
|
|
332
|
+
"type": {
|
|
333
|
+
"text": "LinkProps['download']"
|
|
334
|
+
},
|
|
335
|
+
"fieldName": "download"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "isBold",
|
|
339
|
+
"fieldName": "isBold"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "isStandalone",
|
|
343
|
+
"fieldName": "isStandalone"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "hasVisited",
|
|
347
|
+
"fieldName": "hasVisited"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "type",
|
|
351
|
+
"fieldName": "type"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "aria",
|
|
355
|
+
"type": {
|
|
356
|
+
"text": "LinkProps['aria']"
|
|
357
|
+
},
|
|
358
|
+
"fieldName": "aria"
|
|
359
|
+
}
|
|
360
|
+
],
|
|
270
361
|
"superclass": {
|
|
271
362
|
"name": "PieElement",
|
|
272
363
|
"package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
|
|
@@ -281,7 +372,7 @@
|
|
|
281
372
|
"name": "*",
|
|
282
373
|
"declaration": {
|
|
283
374
|
"name": "*",
|
|
284
|
-
"
|
|
375
|
+
"module": "src/defs"
|
|
285
376
|
}
|
|
286
377
|
},
|
|
287
378
|
{
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ const k = class k extends b {
|
|
|
8
8
|
this.getAttribute("v") || this.setAttribute("v", k.v);
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
-
k.v = "1.3.
|
|
11
|
+
k.v = "1.3.28";
|
|
12
12
|
let y = k;
|
|
13
13
|
const z = "*,*:after,*:before{box-sizing:inherit}:host{display:inline-block;--link-font-weight: var(--dt-font-body-l-link-weight);--link-text-color: var(--dt-color-content-link);--link-text-decoration: var(--dt-font-body-l-link-text-decoration)}:host([isstandalone]){display:block}.c-link{--link-font-family: var(--dt-font-interactive-l-family);--link-font-size: calc(var(--dt-font-body-l-link-size) * 1px);--link-line-height: calc(var(--dt-font-body-l-link-line-height) * 1px);--link-icon-size: 16px;--link-icon-offset-top: var(--dt-spacing-a);display:inline-block;font-family:var(--link-font-family);font-size:var(--link-font-size);line-height:var(--link-line-height);font-weight:var(--link-font-weight);color:var(--link-text-color);text-decoration:var(--link-text-decoration);cursor:pointer}.c-link:hover,.c-link:active{--link-text-decoration: none}.c-link.c-link--high-visibility{--link-text-color: var(--dt-color-content-link-distinct)}.c-link.c-link--inverse{--link-text-color: var(--dt-color-content-link-inverse)}.c-link.c-link--small{--link-font-size: calc(var(--dt-font-body-s-link-size) * 1px);--link-line-height: calc(var(--dt-font-body-s-link-line-height) * 1px);--link-font-weight: var(--dt-font-body-s-link-weight);--link-text-decoration: var(--dt-font-body-s-link-text-decoration);--link-icon-offset-top: 2px}.c-link.c-link--underline-reversed.c-link--standalone{--link-text-decoration: none}.c-link.c-link--underline-reversed.c-link--standalone:hover,.c-link.c-link--underline-reversed.c-link--standalone:active{--link-text-decoration: var(--dt-font-body-l-link-text-decoration)}.c-link.c-link--bold{--link-font-size: calc(var(--dt-font-body-strong-l-link-size) * 1px);--link-line-height: calc(var(--dt-font-body-strong-l-link-line-height) * 1px);--link-font-weight: var(--dt-font-body-strong-l-link-weight)}.c-link.c-link--bold.c-link--small{--link-font-size: calc(var(--dt-font-body-strong-s-link-size) * 1px);--link-line-height: calc(var(--dt-font-body-strong-s-link-line-height) * 1px);--link-font-weight: var(--dt-font-body-strong-s-link-weight)}.c-link.c-link--standalone{display:block;width:fit-content}.c-link.has-visited:visited{color:var(--dt-color-content-link-visited)}.c-link.has-visited:visited.c-link--inverse{color:var(--dt-color-content-link-visited-inverse)}.c-link:focus-visible{outline:none;border-radius:2px;box-shadow:0 0 0 2px var(--dt-color-focus-inner),0 0 0 4px var(--dt-color-focus-outer)}button.c-link{outline:none;border:none;-webkit-user-select:none;user-select:none;background:transparent;padding:0}.c-link-content{display:flex;gap:var(--dt-spacing-a)}::slotted(.c-pieIcon),::slotted(svg){display:inline-flex;margin-block-start:var(--link-icon-offset-top);height:var(--link-icon-size);width:var(--link-icon-size)}", w = ["default", "high-visibility", "inverse"], S = ["small", "medium"], $ = ["leading", "trailing"], P = ["a", "button"], B = ["submit", "button", "reset", "menu"], C = ["default", "reversed"], e = {
|
|
14
14
|
tag: "a",
|
package/dist/react.d.ts
CHANGED
|
File without changes
|
package/dist/react.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-link",
|
|
3
3
|
"description": "PIE Design System Link built using Web Components",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.28",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"author": "Just Eat Takeaway.com - Design System Team",
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@justeattakeaway/pie-components-config": "0.21.
|
|
46
|
+
"@justeattakeaway/pie-components-config": "0.21.2",
|
|
47
47
|
"@justeattakeaway/pie-css": "1.1.1",
|
|
48
48
|
"@justeattakeaway/pie-monorepo-utils": "0.9.1",
|
|
49
49
|
"@justeattakeaway/pie-wrapper-react": "0.14.4"
|