@fluid-topics/ft-tabs 0.3.0 → 0.3.3

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-tab.d.ts CHANGED
@@ -14,9 +14,9 @@ export declare class FtTab extends FtLitElement implements FtTabProperties {
14
14
  iconVariant: FtIconVariants;
15
15
  active: boolean;
16
16
  disabled: boolean;
17
- readonly uniqueId: string;
18
- readonly id: string;
19
- readonly ariaLabelledBy: string;
17
+ private readonly uniqueId;
18
+ id: string;
19
+ ariaLabelledBy?: string;
20
20
  protected render(): unknown;
21
21
  protected updated(props: PropertyValues): void;
22
22
  }
package/build/ft-tab.js CHANGED
@@ -17,8 +17,6 @@ export class FtTab extends FtLitElement {
17
17
  this.active = false;
18
18
  this.disabled = false;
19
19
  this.uniqueId = ("" + Math.floor(Math.random() * 100000)).padStart(5, "0");
20
- this.id = "tab-content-" + this.uniqueId;
21
- this.ariaLabelledBy = "tab-" + this.uniqueId;
22
20
  }
23
21
  render() {
24
22
  return html `
@@ -32,6 +30,10 @@ export class FtTab extends FtLitElement {
32
30
  }
33
31
  updated(props) {
34
32
  super.updated(props);
33
+ if (!this.id) {
34
+ this.id = "tab-" + this.uniqueId;
35
+ }
36
+ this.ariaLabelledBy = this.id + "-control";
35
37
  this.dispatchEvent(new Event("updated"));
36
38
  }
37
39
  }
package/build/ft-tabs.js CHANGED
@@ -49,8 +49,8 @@ export class FtTabs extends FtLitElement {
49
49
  "ft-tabs--dense": this.dense,
50
50
  };
51
51
  return html `
52
- <div class="${classMap(classes)}">
53
- <div class="ft-tabs--align-${this.alignTabs}" role="tablist">
52
+ <div class="${classMap(classes)}" part="container">
53
+ <div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
54
54
  ${repeat(this.ftTabs, (tab, index) => html `
55
55
  <button class="${classMap({
56
56
  "ft-tabs--tab-with-icon": !!tab.icon,
@@ -60,24 +60,27 @@ export class FtTabs extends FtLitElement {
60
60
  ?disabled=${tab.disabled}
61
61
  @click=${() => this.activeIndex = index}
62
62
  role="tab"
63
+ part="tab"
63
64
  id="${tab.ariaLabelledBy}"
64
65
  aria-label="${tab.label}"
65
66
  aria-selected="${tab.active ? "true" : "false"}"
66
67
  tabindex="${tab.disabled ? "-1" : "0"}"
67
68
  aria-controls="${tab.id}"
68
69
  >
69
- <ft-ripple primary ?disabled=${tab.disabled}></ft-ripple>
70
- <ft-icon class="ft-tabs--tab-icon" variant="${tab.iconVariant}">
70
+ <ft-ripple primary ?disabled=${tab.disabled} part="tab-ripple"></ft-ripple>
71
+ <ft-icon class="ft-tabs--tab-icon" part="tab-icon" variant="${tab.iconVariant}">
71
72
  ${tab.icon}
72
73
  </ft-icon>
73
- <ft-typography class="ft-tabs--tab-label" variant="${FtTypographyVariants.body2}">
74
+ <ft-typography class="ft-tabs--tab-label"
75
+ part="tab-label"
76
+ variant="${FtTypographyVariants.body2}">
74
77
  ${tab.label}
75
78
  </ft-typography>
76
79
  </button>
77
80
  `)}
78
- <div class="ft-tabs--active-tab-indicator"></div>
81
+ <div class="ft-tabs--active-tab-indicator" part="active-tab-indicator"></div>
79
82
  </div>
80
- <div class="ft-tabs--content">
83
+ <div class="ft-tabs--content" part="content">
81
84
  <slot @slotchange=${this.onContentChange}></slot>
82
85
  </div>
83
86
  </div>
@@ -39,14 +39,14 @@
39
39
  ${o.unsafeHTML(this.getIcon())}
40
40
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
41
41
  </i>
42
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let s=this.textContent;return this.variant===p.file_format?null!==(t=a[s.toUpperCase()])&&void 0!==t?t:s:this.variant===p.fluid_topics?null!==(e=l[s.toUpperCase()])&&void 0!==e?e:s:i.nothing}}x.elementDefinitions={},h([s.property()],x.prototype,"variant",void 0),h([s.query("slot")],x.prototype,"slottedContent",void 0),e.customElement("ft-icon")(x);var u=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class g extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=p.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0"),this.id="tab-content-"+this.uniqueId,this.ariaLabelledBy="tab-"+this.uniqueId}render(){return i.html`
42
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let s=this.textContent;return this.variant===p.file_format?null!==(t=a[s.toUpperCase()])&&void 0!==t?t:s:this.variant===p.fluid_topics?null!==(e=l[s.toUpperCase()])&&void 0!==e?e:s:i.nothing}}x.elementDefinitions={},h([s.property()],x.prototype,"variant",void 0),h([s.query("slot")],x.prototype,"slottedContent",void 0),e.customElement("ft-icon")(x);var u=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class g extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=p.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return i.html`
43
43
  <style>
44
44
  :host {
45
45
  display: ${i.unsafeCSS(this.active?"block":"none")};
46
46
  }
47
47
  </style>
48
48
  <slot></slot>
49
- `}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}g.elementDefinitions={},u([s.property({type:String})],g.prototype,"label",void 0),u([s.property({type:String})],g.prototype,"icon",void 0),u([s.property()],g.prototype,"iconVariant",void 0),u([s.property({type:Boolean})],g.prototype,"active",void 0),u([s.property({type:Boolean})],g.prototype,"disabled",void 0),u([s.property({type:String,reflect:!0})],g.prototype,"id",void 0),u([s.property({type:String,reflect:!0,attribute:"aria-labelledby"})],g.prototype,"ariaLabelledBy",void 0);var v=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const b=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),m=b,$=e.FtCssVariableFactory.extend("--ft-ripple-background-color",b),w=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),k=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),z=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),j=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),N=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),S=N,O=e.FtCssVariableFactory.extend("--ft-ripple-background-color",N),A=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),I=A,_=e.FtCssVariableFactory.extend("--ft-ripple-background-color",A);class M extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:s,y:o}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=s?s-r.x:r.width/2),this.originY=Math.round(null!=o?o-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
49
+ `}updated(t){super.updated(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control",this.dispatchEvent(new Event("updated"))}}g.elementDefinitions={},u([s.property({type:String})],g.prototype,"label",void 0),u([s.property({type:String})],g.prototype,"icon",void 0),u([s.property()],g.prototype,"iconVariant",void 0),u([s.property({type:Boolean})],g.prototype,"active",void 0),u([s.property({type:Boolean})],g.prototype,"disabled",void 0),u([s.property({type:String,reflect:!0})],g.prototype,"id",void 0),u([s.property({type:String,reflect:!0,attribute:"aria-labelledby"})],g.prototype,"ariaLabelledBy",void 0);var b=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const v=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorContent),m=v,$=e.FtCssVariableFactory.extend("--ft-ripple-background-color",v),w=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),k=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),z=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),j=e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),N=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorPrimary),S=N,O=e.FtCssVariableFactory.extend("--ft-ripple-background-color",N),A=e.FtCssVariableFactory.extend("--ft-ripple-color",e.designSystemVariables.colorSecondary),I=A,_=e.FtCssVariableFactory.extend("--ft-ripple-background-color",A);class M extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:s,y:o}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=s?s-r.x:r.width/2),this.originY=Math.round(null!=o?o-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return i.html`
50
50
  <style>
51
51
  .ft-ripple .ft-ripple--effect,
52
52
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -158,13 +158,13 @@ var T;M.elementDefinitions={},M.styles=i.css`
158
158
  opacity: ${w};
159
159
  transform: translate(-50%, -50%) scale(1);
160
160
  }
161
- `,v([s.property({type:Boolean})],M.prototype,"primary",void 0),v([s.property({type:Boolean})],M.prototype,"secondary",void 0),v([s.property({type:Boolean})],M.prototype,"unbounded",void 0),v([s.property({type:Boolean})],M.prototype,"activated",void 0),v([s.property({type:Boolean})],M.prototype,"selected",void 0),v([s.property({type:Boolean})],M.prototype,"disabled",void 0),v([s.state()],M.prototype,"hovered",void 0),v([s.state()],M.prototype,"focused",void 0),v([s.state()],M.prototype,"pressed",void 0),v([s.state()],M.prototype,"rippling",void 0),v([s.state()],M.prototype,"rippleSize",void 0),v([s.state()],M.prototype,"originX",void 0),v([s.state()],M.prototype,"originY",void 0),v([s.query(".ft-ripple")],M.prototype,"ripple",void 0),v([s.query(".ft-ripple--effect")],M.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(M);const C=globalThis.trustedTypes,B=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,U="?"+E,D=`<${U}>`,R=document,W=(t="")=>R.createComment(t),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,K=Array.isArray,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,q=/>/g,F=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),H=/'/g,L=/"/g,V=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Q=new WeakMap,tt=R.createTreeWalker(R,129,null,!1),et=(t,e)=>{const i=t.length-1,s=[];let o,r=2===e?"<svg>":"",n=Z;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,a=n.exec(i),null!==a);)h=n.lastIndex,n===Z?"!--"===a[1]?n=P:void 0!==a[1]?n=q:void 0!==a[2]?(V.test(a[2])&&(o=RegExp("</"+a[2],"g")),n=F):void 0!==a[3]&&(n=F):n===F?">"===a[0]?(n=null!=o?o:Z,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?F:'"'===a[3]?L:H):n===L||n===H?n=F:n===P||n===q?n=Z:(n=F,o=void 0);const f=n===F&&t[e+1].startsWith("/>")?" ":"";r+=n===Z?i+D:p>=0?(s.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+E+f):i+E+(-2===p?(s.push(void 0),e):f)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==B?B.createHTML(l):l,s]};class it{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const n=t.length-1,l=this.parts,[a,p]=et(t,e);if(this.el=it.createElement(a,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=tt.nextNode())&&l.length<n;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[r++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?pt:"@"===e[1]?ht:nt})}else l.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(V.test(s.tagName)){const t=s.textContent.split(E),e=t.length-1;if(e>0){s.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],W()),tt.nextNode(),l.push({type:2,index:++o});s.append(t[e],W())}}}else if(8===s.nodeType)if(s.data===U)l.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(E,t+1));)l.push({type:7,index:o}),t+=E.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function st(t,e,i=t,s){var o,r,n,l;if(e===Y)return e;let a=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const p=G(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,s)),void 0!==s?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[s]=a:i._$Cu=a),void 0!==a&&(e=st(t,a._$AS(t,e.values),a,s)),e}class ot{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);tt.currentNode=o;let r=tt.nextNode(),n=0,l=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new rt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new ft(r,this,t)),this.v.push(e),a=s[++l]}n!==(null==a?void 0:a.index)&&(r=tt.nextNode(),n++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class rt{constructor(t,e,i,s){var o;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),G(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Y&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>K(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&G(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=it.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new ot(o,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}S(t){K(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new rt(this.j(W()),this.j(W()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,i,s,o){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(void 0===o)t=st(this,t,e,0),r=!G(t)||t!==this._$AH&&t!==Y,r&&(this._$AH=t);else{const s=t;let n,l;for(t=o[0],n=0;n<o.length-1;n++)l=st(this,s[i+n],e,n),l===Y&&(l=this._$AH[n]),r||(r=!G(l)||l!==this._$AH[n]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+o[n+1]),this._$AH[n]=l}r&&!s&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends nt{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const at=C?C.emptyScript:"";class pt extends nt{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends nt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=st(this,t,e,0))&&void 0!==i?i:J)===Y)return;const s=this._$AH,o=t===J&&s!==J||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==J&&(s===J||o);o&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ft{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}}const ct=window.litHtmlPolyfillSupport;null==ct||ct(it,rt),(null!==(T=globalThis.litHtmlVersions)&&void 0!==T?T:globalThis.litHtmlVersions=[]).push("2.2.7");
161
+ `,b([s.property({type:Boolean})],M.prototype,"primary",void 0),b([s.property({type:Boolean})],M.prototype,"secondary",void 0),b([s.property({type:Boolean})],M.prototype,"unbounded",void 0),b([s.property({type:Boolean})],M.prototype,"activated",void 0),b([s.property({type:Boolean})],M.prototype,"selected",void 0),b([s.property({type:Boolean})],M.prototype,"disabled",void 0),b([s.state()],M.prototype,"hovered",void 0),b([s.state()],M.prototype,"focused",void 0),b([s.state()],M.prototype,"pressed",void 0),b([s.state()],M.prototype,"rippling",void 0),b([s.state()],M.prototype,"rippleSize",void 0),b([s.state()],M.prototype,"originX",void 0),b([s.state()],M.prototype,"originY",void 0),b([s.query(".ft-ripple")],M.prototype,"ripple",void 0),b([s.query(".ft-ripple--effect")],M.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(M);const C=globalThis.trustedTypes,B=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,E=`lit$${(Math.random()+"").slice(9)}$`,U="?"+E,D=`<${U}>`,R=document,W=(t="")=>R.createComment(t),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,K=Array.isArray,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,q=/>/g,F=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),H=/'/g,L=/"/g,V=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Q=new WeakMap,tt=R.createTreeWalker(R,129,null,!1),et=(t,e)=>{const i=t.length-1,s=[];let o,r=2===e?"<svg>":"",n=Z;for(let e=0;e<i;e++){const i=t[e];let l,a,p=-1,h=0;for(;h<i.length&&(n.lastIndex=h,a=n.exec(i),null!==a);)h=n.lastIndex,n===Z?"!--"===a[1]?n=P:void 0!==a[1]?n=q:void 0!==a[2]?(V.test(a[2])&&(o=RegExp("</"+a[2],"g")),n=F):void 0!==a[3]&&(n=F):n===F?">"===a[0]?(n=null!=o?o:Z,p=-1):void 0===a[1]?p=-2:(p=n.lastIndex-a[2].length,l=a[1],n=void 0===a[3]?F:'"'===a[3]?L:H):n===L||n===H?n=F:n===P||n===q?n=Z:(n=F,o=void 0);const f=n===F&&t[e+1].startsWith("/>")?" ":"";r+=n===Z?i+D:p>=0?(s.push(l),i.slice(0,p)+"$lit$"+i.slice(p)+E+f):i+E+(-2===p?(s.push(void 0),e):f)}const l=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==B?B.createHTML(l):l,s]};class it{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,r=0;const n=t.length-1,l=this.parts,[a,p]=et(t,e);if(this.el=it.createElement(a,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=tt.nextNode())&&l.length<n;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(E)){const i=p[r++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(E),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?pt:"@"===e[1]?ht:nt})}else l.push({type:6,index:o})}for(const e of t)s.removeAttribute(e)}if(V.test(s.tagName)){const t=s.textContent.split(E),e=t.length-1;if(e>0){s.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],W()),tt.nextNode(),l.push({type:2,index:++o});s.append(t[e],W())}}}else if(8===s.nodeType)if(s.data===U)l.push({type:2,index:o});else{let t=-1;for(;-1!==(t=s.data.indexOf(E,t+1));)l.push({type:7,index:o}),t+=E.length-1}o++}}static createElement(t,e){const i=R.createElement("template");return i.innerHTML=t,i}}function st(t,e,i=t,s){var o,r,n,l;if(e===Y)return e;let a=void 0!==s?null===(o=i._$Cl)||void 0===o?void 0:o[s]:i._$Cu;const p=G(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,i,s)),void 0!==s?(null!==(n=(l=i)._$Cl)&&void 0!==n?n:l._$Cl=[])[s]=a:i._$Cu=a),void 0!==a&&(e=st(t,a._$AS(t,e.values),a,s)),e}class ot{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:R).importNode(i,!0);tt.currentNode=o;let r=tt.nextNode(),n=0,l=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new rt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new ft(r,this,t)),this.v.push(e),a=s[++l]}n!==(null==a?void 0:a.index)&&(r=tt.nextNode(),n++)}return o}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class rt{constructor(t,e,i,s){var o;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=null===(o=null==s?void 0:s.isConnected)||void 0===o||o}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),G(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Y&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):(t=>K(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&G(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=it.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.m(i);else{const t=new ot(o,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}S(t){K(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new rt(this.j(W()),this.j(W()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,i,s,o){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const o=this.strings;let r=!1;if(void 0===o)t=st(this,t,e,0),r=!G(t)||t!==this._$AH&&t!==Y,r&&(this._$AH=t);else{const s=t;let n,l;for(t=o[0],n=0;n<o.length-1;n++)l=st(this,s[i+n],e,n),l===Y&&(l=this._$AH[n]),r||(r=!G(l)||l!==this._$AH[n]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+o[n+1]),this._$AH[n]=l}r&&!s&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends nt{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const at=C?C.emptyScript:"";class pt extends nt{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class ht extends nt{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=st(this,t,e,0))&&void 0!==i?i:J)===Y)return;const s=this._$AH,o=t===J&&s!==J||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==J&&(s===J||o);o&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ft{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}}const ct=window.litHtmlPolyfillSupport;null==ct||ct(it,rt),(null!==(T=globalThis.litHtmlVersions)&&void 0!==T?T:globalThis.litHtmlVersions=[]).push("2.2.7");
162
162
  /**
163
163
  * @license
164
164
  * Copyright 2020 Google LLC
165
165
  * SPDX-License-Identifier: BSD-3-Clause
166
166
  */
167
- const dt=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===dt)return null==t?void 0:t._$litStatic$},xt=t=>({_$litStatic$:t,r:dt}),ut=new Map,gt=(t=>(e,...i)=>{const s=i.length;let o,r;const n=[],l=[];let a,p=0,h=!1;for(;p<s;){for(a=e[p];p<s&&void 0!==(r=i[p],o=yt(r));)a+=o+e[++p],h=!0;l.push(r),n.push(a),p++}if(p===s&&n.push(e[s]),h){const t=n.join("$$lit$$");void 0===(e=ut.get(t))&&(n.raw=n,ut.set(t,e=n)),i=l}return t(e,...i)})(X);var vt,bt=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(vt||(vt={}));const mt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),$t=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),wt={fontFamily:$t,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},kt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",mt),zt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",wt.fontSize,"20px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",wt.fontWeight,"normal"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",wt.letterSpacing,"0.15px"),St=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",wt.lineHeight,"1.2"),Ot=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",wt.textTransform,"inherit"),At=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",mt),It=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",wt.fontSize,"14px"),_t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",wt.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",wt.letterSpacing,"0.105px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",wt.lineHeight,"1.7"),Ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",wt.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",$t),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",wt.fontSize,"16px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",wt.fontWeight,"600"),Dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",wt.letterSpacing,"0.144px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",wt.lineHeight,"1.5"),Wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",wt.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",$t),Kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",wt.fontSize,"14px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",wt.fontWeight,"normal"),Pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",wt.letterSpacing,"0.098px"),qt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",wt.lineHeight,"1.7"),Ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",wt.textTransform,"inherit"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",$t),Lt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",wt.fontSize,"16px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",wt.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",wt.letterSpacing,"0.496px"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",wt.lineHeight,"1.5"),Jt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",wt.textTransform,"inherit"),Qt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",$t),te=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",wt.fontSize,"14px"),ee=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",wt.fontWeight,"normal"),ie=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",wt.letterSpacing,"0.252px"),se=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",wt.lineHeight,"1.4"),oe=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",wt.textTransform,"inherit"),re=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",$t),ne=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",wt.fontSize,"12px"),le=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",wt.fontWeight,"normal"),ae=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",wt.letterSpacing,"0.396px"),pe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",wt.lineHeight,"1.33"),he=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",wt.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",$t),ce=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",wt.fontSize,"10px"),de=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",wt.fontWeight,"normal"),ye=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",wt.letterSpacing,"0.33px"),xe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",wt.lineHeight,"1.6"),ue=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",wt.textTransform,"inherit"),ge=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",$t),ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",wt.fontSize,"10px"),be=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",wt.fontWeight,"normal"),me=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",wt.letterSpacing,"1.5px"),$e=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",wt.lineHeight,"1.6"),we=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",wt.textTransform,"uppercase"),ke=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",$t),ze=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",wt.fontSize,"14px"),je=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",wt.fontWeight,"600"),Ne=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",wt.letterSpacing,"1.246px"),Se=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",wt.lineHeight,"1.15"),Oe=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",wt.textTransform,"uppercase"),Ae=i.css`
167
+ const dt=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===dt)return null==t?void 0:t._$litStatic$},xt=t=>({_$litStatic$:t,r:dt}),ut=new Map,gt=(t=>(e,...i)=>{const s=i.length;let o,r;const n=[],l=[];let a,p=0,h=!1;for(;p<s;){for(a=e[p];p<s&&void 0!==(r=i[p],o=yt(r));)a+=o+e[++p],h=!0;l.push(r),n.push(a),p++}if(p===s&&n.push(e[s]),h){const t=n.join("$$lit$$");void 0===(e=ut.get(t))&&(n.raw=n,ut.set(t,e=n)),i=l}return t(e,...i)})(X);var bt,vt=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(bt||(bt={}));const mt=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.titleFont),$t=e.FtCssVariableFactory.extend("--ft-typography-font-family",e.designSystemVariables.contentFont),wt={fontFamily:$t,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},kt=e.FtCssVariableFactory.extend("--ft-typography-title-font-family",mt),zt=e.FtCssVariableFactory.extend("--ft-typography-title-font-size",wt.fontSize,"20px"),jt=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight",wt.fontWeight,"normal"),Nt=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",wt.letterSpacing,"0.15px"),St=e.FtCssVariableFactory.extend("--ft-typography-title-line-height",wt.lineHeight,"1.2"),Ot=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform",wt.textTransform,"inherit"),At=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",mt),It=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",wt.fontSize,"14px"),_t=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",wt.fontWeight,"normal"),Mt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",wt.letterSpacing,"0.105px"),Tt=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",wt.lineHeight,"1.7"),Ct=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",wt.textTransform,"inherit"),Bt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",$t),Et=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",wt.fontSize,"16px"),Ut=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",wt.fontWeight,"600"),Dt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",wt.letterSpacing,"0.144px"),Rt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",wt.lineHeight,"1.5"),Wt=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",wt.textTransform,"inherit"),Gt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",$t),Kt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",wt.fontSize,"14px"),Zt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",wt.fontWeight,"normal"),Pt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",wt.letterSpacing,"0.098px"),qt=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",wt.lineHeight,"1.7"),Ft=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",wt.textTransform,"inherit"),Ht=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family",$t),Lt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size",wt.fontSize,"16px"),Vt=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",wt.fontWeight,"normal"),Xt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",wt.letterSpacing,"0.496px"),Yt=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height",wt.lineHeight,"1.5"),Jt=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",wt.textTransform,"inherit"),Qt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family",$t),te=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size",wt.fontSize,"14px"),ee=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",wt.fontWeight,"normal"),ie=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",wt.letterSpacing,"0.252px"),se=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height",wt.lineHeight,"1.4"),oe=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",wt.textTransform,"inherit"),re=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family",$t),ne=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size",wt.fontSize,"12px"),le=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",wt.fontWeight,"normal"),ae=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",wt.letterSpacing,"0.396px"),pe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height",wt.lineHeight,"1.33"),he=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",wt.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",$t),ce=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",wt.fontSize,"10px"),de=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",wt.fontWeight,"normal"),ye=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",wt.letterSpacing,"0.33px"),xe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",wt.lineHeight,"1.6"),ue=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",wt.textTransform,"inherit"),ge=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family",$t),be=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size",wt.fontSize,"10px"),ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",wt.fontWeight,"normal"),me=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",wt.letterSpacing,"1.5px"),$e=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height",wt.lineHeight,"1.6"),we=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",wt.textTransform,"uppercase"),ke=e.FtCssVariableFactory.extend("--ft-typography-button-font-family",$t),ze=e.FtCssVariableFactory.extend("--ft-typography-button-font-size",wt.fontSize,"14px"),je=e.FtCssVariableFactory.extend("--ft-typography-button-font-weight",wt.fontWeight,"600"),Ne=e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",wt.letterSpacing,"1.246px"),Se=e.FtCssVariableFactory.extend("--ft-typography-button-line-height",wt.lineHeight,"1.15"),Oe=e.FtCssVariableFactory.extend("--ft-typography-button-text-transform",wt.textTransform,"uppercase"),Ae=i.css`
168
168
  .ft-typography--title {
169
169
  font-family: ${kt};
170
170
  font-size: ${zt};
@@ -240,8 +240,8 @@ const dt=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===dt)return null==t?void
240
240
  `,Ue=i.css`
241
241
  .ft-typography--overline {
242
242
  font-family: ${ge};
243
- font-size: ${ve};
244
- font-weight: ${be};
243
+ font-size: ${be};
244
+ font-weight: ${ve};
245
245
  letter-spacing: ${me};
246
246
  line-height: ${$e};
247
247
  text-transform: ${we};
@@ -255,7 +255,7 @@ const dt=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===dt)return null==t?void
255
255
  line-height: ${Se};
256
256
  text-transform: ${Oe};
257
257
  }
258
- `;class Re extends e.FtLitElement{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?gt`
258
+ `;class Re extends e.FtLitElement{constructor(){super(...arguments),this.variant=bt.body1}render(){return this.element?gt`
259
259
  <${xt(this.element)}
260
260
  class="ft-typography ft-typography--${this.variant}">
261
261
  <slot></slot>
@@ -266,33 +266,36 @@ const dt=Symbol.for(""),yt=t=>{if((null==t?void 0:t.r)===dt)return null==t?void
266
266
  .ft-typography {
267
267
  vertical-align: inherit;
268
268
  }
269
- `],bt([s.property()],Re.prototype,"element",void 0),bt([s.property()],Re.prototype,"variant",void 0),e.customElement("ft-typography")(Re);var We,Ge=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};t.FtTabsAlignment=void 0,(We=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",We.right="right",We.justify="justify";const Ke={colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Ze extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Pe extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e.Debouncer(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return i.html`
270
- <div class="${n.classMap(t)}">
271
- <div class="ft-tabs--align-${this.alignTabs}" role="tablist">
269
+ `],vt([s.property()],Re.prototype,"element",void 0),vt([s.property()],Re.prototype,"variant",void 0),e.customElement("ft-typography")(Re);var We,Ge=function(t,e,i,s){for(var o,r=arguments.length,n=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(e,i,n):o(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};t.FtTabsAlignment=void 0,(We=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",We.right="right",We.justify="justify";const Ke={colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system")};class Ze extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class Pe extends e.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e.Debouncer(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return i.html`
270
+ <div class="${n.classMap(t)}" part="container">
271
+ <div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
272
272
  ${r.repeat(this.ftTabs,((t,e)=>i.html`
273
273
  <button class="${n.classMap({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
274
274
  title="${t.label}"
275
275
  ?disabled=${t.disabled}
276
276
  @click=${()=>this.activeIndex=e}
277
277
  role="tab"
278
+ part="tab"
278
279
  id="${t.ariaLabelledBy}"
279
280
  aria-label="${t.label}"
280
281
  aria-selected="${t.active?"true":"false"}"
281
282
  tabindex="${t.disabled?"-1":"0"}"
282
283
  aria-controls="${t.id}"
283
284
  >
284
- <ft-ripple primary ?disabled=${t.disabled}></ft-ripple>
285
- <ft-icon class="ft-tabs--tab-icon" variant="${t.iconVariant}">
285
+ <ft-ripple primary ?disabled=${t.disabled} part="tab-ripple"></ft-ripple>
286
+ <ft-icon class="ft-tabs--tab-icon" part="tab-icon" variant="${t.iconVariant}">
286
287
  ${t.icon}
287
288
  </ft-icon>
288
- <ft-typography class="ft-tabs--tab-label" variant="${vt.body2}">
289
+ <ft-typography class="ft-tabs--tab-label"
290
+ part="tab-label"
291
+ variant="${bt.body2}">
289
292
  ${t.label}
290
293
  </ft-typography>
291
294
  </button>
292
295
  `))}
293
- <div class="ft-tabs--active-tab-indicator"></div>
296
+ <div class="ft-tabs--active-tab-indicator" part="active-tab-indicator"></div>
294
297
  </div>
295
- <div class="ft-tabs--content">
298
+ <div class="ft-tabs--content" part="content">
296
299
  <slot @slotchange=${this.onContentChange}></slot>
297
300
  </div>
298
301
  </div>
@@ -134,14 +134,14 @@ const xt=1,vt=2,bt=t=>(...e)=>({_$litDirective$:t,values:e});class gt{constructo
134
134
  ${wt(this.getIcon())}
135
135
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
136
136
  </i>
137
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===St.file_format?null!==(t=Ot[i.toUpperCase()])&&void 0!==t?t:i:this.variant===St.fluid_topics?null!==(e=$t[i.toUpperCase()])&&void 0!==e?e:i:H}}Mt.elementDefinitions={},Nt([o()],Mt.prototype,"variant",void 0),Nt([r("slot")],Mt.prototype,"slottedContent",void 0),a("ft-icon")(Mt);var Ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class jt extends yt{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=St.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0"),this.id="tab-content-"+this.uniqueId,this.ariaLabelledBy="tab-"+this.uniqueId}render(){return W`
137
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===St.file_format?null!==(t=Ot[i.toUpperCase()])&&void 0!==t?t:i:this.variant===St.fluid_topics?null!==(e=$t[i.toUpperCase()])&&void 0!==e?e:i:H}}Mt.elementDefinitions={},Nt([o()],Mt.prototype,"variant",void 0),Nt([r("slot")],Mt.prototype,"slottedContent",void 0),a("ft-icon")(Mt);var Ut=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};class jt extends yt{constructor(){super(...arguments),this.label="",this.icon="",this.iconVariant=St.material,this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return W`
138
138
  <style>
139
139
  :host {
140
140
  display: ${f(this.active?"block":"none")};
141
141
  }
142
142
  </style>
143
143
  <slot></slot>
144
- `}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}jt.elementDefinitions={},Ut([o({type:String})],jt.prototype,"label",void 0),Ut([o({type:String})],jt.prototype,"icon",void 0),Ut([o()],jt.prototype,"iconVariant",void 0),Ut([o({type:Boolean})],jt.prototype,"active",void 0),Ut([o({type:Boolean})],jt.prototype,"disabled",void 0),Ut([o({type:String,reflect:!0})],jt.prototype,"id",void 0),Ut([o({type:String,reflect:!0,attribute:"aria-labelledby"})],jt.prototype,"ariaLabelledBy",void 0);
144
+ `}updated(t){super.updated(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control",this.dispatchEvent(new Event("updated"))}}jt.elementDefinitions={},Ut([o({type:String})],jt.prototype,"label",void 0),Ut([o({type:String})],jt.prototype,"icon",void 0),Ut([o()],jt.prototype,"iconVariant",void 0),Ut([o({type:Boolean})],jt.prototype,"active",void 0),Ut([o({type:Boolean})],jt.prototype,"disabled",void 0),Ut([o({type:String,reflect:!0})],jt.prototype,"id",void 0),Ut([o({type:String,reflect:!0,attribute:"aria-labelledby"})],jt.prototype,"ariaLabelledBy",void 0);
145
145
  /**
146
146
  * @license
147
147
  * Copyright 2020 Google LLC
@@ -367,32 +367,35 @@ const oe=Symbol.for(""),se=t=>{if((null==t?void 0:t.r)===oe)return null==t?void
367
367
  vertical-align: inherit;
368
368
  }
369
369
  `],pe([o()],Ri.prototype,"element",void 0),pe([o()],Ri.prototype,"variant",void 0),a("ft-typography")(Ri);var Mi,Ui=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};t.FtTabsAlignment=void 0,(Mi=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",Mi.right="right",Mi.justify="justify";const ji={colorSurface:ht.external(ct.colorSurface,"Design system"),colorPrimary:ht.external(ct.colorPrimary,"Design system"),colorOnSurfaceMedium:ht.external(ct.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ht.external(ct.colorOnSurfaceDisabled,"Design system")};class Fi extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class zi extends yt{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new e(20),this.scheduleRequestUpdate=()=>this.updateDebouncer.run((()=>this.requestUpdate())),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){const t={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense};return W`
370
- <div class="${_t(t)}">
371
- <div class="ft-tabs--align-${this.alignTabs}" role="tablist">
370
+ <div class="${_t(t)}" part="container">
371
+ <div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
372
372
  ${Dt(this.ftTabs,((t,e)=>W`
373
373
  <button class="${_t({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
374
374
  title="${t.label}"
375
375
  ?disabled=${t.disabled}
376
376
  @click=${()=>this.activeIndex=e}
377
377
  role="tab"
378
+ part="tab"
378
379
  id="${t.ariaLabelledBy}"
379
380
  aria-label="${t.label}"
380
381
  aria-selected="${t.active?"true":"false"}"
381
382
  tabindex="${t.disabled?"-1":"0"}"
382
383
  aria-controls="${t.id}"
383
384
  >
384
- <ft-ripple primary ?disabled=${t.disabled}></ft-ripple>
385
- <ft-icon class="ft-tabs--tab-icon" variant="${t.iconVariant}">
385
+ <ft-ripple primary ?disabled=${t.disabled} part="tab-ripple"></ft-ripple>
386
+ <ft-icon class="ft-tabs--tab-icon" part="tab-icon" variant="${t.iconVariant}">
386
387
  ${t.icon}
387
388
  </ft-icon>
388
- <ft-typography class="ft-tabs--tab-label" variant="${le.body2}">
389
+ <ft-typography class="ft-tabs--tab-label"
390
+ part="tab-label"
391
+ variant="${le.body2}">
389
392
  ${t.label}
390
393
  </ft-typography>
391
394
  </button>
392
395
  `))}
393
- <div class="ft-tabs--active-tab-indicator"></div>
396
+ <div class="ft-tabs--active-tab-indicator" part="active-tab-indicator"></div>
394
397
  </div>
395
- <div class="ft-tabs--content">
398
+ <div class="ft-tabs--content" part="content">
396
399
  <slot @slotchange=${this.onContentChange}></slot>
397
400
  </div>
398
401
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-tabs",
3
- "version": "0.3.0",
3
+ "version": "0.3.3",
4
4
  "description": "Generic tabs component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -11,19 +11,19 @@
11
11
  "web": "build/ft-tabs.min.js",
12
12
  "typings": "build/index",
13
13
  "files": [
14
- "build/*.ts",
15
- "build/*.js"
14
+ "build/**/*.ts",
15
+ "build/**/*.js"
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "^0.3.0",
23
- "@fluid-topics/ft-ripple": "^0.3.0",
24
- "@fluid-topics/ft-typography": "^0.3.0",
25
- "@fluid-topics/ft-wc-utils": "^0.3.0",
22
+ "@fluid-topics/ft-icon": "0.3.3",
23
+ "@fluid-topics/ft-ripple": "0.3.3",
24
+ "@fluid-topics/ft-typography": "0.3.3",
25
+ "@fluid-topics/ft-wc-utils": "0.3.3",
26
26
  "lit": "2.2.8"
27
27
  },
28
- "gitHead": "2019aceb4a578402211f951ec3d68dbc0acf25c7"
28
+ "gitHead": "b8846f1a72db01834c7217897043ef8cbf7d06fb"
29
29
  }