@getflip/swirl-components 0.120.5 → 0.122.0
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 +63 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-box.cjs.entry.js +3 -1
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-tab.cjs.entry.js +3 -2
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +22 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/swirl-box/swirl-box.js +20 -1
- package/dist/collection/components/swirl-tab/swirl-tab.css +0 -1
- package/dist/collection/components/swirl-tab/swirl-tab.js +25 -1
- package/dist/collection/components/swirl-tab/swirl-tab.spec.js +2 -2
- package/dist/collection/components/swirl-tabs/swirl-tabs.spec.js +4 -4
- package/dist/components/assets/pdfjs/pdf.worker.min.js +22 -0
- package/dist/components/swirl-box2.js +4 -1
- package/dist/components/swirl-tab.js +4 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-box.entry.js +3 -1
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-tab.entry.js +3 -2
- package/dist/swirl-components/p-3d3cc6ea.entry.js +1 -0
- package/dist/swirl-components/p-d46c9829.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-box/swirl-box.d.ts +1 -0
- package/dist/types/components/swirl-tab/swirl-tab.d.ts +2 -0
- package/dist/types/components.d.ts +6 -0
- package/package.json +1 -1
- package/vscode-data.json +34 -0
- package/dist/swirl-components/p-b5be788e.entry.js +0 -1
- package/dist/swirl-components/p-bcf00042.entry.js +0 -1
- package/dist/typings.d.ts +0 -1
|
@@ -52,6 +52,7 @@ import { SwirlSpinnerSize } from "./components/swirl-spinner/swirl-spinner";
|
|
|
52
52
|
import { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
|
|
53
53
|
import { SwirlStatusIndicatorIntent } from "./components/swirl-status-indicator/swirl-status-indicator";
|
|
54
54
|
import { SwirlSymbolSize } from "./components/swirl-symbol/swirl-symbol.types";
|
|
55
|
+
import { SwirlTabPadding } from "./components/swirl-tab/swirl-tab";
|
|
55
56
|
import { SwirlTabBarTab } from "./components/swirl-tab-bar/swirl-tab-bar";
|
|
56
57
|
import { SwirlTableColumnSort } from "./components/swirl-table-column/swirl-table-column";
|
|
57
58
|
import { SwirlTagIntent } from "./components/swirl-tag/swirl-tag";
|
|
@@ -110,6 +111,7 @@ export { SwirlSpinnerSize } from "./components/swirl-spinner/swirl-spinner";
|
|
|
110
111
|
export { SwirlStackAlign, SwirlStackJustify, SwirlStackOrientation, SwirlStackSpacing } from "./components/swirl-stack/swirl-stack";
|
|
111
112
|
export { SwirlStatusIndicatorIntent } from "./components/swirl-status-indicator/swirl-status-indicator";
|
|
112
113
|
export { SwirlSymbolSize } from "./components/swirl-symbol/swirl-symbol.types";
|
|
114
|
+
export { SwirlTabPadding } from "./components/swirl-tab/swirl-tab";
|
|
113
115
|
export { SwirlTabBarTab } from "./components/swirl-tab-bar/swirl-tab-bar";
|
|
114
116
|
export { SwirlTableColumnSort } from "./components/swirl-table-column/swirl-table-column";
|
|
115
117
|
export { SwirlTagIntent } from "./components/swirl-tag/swirl-tag";
|
|
@@ -280,6 +282,7 @@ export namespace Components {
|
|
|
280
282
|
"centerInline"?: boolean;
|
|
281
283
|
"cover"?: boolean;
|
|
282
284
|
"left"?: string;
|
|
285
|
+
"maxHeight"?: string;
|
|
283
286
|
"maxWidth"?: string;
|
|
284
287
|
"overflow"?: SwirlBoxOverflow;
|
|
285
288
|
"padding"?: SwirlBoxPadding;
|
|
@@ -1640,6 +1643,7 @@ export namespace Components {
|
|
|
1640
1643
|
"active"?: boolean;
|
|
1641
1644
|
"icon"?: string;
|
|
1642
1645
|
"label": string;
|
|
1646
|
+
"padding"?: SwirlTabPadding;
|
|
1643
1647
|
"tabId": string;
|
|
1644
1648
|
}
|
|
1645
1649
|
interface SwirlTabBar {
|
|
@@ -4297,6 +4301,7 @@ declare namespace LocalJSX {
|
|
|
4297
4301
|
"centerInline"?: boolean;
|
|
4298
4302
|
"cover"?: boolean;
|
|
4299
4303
|
"left"?: string;
|
|
4304
|
+
"maxHeight"?: string;
|
|
4300
4305
|
"maxWidth"?: string;
|
|
4301
4306
|
"overflow"?: SwirlBoxOverflow;
|
|
4302
4307
|
"padding"?: SwirlBoxPadding;
|
|
@@ -5568,6 +5573,7 @@ declare namespace LocalJSX {
|
|
|
5568
5573
|
"active"?: boolean;
|
|
5569
5574
|
"icon"?: string;
|
|
5570
5575
|
"label": string;
|
|
5576
|
+
"padding"?: SwirlTabPadding;
|
|
5571
5577
|
"tabId": string;
|
|
5572
5578
|
}
|
|
5573
5579
|
interface SwirlTabBar {
|
package/package.json
CHANGED
package/vscode-data.json
CHANGED
|
@@ -673,6 +673,10 @@
|
|
|
673
673
|
"name": "left",
|
|
674
674
|
"description": ""
|
|
675
675
|
},
|
|
676
|
+
{
|
|
677
|
+
"name": "max-height",
|
|
678
|
+
"description": ""
|
|
679
|
+
},
|
|
676
680
|
{
|
|
677
681
|
"name": "max-width",
|
|
678
682
|
"description": ""
|
|
@@ -6759,6 +6763,36 @@
|
|
|
6759
6763
|
"name": "label",
|
|
6760
6764
|
"description": ""
|
|
6761
6765
|
},
|
|
6766
|
+
{
|
|
6767
|
+
"name": "padding",
|
|
6768
|
+
"description": "",
|
|
6769
|
+
"values": [
|
|
6770
|
+
{
|
|
6771
|
+
"name": "0"
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
"name": "12"
|
|
6775
|
+
},
|
|
6776
|
+
{
|
|
6777
|
+
"name": "16"
|
|
6778
|
+
},
|
|
6779
|
+
{
|
|
6780
|
+
"name": "2"
|
|
6781
|
+
},
|
|
6782
|
+
{
|
|
6783
|
+
"name": "20"
|
|
6784
|
+
},
|
|
6785
|
+
{
|
|
6786
|
+
"name": "24"
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
"name": "4"
|
|
6790
|
+
},
|
|
6791
|
+
{
|
|
6792
|
+
"name": "8"
|
|
6793
|
+
}
|
|
6794
|
+
]
|
|
6795
|
+
},
|
|
6762
6796
|
{
|
|
6763
6797
|
"name": "tab-id",
|
|
6764
6798
|
"description": ""
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t,H as i}from"./p-3fca9a05.js";import{c as a}from"./p-b7898321.js";const o=class{constructor(t){s(this,t),this.active=void 0,this.icon=void 0,this.label=void 0,this.tabId=void 0}render(){const s=a("tab",{"tab--active":this.active});return t(i,{"aria-labelledby":`tab-${this.tabId}`,id:this.tabId,role:"tabpanel",tabIndex:this.active?0:-1},t("div",{class:s},t("slot",null)))}};o.style=":host{display:block;width:100%}:host *{box-sizing:border-box}.tab{display:none;width:100%;padding:var(--s-space-8)}.tab--active{display:block}";export{o as swirl_tab}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as o,H as t}from"./p-3fca9a05.js";import{c as s}from"./p-b7898321.js";const d=class{constructor(o){i(this,o),this.bordered=void 0,this.borderedBlockEnd=void 0,this.borderedBlockStart=void 0,this.borderedInlineEnd=void 0,this.borderedInlineStart=void 0,this.bottom=void 0,this.centerBlock=void 0,this.centerInline=void 0,this.cover=void 0,this.left=void 0,this.maxWidth=void 0,this.overflow="visible",this.padding="0",this.paddingBlockEnd=void 0,this.paddingBlockStart=void 0,this.paddingInlineEnd=void 0,this.paddingInlineStart=void 0,this.position=void 0,this.right=void 0,this.top=void 0,this.zIndex=void 0}render(){const i={alignItems:this.centerBlock?"center":void 0,bottom:this.bottom,display:this.centerBlock||this.centerInline?"flex":void 0,height:this.cover?"100%":void 0,justifyContent:this.centerInline?"center":void 0,left:this.left,overflow:this.overflow,padding:`var(--s-space-${this.padding})`,paddingBlockEnd:Boolean(this.paddingBlockEnd)?`var(--s-space-${this.paddingBlockEnd})`:void 0,paddingBlockStart:Boolean(this.paddingBlockStart)?`var(--s-space-${this.paddingBlockStart})`:void 0,paddingInlineEnd:Boolean(this.paddingInlineEnd)?`var(--s-space-${this.paddingInlineEnd})`:void 0,paddingInlineStart:Boolean(this.paddingInlineStart)?`var(--s-space-${this.paddingInlineStart})`:void 0,position:Boolean(this.overflow)?this.position||"relative":this.position,maxWidth:this.maxWidth,right:this.right,top:this.top,width:this.cover?"100%":void 0,zIndex:this.zIndex},d=s("box",{"box--bordered":this.bordered,"box--bordered-block-end":this.borderedBlockEnd,"box--bordered-block-start":this.borderedBlockStart,"box--bordered-inline-end":this.borderedInlineEnd,"box--bordered-inline-start":this.borderedInlineStart,"box--cover":this.cover});return o(t,{class:d,style:i},o("slot",null))}};d.style=":host{display:block;width:100%}:host(.box--bordered){border:var(--s-border-width-default) solid var(--s-border-default)}:host(.box--bordered-block-end){border-block-end:var(--s-border-width-default) solid\n var(--s-border-default)}:host(.box--bordered-block-start){border-block-start:var(--s-border-width-default) solid\n var(--s-border-default)}:host(.box--bordered-inline-end){border-inline-end:var(--s-border-width-default) solid\n var(--s-border-default)}:host(.box--bordered-inline-start){border-inline-start:var(--s-border-width-default) solid\n var(--s-border-default)}:host(.box--cover){width:100%;height:100%}:host *{box-sizing:border-box}";export{d as swirl_box}
|
package/dist/typings.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module "balance-text";
|