@fluid-topics/ft-search-bar 1.0.18 → 1.0.20
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-search-bar.js
CHANGED
|
@@ -252,7 +252,10 @@ class FtSearchBar extends FtLitElement {
|
|
|
252
252
|
var _a;
|
|
253
253
|
return html `
|
|
254
254
|
<ft-radio-group
|
|
255
|
-
@change=${(e) =>
|
|
255
|
+
@change=${(e) => {
|
|
256
|
+
this.contentLocale = (e.detail === "all" ? undefined : e.detail);
|
|
257
|
+
this.clearFilters();
|
|
258
|
+
}}>
|
|
256
259
|
${repeat(((_a = this.availableContentLocales) !== null && _a !== void 0 ? _a : []), locale => locale.lang, locale => {
|
|
257
260
|
var _a;
|
|
258
261
|
return html `
|
|
@@ -2573,7 +2573,7 @@ const G=Symbol.for(""),X=t=>{if((null==t?void 0:t.r)===G)return null==t?void 0:t
|
|
|
2573
2573
|
</ft-accordion>
|
|
2574
2574
|
`}getContentLocaleRadioGroup(){var t;return i.html`
|
|
2575
2575
|
<ft-radio-group
|
|
2576
|
-
@change=${t=>this.contentLocale="all"===t.detail?void 0:t.detail}>
|
|
2576
|
+
@change=${t=>{this.contentLocale="all"===t.detail?void 0:t.detail,this.clearFilters()}}>
|
|
2577
2577
|
${s.repeat(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return i.html`
|
|
2578
2578
|
<ft-radio value="${null!==(e=t.lang)&&void 0!==e?e:"all"}"
|
|
2579
2579
|
?checked=${t.lang==this.contentLocale}>
|
|
@@ -2706,7 +2706,7 @@ class Mi extends _t{constructor(t){if(super(t),this.et=et,t.type!==At)throw Erro
|
|
|
2706
2706
|
</ft-accordion>
|
|
2707
2707
|
`}getContentLocaleRadioGroup(){var t;return Q`
|
|
2708
2708
|
<ft-radio-group
|
|
2709
|
-
@change=${t=>this.contentLocale="all"===t.detail?void 0:t.detail}>
|
|
2709
|
+
@change=${t=>{this.contentLocale="all"===t.detail?void 0:t.detail,this.clearFilters()}}>
|
|
2710
2710
|
${Xt(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return Q`
|
|
2711
2711
|
<ft-radio value="${null!==(e=t.lang)&&void 0!==e?e:"all"}"
|
|
2712
2712
|
?checked=${t.lang==this.contentLocale}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "1.0.
|
|
23
|
-
"@fluid-topics/ft-button": "1.0.
|
|
24
|
-
"@fluid-topics/ft-chip": "1.0.
|
|
25
|
-
"@fluid-topics/ft-filter": "1.0.
|
|
26
|
-
"@fluid-topics/ft-icon": "1.0.
|
|
27
|
-
"@fluid-topics/ft-select": "1.0.
|
|
28
|
-
"@fluid-topics/ft-size-watcher": "1.0.
|
|
29
|
-
"@fluid-topics/ft-skeleton": "1.0.
|
|
30
|
-
"@fluid-topics/ft-snap-scroll": "1.0.
|
|
31
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
32
|
-
"@fluid-topics/ft-typography": "1.0.
|
|
33
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-accordion": "1.0.20",
|
|
23
|
+
"@fluid-topics/ft-button": "1.0.20",
|
|
24
|
+
"@fluid-topics/ft-chip": "1.0.20",
|
|
25
|
+
"@fluid-topics/ft-filter": "1.0.20",
|
|
26
|
+
"@fluid-topics/ft-icon": "1.0.20",
|
|
27
|
+
"@fluid-topics/ft-select": "1.0.20",
|
|
28
|
+
"@fluid-topics/ft-size-watcher": "1.0.20",
|
|
29
|
+
"@fluid-topics/ft-skeleton": "1.0.20",
|
|
30
|
+
"@fluid-topics/ft-snap-scroll": "1.0.20",
|
|
31
|
+
"@fluid-topics/ft-tooltip": "1.0.20",
|
|
32
|
+
"@fluid-topics/ft-typography": "1.0.20",
|
|
33
|
+
"@fluid-topics/ft-wc-utils": "1.0.20",
|
|
34
34
|
"lit": "2.7.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@fluid-topics/public-api": "1.0.34"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d2f69f59fff0027bd8847c17d0f4692ac6ba0575"
|
|
43
43
|
}
|