@appkit/dek-ui 0.24.1 → 0.25.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/dist/components/Styles/Styles.d.ts +2 -1
- package/dist/components/TileChart/TileChart.d.ts +2 -1
- package/dist/components/View/View.d.ts +5 -1
- package/dist/components/View/View.styled.d.ts +4 -0
- package/dist/index.es.js +1140 -1103
- package/dist/index.umd.js +57 -43
- package/dist/lib/theme.d.ts +6 -0
- package/dist/stories/Card.stories.d.ts +1 -0
- package/dist/stories/View.stories.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@ type Props = {
|
|
|
3
3
|
tileBackColor?: string;
|
|
4
4
|
clearBackColor?: string;
|
|
5
5
|
buttonBackColor?: string;
|
|
6
|
+
cardBackColor?: string;
|
|
6
7
|
zoom?: number;
|
|
7
8
|
};
|
|
8
|
-
declare const Styles: ({ transitionDelay, tileBackColor, clearBackColor, buttonBackColor, zoom, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const Styles: ({ transitionDelay, tileBackColor, clearBackColor, buttonBackColor, cardBackColor, zoom, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default Styles;
|
|
@@ -15,6 +15,7 @@ type TileChartProps = {
|
|
|
15
15
|
subtitle?: string;
|
|
16
16
|
subtitleSize?: TextSize | number;
|
|
17
17
|
backColor?: ViewBackColor | string;
|
|
18
|
+
borderRadius?: number;
|
|
18
19
|
width: number;
|
|
19
20
|
height: number;
|
|
20
21
|
padding?: number;
|
|
@@ -25,5 +26,5 @@ type TileChartProps = {
|
|
|
25
26
|
min?: number;
|
|
26
27
|
max?: number;
|
|
27
28
|
};
|
|
28
|
-
declare const TileChart: ({ variant, title, titleSize, subtitle, subtitleSize, backColor, width, height, padding, iconName, iconColor, iconSize, dataset, min, max, }: TileChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare const TileChart: ({ variant, title, titleSize, subtitle, subtitleSize, backColor, borderRadius, width, height, padding, iconName, iconColor, iconSize, dataset, min, max, }: TileChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export default TileChart;
|
|
@@ -28,9 +28,13 @@ export type ViewProps = {
|
|
|
28
28
|
backColor?: ViewBackColor | string;
|
|
29
29
|
backColorHover?: ViewBackColor | string;
|
|
30
30
|
borderRadius?: number;
|
|
31
|
+
wrap?: boolean;
|
|
32
|
+
gap?: number;
|
|
33
|
+
gapRow?: number;
|
|
34
|
+
gapCol?: number;
|
|
31
35
|
className?: string;
|
|
32
36
|
onClick?: () => void;
|
|
33
37
|
children?: ReactNode;
|
|
34
38
|
};
|
|
35
|
-
declare const View: ({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, backColorHover, borderRadius, className, onClick, style, children, }: ViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare const View: ({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, backColorHover, borderRadius, wrap, gap, gapRow, gapCol, className, onClick, style, children, }: ViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
40
|
export default View;
|
|
@@ -20,6 +20,10 @@ type ContainerProps = {
|
|
|
20
20
|
$backColor: ViewBackColor | string;
|
|
21
21
|
$backColorHover?: ViewBackColor | string;
|
|
22
22
|
$borderRadius: number;
|
|
23
|
+
$wrap: boolean;
|
|
24
|
+
$gap?: number;
|
|
25
|
+
$gapRow?: number;
|
|
26
|
+
$gapCol?: number;
|
|
23
27
|
};
|
|
24
28
|
export declare const Container: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>>;
|
|
25
29
|
export {};
|