@myuw-web-components/myuw-card
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -276,3 +276,3 @@ var MyUWCard = (function (exports) { | ||
} | ||
img { | ||
::slotted(img) { | ||
width: 24px; | ||
@@ -286,3 +286,3 @@ height: 24px; | ||
} | ||
p { | ||
::slotted(p) { | ||
font-size: 14px; | ||
@@ -300,5 +300,5 @@ font-weight: 400; | ||
<a id="fab-link" href="#" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<slot name="fab-icon"></slot> | ||
</a> | ||
<p><slot></slot></p> | ||
<slot></slot> | ||
</div> | ||
@@ -305,0 +305,0 @@ `; |
@@ -129,3 +129,3 @@ var MyUWCard=function(a){'use strict';class b extends HTMLElement{static get elementName(){return"myuw-card-content"}static get template(){return void 0===this._template&&(this._template=document.createElement("template"),this._template.innerHTML=` | ||
} | ||
img { | ||
::slotted(img) { | ||
width: 24px; | ||
@@ -139,3 +139,3 @@ height: 24px; | ||
} | ||
p { | ||
::slotted(p) { | ||
font-size: 14px; | ||
@@ -153,5 +153,5 @@ font-weight: 400; | ||
<a id="fab-link" href="#" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<slot name="fab-icon"></slot> | ||
</a> | ||
<p><slot></slot></p> | ||
<slot></slot> | ||
</div> | ||
@@ -158,0 +158,0 @@ `),this._template}constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.append(g.template.content.cloneNode(!0)),this.shadowRoot.getElementById("fab-link").href=this.href}get href(){return this.getAttribute("href")||"#"}}window.customElements.define(g.elementName,g);class h extends HTMLElement{static get elementName(){return"myuw-icon-link"}static get template(){return void 0===this._template&&(this._template=document.createElement("template"),this._template.innerHTML=` |
{ | ||
"name": "@myuw-web-components/myuw-card", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "module": "dist/myuw-card.min.mjs", |
@@ -70,6 +70,10 @@ # myuw-card | ||
</myuw-card-message> | ||
<myuw-link-list> | ||
<myuw-fab-link href="https://www.google.com">Deposit money</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com">Report lost card</myuw-fab-link> | ||
</myuw-link-list> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Deposit money</p> | ||
</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Report lost card</p> | ||
</myuw-fab-link> | ||
</myuw-card-content> | ||
@@ -83,8 +87,20 @@ ``` | ||
<myuw-link-list> | ||
<myuw-fab-link href="https://www.google.com">Jump around</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com">Sit on Terrace</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Jump around</p> | ||
</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Sit on Terrace</p> | ||
</myuw-fab-link> | ||
</myuw-link-list> | ||
<myuw-link-list> | ||
<myuw-fab-link href="https://www.google.com">Deposit money</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com">Report lost card</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Deposit money</p> | ||
</myuw-fab-link> | ||
<myuw-fab-link href="https://www.google.com"> | ||
<img slot="fab-icon" src="https://my.wisc.edu/images/widgetIcons/canvas-logo.svg"> | ||
<p>Report lost card</p> | ||
</myuw-fab-link> | ||
</myuw-link-list> | ||
@@ -91,0 +107,0 @@ </myuw-card-content> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
57421
153