@fluid-topics/ft-icon 2.1.18 → 2.1.20

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/ft-icon.js CHANGED
@@ -4,13 +4,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { html, nothing } from "lit";
8
- import { property, query, state } from "lit/decorators.js";
9
- import { FtLitElement } from "@fluid-topics/ft-wc-utils";
7
+ import { html, nothing, } from "lit";
8
+ import { property, query, state, } from "lit/decorators.js";
9
+ import { FtLitElement, } from "@fluid-topics/ft-wc-utils";
10
10
  import { unsafeHTML } from "lit/directives/unsafe-html.js";
11
- import { FtFileFormatIcons, FtIcons } from "./icons";
11
+ import { FtFileFormatIcons, FtIcons, } from "./icons";
12
12
  import { styles } from "./ft-icon.styles";
13
- import { FtIconVariants } from "./ft-icon.properties";
13
+ import { FtIconVariants, } from "./ft-icon.properties";
14
14
  export class FtIcon extends FtLitElement {
15
15
  constructor() {
16
16
  super(...arguments);
@@ -5,7 +5,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
5
5
  .highlight-html-match {
6
6
  background: ${li};
7
7
  }
8
- `;function Bl(e,t,o){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Ml(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=(p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])})),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var No={};I(No,{noTextInputDefaultClearButton:()=>Gl,noTextSelect:()=>Lo,safariEllipsisFix:()=>Fl,wordWrap:()=>Hl});var Lo=B`
8
+ `;function Bl(e,t,o){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Ml(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var No={};I(No,{noTextInputDefaultClearButton:()=>Gl,noTextSelect:()=>Lo,safariEllipsisFix:()=>Fl,wordWrap:()=>Hl});var Lo=B`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -1,5 +1,5 @@
1
1
  import { css } from "lit";
2
- import { FtCssVariableFactory, noTextSelect } from "@fluid-topics/ft-wc-utils";
2
+ import { FtCssVariableFactory, noTextSelect, } from "@fluid-topics/ft-wc-utils";
3
3
  export const FtIconCssVariables = {
4
4
  size: FtCssVariableFactory.create("--ft-icon-font-size", "", "SIZE", "24px"),
5
5
  fluidTopicsFontFamily: FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family", "", FtCssVariableFactory.create("--ft-icon-font-family", "", "UNKNOWN", "ft-icons")),
@@ -7,7 +7,7 @@ export const FtIconCssVariables = {
7
7
  materialFontFamily: FtCssVariableFactory.extend("--ft-icon-material-font-family", "", FtCssVariableFactory.create("--ft-icon-font-family", "", "UNKNOWN", "Material Icons")),
8
8
  verticalAlign: FtCssVariableFactory.create("--ft-icon-vertical-align", "", "UNKNOWN", "unset"),
9
9
  };
10
- //language=css
10
+ // language=css
11
11
  export const styles = [
12
12
  css `
13
13
  :host, i.ft-icon {
@@ -57,5 +57,5 @@ export const styles = [
57
57
  .ft-icon--material {
58
58
  font-family: ${FtIconCssVariables.materialFontFamily}, "Material Icons", sans-serif;
59
59
  }
60
- `, noTextSelect
60
+ `, noTextSelect,
61
61
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-icon",
3
- "version": "2.1.18",
3
+ "version": "2.1.20",
4
4
  "description": "Typography components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,9 +20,9 @@
20
20
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
21
21
  },
22
22
  "dependencies": {
23
- "@fluid-topics/ft-wc-utils": "2.1.18",
23
+ "@fluid-topics/ft-wc-utils": "2.1.20",
24
24
  "@fortawesome/fontawesome-svg-core": "7.3.1",
25
25
  "lit": "3.1.0"
26
26
  },
27
- "gitHead": "2effe252f9ab22ede85f961b8464ec8aa4d27870"
27
+ "gitHead": "77e9f03085f977dde887e175b964bf66b862253f"
28
28
  }