@fluid-topics/ft-toggle 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.
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { html } from "lit";
8
8
  import { property } from "lit/decorators.js";
9
- import { FtLitElement, screenReaderStyles } from "@fluid-topics/ft-wc-utils";
9
+ import { FtLitElement, screenReaderStyles, } from "@fluid-topics/ft-wc-utils";
10
10
  import { classMap } from "lit/directives/class-map.js";
11
11
  import { styles } from "./ft-toggle.styles";
12
- import { FtTypography, FtTypographyVariants } from "@fluid-topics/ft-typography";
12
+ import { FtTypography, FtTypographyVariants, } from "@fluid-topics/ft-typography";
13
13
  export class FtToggle extends FtLitElement {
14
14
  constructor() {
15
15
  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: ${Ci};
7
7
  }
8
- `;function pd(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new ud(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={};k(Wo,{noTextInputDefaultClearButton:()=>md,noTextSelect:()=>hd,safariEllipsisFix:()=>gd,wordWrap:()=>yd});var hd=D`
8
+ `;function pd(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new ud(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={};k(Wo,{noTextInputDefaultClearButton:()=>md,noTextSelect:()=>hd,safariEllipsisFix:()=>gd,wordWrap:()=>yd});var hd=D`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -1,4 +1,4 @@
1
- import { designSystemVariables, FtCssVariableFactory } from "@fluid-topics/ft-wc-utils";
1
+ import { designSystemVariables, FtCssVariableFactory, } from "@fluid-topics/ft-wc-utils";
2
2
  import { css } from "lit";
3
3
  export const FtToggleCssVariables = {
4
4
  textColor: FtCssVariableFactory.extend("--ft-toggle-text-color", "", designSystemVariables.colorOnSurfaceHigh),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-toggle",
3
- "version": "2.1.18",
3
+ "version": "2.1.20",
4
4
  "description": "A simple toggle component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,9 +19,9 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-typography": "2.1.18",
23
- "@fluid-topics/ft-wc-utils": "2.1.18",
22
+ "@fluid-topics/ft-typography": "2.1.20",
23
+ "@fluid-topics/ft-wc-utils": "2.1.20",
24
24
  "lit": "3.1.0"
25
25
  },
26
- "gitHead": "2effe252f9ab22ede85f961b8464ec8aa4d27870"
26
+ "gitHead": "77e9f03085f977dde887e175b964bf66b862253f"
27
27
  }