@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/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}