@fluid-topics/ft-size-watcher 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.
@@ -4,10 +4,10 @@ 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 } from "lit";
8
- import { property, query } from "lit/decorators.js";
9
- import { Debouncer, FtLitElement } from "@fluid-topics/ft-wc-utils";
10
- import { FtSizeCategory } from "./ft-size-watcher.properties";
7
+ import { html, } from "lit";
8
+ import { property, query, } from "lit/decorators.js";
9
+ import { Debouncer, FtLitElement, } from "@fluid-topics/ft-wc-utils";
10
+ import { FtSizeCategory, } from "./ft-size-watcher.properties";
11
11
  import { styles } from "./ft-size-watcher.styles";
12
12
  export class FtSizeChangeEvent extends CustomEvent {
13
13
  constructor(size, category) {
@@ -5,7 +5,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
5
5
  .highlight-html-match {
6
6
  background: ${ai};
7
7
  }
8
- `;function Dl(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Nl(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=(f=>{for(let h in o.attributes)f.setAttribute(h,o.attributes[h])})),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var wo={};N(wo,{noTextInputDefaultClearButton:()=>Bl,noTextSelect:()=>Fl,safariEllipsisFix:()=>Ul,wordWrap:()=>Ml});var Fl=M`
8
+ `;function Dl(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Nl(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=f=>{for(let h in o.attributes)f.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var wo={};N(wo,{noTextInputDefaultClearButton:()=>Bl,noTextSelect:()=>Fl,safariEllipsisFix:()=>Ul,wordWrap:()=>Ml});var Fl=M`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -1,6 +1,6 @@
1
1
  import { css } from "lit";
2
2
  export const FtSizeWatcherCssVariables = {};
3
- //language=css
3
+ // language=css
4
4
  export const styles = css `
5
5
  .ft-size-watcher--pixel {
6
6
  width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-size-watcher",
3
- "version": "2.1.19",
3
+ "version": "2.1.21",
4
4
  "description": "Pixel component used to get viewport size",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "2.1.19",
22
+ "@fluid-topics/ft-wc-utils": "2.1.21",
23
23
  "lit": "3.1.0"
24
24
  },
25
- "gitHead": "c2c202986d05fbee1378d8dbb74fa609e89260ec"
25
+ "gitHead": "a0f619df74c0665183d73df09e75b1eddc2a2a1f"
26
26
  }