@fluid-topics/ft-radio 0.3.12 → 0.3.14

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.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(At){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,r=new WeakMap,s=new WeakMap,n=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,a);const h={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(r,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(n.set(r,h),h.standInClass=c);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)s.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=n.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,r=o._getDefinition(e);return r?u(i,r):s.set(i,o),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){r.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,r){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,r),i.call(this,s,t,r)}else o.call(this,s,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);r.call(this,o),i.call(this,o,t,null)}else r.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const v=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class s{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),r=e.get(o)||[];this[+i]=t,r.push(t),e.set(o,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(jt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -93,7 +93,96 @@ const gt=1;
93
93
  * Copyright 2018 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
95
  */
96
- const vt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==gt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return K}});var bt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const mt=ct.extend("--ft-ripple-color",pt.colorContent),xt=mt,wt=ct.extend("--ft-ripple-background-color",mt),$t=ct.external(pt.opacityContentOnSurfacePressed,"Design system"),Ot=ct.external(pt.opacityContentOnSurfaceHover,"Design system"),St=ct.external(pt.opacityContentOnSurfaceFocused,"Design system"),Ct=ct.external(pt.opacityContentOnSurfaceSelected,"Design system"),kt=ct.extend("--ft-ripple-color",pt.colorPrimary),Nt=kt,Rt=ct.extend("--ft-ripple-background-color",kt),Et=ct.extend("--ft-ripple-color",pt.colorSecondary),Mt=Et,Ut=ct.extend("--ft-ripple-background-color",Et);class Ft extends yt{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(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:o,y:r}=this.getCoordinates(t),s=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!=o?o-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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 H`
96
+ const vt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){var e;if(super(t),t.type!==gt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const r=t.element.classList;this.nt.forEach((t=>{t in e||(r.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(r.add(t),this.nt.add(t)):(r.remove(t),this.nt.delete(t)))}return K}}),bt=ct.extend("--ft-ripple-color",pt.colorContent),mt=bt,xt=ct.extend("--ft-ripple-background-color",bt),wt=ct.external(pt.opacityContentOnSurfacePressed,"Design system"),$t=ct.external(pt.opacityContentOnSurfaceHover,"Design system"),Ot=ct.external(pt.opacityContentOnSurfaceFocused,"Design system"),St=ct.external(pt.opacityContentOnSurfaceSelected,"Design system"),Ct=ct.extend("--ft-ripple-color",pt.colorPrimary),kt=Ct,Nt=ct.extend("--ft-ripple-background-color",Ct),Rt=ct.extend("--ft-ripple-color",pt.colorSecondary),Et=Rt,Mt=ct.extend("--ft-ripple-background-color",Rt),Ut=y`
97
+ :host {
98
+ display: contents;
99
+ }
100
+
101
+ .ft-ripple {
102
+ position: absolute;
103
+ inset: 0;
104
+ pointer-events: none;
105
+ }
106
+
107
+ .ft-ripple:not(.ft-ripple--unbounded) {
108
+ overflow: hidden;
109
+ }
110
+
111
+ .ft-ripple .ft-ripple--background,
112
+ .ft-ripple .ft-ripple--effect {
113
+ position: absolute;
114
+ opacity: 0;
115
+ }
116
+
117
+ .ft-ripple .ft-ripple--background {
118
+ background-color: ${xt};
119
+ }
120
+
121
+ .ft-ripple .ft-ripple--effect {
122
+ background-color: ${mt};
123
+ }
124
+
125
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
126
+ background-color: ${Mt};
127
+ }
128
+
129
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
130
+ background-color: ${Et};
131
+ }
132
+
133
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
134
+ background-color: ${Nt};
135
+ }
136
+
137
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
138
+ background-color: ${kt};
139
+ }
140
+
141
+ .ft-ripple .ft-ripple--background {
142
+ top: 0;
143
+ left: 0;
144
+ height: 100%;
145
+ width: 100%;
146
+ transition: opacity 75ms linear;
147
+ }
148
+
149
+ .ft-ripple .ft-ripple--effect,
150
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
151
+ border-radius: 50%;
152
+ }
153
+
154
+ .ft-ripple .ft-ripple--effect {
155
+ transform: translate(-50%, -50%) scale(0.15);
156
+ transition: transform 300ms ease, opacity 75ms linear;
157
+ }
158
+
159
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
160
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
161
+ left: 50%;
162
+ top: 50%;
163
+ }
164
+
165
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
166
+ transform: translate(-50%, -50%);
167
+ }
168
+
169
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
170
+ opacity: ${$t};
171
+ }
172
+
173
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
174
+ opacity: ${St};
175
+ }
176
+
177
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
178
+ opacity: ${Ot};
179
+ }
180
+
181
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
182
+ opacity: ${wt};
183
+ transform: translate(-50%, -50%) scale(1);
184
+ }
185
+ `;var Ft=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class At extends yt{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(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:o,y:r}=this.getCoordinates(t),s=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!=o?o-s.x:s.width/2),this.originY=Math.round(null!=r?r-s.y:s.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 H`
97
186
  <style>
