@getflip/swirl-components 0.121.0 → 0.122.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 +17 -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-stack.cjs.entry.js +1 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-box/swirl-box.js +20 -1
- package/dist/collection/components/swirl-stack/swirl-stack.css +7 -0
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-box2.js +4 -1
- package/dist/components/swirl-stack2.js +1 -1
- 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-stack.entry.js +1 -1
- package/dist/swirl-components/p-a1c42a2c.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.d.ts +2 -0
- package/package.json +1 -1
- package/vscode-data.json +4 -0
- package/dist/swirl-components/p-bac71c14.entry.js +0 -1
- package/dist/swirl-components/p-bcf00042.entry.js +0 -1
|
@@ -282,6 +282,7 @@ export namespace Components {
|
|
|
282
282
|
"centerInline"?: boolean;
|
|
283
283
|
"cover"?: boolean;
|
|
284
284
|
"left"?: string;
|
|
285
|
+
"maxHeight"?: string;
|
|
285
286
|
"maxWidth"?: string;
|
|
286
287
|
"overflow"?: SwirlBoxOverflow;
|
|
287
288
|
"padding"?: SwirlBoxPadding;
|
|
@@ -4300,6 +4301,7 @@ declare namespace LocalJSX {
|
|
|
4300
4301
|
"centerInline"?: boolean;
|
|
4301
4302
|
"cover"?: boolean;
|
|
4302
4303
|
"left"?: string;
|
|
4304
|
+
"maxHeight"?: string;
|
|
4303
4305
|
"maxWidth"?: string;
|
|
4304
4306
|
"overflow"?: SwirlBoxOverflow;
|
|
4305
4307
|
"padding"?: SwirlBoxPadding;
|
package/package.json
CHANGED
package/vscode-data.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,H as i}from"./p-3fca9a05.js";import{c as e}from"./p-b7898321.js";const a=class{constructor(s){t(this,s),this.align="start",this.as="div",this.height=void 0,this.justify="start",this.orientation="vertical",this.spacing="0",this.wrap=!1}render(){const t=this.as,a=e("stack",`stack--align-${this.align}`,`stack--justify-${this.justify}`,`stack--orientation-${this.orientation}`,{"stack--wrap":this.wrap});return s(i,{style:{height:this.height}},s(t,{class:a,style:{gap:`var(--s-space-${this.spacing})`,height:this.height}},s("slot",null)))}};a.style=":host{display:block;width:100%}:host *{box-sizing:border-box}.stack{display:flex;width:100%;max-width:100%}.stack ::slotted(*){min-width:0;max-width:100%;flex-basis:auto;flex-grow:0;flex-shrink:1}.stack--align-start{align-items:flex-start}.stack--align-center{align-items:center}.stack--align-end{align-items:flex-end}.stack--align-stretch{align-items:stretch}.stack--justify-start{justify-content:flex-start}.stack--justify-center{justify-content:center}.stack--justify-end{justify-content:flex-end}.stack--justify-space-between{justify-content:space-between}.stack--justify-space-around{justify-content:space-around}.stack--justify-space-evenly{justify-content:space-evenly}.stack--justify-stretch{justify-content:stretch}.stack--justify-stretch ::slotted(*){flex-grow:1}.stack--orientation-vertical{flex-direction:column}.stack--orientation-horizontal{flex-direction:row}.stack--wrap{flex-wrap:wrap}";export{a as swirl_stack}
|
|
@@ -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}
|