@fluid-topics/ft-filterable-table 0.2.17 → 0.2.18
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.
|
@@ -126,6 +126,12 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
|
|
|
126
126
|
position: absolute;
|
|
127
127
|
inset: 0;
|
|
128
128
|
display: flex;
|
|
129
|
+
background-color: ${te.colorSurface};
|
|
130
|
+
border-radius: ${te.borderRadiusS} ${te.borderRadiusS} 0 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ft-input-label--outlined {
|
|
134
|
+
border-radius: ${te.borderRadiusS};
|
|
129
135
|
}
|
|
130
136
|
|
|
131
137
|
.ft-input-label {
|
|
@@ -860,7 +866,7 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
|
|
|
860
866
|
box-shadow: 0px 0px 0px transparent;
|
|
861
867
|
border: 0px solid transparent;
|
|
862
868
|
text-shadow: 0px 0px 0px transparent;
|
|
863
|
-
font-size:
|
|
869
|
+
font-size: 16px;
|
|
864
870
|
}
|
|
865
871
|
|
|
866
872
|
button:hover {
|
|
@@ -888,7 +894,6 @@ const U=Symbol.for(""),H=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===
|
|
|
888
894
|
box-sizing: border-box;
|
|
889
895
|
border: none;
|
|
890
896
|
pointer-events: auto;
|
|
891
|
-
line-height: 0;
|
|
892
897
|
|
|
893
898
|
--ft-button-internal-font-size: ${Me.fontSize};
|
|
894
899
|
--ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
|
|
@@ -72,7 +72,7 @@ var at,pt;null==lt||lt(X,Q),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
|
|
|
72
72
|
<style>${t}</style>
|
|
73
73
|
`))}
|
|
74
74
|
${this.getTemplate()}
|
|
75
|
-
`}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,s,r;
|
|
75
|
+
`}updated(t){super.updated(t),setTimeout((()=>{var e;this.contentAvailableCallback(t),(null===(e=this.exportpartsPrefix)||void 0===e?void 0:e.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}),0)}setExportpartsAttribute(t){var e,i,o,n,s,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const p=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>p.add(t)))}if(0===p.size)return void this.removeAttribute("exportparts");const c=[...p.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}contentAvailableCallback(t){}}bt([o()],xt.prototype,"exportpartsPrefix",void 0),bt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],xt.prototype,"exportpartsPrefixes",void 0);const vt=b`
|
|
76
76
|
.ft-no-text-select {
|
|
77
77
|
-webkit-touch-callout: none;
|
|
78
78
|
-webkit-user-select: none;
|
|
@@ -223,6 +223,12 @@ class Bt extends kt{constructor(t){if(super(t),this.it=K,t.type!==Ot)throw Error
|
|
|
223
223
|
position: absolute;
|
|
224
224
|
inset: 0;
|
|
225
225
|
display: flex;
|
|
226
|
+
background-color: ${Xe.colorSurface};
|
|
227
|
+
border-radius: ${Xe.borderRadiusS} ${Xe.borderRadiusS} 0 0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ft-input-label--outlined {
|
|
231
|
+
border-radius: ${Xe.borderRadiusS};
|
|
226
232
|
}
|
|
227
233
|
|
|
228
234
|
.ft-input-label {
|
|
@@ -963,7 +969,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
963
969
|
box-shadow: 0px 0px 0px transparent;
|
|
964
970
|
border: 0px solid transparent;
|
|
965
971
|
text-shadow: 0px 0px 0px transparent;
|
|
966
|
-
font-size:
|
|
972
|
+
font-size: 16px;
|
|
967
973
|
}
|
|
968
974
|
|
|
969
975
|
button:hover {
|
|
@@ -991,7 +997,6 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
|
|
|
991
997
|
box-sizing: border-box;
|
|
992
998
|
border: none;
|
|
993
999
|
pointer-events: auto;
|
|
994
|
-
line-height: 0;
|
|
995
1000
|
|
|
996
1001
|
--ft-button-internal-font-size: ${Fi.fontSize};
|
|
997
1002
|
--ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-filterable-table",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"description": "A dynamic table with filters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluid-topics/ft-button": "^0.2.
|
|
26
|
-
"@fluid-topics/ft-select": "^0.2.
|
|
27
|
-
"@fluid-topics/ft-text-field": "^0.2.
|
|
28
|
-
"@fluid-topics/ft-wc-utils": "^0.2.
|
|
25
|
+
"@fluid-topics/ft-button": "^0.2.18",
|
|
26
|
+
"@fluid-topics/ft-select": "^0.2.18",
|
|
27
|
+
"@fluid-topics/ft-text-field": "^0.2.18",
|
|
28
|
+
"@fluid-topics/ft-wc-utils": "^0.2.18",
|
|
29
29
|
"lit": "2.1.3"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "ef8d35d4cfa0669cf38aa2e3d40e02ba46f4d7f9"
|
|
32
32
|
}
|