@fluid-topics/ft-search-facet 1.0.34 → 1.0.35
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.
|
@@ -773,7 +773,6 @@ const W=Symbol.for(""),Z=t=>{if((null==t?void 0:t.r)===W)return null==t?void 0:t
|
|
|
773
773
|
<slot @slotchange=${this.onSlotChange}
|
|
774
774
|
@change=${this.onChange}
|
|
775
775
|
@keydown=${this.onKeyDown}
|
|
776
|
-
@focusin=${this.focusCurrentValue}
|
|
777
776
|
></slot>
|
|
778
777
|
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].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)}}ue.elementDefinitions={},ue.styles=de,fe([o.property()],ue.prototype,"name",void 0),fe([o.queryAssignedElements()],ue.prototype,"radioButtons",void 0),i.customElement("ft-radio")(ce),i.customElement("ft-radio-group")(ue);const ve={borderRadiusM:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusM,"Design system"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:i.FtCssVariableFactory.external(Bt.fontFamily,"Body2 typography"),fontSize:i.FtCssVariableFactory.external(Bt.fontSize,"Body2 typography"),fontWeight:i.FtCssVariableFactory.external(Bt.fontWeight,"Body2 typography"),letterSpacing:i.FtCssVariableFactory.external(Bt.letterSpacing,"Body2 typography"),lineHeight:i.FtCssVariableFactory.external(Bt.lineHeight,"Body2 typography"),textTransform:i.FtCssVariableFactory.external(Bt.textTransform,"Body2 typography")},be=e.css`
|
|
779
778
|
.ft-filter-level--container {
|
|
@@ -895,7 +895,6 @@ class Ln extends sn{constructor(t){if(super(t),this.et=nt,t.type!==nn)throw Erro
|
|
|
895
895
|
<slot @slotchange=${this.onSlotChange}
|
|
896
896
|
@change=${this.onChange}
|
|
897
897
|
@keydown=${this.onKeyDown}
|
|
898
|
-
@focusin=${this.focusCurrentValue}
|
|
899
898
|
></slot>
|
|
900
899
|
`}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)}}Or.elementDefinitions={},Or.styles=wr,$r([s()],Or.prototype,"name",void 0),$r([u()],Or.prototype,"radioButtons",void 0),v("ft-radio")(mr),v("ft-radio-group")(Or);const kr={borderRadiusM:kt.external(jt.borderRadiusM,"Design system"),colorOutline:kt.external(jt.colorOutline,"Design system"),colorOnSurface:kt.external(jt.colorOnSurface,"Design system"),colorOnSurfaceMedium:kt.external(jt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:kt.external(jt.colorOnSurfaceDisabled,"Design system"),colorPrimary:kt.external(jt.colorPrimary,"Design system"),colorOnPrimary:kt.external(jt.colorOnPrimary,"Design system"),fontFamily:kt.external(Oo.fontFamily,"Body2 typography"),fontSize:kt.external(Oo.fontSize,"Body2 typography"),fontWeight:kt.external(Oo.fontWeight,"Body2 typography"),letterSpacing:kt.external(Oo.letterSpacing,"Body2 typography"),lineHeight:kt.external(Oo.lineHeight,"Body2 typography"),textTransform:kt.external(Oo.textTransform,"Body2 typography")},Sr=O`
|
|
901
900
|
.ft-filter-level--container {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-facet",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "Search facet for integrated search component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-filter": "1.0.
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.
|
|
24
|
-
"@fluid-topics/ft-search-context": "1.0.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-filter": "1.0.35",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.35",
|
|
24
|
+
"@fluid-topics/ft-search-context": "1.0.35",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.0.35",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.0.35",
|
|
27
27
|
"lit": "2.7.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@fluid-topics/public-api": "1.0.38"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "9d95cd4787fe699293f52b43352ae1594811b081"
|
|
33
33
|
}
|