@fluid-topics/ft-filterable-table 1.2.49 → 1.2.50
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.
|
@@ -877,7 +877,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
877
877
|
</div>
|
|
878
878
|
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?tt.html`
|
|
879
879
|
${(0,Aa.repeat)(this.providedSuggestions,e=>tt.html`
|
|
880
|
-
<ft-text-field-suggestion value=${e.value} @click=${e.clickHandler}>
|
|
880
|
+
<ft-text-field-suggestion value=${e.value} @click=${a=>this.onSuggestionClick(a,e.clickHandler)}>
|
|
881
881
|
${e.icon?tt.html`
|
|
882
882
|
<ft-icon .value=${e.icon}></ft-icon>
|
|
883
883
|
`:tt.nothing}
|
|
@@ -885,7 +885,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
885
885
|
</ft-text-field-suggestion>`)}
|
|
886
886
|
`:tt.html`
|
|
887
887
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
888
|
-
`}renderPasswordIcon(){return tt.html`
|
|
888
|
+
`}onSuggestionClick(e,a){a&&(e.preventDefault(),a(e))}renderPasswordIcon(){return tt.html`
|
|
889
889
|
<ft-icon class="ft-text-field--icon"
|
|
890
890
|
.variant=${this.iconVariant}
|
|
891
891
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
@@ -921,7 +921,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
921
921
|
</div>
|
|
922
922
|
`}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?D`
|
|
923
923
|
${Pe(this.providedSuggestions,e=>D`
|
|
924
|
-
<ft-text-field-suggestion value=${e.value} @click=${e.clickHandler}>
|
|
924
|
+
<ft-text-field-suggestion value=${e.value} @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
|
|
925
925
|
${e.icon?D`
|
|
926
926
|
<ft-icon .value=${e.icon}></ft-icon>
|
|
927
927
|
`:W}
|
|
@@ -929,7 +929,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
929
929
|
</ft-text-field-suggestion>`)}
|
|
930
930
|
`:D`
|
|
931
931
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
932
|
-
`}renderPasswordIcon(){return D`
|
|
932
|
+
`}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return D`
|
|
933
933
|
<ft-icon class="ft-text-field--icon"
|
|
934
934
|
.variant=${this.iconVariant}
|
|
935
935
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-filterable-table",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.50",
|
|
4
4
|
"description": "A dynamic table with filters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@fluid-topics/design-system-variables": "0.1.92",
|
|
26
|
-
"@fluid-topics/ft-button": "1.2.
|
|
27
|
-
"@fluid-topics/ft-select": "1.2.
|
|
28
|
-
"@fluid-topics/ft-text-field": "1.2.
|
|
29
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
26
|
+
"@fluid-topics/ft-button": "1.2.50",
|
|
27
|
+
"@fluid-topics/ft-select": "1.2.50",
|
|
28
|
+
"@fluid-topics/ft-text-field": "1.2.50",
|
|
29
|
+
"@fluid-topics/ft-wc-utils": "1.2.50",
|
|
30
30
|
"lit": "3.1.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "2cc419b6e01ae50f6ecba171e7b700507a6a85a0"
|
|
33
33
|
}
|