@getflip/swirl-components 0.422.0 → 0.423.1
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/components.json +46 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table-column.cjs.entry.js +9 -2
- package/dist/collection/components/swirl-table-column/swirl-table-column.css +8 -1
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +34 -1
- package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.css +7 -3
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/swirl-table-column.js +10 -2
- package/dist/components/swirl-thumbnail2.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-icon-arrow-left_4.entry.js +1 -1
- package/dist/esm/swirl-table-column.entry.js +9 -2
- package/dist/swirl-components/{p-839d86c3.entry.js → p-5d34bd5d.entry.js} +1 -1
- package/dist/swirl-components/p-5ec4bedc.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-table-column/swirl-table-column.d.ts +2 -0
- package/dist/types/components.d.ts +10 -2
- package/package.json +1 -1
- package/vscode-data.json +12 -0
- package/dist/swirl-components/p-57dba12f.entry.js +0 -1
package/vscode-data.json
CHANGED
|
@@ -21880,6 +21880,18 @@
|
|
|
21880
21880
|
"name": "sticky",
|
|
21881
21881
|
"description": ""
|
|
21882
21882
|
},
|
|
21883
|
+
{
|
|
21884
|
+
"name": "variant",
|
|
21885
|
+
"description": "",
|
|
21886
|
+
"values": [
|
|
21887
|
+
{
|
|
21888
|
+
"name": "default"
|
|
21889
|
+
},
|
|
21890
|
+
{
|
|
21891
|
+
"name": "sunken"
|
|
21892
|
+
}
|
|
21893
|
+
]
|
|
21894
|
+
},
|
|
21883
21895
|
{
|
|
21884
21896
|
"name": "width",
|
|
21885
21897
|
"description": ""
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e,H as t,d as a}from"./p-Dj_4Fda9.js";import{l as i}from"./p-wi_3Z3FQ.js";const o=class{constructor(e){s(this,e),this.minWidth="fit-content"}componentDidRender(){const s=i(this.el,"swirl-table");s?.rerender()}render(){const s={flex:Boolean(this.width)?`0 0 ${this.width}`:"",maxWidth:this.maxWidth||"",minWidth:this.minWidth||""};return e(t,{key:"7b44381a58a3166a253085ad49e9dfd2c789a6cb","aria-sort":this.sort,class:"table-column",role:"columnheader",style:s},e("span",{key:"bbd36f836c804b7705a4734146d75b0947c60d0e"},e("slot",{key:"31bd5ea3ad4241e3220982b3b6b09177b1797815"})),this.sortable&&e("span",{key:"f1412c8cfee58866f449cb188a2def485af9066d",class:"table-column__sort-indicator"},"ascending"===this.sort&&e("swirl-icon-arrow-upward",{key:"bb54544c676dcfb0f13f93354d6438a635fa028d","aria-hidden":"true",size:20}),"descending"===this.sort&&e("swirl-icon-arrow-downward",{key:"cfb63e3e1edc6c6d99da43eed402b467f3ca7770","aria-hidden":"true",size:20}),!Boolean(this.sort)&&" "))}get el(){return a(this)}};o.style=":host{display:flex;overflow:hidden;padding-top:var(--s-space-12);padding-right:var(--s-space-16);padding-bottom:var(--s-space-12);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);background-color:var(--s-surface-default);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;letter-spacing:var(--s-letter-spacing-tighter);text-overflow:ellipsis;transition:box-shadow 0.15s;gap:var(--s-space-8)}:host(.table-column--is-sticky){position:sticky;z-index:1}:host(.table-column--is-sticky-right){position:sticky;z-index:1;right:0}:host(.table-column--has-shadow-right){box-shadow:var(--swirl-table-sticky-right-shadow)}:host(.table-column--has-shadow-left){box-shadow:var(--swirl-table-sticky-left-shadow)}:host *{box-sizing:border-box}.table-column__sort-indicator{display:inline-flex;width:1.25rem;height:1.25rem;flex-grow:0;flex-shrink:0}";export{o as swirl_table_column}
|