lyco 1.2.4 → 1.2.6
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/dist/index.cjs.js +416 -346
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +488 -418
- package/dist/index.es.js.map +1 -1
- package/dist/types/components/AbsoluteBox.d.ts +4 -3
- package/dist/types/components/AcrylicBar.d.ts +2 -1
- package/dist/types/components/AspectRatio.d.ts +2 -1
- package/dist/types/components/AutoFitGrid.d.ts +3 -1
- package/dist/types/components/AvatarStack.d.ts +3 -1
- package/dist/types/components/Badge.d.ts +2 -1
- package/dist/types/components/Canvas.d.ts +13 -0
- package/dist/types/components/Card.d.ts +2 -1
- package/dist/types/components/Center.d.ts +3 -1
- package/dist/types/components/Column.d.ts +7 -1
- package/dist/types/components/ColumnSplit.d.ts +3 -1
- package/dist/types/components/Container.d.ts +2 -1
- package/dist/types/components/Divider.d.ts +2 -0
- package/dist/types/components/Flex.d.ts +2 -1
- package/dist/types/components/FlowItem.d.ts +8 -2
- package/dist/types/components/FooterLayout.d.ts +2 -1
- package/dist/types/components/ForEach.d.ts +3 -0
- package/dist/types/components/Grid.d.ts +3 -1
- package/dist/types/components/GridBreakpoint.d.ts +2 -1
- package/dist/types/components/GridCol.d.ts +3 -1
- package/dist/types/components/GridItem.d.ts +3 -1
- package/dist/types/components/GridRow.d.ts +3 -1
- package/dist/types/components/HeroSection.d.ts +3 -1
- package/dist/types/components/Hidden.d.ts +2 -1
- package/dist/types/components/LightboxContainer.d.ts +3 -1
- package/dist/types/components/List.d.ts +15 -0
- package/dist/types/components/ListGroup.d.ts +3 -1
- package/dist/types/components/Overlay.d.ts +3 -1
- package/dist/types/components/PositionContainer.d.ts +3 -1
- package/dist/types/components/Row.d.ts +3 -1
- package/dist/types/components/RowSplit.d.ts +3 -1
- package/dist/types/components/ScrollBar.d.ts +3 -1
- package/dist/types/components/SideBarContainer.d.ts +3 -1
- package/dist/types/components/SizedBox.d.ts +2 -0
- package/dist/types/components/SkeletonLoader.d.ts +2 -0
- package/dist/types/components/Spacer.d.ts +4 -1
- package/dist/types/components/Sticky.d.ts +2 -1
- package/dist/types/components/Style.d.ts +0 -7
- package/dist/types/components/Swiper.d.ts +2 -0
- package/dist/types/components/Table.d.ts +2 -1
- package/dist/types/components/WaterFlow.d.ts +2 -1
- package/dist/types/components/Wrap.d.ts +2 -1
- package/dist/types/components/ZStack.d.ts +2 -1
- package/dist/types/components/core.d.ts +40 -18
- package/dist/types/components/index.d.ts +3 -0
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType } from './core';
|
3
|
-
|
2
|
+
import { OnEvent, renderFnType } from './core';
|
3
|
+
type AbsoluteBoxProps = {
|
4
4
|
top?: string;
|
5
5
|
right?: string;
|
6
6
|
bottom?: string;
|
@@ -10,7 +10,8 @@ interface AbsoluteBoxProps {
|
|
10
10
|
zIndex?: number;
|
11
11
|
style?: string;
|
12
12
|
className?: string;
|
13
|
-
|
13
|
+
on?: OnEvent;
|
14
|
+
};
|
14
15
|
export declare function AbsoluteBox(props?: AbsoluteBoxProps): (children?: renderFnType) => TemplateResult<1>;
|
15
16
|
export declare function AbsoluteBox(props?: AbsoluteBoxProps, children?: renderFnType): TemplateResult<1>;
|
16
17
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
interface AcrylicBarProps {
|
4
4
|
width?: string;
|
5
5
|
height?: string;
|
@@ -12,6 +12,7 @@ interface AcrylicBarProps {
|
|
12
12
|
borderRadius?: string;
|
13
13
|
padding?: string;
|
14
14
|
zIndex?: number;
|
15
|
+
on?: OnEvent;
|
15
16
|
}
|
16
17
|
export declare function AcrylicBar(props?: AcrylicBarProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
17
18
|
export declare function AcrylicBar(props?: AcrylicBarProps, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
interface AspectRatioProps {
|
4
4
|
ratio: number;
|
5
5
|
maxWidth?: string;
|
6
6
|
background?: string;
|
7
7
|
overflow?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function AspectRatio(props: AspectRatioProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
11
|
export declare function AspectRatio(props: AspectRatioProps, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function AutoFitGrid(props: {
|
4
4
|
minItemWidth: string;
|
5
5
|
gap?: string | number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): WithHtml<renderFnType>;
|
7
8
|
export declare function AutoFitGrid(props: {
|
8
9
|
minItemWidth: string;
|
9
10
|
gap?: string | number;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function AvatarStack(props?: {
|
4
4
|
size?: string;
|
5
5
|
overlap?: string;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
7
8
|
export declare function AvatarStack(props?: {
|
8
9
|
size?: string;
|
9
10
|
overlap?: string;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
interface BadgeProps {
|
4
4
|
content?: string | number;
|
5
5
|
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
6
6
|
size?: string;
|
7
7
|
background?: string;
|
8
8
|
color?: string;
|
9
|
+
on?: OnEvent;
|
9
10
|
}
|
10
11
|
export declare function Badge(props?: BadgeProps): WithHtml<renderFnType>;
|
11
12
|
export declare function Badge(props?: BadgeProps, children?: renderFnType): TemplateResult<1>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { TemplateResult } from 'lit';
|
2
|
+
import { RefOrCallback } from 'lit/directives/ref.js';
|
3
|
+
import { OnEvent } from './core';
|
4
|
+
export declare function Canvas(props?: {
|
5
|
+
className?: string;
|
6
|
+
style?: string;
|
7
|
+
on?: OnEvent;
|
8
|
+
}): (initRef?: RefOrCallback<HTMLCanvasElement>) => TemplateResult<1>;
|
9
|
+
export declare function Canvas(props?: {
|
10
|
+
className?: string;
|
11
|
+
style?: string;
|
12
|
+
on?: OnEvent;
|
13
|
+
}, initRef?: RefOrCallback<HTMLCanvasElement>): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
interface CardProps {
|
4
4
|
padding?: string;
|
5
5
|
borderRadius?: string;
|
6
6
|
shadow?: string;
|
7
7
|
background?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function Card(props?: CardProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
11
|
export declare function Card(props?: CardProps, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function Center(props?: {
|
4
4
|
width?: string;
|
5
5
|
height?: string;
|
6
6
|
background?: string;
|
7
|
+
on?: OnEvent;
|
7
8
|
}): WithHtml<renderFnType>;
|
8
9
|
export declare function Center(props?: {
|
9
10
|
width?: string;
|
10
11
|
height?: string;
|
11
12
|
background?: string;
|
13
|
+
on?: OnEvent;
|
12
14
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function Column(props?: {
|
4
4
|
space?: string | number;
|
5
|
+
className?: string;
|
6
|
+
style?: string;
|
7
|
+
on?: OnEvent;
|
5
8
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
6
9
|
export declare function Column(props?: {
|
7
10
|
space?: string | number;
|
11
|
+
className?: string;
|
12
|
+
style?: string;
|
13
|
+
on?: OnEvent;
|
8
14
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function ColumnSplit(props?: {
|
4
4
|
firstHeight?: string;
|
5
5
|
gap?: string | number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): WithHtml<renderFnType>;
|
7
8
|
export declare function ColumnSplit(props?: {
|
8
9
|
firstHeight?: string;
|
9
10
|
gap?: string | number;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export type ContainerProps = {
|
4
4
|
maxWidth?: string;
|
5
5
|
padding?: string;
|
6
6
|
background?: string;
|
7
7
|
fullHeight?: boolean;
|
8
|
+
on?: OnEvent;
|
8
9
|
};
|
9
10
|
export declare function Container(props?: ContainerProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
11
|
export declare function Container(props?: ContainerProps, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
interface FlexProps {
|
4
4
|
direction?: "row" | "column";
|
5
5
|
justify?: string;
|
6
6
|
align?: string;
|
7
7
|
gap?: string | number;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function Flex(props?: FlexProps): WithHtml<renderFnType>;
|
10
11
|
export declare function Flex(props?: FlexProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,2 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { TemplateResult } from 'lit';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
|
+
export declare function FlowItem(props?: {
|
4
|
+
on?: OnEvent;
|
5
|
+
}): WithHtml<renderFnType>;
|
6
|
+
export declare function FlowItem(props?: {
|
7
|
+
on?: OnEvent;
|
8
|
+
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
interface FooterLayoutProps {
|
4
4
|
columns?: number;
|
5
5
|
gap?: string;
|
6
6
|
background?: string;
|
7
7
|
padding?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function FooterLayout(props?: FooterLayoutProps): WithHtml<renderFnType>;
|
10
11
|
export declare function FooterLayout(props?: FooterLayoutProps, children?: renderFnType): TemplateResult<1>;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { TemplateResult } from 'lit';
|
2
|
+
export declare function ForEach<T extends any[]>(item: T): (render: (item: T[number], index: number) => TemplateResult<1>) => TemplateResult<1>[];
|
3
|
+
export declare function ForEach<T extends any[]>(item: T, render: (item: T[number], index: number) => TemplateResult<1>): TemplateResult<1>[];
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function Grid(props?: {
|
4
4
|
columns?: number;
|
5
5
|
gap?: string | number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
7
8
|
export declare function Grid(props?: {
|
8
9
|
columns?: number;
|
9
10
|
gap?: string | number;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export type GridBreakpointProps = {
|
4
4
|
breakpoints: Record<string, number>;
|
5
5
|
defaultColumns?: number;
|
6
6
|
gap?: string;
|
7
7
|
className?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
};
|
9
10
|
export declare function GridBreakpoint(props: GridBreakpointProps): WithHtml<renderFnType>;
|
10
11
|
export declare function GridBreakpoint(props: GridBreakpointProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function GridCol(props?: {
|
4
4
|
gap?: string | number;
|
5
|
+
on?: OnEvent;
|
5
6
|
}): WithHtml<renderFnType>;
|
6
7
|
export declare function GridCol(props?: {
|
7
8
|
gap?: string | number;
|
9
|
+
on?: OnEvent;
|
8
10
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function GridItem(props?: {
|
4
4
|
span?: number;
|
5
|
+
on?: OnEvent;
|
5
6
|
}): WithHtml<renderFnType>;
|
6
7
|
export declare function GridItem(props?: {
|
7
8
|
span?: number;
|
9
|
+
on?: OnEvent;
|
8
10
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function GridRow(props?: {
|
4
4
|
gap?: string | number;
|
5
|
+
on?: OnEvent;
|
5
6
|
}): WithHtml<renderFnType>;
|
6
7
|
export declare function GridRow(props?: {
|
7
8
|
gap?: string | number;
|
9
|
+
on?: OnEvent;
|
8
10
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function HeroSection(props?: {
|
4
4
|
backgroundImage?: string;
|
5
5
|
height?: string;
|
6
6
|
overlayColor?: string;
|
7
|
+
on?: OnEvent;
|
7
8
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
8
9
|
export declare function HeroSection(props?: {
|
9
10
|
backgroundImage?: string;
|
10
11
|
height?: string;
|
11
12
|
overlayColor?: string;
|
13
|
+
on?: OnEvent;
|
12
14
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export type HiddenProps = {
|
4
4
|
breakpoint?: string;
|
5
5
|
mode?: "hide" | "show";
|
6
6
|
className?: string;
|
7
|
+
on?: OnEvent;
|
7
8
|
};
|
8
9
|
export declare function Hidden(props?: HiddenProps): WithHtml<renderFnType>;
|
9
10
|
export declare function Hidden(props?: HiddenProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function LightboxContainer(props?: {
|
4
4
|
fadeBg?: string;
|
5
5
|
zIndex?: number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): WithHtml<renderFnType>;
|
7
8
|
export declare function LightboxContainer(props?: {
|
8
9
|
fadeBg?: string;
|
9
10
|
zIndex?: number;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { TemplateResult } from 'lit';
|
2
|
+
import { renderFnOrArrayType } from './core';
|
3
|
+
export declare function ListItem(children?: renderFnOrArrayType): TemplateResult<1>;
|
4
|
+
export declare function List(props?: {
|
5
|
+
bordered?: boolean;
|
6
|
+
striped?: boolean;
|
7
|
+
hover?: boolean;
|
8
|
+
className?: string;
|
9
|
+
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
|
+
export declare function List(props?: {
|
11
|
+
bordered?: boolean;
|
12
|
+
striped?: boolean;
|
13
|
+
hover?: boolean;
|
14
|
+
className?: string;
|
15
|
+
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,14 +1,16 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function ListGroup(props?: {
|
4
4
|
bordered?: boolean;
|
5
5
|
striped?: boolean;
|
6
6
|
hover?: boolean;
|
7
7
|
className?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
9
10
|
export declare function ListGroup(props?: {
|
10
11
|
bordered?: boolean;
|
11
12
|
striped?: boolean;
|
12
13
|
hover?: boolean;
|
13
14
|
className?: string;
|
15
|
+
on?: OnEvent;
|
14
16
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function Overlay(props?: {
|
4
4
|
background?: string;
|
5
5
|
zIndex?: number;
|
6
6
|
fullScreen?: boolean;
|
7
|
+
on?: OnEvent;
|
7
8
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
8
9
|
export declare function Overlay(props?: {
|
9
10
|
background?: string;
|
10
11
|
zIndex?: number;
|
11
12
|
fullScreen?: boolean;
|
13
|
+
on?: OnEvent;
|
12
14
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function PositionContainer(props?: {
|
4
4
|
width?: string;
|
5
5
|
height?: string;
|
6
6
|
background?: string;
|
7
|
+
on?: OnEvent;
|
7
8
|
}): WithHtml<renderFnType>;
|
8
9
|
export declare function PositionContainer(props?: {
|
9
10
|
width?: string;
|
10
11
|
height?: string;
|
11
12
|
background?: string;
|
13
|
+
on?: OnEvent;
|
12
14
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function Row(props?: {
|
4
4
|
space?: string | number;
|
5
|
+
on?: OnEvent;
|
5
6
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
6
7
|
export declare function Row(props?: {
|
7
8
|
space?: string | number;
|
9
|
+
on?: OnEvent;
|
8
10
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function RowSplit(props?: {
|
4
4
|
firstWidth?: string;
|
5
5
|
gap?: string | number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}): WithHtml<renderFnType>;
|
7
8
|
export declare function RowSplit(props?: {
|
8
9
|
firstWidth?: string;
|
9
10
|
gap?: string | number;
|
11
|
+
on?: OnEvent;
|
10
12
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export declare function ScrollBar(props?: {
|
4
4
|
direction?: "vertical" | "horizontal";
|
5
5
|
height?: string;
|
6
6
|
width?: string;
|
7
7
|
customCss?: string;
|
8
8
|
className?: string;
|
9
|
+
on?: OnEvent;
|
9
10
|
}): WithHtml<renderFnType>;
|
10
11
|
export declare function ScrollBar(props?: {
|
11
12
|
direction?: "vertical" | "horizontal";
|
@@ -13,4 +14,5 @@ export declare function ScrollBar(props?: {
|
|
13
14
|
width?: string;
|
14
15
|
customCss?: string;
|
15
16
|
className?: string;
|
17
|
+
on?: OnEvent;
|
16
18
|
}, children?: renderFnType): TemplateResult<1>;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
export declare function SideBarContainer(props?: {
|
4
4
|
sidebarWidth?: string;
|
5
5
|
sidebarPosition?: "left" | "right";
|
6
6
|
gap?: string | number;
|
7
|
+
on?: OnEvent;
|
7
8
|
}): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
8
9
|
export declare function SideBarContainer(props?: {
|
9
10
|
sidebarWidth?: string;
|
10
11
|
sidebarPosition?: "left" | "right";
|
11
12
|
gap?: string | number;
|
13
|
+
on?: OnEvent;
|
12
14
|
}, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { OnEvent } from './core';
|
1
2
|
export declare function SkeletonLoader(props?: {
|
2
3
|
type?: "rect" | "circle";
|
3
4
|
width?: string;
|
@@ -5,4 +6,5 @@ export declare function SkeletonLoader(props?: {
|
|
5
6
|
borderRadius?: string;
|
6
7
|
animation?: boolean;
|
7
8
|
className?: string;
|
9
|
+
on?: OnEvent;
|
8
10
|
}): import('lit').TemplateResult<1>;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
interface StickyProps {
|
4
4
|
top?: string;
|
5
5
|
bottom?: string;
|
6
6
|
zIndex?: number;
|
7
|
+
on?: OnEvent;
|
7
8
|
}
|
8
9
|
export declare function Sticky(props?: StickyProps): WithHtml<renderFnType>;
|
9
10
|
export declare function Sticky(props?: StickyProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { TemplateResult } from 'lit';
|
2
|
-
export declare function Style(props?: {
|
3
|
-
id?: string;
|
4
|
-
}, children?: () => TemplateResult<1>): TemplateResult<1>;
|
5
|
-
export declare function ExampleComponent(props?: {
|
6
|
-
className?: string;
|
7
|
-
}, children?: () => TemplateResult<1>): TemplateResult<1>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
+
import { OnEvent } from './core';
|
2
3
|
type ScrollDirection = "x" | "y" | "both";
|
3
4
|
type ScrollBehavior = "auto" | "smooth";
|
4
5
|
type Alignment = "start" | "center" | "end" | "none";
|
@@ -23,6 +24,7 @@ export interface SwiperProps {
|
|
23
24
|
touchEnabled?: boolean;
|
24
25
|
mouseWheel?: boolean;
|
25
26
|
onSlideChange?: (index: number) => void;
|
27
|
+
on?: OnEvent;
|
26
28
|
}
|
27
29
|
export declare function Swiper(props?: SwiperProps): (slides?: TemplateResult<1>[] | (() => TemplateResult<1>[])) => TemplateResult<1>;
|
28
30
|
export declare function Swiper(props?: SwiperProps, slides?: TemplateResult<1>[] | (() => TemplateResult<1>[])): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export interface TableProps {
|
4
4
|
striped?: boolean;
|
5
5
|
hover?: boolean;
|
6
6
|
bordered?: boolean;
|
7
7
|
className?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function Table(props?: TableProps): WithHtml<renderFnType>;
|
10
11
|
export declare function Table(props?: TableProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnType, WithHtml } from './core';
|
2
|
+
import { OnEvent, renderFnType, WithHtml } from './core';
|
3
3
|
export interface WaterFlowProps {
|
4
4
|
columnCount?: number;
|
5
5
|
gap?: string | number;
|
6
|
+
on?: OnEvent;
|
6
7
|
}
|
7
8
|
export declare function WaterFlow(props?: WaterFlowProps): WithHtml<renderFnType>;
|
8
9
|
export declare function WaterFlow(props?: WaterFlowProps, children?: renderFnType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
interface WrapProps {
|
4
4
|
direction?: "row" | "column";
|
5
5
|
gap?: string | number;
|
6
6
|
align?: string;
|
7
7
|
justify?: string;
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function Wrap(props?: WrapProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
11
|
export declare function Wrap(props?: WrapProps, children?: renderFnOrArrayType): TemplateResult<1>;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateResult } from 'lit';
|
2
|
-
import { renderFnOrArrayType } from './core';
|
2
|
+
import { OnEvent, renderFnOrArrayType } from './core';
|
3
3
|
interface ZStackProps {
|
4
4
|
width?: string;
|
5
5
|
height?: string;
|
6
6
|
background?: string;
|
7
7
|
align?: "top-left" | "top-right" | "center" | "bottom-left" | "bottom-right";
|
8
|
+
on?: OnEvent;
|
8
9
|
}
|
9
10
|
export declare function ZStack(props?: ZStackProps): (children?: renderFnOrArrayType) => TemplateResult<1>;
|
10
11
|
export declare function ZStack(props?: ZStackProps, children?: renderFnOrArrayType): TemplateResult<1>;
|