@fluid-topics/ft-radio 1.1.77 → 1.1.78
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-radio-group.js
CHANGED
package/build/ft-radio.light.js
CHANGED
|
@@ -353,7 +353,11 @@ Also for action icons.`,e.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
353
353
|
:host {
|
|
354
354
|
display: block;
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
|
|
357
|
+
:host(:focus-visible) {
|
|
358
|
+
outline: none;
|
|
359
|
+
}
|
|
360
|
+
`;var ot=function(i,o,a,n){var c=arguments.length,p=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(i,o,a,n);else for(var f=i.length-1;f>=0;f--)(l=i[f])&&(p=(c<3?l(p):c>3?l(o,a,p):l(o,a))||p);return c>3&&p&&Object.defineProperty(o,a,p),p},W=class extends ro.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=o=>{!this.contains(o.relatedTarget)&&(this.tabIndex=0)}}render(){return ao.html`
|
|
357
361
|
<slot @slotchange=${this.onSlotChange}
|
|
358
362
|
@change=${this.onChange}
|
|
359
363
|
@keydown=${this.onKeyDown}
|
package/build/ft-radio.min.js
CHANGED
|
@@ -391,7 +391,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
391
391
|
:host {
|
|
392
392
|
display: block;
|
|
393
393
|
}
|
|
394
|
-
|
|
394
|
+
|
|
395
|
+
:host(:focus-visible) {
|
|
396
|
+
outline: none;
|
|
397
|
+
}
|
|
398
|
+
`;var Ct=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},J=class extends B{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return Ke`
|
|
395
399
|
<slot @slotchange=${this.onSlotChange}
|
|
396
400
|
@change=${this.onChange}
|
|
397
401
|
@keydown=${this.onKeyDown}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-radio",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.78",
|
|
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": "1.1.
|
|
23
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-ripple": "1.1.78",
|
|
23
|
+
"@fluid-topics/ft-typography": "1.1.78",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.1.78",
|
|
25
25
|
"lit": "3.1.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "b4f44baf8cd02d5ef4ba2fd616f0aa9483a8a027"
|
|
28
28
|
}
|