98
187
  .ft-ripple .ft-ripple--effect,
99
188
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -110,102 +199,13 @@ const vt=(t=>(...e)=>({_$litDirective$:t,values:e}))(class extends class{constru
110
199
  <div class="ft-ripple--background"></div>
111
200
  <div class="ft-ripple--effect"></div>
112
201
  </div>
113
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ft.elementDefinitions={},Ft.styles=y`
114
- :host {
115
- display: contents;
116
- }
117
-
118
- .ft-ripple {
119
- position: absolute;
120
- inset: 0;
121
- pointer-events: none;
122
- }
123
-
124
- .ft-ripple:not(.ft-ripple--unbounded) {
125
- overflow: hidden;
126
- }
127
-
128
- .ft-ripple .ft-ripple--background,
129
- .ft-ripple .ft-ripple--effect {
130
- position: absolute;
131
- opacity: 0;
132
- }
133
-
134
- .ft-ripple .ft-ripple--background {
135
- background-color: ${wt};
136
- }
137
-
138
- .ft-ripple .ft-ripple--effect {
139
- background-color: ${xt};
140
- }
141
-
142
- .ft-ripple.ft-ripple--secondary .ft-ripple--background {
143
- background-color: ${Ut};
144
- }
145
-
146
- .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
147
- background-color: ${Mt};
148
- }
149
-
150
- .ft-ripple.ft-ripple--primary .ft-ripple--background {
151
- background-color: ${Rt};
152
- }
153
-
154
- .ft-ripple.ft-ripple--primary .ft-ripple--effect {
155
- background-color: ${Nt};
156
- }
157
-
158
- .ft-ripple .ft-ripple--background {
159
- top: 0;
160
- left: 0;
161
- height: 100%;
162
- width: 100%;
163
- transition: opacity 75ms linear;
164
- }
165
-
166
- .ft-ripple .ft-ripple--effect,
167
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
168
- border-radius: 50%;
169
- }
170
-
171
- .ft-ripple .ft-ripple--effect {
172
- transform: translate(-50%, -50%) scale(0.15);
173
- transition: transform 300ms ease, opacity 75ms linear;
174
- }
175
-
176
- .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
177
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
178
- left: 50%;
179
- top: 50%;
180
- }
181
-
182
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
183
- transform: translate(-50%, -50%);
184
- }
185
-
186
- .ft-ripple.ft-ripple--hovered .ft-ripple--background {
187
- opacity: ${Ot};
188
- }
189
-
190
- .ft-ripple.ft-ripple--selected .ft-ripple--background {
191
- opacity: ${Ct};
192
- }
193
-
194
- .ft-ripple.ft-ripple--focused .ft-ripple--background {
195
- opacity: ${St};
196
- }
197
-
198
- .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
199
- opacity: ${$t};
200
- transform: translate(-50%, -50%) scale(1);
201
- }
202
- `,bt([o({type:Boolean})],Ft.prototype,"primary",void 0),bt([o({type:Boolean})],Ft.prototype,"secondary",void 0),bt([o({type:Boolean})],Ft.prototype,"unbounded",void 0),bt([o({type:Boolean})],Ft.prototype,"activated",void 0),bt([o({type:Boolean})],Ft.prototype,"selected",void 0),bt([o({type:Boolean})],Ft.prototype,"disabled",void 0),bt([r()],Ft.prototype,"hovered",void 0),bt([r()],Ft.prototype,"focused",void 0),bt([r()],Ft.prototype,"pressed",void 0),bt([r()],Ft.prototype,"rippling",void 0),bt([r()],Ft.prototype,"rippleSize",void 0),bt([r()],Ft.prototype,"originX",void 0),bt([r()],Ft.prototype,"originY",void 0),bt([n(".ft-ripple")],Ft.prototype,"ripple",void 0),bt([n(".ft-ripple--effect")],Ft.prototype,"rippleEffect",void 0),h("ft-ripple")(Ft);
202
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,r;return null!=e.x?({x:o,y:r}=e):null!=i.touches&&(o=i.touches[0].clientX,r=i.touches[0].clientY),{x:o,y:r}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}At.elementDefinitions={},At.styles=Ut,Ft([o({type:Boolean})],At.prototype,"primary",void 0),Ft([o({type:Boolean})],At.prototype,"secondary",void 0),Ft([o({type:Boolean})],At.prototype,"unbounded",void 0),Ft([o({type:Boolean})],At.prototype,"activated",void 0),Ft([o({type:Boolean})],At.prototype,"selected",void 0),Ft([o({type:Boolean})],At.prototype,"disabled",void 0),Ft([r()],At.prototype,"hovered",void 0),Ft([r()],At.prototype,"focused",void 0),Ft([r()],At.prototype,"pressed",void 0),Ft([r()],At.prototype,"rippling",void 0),Ft([r()],At.prototype,"rippleSize",void 0),Ft([r()],At.prototype,"originX",void 0),Ft([r()],At.prototype,"originY",void 0),Ft([n(".ft-ripple")],At.prototype,"ripple",void 0),Ft([n(".ft-ripple--effect")],At.prototype,"rippleEffect",void 0),h("ft-ripple")(At);
203
203
  /**
204
204
  * @license
205
205
  * Copyright 2020 Google LLC
206
206
  * SPDX-License-Identifier: BSD-3-Clause
207
207
  */
208
- const At=Symbol.for(""),jt=t=>{if((null==t?void 0:t.r)===At)return null==t?void 0:t._$litStatic$},Lt=t=>({_$litStatic$:t,r:At}),Bt=new Map,Pt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=jt(s));)l+=r+e[++h],c=!0;a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Bt.get(t))&&(n.raw=n,Bt.set(t,e=n)),i=a}return t(e,...i)})(H);var zt,Dt=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>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"}(zt||(zt={}));const Tt=ct.extend("--ft-typography-font-family",pt.titleFont),_t=ct.extend("--ft-typography-font-family",pt.contentFont),Wt={fontFamily:_t,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ht=ct.extend("--ft-typography-title-font-family",Tt),Kt=ct.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),It=ct.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),Vt=ct.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Zt=ct.extend("--ft-typography-title-line-height",Wt.lineHeight,"1.2"),Jt=ct.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Xt=ct.extend("--ft-typography-title-dense-font-family",Tt),qt=ct.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Yt=ct.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),Gt=ct.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),Qt=ct.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"1.7"),te=ct.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),ee=ct.extend("--ft-typography-subtitle1-font-family",_t),ie=ct.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),oe=ct.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),re=ct.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),se=ct.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"1.5"),ne=ct.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),ae=ct.extend("--ft-typography-subtitle2-font-family",_t),le=ct.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),he=ct.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),ce=ct.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),pe=ct.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"1.7"),fe=ct.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),de=ct.extend("--ft-typography-body1-font-family",_t),ue=ct.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),ye=ct.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),ge=ct.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),ve=ct.extend("--ft-typography-body1-line-height",Wt.lineHeight,"1.5"),be=ct.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit"),me=ct.extend("--ft-typography-body2-font-family",_t),xe=ct.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),we=ct.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),$e=ct.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),Oe=ct.extend("--ft-typography-body2-line-height",Wt.lineHeight,"1.4"),Se=ct.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),Ce=ct.extend("--ft-typography-caption-font-family",_t),ke=ct.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),Ne=ct.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),Re=ct.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),Ee=ct.extend("--ft-typography-caption-line-height",Wt.lineHeight,"1.33"),Me=ct.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit"),Ue=ct.extend("--ft-typography-breadcrumb-font-family",_t),Fe=ct.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),Ae=ct.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),je=ct.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Le=ct.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"1.6"),Be=ct.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Pe=ct.extend("--ft-typography-overline-font-family",_t),ze=ct.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),De=ct.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Te=ct.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),_e=ct.extend("--ft-typography-overline-line-height",Wt.lineHeight,"1.6"),We=ct.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),He=ct.extend("--ft-typography-button-font-family",_t),Ke=ct.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),Ie=ct.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),Ve=ct.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),Ze=ct.extend("--ft-typography-button-line-height",Wt.lineHeight,"1.15"),Je=ct.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase"),Xe=y`
208
+ const jt=Symbol.for(""),Lt=t=>{if((null==t?void 0:t.r)===jt)return null==t?void 0:t._$litStatic$},Bt=t=>({_$litStatic$:t,r:jt}),Pt=new Map,zt=(t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],r=Lt(s));)l+=r+e[++h],c=!0;a.push(s),n.push(l),h++}if(h===o&&n.push(e[o]),c){const t=n.join("$$lit$$");void 0===(e=Pt.get(t))&&(n.raw=n,Pt.set(t,e=n)),i=a}return t(e,...i)})(H);var Dt;!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"}(Dt||(Dt={}));const Tt=ct.extend("--ft-typography-font-family",pt.titleFont),_t=ct.extend("--ft-typography-font-family",pt.contentFont),Wt={fontFamily:_t,fontSize:ct.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ct.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ct.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ct.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ct.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ht=ct.extend("--ft-typography-title-font-family",Tt),Kt=ct.extend("--ft-typography-title-font-size",Wt.fontSize,"20px"),It=ct.extend("--ft-typography-title-font-weight",Wt.fontWeight,"normal"),Vt=ct.extend("--ft-typography-title-letter-spacing",Wt.letterSpacing,"0.15px"),Zt=ct.extend("--ft-typography-title-line-height",Wt.lineHeight,"1.2"),Jt=ct.extend("--ft-typography-title-text-transform",Wt.textTransform,"inherit"),Xt=ct.extend("--ft-typography-title-dense-font-family",Tt),qt=ct.extend("--ft-typography-title-dense-font-size",Wt.fontSize,"14px"),Yt=ct.extend("--ft-typography-title-dense-font-weight",Wt.fontWeight,"normal"),Gt=ct.extend("--ft-typography-title-dense-letter-spacing",Wt.letterSpacing,"0.105px"),Qt=ct.extend("--ft-typography-title-dense-line-height",Wt.lineHeight,"1.7"),te=ct.extend("--ft-typography-title-dense-text-transform",Wt.textTransform,"inherit"),ee=ct.extend("--ft-typography-subtitle1-font-family",_t),ie=ct.extend("--ft-typography-subtitle1-font-size",Wt.fontSize,"16px"),oe=ct.extend("--ft-typography-subtitle1-font-weight",Wt.fontWeight,"600"),re=ct.extend("--ft-typography-subtitle1-letter-spacing",Wt.letterSpacing,"0.144px"),se=ct.extend("--ft-typography-subtitle1-line-height",Wt.lineHeight,"1.5"),ne=ct.extend("--ft-typography-subtitle1-text-transform",Wt.textTransform,"inherit"),ae=ct.extend("--ft-typography-subtitle2-font-family",_t),le=ct.extend("--ft-typography-subtitle2-font-size",Wt.fontSize,"14px"),he=ct.extend("--ft-typography-subtitle2-font-weight",Wt.fontWeight,"normal"),ce=ct.extend("--ft-typography-subtitle2-letter-spacing",Wt.letterSpacing,"0.098px"),pe=ct.extend("--ft-typography-subtitle2-line-height",Wt.lineHeight,"1.7"),fe=ct.extend("--ft-typography-subtitle2-text-transform",Wt.textTransform,"inherit"),de=ct.extend("--ft-typography-body1-font-family",_t),ue=ct.extend("--ft-typography-body1-font-size",Wt.fontSize,"16px"),ye=ct.extend("--ft-typography-body1-font-weight",Wt.fontWeight,"normal"),ge=ct.extend("--ft-typography-body1-letter-spacing",Wt.letterSpacing,"0.496px"),ve=ct.extend("--ft-typography-body1-line-height",Wt.lineHeight,"1.5"),be=ct.extend("--ft-typography-body1-text-transform",Wt.textTransform,"inherit"),me=ct.extend("--ft-typography-body2-font-family",_t),xe=ct.extend("--ft-typography-body2-font-size",Wt.fontSize,"14px"),we=ct.extend("--ft-typography-body2-font-weight",Wt.fontWeight,"normal"),$e=ct.extend("--ft-typography-body2-letter-spacing",Wt.letterSpacing,"0.252px"),Oe=ct.extend("--ft-typography-body2-line-height",Wt.lineHeight,"1.4"),Se=ct.extend("--ft-typography-body2-text-transform",Wt.textTransform,"inherit"),Ce=ct.extend("--ft-typography-caption-font-family",_t),ke=ct.extend("--ft-typography-caption-font-size",Wt.fontSize,"12px"),Ne=ct.extend("--ft-typography-caption-font-weight",Wt.fontWeight,"normal"),Re=ct.extend("--ft-typography-caption-letter-spacing",Wt.letterSpacing,"0.396px"),Ee=ct.extend("--ft-typography-caption-line-height",Wt.lineHeight,"1.33"),Me=ct.extend("--ft-typography-caption-text-transform",Wt.textTransform,"inherit"),Ue=ct.extend("--ft-typography-breadcrumb-font-family",_t),Fe=ct.extend("--ft-typography-breadcrumb-font-size",Wt.fontSize,"10px"),Ae=ct.extend("--ft-typography-breadcrumb-font-weight",Wt.fontWeight,"normal"),je=ct.extend("--ft-typography-breadcrumb-letter-spacing",Wt.letterSpacing,"0.33px"),Le=ct.extend("--ft-typography-breadcrumb-line-height",Wt.lineHeight,"1.6"),Be=ct.extend("--ft-typography-breadcrumb-text-transform",Wt.textTransform,"inherit"),Pe=ct.extend("--ft-typography-overline-font-family",_t),ze=ct.extend("--ft-typography-overline-font-size",Wt.fontSize,"10px"),De=ct.extend("--ft-typography-overline-font-weight",Wt.fontWeight,"normal"),Te=ct.extend("--ft-typography-overline-letter-spacing",Wt.letterSpacing,"1.5px"),_e=ct.extend("--ft-typography-overline-line-height",Wt.lineHeight,"1.6"),We=ct.extend("--ft-typography-overline-text-transform",Wt.textTransform,"uppercase"),He=ct.extend("--ft-typography-button-font-family",_t),Ke=ct.extend("--ft-typography-button-font-size",Wt.fontSize,"14px"),Ie=ct.extend("--ft-typography-button-font-weight",Wt.fontWeight,"600"),Ve=ct.extend("--ft-typography-button-letter-spacing",Wt.letterSpacing,"1.246px"),Ze=ct.extend("--ft-typography-button-line-height",Wt.lineHeight,"1.15"),Je=ct.extend("--ft-typography-button-text-transform",Wt.textTransform,"uppercase"),Xe=y`
209
209
  .ft-typography--title {
210
210
  font-family: ${Ht};
211
211
  font-size: ${Kt};
@@ -296,18 +296,97 @@ const At=Symbol.for(""),jt=t=>{if((null==t?void 0:t.r)===At)return null==t?void
296
296
  line-height: ${Ze};
297
297
  text-transform: ${Je};
298
298
  }
299
- `;class si extends yt{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Pt`
300
- <${Lt(this.element)}
299
+ `,si=y`
300
+ .ft-typography {
301
+ vertical-align: inherit;
302
+ }
303
+ `;var ni=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class ai extends yt{constructor(){super(...arguments),this.variant=Dt.body1}render(){return this.element?zt`
304
+ <${Bt(this.element)}
301
305
  class="ft-typography ft-typography--${this.variant}">
302
306
  <slot></slot>
303
- </${Lt(this.element)}>
304
- `:Pt`
307
+ </${Bt(this.element)}>
308
+ `:zt`
305
309
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
306
- `}}si.styles=[Xe,qe,Ye,Ge,Qe,ti,ei,ii,oi,ri,y`
307
- .ft-typography {
308
- vertical-align: inherit;
309
- }
310
- `],Dt([o()],si.prototype,"element",void 0),Dt([o()],si.prototype,"variant",void 0),h("ft-typography")(si);var ni=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const ai={textColor:ct.extend("--ft-radio-text-color",pt.colorOnSurfaceHigh),colorPrimary:ct.external(pt.colorPrimary,"Design system"),colorOnPrimary:ct.external(pt.colorOnPrimary,"Design system"),borderColor:ct.extend("--ft-radio-border-color",pt.colorOnSurfaceMedium),colorOnSurfaceDisabled:ct.external(pt.colorOnSurfaceDisabled,"Design system")};class li extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class hi extends yt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return H`
310
+ `}}ai.styles=[Xe,qe,Ye,Ge,Qe,ti,ei,ii,oi,ri,si],ni([o()],ai.prototype,"element",void 0),ni([o()],ai.prototype,"variant",void 0),h("ft-typography")(ai);const li={textColor:ct.extend("--ft-radio-text-color",pt.colorOnSurfaceHigh),colorPrimary:ct.external(pt.colorPrimary,"Design system"),colorOnPrimary:ct.external(pt.colorOnPrimary,"Design system"),borderColor:ct.extend("--ft-radio-border-color",pt.colorOnSurfaceMedium),colorOnSurfaceDisabled:ct.external(pt.colorOnSurfaceDisabled,"Design system")},hi=y`
311
+ * {
312
+ box-sizing: border-box;
313
+ }
314
+
315
+ .ft-radio {
316
+ box-sizing: border-box;
317
+ color: ${li.textColor};
318
+
319
+ display: inline-flex;
320
+ align-items: center;
321
+ gap: 4px;
322
+ }
323
+
324
+ .ft-radio--disabled {
325
+ color: ${li.colorOnSurfaceDisabled};
326
+ }
327
+
328
+ input {
329
+ opacity: 0;
330
+ position: absolute;
331
+ width: 40px;
332
+ height: 40px;
333
+ margin: 0;
334
+ }
335
+
336
+ .ft-radio--box-container {
337
+ position: relative;
338
+ width: 40px;
339
+ height: 40px;
340
+
341
+ display: flex;
342
+ justify-content: center;
343
+ align-items: center;
344
+ flex-shrink: 0;
345
+ }
346
+
347
+ .ft-radio--box {
348
+ border: 2px solid ${li.borderColor};
349
+ border-radius: 50%;
350
+
351
+ display: flex;
352
+ justify-content: center;
353
+ align-items: center;
354
+
355
+ width: 20px;
356
+ height: 20px;
357
+ }
358
+
359
+ .ft-radio--box:after {
360
+ content: " ";
361
+ background-color: ${li.colorPrimary};
362
+
363
+ border-radius: 50%;
364
+
365
+ width: 12px;
366
+ height: 12px;
367
+
368
+ transform: scale(0);
369
+ transition: transform 100ms ease;
370
+ }
371
+
372
+ .ft-radio--checked .ft-radio--box {
373
+ border-color: ${li.colorPrimary};
374
+ }
375
+
376
+
377
+ .ft-radio--checked .ft-radio--box:after {
378
+ transform: scale(1);
379
+ }
380
+
381
+ .ft-radio--disabled .ft-radio--box {
382
+ border-color: ${li.colorOnSurfaceDisabled};
383
+ background-color: transparent;
384
+ }
385
+
386
+ .ft-radio--disabled .ft-radio--box:after {
387
+ background-color: ${li.colorOnSurfaceDisabled};
388
+ }
389
+ `;var ci=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class pi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class fi extends yt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return H`
311
390
  <div class="${vt(t)}">
312
391
  <div class="ft-radio--box-container">
313
392
  <ft-ripple
@@ -332,93 +411,14 @@ const At=Symbol.for(""),jt=t=>{if((null==t?void 0:t.r)===At)return null==t?void
332
411
  </ft-typography>
333
412
  </label>
334
413
  </div>
335
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new li(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new li(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}hi.elementDefinitions={"ft-ripple":Ft,"ft-typography":si},hi.styles=y`
336
- * {
337
- box-sizing: border-box;
338
- }
339
-
340
- .ft-radio {
341
- box-sizing: border-box;
342
- color: ${ai.textColor};
343
-
344
- display: inline-flex;
345
- align-items: center;
346
- gap: 4px;
347
- }
348
-
349
- .ft-radio--disabled {
350
- color: ${ai.colorOnSurfaceDisabled};
351
- }
352
-
353
- input {
354
- opacity: 0;
355
- position: absolute;
356
- width: 40px;
357
- height: 40px;
358
- margin: 0;
359
- }
360
-
361
- .ft-radio--box-container {
362
- position: relative;
363
- width: 40px;
364
- height: 40px;
365
-
366
- display: flex;
367
- justify-content: center;
368
- align-items: center;
369
- flex-shrink: 0;
370
- }
371
-
372
- .ft-radio--box {
373
- border: 2px solid ${ai.borderColor};
374
- border-radius: 50%;
375
-
376
- display: flex;
377
- justify-content: center;
378
- align-items: center;
379
-
380
- width: 20px;
381
- height: 20px;
382
- }
383
-
384
- .ft-radio--box:after {
385
- content: " ";
386
- background-color: ${ai.colorPrimary};
387
-
388
- border-radius: 50%;
389
-
390
- width: 12px;
391
- height: 12px;
392
-
393
- transform: scale(0);
394
- transition: transform 100ms ease;
395
- }
396
-
397
- .ft-radio--checked .ft-radio--box {
398
- border-color: ${ai.colorPrimary};
399
- }
400
-
401
-
402
- .ft-radio--checked .ft-radio--box:after {
403
- transform: scale(1);
404
- }
405
-
406
- .ft-radio--disabled .ft-radio--box {
407
- border-color: ${ai.colorOnSurfaceDisabled};
408
- background-color: transparent;
409
- }
410
-
411
- .ft-radio--disabled .ft-radio--box:after {
412
- background-color: ${ai.colorOnSurfaceDisabled};
413
- }
414
- `,ni([o()],hi.prototype,"value",void 0),ni([o()],hi.prototype,"name",void 0),ni([o({type:Boolean,reflect:!0})],hi.prototype,"checked",void 0),ni([o({type:Boolean})],hi.prototype,"disabled",void 0),ni([n(".ft-radio")],hi.prototype,"container",void 0),ni([n("ft-ripple")],hi.prototype,"ripple",void 0),ni([n("input")],hi.prototype,"input",void 0);var ci=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class pi extends yt{constructor(){super(...arguments),this.name=""}render(){return H`
414
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new pi(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new pi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}fi.elementDefinitions={"ft-ripple":At,"ft-typography":ai},fi.styles=hi,ci([o()],fi.prototype,"value",void 0),ci([o()],fi.prototype,"name",void 0),ci([o({type:Boolean,reflect:!0})],fi.prototype,"checked",void 0),ci([o({type:Boolean})],fi.prototype,"disabled",void 0),ci([n(".ft-radio")],fi.prototype,"container",void 0),ci([n("ft-ripple")],fi.prototype,"ripple",void 0),ci([n("input")],fi.prototype,"input",void 0);const di=y`
415
+ :host {
416
+ display: contents;
417
+ }
418
+ `;var ui=function(t,e,i,o){for(var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class yi extends yt{constructor(){super(...arguments),this.name=""}render(){return H`
415
419
  <slot @slotchange=${this.onSlotChange}
416
420
  @change=${this.onChange}
417
421
  @keydown=${this.onKeyDown}
418
422
  @focusin=${this.focusCurrentValue}
419
423
  ></slot>
420
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}pi.elementDefinitions={},pi.styles=y`
421
- :host {
422
- display: contents;
423
- }
424
- `,ci([o()],pi.prototype,"name",void 0),ci([function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const r="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(r),n=null!=s?l(s,t):[];return i?n.filter((t=>t.matches(i))):n},enumerable:!0,configurable:!0})})}()],pi.prototype,"radioButtons",void 0),h("ft-radio")(hi),h("ft-radio-group")(pi),t.FtRadio=hi,t.FtRadioChangeEvent=li,t.FtRadioCssVariables=ai,t.FtRadioGroup=pi,Object.defineProperty(t,"i",{value:!0})}({});
424
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}yi.elementDefinitions={},yi.styles=di,ui([o()],yi.prototype,"name",void 0),ui([function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const r="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(r),n=null!=s?l(s,t):[];return i?n.filter((t=>t.matches(i))):n},enumerable:!0,configurable:!0})})}()],yi.prototype,"radioButtons",void 0),h("ft-radio")(fi),h("ft-radio-group")(yi),t.FtRadio=fi,t.FtRadioChangeEvent=pi,t.FtRadioCssVariables=li,t.FtRadioGroup=yi,t.FtRadioGroupCssVariables={},t.groupStyles=di,t.styles=hi,Object.defineProperty(t,"i",{value:!0})}({});
@@ -0,0 +1,6 @@
1
+ export interface FtRadioProperties {
2
+ value: string;
3
+ checked: boolean;
4
+ disabled: boolean;
5
+ }
6
+ //# sourceMappingURL=ft-radio.properties.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ft-radio.properties.js.map
package/build/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
1
  export * from "./ft-radio";
2
+ export * from "./ft-radio.css";
3
+ export * from "./ft-radio.properties";
2
4
  export * from "./ft-radio-group";
5
+ export * from "./ft-radio-group.css";
6
+ export * from "./ft-radio-group.properties";
3
7
  //# sourceMappingURL=index.d.ts.map
package/build/index.js CHANGED
@@ -2,7 +2,11 @@ import { customElement } from "@fluid-topics/ft-wc-utils";
2
2
  import { FtRadio } from "./ft-radio";
3
3
  import { FtRadioGroup } from "./ft-radio-group";
4
4
  export * from "./ft-radio";
5
+ export * from "./ft-radio.css";
6
+ export * from "./ft-radio.properties";
5
7
  export * from "./ft-radio-group";
8
+ export * from "./ft-radio-group.css";
9
+ export * from "./ft-radio-group.properties";
6
10
  customElement("ft-radio")(FtRadio);
7
11
  customElement("ft-radio-group")(FtRadioGroup);
8
12
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-radio",
3
- "version": "0.3.12",
3
+ "version": "0.3.14",
4
4
  "description": "A radio component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "0.3.12",
23
- "@fluid-topics/ft-typography": "0.3.12",
24
- "@fluid-topics/ft-wc-utils": "0.3.12",
22
+ "@fluid-topics/ft-ripple": "0.3.14",
23
+ "@fluid-topics/ft-typography": "0.3.14",
24
+ "@fluid-topics/ft-wc-utils": "0.3.14",
25
25
  "lit": "2.2.8"
26
26
  },
27
- "gitHead": "126fc60c5ec4b89c3897901d1a92ee9b17286686"
27
+ "gitHead": "46cc9dd160b2f3189a2e581a8237e962f1ae464d"
28
28
  }