@plaidev/karte-action-sdk 1.1.268-29127338.e0debfc5 → 1.1.268-29128731.e21f076b
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-flex/layout/types.d.ts +2 -2
- package/dist/components-flex/modal/types.d.ts +2 -2
- package/dist/components-flex/props.d.ts +8 -0
- package/dist/components-flex/utils/prop-to-style.d.ts +2 -3
- package/dist/hydrate/components-flex/layout/types.d.ts +2 -2
- package/dist/hydrate/components-flex/modal/types.d.ts +2 -2
- package/dist/hydrate/components-flex/props.d.ts +8 -0
- package/dist/hydrate/components-flex/utils/prop-to-style.d.ts +2 -3
- package/dist/hydrate/index.es.js +107 -111
- package/dist/index.es.js +105 -109
- package/dist/svelte5/components-flex/layout/types.d.ts +2 -2
- package/dist/svelte5/components-flex/modal/types.d.ts +2 -2
- package/dist/svelte5/components-flex/props.d.ts +8 -0
- package/dist/svelte5/components-flex/utils/prop-to-style.d.ts +2 -3
- package/dist/svelte5/hydrate/components-flex/layout/types.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/modal/types.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/props.d.ts +8 -0
- package/dist/svelte5/hydrate/components-flex/utils/prop-to-style.d.ts +2 -3
- package/dist/svelte5/hydrate/index.es.js +36 -40
- package/dist/svelte5/index.es.js +36 -40
- package/dist/svelte5/index.front2.es.js +36 -40
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type {
|
2
|
+
import type { BorderProps, ClickableProps, CommonProps, OverflowProps, PaddingProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
3
|
export declare const LAYOUT_DISPLAY_TYPE: readonly ["inline-flex", "flex", "block"];
|
4
4
|
export type LayoutDisplayType = (typeof LAYOUT_DISPLAY_TYPE)[number];
|
5
5
|
export declare const LAYOUT_DIRECTION: readonly ["column", "column-reverse", "row", "row-reverse"];
|
@@ -8,7 +8,7 @@ export declare const LAYOUT_ALIGN: readonly ["flex-start", "center", "flex-end",
|
|
8
8
|
export type LayoutFlexAlign = (typeof LAYOUT_ALIGN)[number];
|
9
9
|
export declare const LAYOUT_JUSTIFY: readonly ["flex-start", "center", "flex-end", "space-between"];
|
10
10
|
export type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
|
11
|
-
export type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps &
|
11
|
+
export type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundProps & PaddingProps & {
|
12
12
|
display?: LayoutDisplayType
|
13
13
|
direction?: LayoutFlexDirection
|
14
14
|
align?: LayoutFlexAlign
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, OverflowProps, BorderProps, RadiusProps, ShadowProps,
|
3
|
-
export type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps &
|
2
|
+
import type { CommonProps, OverflowProps, BorderProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
|
+
export type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundProps & {
|
4
4
|
width?: Properties["width"]
|
5
5
|
};
|
@@ -65,6 +65,14 @@ export type BackgroundImageProps = {
|
|
65
65
|
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
66
66
|
backgroundBlendColor?: Properties["backgroundColor"]
|
67
67
|
};
|
68
|
+
export type BackgroundProps = {
|
69
|
+
backgroundColor?: Properties["backgroundColor"]
|
70
|
+
backgroundImageUrl?: string
|
71
|
+
backgroundPositionX?: Properties["backgroundPositionX"]
|
72
|
+
backgroundPositionY?: Properties["backgroundPositionY"]
|
73
|
+
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
74
|
+
backgroundBlendColor?: Properties["backgroundColor"]
|
75
|
+
};
|
68
76
|
export type ShadowProps = {
|
69
77
|
shadow?: Properties["boxShadow"]
|
70
78
|
shadowVariant?: ShadowVariantCode
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type {
|
2
|
+
import type { BorderProps, CommonProps, OverflowProps, PaddingProps, PositionProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
3
|
export declare const toCssPosition: (p?: PositionProps) => Properties;
|
4
4
|
export declare const toCssCommon: (p?: CommonProps) => Properties;
|
5
5
|
export declare const toCssBorder: (p?: BorderProps) => Properties;
|
6
6
|
export declare const toCssPadding: (p?: PaddingProps) => Properties;
|
7
|
-
export declare const
|
8
|
-
export declare const toCssBackgroundColor: (p?: BackgroundColorProps) => Properties;
|
7
|
+
export declare const toCssBackground: (p?: BackgroundProps) => Properties;
|
9
8
|
export declare const toCssRadius: (p?: RadiusProps) => Properties;
|
10
9
|
export declare const toCssShadow: (p?: ShadowProps) => Properties;
|
11
10
|
export declare const toCssOverflow: (p?: OverflowProps) => Properties;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type {
|
2
|
+
import type { BorderProps, ClickableProps, CommonProps, OverflowProps, PaddingProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
3
|
export declare const LAYOUT_DISPLAY_TYPE: readonly ["inline-flex", "flex", "block"];
|
4
4
|
export type LayoutDisplayType = (typeof LAYOUT_DISPLAY_TYPE)[number];
|
5
5
|
export declare const LAYOUT_DIRECTION: readonly ["column", "column-reverse", "row", "row-reverse"];
|
@@ -8,7 +8,7 @@ export declare const LAYOUT_ALIGN: readonly ["flex-start", "center", "flex-end",
|
|
8
8
|
export type LayoutFlexAlign = (typeof LAYOUT_ALIGN)[number];
|
9
9
|
export declare const LAYOUT_JUSTIFY: readonly ["flex-start", "center", "flex-end", "space-between"];
|
10
10
|
export type LayoutFlexJustify = (typeof LAYOUT_JUSTIFY)[number];
|
11
|
-
export type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps &
|
11
|
+
export type LayerLayoutProps = CommonProps & ClickableProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundProps & PaddingProps & {
|
12
12
|
display?: LayoutDisplayType
|
13
13
|
direction?: LayoutFlexDirection
|
14
14
|
align?: LayoutFlexAlign
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, OverflowProps, BorderProps, RadiusProps, ShadowProps,
|
3
|
-
export type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps &
|
2
|
+
import type { CommonProps, OverflowProps, BorderProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
|
+
export type FrameModalProps = CommonProps & OverflowProps & BorderProps & RadiusProps & ShadowProps & BackgroundProps & {
|
4
4
|
width?: Properties["width"]
|
5
5
|
};
|
@@ -65,6 +65,14 @@ export type BackgroundImageProps = {
|
|
65
65
|
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
66
66
|
backgroundBlendColor?: Properties["backgroundColor"]
|
67
67
|
};
|
68
|
+
export type BackgroundProps = {
|
69
|
+
backgroundColor?: Properties["backgroundColor"]
|
70
|
+
backgroundImageUrl?: string
|
71
|
+
backgroundPositionX?: Properties["backgroundPositionX"]
|
72
|
+
backgroundPositionY?: Properties["backgroundPositionY"]
|
73
|
+
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
74
|
+
backgroundBlendColor?: Properties["backgroundColor"]
|
75
|
+
};
|
68
76
|
export type ShadowProps = {
|
69
77
|
shadow?: Properties["boxShadow"]
|
70
78
|
shadowVariant?: ShadowVariantCode
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type {
|
2
|
+
import type { BorderProps, CommonProps, OverflowProps, PaddingProps, PositionProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
3
|
export declare const toCssPosition: (p?: PositionProps) => Properties;
|
4
4
|
export declare const toCssCommon: (p?: CommonProps) => Properties;
|
5
5
|
export declare const toCssBorder: (p?: BorderProps) => Properties;
|
6
6
|
export declare const toCssPadding: (p?: PaddingProps) => Properties;
|
7
|
-
export declare const
|
8
|
-
export declare const toCssBackgroundColor: (p?: BackgroundColorProps) => Properties;
|
7
|
+
export declare const toCssBackground: (p?: BackgroundProps) => Properties;
|
9
8
|
export declare const toCssRadius: (p?: RadiusProps) => Properties;
|
10
9
|
export declare const toCssShadow: (p?: ShadowProps) => Properties;
|
11
10
|
export declare const toCssOverflow: (p?: OverflowProps) => Properties;
|