@warp-ds/elements 2.3.0-next.30 → 2.3.0-next.32
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/dist/custom-elements.json +4 -4
- package/dist/packages/attention/index.js +1 -1
- package/dist/packages/attention/index.js.map +2 -2
- package/dist/packages/button/index.js +1 -1
- package/dist/packages/button/index.js.map +2 -2
- package/dist/packages/link/index.d.ts +1 -1
- package/dist/packages/link/index.js +1 -1
- package/dist/packages/link/index.js.map +2 -2
- package/dist/packages/link/link.react.stories.d.ts +0 -1
- package/dist/packages/link/link.react.stories.js +0 -7
- package/dist/packages/link/link.stories.d.ts +0 -1
- package/dist/packages/link/link.stories.js +0 -7
- package/dist/web-types.json +5 -5
- package/package.json +1 -1
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"attribute": "variant",
|
|
250
250
|
"reflects": true,
|
|
251
251
|
"parsedType": {
|
|
252
|
-
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | '
|
|
252
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
255
|
{
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"default": "'secondary'",
|
|
324
324
|
"fieldName": "variant",
|
|
325
325
|
"parsedType": {
|
|
326
|
-
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | '
|
|
326
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
|
|
327
327
|
}
|
|
328
328
|
},
|
|
329
329
|
{
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
"attribute": "variant",
|
|
449
449
|
"reflects": true,
|
|
450
450
|
"parsedType": {
|
|
451
|
-
"text": "'negative' | 'primary' | 'secondary' | 'utility' | '
|
|
451
|
+
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
{
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
"default": "'secondary'",
|
|
595
595
|
"fieldName": "variant",
|
|
596
596
|
"parsedType": {
|
|
597
|
-
"text": "'negative' | 'primary' | 'secondary' | 'utility' | '
|
|
597
|
+
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
600
|
{
|
|
@@ -3580,7 +3580,7 @@ Please compile your catalog first.
|
|
|
3580
3580
|
100% {
|
|
3581
3581
|
background-position: 60px 0;
|
|
3582
3582
|
}
|
|
3583
|
-
}`;var Vr=["primary","secondary","negative","negativeQuiet","utility","utilityQuiet","link","overlay","overlayInverted","overlayQuiet","overlayInvertedQuiet"],Z=class extends Qr{constructor(){super(...arguments);this.variant="secondary"}connectedCallback(){if(super.connectedCallback(),!Vr.includes(this.variant))throw new Error(`Invalid "variant" attribute. Set its value to one of the following:
|
|
3583
|
+
}`;var Vr=["primary","secondary","negative","negativeQuiet","utility","utilityQuiet","quiet","link","overlay","overlayInverted","overlayQuiet","overlayInvertedQuiet"],Z=class extends Qr{constructor(){super(...arguments);this.variant="secondary"}connectedCallback(){if(super.connectedCallback(),!Vr.includes(this.variant))throw new Error(`Invalid "variant" attribute. Set its value to one of the following:
|
|
3584
3584
|
${Vr.join(", ")}.`)}firstUpdated(){this.autofocus&&setTimeout(()=>this.focus(),0)}render(){let r={"w-button":this.variant!=="link","w-button--primary":this.variant==="primary","w-button--secondary":this.variant==="secondary","w-button--negative":this.variant==="negative","w-button--utility":this.variant==="utility","w-button--quiet":this.variant==="quiet","w-button--negative-quiet":this.variant==="negativeQuiet","w-button--utility-quiet":this.variant==="utilityQuiet","w-button--overlay":this.variant==="overlay","w-button--overlay-inverted":this.variant==="overlayInverted","w-button--overlay-quiet":this.variant==="overlayQuiet","w-button--overlay-inverted-quiet":this.variant==="overlayInvertedQuiet","w-button--small":this.small,"w-button--full-width":this.fullWidth,"w-button--disabled":this.disabled};return Si`<a
|
|
3585
3585
|
href=${this.href}
|
|
3586
3586
|
target=${this.target}
|