@fluid-topics/ft-tree-list 1.3.50 → 1.3.52

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.
@@ -515,7 +515,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
515
515
  <div class="ft-ripple--background"></div>
516
516
  <div class="ft-ripple--effect"></div>
517
517
  </div>
518
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>u=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",i,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",i,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};q.elementDefinitions={};q.styles=Ri;ge([(0,ue.property)({type:Boolean})],q.prototype,"primary",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"secondary",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"unbounded",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"activated",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"selected",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"disabled",void 0);ge([(0,ue.state)()],q.prototype,"hovered",void 0);ge([(0,ue.state)()],q.prototype,"focused",void 0);ge([(0,ue.state)()],q.prototype,"pressed",void 0);ge([(0,ue.state)()],q.prototype,"rippling",void 0);ge([(0,ue.state)()],q.prototype,"originX",void 0);ge([(0,ue.state)()],q.prototype,"originY",void 0);ge([(0,ue.query)(".ft-ripple")],q.prototype,"ripple",void 0);ge([(0,ue.query)(".ft-ripple--effect")],q.prototype,"rippleEffect",void 0);(0,Bi.customElement)("ft-ripple")(q);var ic=S(k());var ac=S(W()),Te=S(ce()),Ne=S(k());var Mi=S(W()),Qe=S(k()),Jt={distance:Qe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qe.FtCssVariableFactory.external(Qe.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Qe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},$i=Mi.css`
518
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>u=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",i,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",i,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};q.elementDefinitions={};q.styles=Ri;ge([(0,ue.property)({type:Boolean})],q.prototype,"primary",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"secondary",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"unbounded",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"activated",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"selected",void 0);ge([(0,ue.property)({type:Boolean})],q.prototype,"disabled",void 0);ge([(0,ue.state)()],q.prototype,"hovered",void 0);ge([(0,ue.state)()],q.prototype,"focused",void 0);ge([(0,ue.state)()],q.prototype,"pressed",void 0);ge([(0,ue.state)()],q.prototype,"rippling",void 0);ge([(0,ue.state)()],q.prototype,"originX",void 0);ge([(0,ue.state)()],q.prototype,"originY",void 0);ge([(0,ue.query)(".ft-ripple")],q.prototype,"ripple",void 0);ge([(0,ue.query)(".ft-ripple--effect")],q.prototype,"rippleEffect",void 0);(0,Bi.customElement)("ft-ripple")(q);var ic=S(k());var ac=S(W()),Te=S(ce()),Ne=S(k());var Mi=S(W()),Qe=S(k()),Jt={distance:Qe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qe.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Qe.designSystemVariables.borderRadiusS),maxWidth:Qe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},$i=Mi.css`
519
519
  .ft-tooltip--container {
520
520
  display: block;
521
521
  }
@@ -595,7 +595,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
595
595
  <div class="ft-ripple--background"></div>
596
596
  <div class="ft-ripple--effect"></div>
597
597
  </div>
598
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=Yc;Ce([E({type:Boolean})],ne.prototype,"primary",void 0);Ce([E({type:Boolean})],ne.prototype,"secondary",void 0);Ce([E({type:Boolean})],ne.prototype,"unbounded",void 0);Ce([E({type:Boolean})],ne.prototype,"activated",void 0);Ce([E({type:Boolean})],ne.prototype,"selected",void 0);Ce([E({type:Boolean})],ne.prototype,"disabled",void 0);Ce([Z()],ne.prototype,"hovered",void 0);Ce([Z()],ne.prototype,"focused",void 0);Ce([Z()],ne.prototype,"pressed",void 0);Ce([Z()],ne.prototype,"rippling",void 0);Ce([Z()],ne.prototype,"originX",void 0);Ce([Z()],ne.prototype,"originY",void 0);Ce([xe(".ft-ripple")],ne.prototype,"ripple",void 0);Ce([xe(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0);oe("ft-ripple")(ne);var Pr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(Y.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},td=M`
598
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=Yc;Ce([E({type:Boolean})],ne.prototype,"primary",void 0);Ce([E({type:Boolean})],ne.prototype,"secondary",void 0);Ce([E({type:Boolean})],ne.prototype,"unbounded",void 0);Ce([E({type:Boolean})],ne.prototype,"activated",void 0);Ce([E({type:Boolean})],ne.prototype,"selected",void 0);Ce([E({type:Boolean})],ne.prototype,"disabled",void 0);Ce([Z()],ne.prototype,"hovered",void 0);Ce([Z()],ne.prototype,"focused",void 0);Ce([Z()],ne.prototype,"pressed",void 0);Ce([Z()],ne.prototype,"rippling",void 0);Ce([Z()],ne.prototype,"originX",void 0);Ce([Z()],ne.prototype,"originY",void 0);Ce([xe(".ft-ripple")],ne.prototype,"ripple",void 0);Ce([xe(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0);oe("ft-ripple")(ne);var Pr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.extend("--ft-tooltip-border-radius","",Y.borderRadiusS),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},td=M`
599
599
  .ft-tooltip--container {
600
600
  display: block;
601
601
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-tree-list",
3
- "version": "1.3.50",
3
+ "version": "1.3.52",
4
4
  "description": "A tree list component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,16 +20,16 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluid-topics/design-system-variables": "2.53.1",
23
- "@fluid-topics/ft-assets": "1.3.50",
24
- "@fluid-topics/ft-button": "1.3.50",
25
- "@fluid-topics/ft-icon": "1.3.50",
26
- "@fluid-topics/ft-skeleton": "1.3.50",
27
- "@fluid-topics/ft-typography": "1.3.50",
28
- "@fluid-topics/ft-wc-utils": "1.3.50",
23
+ "@fluid-topics/ft-assets": "1.3.52",
24
+ "@fluid-topics/ft-button": "1.3.52",
25
+ "@fluid-topics/ft-icon": "1.3.52",
26
+ "@fluid-topics/ft-skeleton": "1.3.52",
27
+ "@fluid-topics/ft-typography": "1.3.52",
28
+ "@fluid-topics/ft-wc-utils": "1.3.52",
29
29
  "lit": "3.1.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@fluid-topics/ft-wc-test-utils": "1.3.50"
32
+ "@fluid-topics/ft-wc-test-utils": "1.3.52"
33
33
  },
34
- "gitHead": "8624905b03e700cf33965e24ed75f491d5d39141"
34
+ "gitHead": "8cd9d8b95748384e70ead4c45af71bd9781ddf44"
35
35
  }