@fluid-topics/ft-chip 1.2.53 → 1.2.55

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,7 +6,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
6
6
  .highlight-html-match {
7
7
  background: ${ji};
8
8
  }
9
- `;function Sd(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new xd(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Zn={};G(Zn,{noTextInputDefaultClearButton:()=>Ed,noTextSelect:()=>qe,safariEllipsisFix:()=>Ar,wordWrap:()=>Od});var qe=$`
9
+ `;function Sd(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new xd(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=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Zn={};G(Zn,{noTextInputDefaultClearButton:()=>Ed,noTextSelect:()=>qe,safariEllipsisFix:()=>Ar,wordWrap:()=>Od});var qe=$`
10
10
  .ft-no-text-select {
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-user-select: none;
@@ -1275,6 +1275,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1275
1275
  align-items: center;
1276
1276
  }
1277
1277
 
1278
+ .ftds-chip--icon-container {
1279
+ display: inline-flex;
1280
+ align-items: center;
1281
+ flex: none;
1282
+ }
1283
+
1278
1284
  .ftds-chip ft-typography {
1279
1285
  display: flex; /* For typo alignment in the chip */
1280
1286
  }
@@ -16,6 +16,12 @@ export const designSystemStyle = [
16
16
  align-items: center;
17
17
  }
18
18
 
19
+ .ftds-chip--icon-container {
20
+ display: inline-flex;
21
+ align-items: center;
22
+ flex: none;
23
+ }
24
+
19
25
  .ftds-chip ft-typography {
20
26
  display: flex; /* For typo alignment in the chip */
21
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chip",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "description": "A generic Fluid Topics chip",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluid-topics/design-system-variables": "0.1.92",
23
- "@fluid-topics/ft-icon": "1.2.53",
24
- "@fluid-topics/ft-ripple": "1.2.53",
25
- "@fluid-topics/ft-typography": "1.2.53",
26
- "@fluid-topics/ft-wc-utils": "1.2.53",
23
+ "@fluid-topics/ft-icon": "1.2.55",
24
+ "@fluid-topics/ft-ripple": "1.2.55",
25
+ "@fluid-topics/ft-typography": "1.2.55",
26
+ "@fluid-topics/ft-wc-utils": "1.2.55",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "bd51f81f7882978f24a88c30c24427c56f2faa86"
29
+ "gitHead": "a9eaad0e420f0114aaa6cad55e73f0d917715878"
30
30
  }