@fluid-topics/ftds-card 2.1.19 → 2.1.21
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/build/ftds-card.js +2 -2
- package/build/ftds-card.light.js +22 -22
- package/build/ftds-card.min.js +2 -2
- package/package.json +7 -7
package/build/ftds-card.min.js
CHANGED
|
@@ -5,7 +5,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
5
5
|
.highlight-html-match {
|
|
6
6
|
background: ${Jc};
|
|
7
7
|
}
|
|
8
|
-
`;function R4(e,t,r){var a,o;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let c=new L4(e);if(c.unmark(),t&&t.trim()){let s={className:(a=r?.className)!==null&&a!==void 0?a:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(s.each=
|
|
8
|
+
`;function R4(e,t,r){var a,o;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let c=new L4(e);if(c.unmark(),t&&t.trim()){let s={className:(a=r?.className)!==null&&a!==void 0?a:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(s.each=f=>{for(let g in r.attributes)f.setAttribute(g,r.attributes[g])}),c.mark(t.replace(/"[^"]+"/g,""),{...s,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(f=>c.mark(f.replace(/"/g,""),{...s,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var to={};B(to,{noTextInputDefaultClearButton:()=>N4,noTextSelect:()=>eo,safariEllipsisFix:()=>_4,wordWrap:()=>w4});var eo=G`
|
|
9
9
|
.ft-no-text-select {
|
|
10
10
|
-webkit-touch-callout: none;
|
|
11
11
|
-webkit-user-select: none;
|
|
@@ -1636,7 +1636,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1636
1636
|
<slot name="side-bar" @slotchange=${this.onSlotchange}></slot>
|
|
1637
1637
|
</div>
|
|
1638
1638
|
</div>
|
|
1639
|
-
`}onKeydown(t){this.selectable&&t.
|
|
1639
|
+
`}onKeydown(t){this.selectable&&t.key===" "&&t.preventDefault()}onKeyup(t){this.selectable&&t.key===" "&&this.dispatchEvent(new CustomEvent("change",{detail:!this.selected}))}onClick(){this.selectable&&this.dispatchEvent(new CustomEvent("change",{detail:!this.selected}))}onSlotchange(){var t,r;this.hasHeader=this.headerContent.length>0||!!this.headerText,this.hasHeaderActions=this.headerActionsContent.length>0,this.hasBody=Yr(this.bodyContent).trim().length>0||((r=(t=this.bodyContent)===null||t===void 0?void 0:t.assignedElements())!==null&&r!==void 0?r:[]).length>0,this.hasFooter=this.footerContent.length>0,this.hasFooterActions=this.footerActionsContent.length>0,this.hasSideBar=this.sideBarContent.length>0}};Z.elementDefinitions={"ftds-typography":de,"ft-ripple":Y};Z.styles=N2;te([M()],Z.prototype,"headerText",void 0);te([M({type:Boolean})],Z.prototype,"headerBorder",void 0);te([M()],Z.prototype,"headerHref",void 0);te([M({type:Boolean})],Z.prototype,"selectable",void 0);te([M({type:Boolean})],Z.prototype,"selected",void 0);te([$()],Z.prototype,"hasHeader",void 0);te([$()],Z.prototype,"hasHeaderActions",void 0);te([$()],Z.prototype,"hasBody",void 0);te([$()],Z.prototype,"hasFooter",void 0);te([$()],Z.prototype,"hasFooterActions",void 0);te([$()],Z.prototype,"hasSideBar",void 0);te([at({slot:"header"})],Z.prototype,"headerContent",void 0);te([at({slot:"header-actions"})],Z.prototype,"headerActionsContent",void 0);te([wt("#body slot")],Z.prototype,"bodyContent",void 0);te([at({slot:"footer",flatten:!0})],Z.prototype,"footerContent",void 0);te([at({slot:"footer-actions"})],Z.prototype,"footerActionsContent",void 0);te([at({slot:"side-bar"})],Z.prototype,"sideBarContent",void 0);var T2=G`
|
|
1640
1640
|
:host {
|
|
1641
1641
|
}
|
|
1642
1642
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ftds-card",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.21",
|
|
4
4
|
"description": "The design system card component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-ripple": "2.1.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "2.1.
|
|
24
|
-
"@fluid-topics/ftds-icon": "2.1.
|
|
25
|
-
"@fluid-topics/ftds-typography": "2.1.
|
|
22
|
+
"@fluid-topics/ft-ripple": "2.1.21",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "2.1.21",
|
|
24
|
+
"@fluid-topics/ftds-icon": "2.1.21",
|
|
25
|
+
"@fluid-topics/ftds-typography": "2.1.21",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@fluid-topics/ft-wc-test-utils": "2.1.
|
|
29
|
+
"@fluid-topics/ft-wc-test-utils": "2.1.21"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "a0f619df74c0665183d73df09e75b1eddc2a2a1f"
|
|
32
32
|
}
|