@plaidev/karte-action-sdk 1.1.268-29128731.e21f076b → 1.1.268-29132946.504b468b
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/avatar/types.d.ts +2 -2
- package/dist/components-flex/close-button/types.d.ts +4 -4
- package/dist/components-flex/image/types.d.ts +2 -2
- package/dist/components-flex/layout/types.d.ts +1 -0
- package/dist/components-flex/list/types.d.ts +2 -5
- package/dist/components-flex/multi-column/types.d.ts +2 -5
- package/dist/components-flex/props.d.ts +18 -11
- package/dist/components-flex/utils/prop-to-style.d.ts +3 -2
- package/dist/components-flex/variants.d.ts +8 -2
- package/dist/hydrate/components-flex/avatar/types.d.ts +2 -2
- package/dist/hydrate/components-flex/close-button/types.d.ts +4 -4
- package/dist/hydrate/components-flex/image/types.d.ts +2 -2
- package/dist/hydrate/components-flex/layout/types.d.ts +1 -0
- package/dist/hydrate/components-flex/list/types.d.ts +2 -5
- package/dist/hydrate/components-flex/multi-column/types.d.ts +2 -5
- package/dist/hydrate/components-flex/props.d.ts +18 -11
- package/dist/hydrate/components-flex/utils/prop-to-style.d.ts +3 -2
- package/dist/hydrate/components-flex/variants.d.ts +8 -2
- package/dist/hydrate/index.es.js +209 -86
- package/dist/index.es.js +207 -85
- package/dist/svelte5/components-flex/avatar/types.d.ts +2 -2
- package/dist/svelte5/components-flex/close-button/types.d.ts +4 -4
- package/dist/svelte5/components-flex/image/types.d.ts +2 -2
- package/dist/svelte5/components-flex/layout/types.d.ts +1 -0
- package/dist/svelte5/components-flex/list/types.d.ts +2 -5
- package/dist/svelte5/components-flex/multi-column/types.d.ts +2 -5
- package/dist/svelte5/components-flex/props.d.ts +18 -11
- package/dist/svelte5/components-flex/utils/prop-to-style.d.ts +3 -2
- package/dist/svelte5/components-flex/variants.d.ts +8 -2
- package/dist/svelte5/hydrate/components-flex/avatar/types.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/close-button/types.d.ts +4 -4
- package/dist/svelte5/hydrate/components-flex/image/types.d.ts +2 -2
- package/dist/svelte5/hydrate/components-flex/layout/types.d.ts +1 -0
- package/dist/svelte5/hydrate/components-flex/list/types.d.ts +2 -5
- package/dist/svelte5/hydrate/components-flex/multi-column/types.d.ts +2 -5
- package/dist/svelte5/hydrate/components-flex/props.d.ts +18 -11
- package/dist/svelte5/hydrate/components-flex/utils/prop-to-style.d.ts +3 -2
- package/dist/svelte5/hydrate/components-flex/variants.d.ts +8 -2
- package/dist/svelte5/hydrate/index.es.js +182 -69
- package/dist/svelte5/index.es.js +182 -69
- package/dist/svelte5/index.front2.es.js +185 -68
- package/package.json +1 -1
@@ -1,10 +1,7 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, ClickableProps, ActionTableProps } from "../props.js";
|
3
|
-
export type ListProps = CommonProps & ActionTableProps & {
|
2
|
+
import type { CommonProps, ClickableProps, ActionTableProps, BorderSingleProps } from "../props.js";
|
3
|
+
export type ListProps = CommonProps & BorderSingleProps & ActionTableProps & {
|
4
4
|
gap?: Properties["gap"]
|
5
|
-
borderWidth?: Properties["borderTopWidth"]
|
6
|
-
borderStyle?: Properties["borderTopStyle"]
|
7
|
-
borderColor?: Properties["borderTopColor"]
|
8
5
|
width?: Properties["width"]
|
9
6
|
itemPaddingTop?: Properties["paddingTop"]
|
10
7
|
itemPaddingLeft?: Properties["paddingLeft"]
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, ClickableProps } from "../props.js";
|
3
|
-
export type MultiColumnProps = CommonProps & {
|
2
|
+
import type { CommonProps, ClickableProps, BorderSingleProps } from "../props.js";
|
3
|
+
export type MultiColumnProps = CommonProps & BorderSingleProps & {
|
4
4
|
gap?: Properties["columnGap"]
|
5
|
-
borderWidth?: Properties["borderTopWidth"]
|
6
|
-
borderStyle?: Properties["borderTopStyle"]
|
7
|
-
borderColor?: Properties["borderTopColor"]
|
8
5
|
width?: Properties["width"]
|
9
6
|
itemPaddingTop?: Properties["paddingTop"]
|
10
7
|
itemPaddingLeft?: Properties["paddingLeft"]
|
@@ -2,7 +2,8 @@ import type { Properties } from "csstype";
|
|
2
2
|
import type { OnClickOperation } from "../prop.js";
|
3
3
|
import type { BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET } from "./button/types.js";
|
4
4
|
import type { BrandKit } from "./brand-kit.js";
|
5
|
-
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode } from "./variants.js";
|
5
|
+
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode, BackgroundColorVariantCode } from "./variants.js";
|
6
|
+
import type { TEXT_THEME } from "./text/types.js";
|
6
7
|
type PositionPlaceProps = {
|
7
8
|
top?: Properties["top"]
|
8
9
|
left?: Properties["left"]
|
@@ -36,12 +37,20 @@ export type ClickableProps = {
|
|
36
37
|
export type OverflowProps = {
|
37
38
|
overflow?: Properties["overflow"]
|
38
39
|
};
|
39
|
-
export type
|
40
|
+
export type BorderColorProps = {
|
41
|
+
borderColor?: Properties["borderColor"]
|
42
|
+
borderColorVariant?: string
|
43
|
+
};
|
44
|
+
export type BorderProps = BorderColorProps & {
|
40
45
|
borderTopWidth?: Properties["borderTopWidth"]
|
41
46
|
borderLeftWidth?: Properties["borderLeftWidth"]
|
42
47
|
borderRightWidth?: Properties["borderRightWidth"]
|
43
48
|
borderBottomWidth?: Properties["borderBottomWidth"]
|
44
|
-
|
49
|
+
borderStyle?: Properties["borderTopStyle"]
|
50
|
+
};
|
51
|
+
export type BorderSingleProps = BorderColorProps & {
|
52
|
+
borderStyle?: Properties["borderTopStyle"]
|
53
|
+
borderWidth?: Properties["borderTopWidth"]
|
45
54
|
};
|
46
55
|
export type PaddingProps = {
|
47
56
|
paddingTop?: Properties["paddingTop"]
|
@@ -55,8 +64,13 @@ export type RadiusProps = {
|
|
55
64
|
borderBottomLeftRadius?: Properties["borderBottomLeftRadius"]
|
56
65
|
borderBottomRightRadius?: Properties["borderBottomRightRadius"]
|
57
66
|
};
|
67
|
+
export type ColorProps = {
|
68
|
+
color?: Properties["color"]
|
69
|
+
colorVariant?: keyof typeof TEXT_THEME
|
70
|
+
};
|
58
71
|
export type BackgroundColorProps = {
|
59
72
|
backgroundColor?: Properties["backgroundColor"]
|
73
|
+
backgroundColorVariant?: BackgroundColorVariantCode
|
60
74
|
};
|
61
75
|
export type BackgroundImageProps = {
|
62
76
|
backgroundImageUrl?: string
|
@@ -65,14 +79,7 @@ export type BackgroundImageProps = {
|
|
65
79
|
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
66
80
|
backgroundBlendColor?: Properties["backgroundColor"]
|
67
81
|
};
|
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
|
-
};
|
82
|
+
export type BackgroundProps = BackgroundColorProps & BackgroundImageProps;
|
76
83
|
export type ShadowProps = {
|
77
84
|
shadow?: Properties["boxShadow"]
|
78
85
|
shadowVariant?: ShadowVariantCode
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
2
|
import type { BorderProps, CommonProps, OverflowProps, PaddingProps, PositionProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
|
+
import type { BrandKit } from "../brand-kit.js";
|
3
4
|
export declare const toCssPosition: (p?: PositionProps) => Properties;
|
4
5
|
export declare const toCssCommon: (p?: CommonProps) => Properties;
|
5
|
-
export declare const toCssBorder: (p?: BorderProps) => Properties;
|
6
|
+
export declare const toCssBorder: (p?: BorderProps, brandKit?: BrandKit) => Properties;
|
6
7
|
export declare const toCssPadding: (p?: PaddingProps) => Properties;
|
7
|
-
export declare const toCssBackground: (p?: BackgroundProps) => Properties;
|
8
|
+
export declare const toCssBackground: (p?: BackgroundProps, brandKit?: BrandKit) => Properties;
|
8
9
|
export declare const toCssRadius: (p?: RadiusProps) => Properties;
|
9
10
|
export declare const toCssShadow: (p?: ShadowProps) => Properties;
|
10
11
|
export declare const toCssOverflow: (p?: OverflowProps) => Properties;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { BrandKit } from "./brand-kit.js";
|
2
|
-
import type { ShadowProps, FontFamilyProps, AspectProps } from "./props.js";
|
2
|
+
import type { ShadowProps, FontFamilyProps, AspectProps, BackgroundColorProps, BorderColorProps } from "./props.js";
|
3
3
|
export type VariantStyles<Props extends object = object> = Props & {
|
4
4
|
hover?: Props
|
5
5
|
active?: Props
|
@@ -10,7 +10,7 @@ export type VariantDefinition<
|
|
10
10
|
> = {
|
11
11
|
name: string
|
12
12
|
description?: string
|
13
|
-
getProps: (brandKit?: BrandKit) => VariantStyles<Props>
|
13
|
+
getProps: (brandKit?: Partial<BrandKit>) => VariantStyles<Props>
|
14
14
|
meta?: Meta
|
15
15
|
};
|
16
16
|
export type VariantDefinitionGroup<
|
@@ -39,4 +39,10 @@ export declare const FONT_FAMILY_VARIANT_GROUPS: FontFamilyVariantGroup[];
|
|
39
39
|
export declare const SHADOW_VARIANT: VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">>;
|
40
40
|
export type ShadowVariantCode = keyof typeof SHADOW_VARIANT;
|
41
41
|
export declare const SHADOW_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">, object>>[];
|
42
|
+
export declare const BACKGROUND_COLOR_VARIANT: VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">>;
|
43
|
+
export type BackgroundColorVariantCode = keyof typeof BACKGROUND_COLOR_VARIANT;
|
44
|
+
export declare const BACKGROUND_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">, object>>[];
|
45
|
+
export declare const BORDER_COLOR_VARIANT: VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">>;
|
46
|
+
export type BorderColorVariantCode = keyof typeof BORDER_COLOR_VARIANT;
|
47
|
+
export declare const BORDER_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">, object>>[];
|
42
48
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { BorderProps, ClickableProps, CommonProps } from "../props.js";
|
1
|
+
import type { BorderProps, ClickableProps, CommonProps, PaddingProps } from "../props.js";
|
2
2
|
import type { Properties } from "csstype";
|
3
3
|
export declare const AVATAR_SIZE: {
|
4
4
|
readonly extra_small: "XS(48 x 48)"
|
@@ -12,7 +12,7 @@ export declare const AVATAR_SHAPE: {
|
|
12
12
|
readonly square: "スクエア"
|
13
13
|
readonly rounded: "ラウンド"
|
14
14
|
};
|
15
|
-
export type AvatarProps = CommonProps & ClickableProps & BorderProps & {
|
15
|
+
export type AvatarProps = CommonProps & ClickableProps & PaddingProps & BorderProps & {
|
16
16
|
size?: keyof typeof AVATAR_SIZE | number
|
17
17
|
width?: Properties["width"]
|
18
18
|
height?: Properties["height"]
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import type { BorderProps, ClickableProps, CommonProps } from "../props.js";
|
1
|
+
import type { BorderProps, ClickableProps, CommonProps, BackgroundColorProps, ColorProps, PaddingProps } from "../props.js";
|
2
2
|
import type { Properties } from "csstype";
|
3
|
+
import type { TEXT_THEME } from "../text/types.js";
|
3
4
|
export declare const CLOSE_BUTTON_PLACEMENT: {
|
4
5
|
readonly topRight: "topRight"
|
5
6
|
readonly topLeft: "topLeft"
|
@@ -15,15 +16,14 @@ export declare const CLOSE_BUTTON_LABEL_PLACEMENT: {
|
|
15
16
|
readonly right: "right"
|
16
17
|
readonly left: "left"
|
17
18
|
};
|
18
|
-
export type CloseButtonProps = CommonProps & ClickableProps & BorderProps & {
|
19
|
+
export type CloseButtonProps = CommonProps & BackgroundColorProps & ClickableProps & ColorProps & PaddingProps & BorderProps & {
|
19
20
|
size?: number
|
20
21
|
placement?: keyof typeof CLOSE_BUTTON_PLACEMENT
|
21
22
|
round?: keyof typeof CLOSE_BUTTON_ROUND
|
22
23
|
bordered?: boolean
|
23
|
-
color?: Properties["color"]
|
24
|
-
backgroundColor?: Properties["backgroundColor"]
|
25
24
|
label?: string
|
26
25
|
labelColor?: Properties["color"]
|
26
|
+
labelColorVariant?: keyof typeof TEXT_THEME
|
27
27
|
labelPlacement?: keyof typeof CLOSE_BUTTON_LABEL_PLACEMENT
|
28
28
|
top?: Properties["top"]
|
29
29
|
right?: Properties["right"]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, BorderProps, ClickableProps, AspectProps, RadiusProps } from "../props.js";
|
2
|
+
import type { CommonProps, BorderProps, ClickableProps, AspectProps, RadiusProps, PaddingProps } from "../props.js";
|
3
3
|
export declare const IMAGE_ROUND_SHAPE: {
|
4
4
|
readonly circle: "ラウンド / ミディアム"
|
5
5
|
readonly rounded: "ラウンド / スモール"
|
@@ -17,7 +17,7 @@ export declare const IMAGE_ASPECT_VARIANTS: {
|
|
17
17
|
"3/4": string
|
18
18
|
"9/16": string
|
19
19
|
};
|
20
|
-
export type ImageProps = CommonProps & ClickableProps & AspectProps & RadiusProps & BorderProps & {
|
20
|
+
export type ImageProps = CommonProps & ClickableProps & AspectProps & RadiusProps & PaddingProps & BorderProps & {
|
21
21
|
image?: string
|
22
22
|
width?: Properties["width"]
|
23
23
|
height?: Properties["height"]
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, ClickableProps, ActionTableProps } from "../props.js";
|
3
|
-
export type ListProps = CommonProps & ActionTableProps & {
|
2
|
+
import type { CommonProps, ClickableProps, ActionTableProps, BorderSingleProps } from "../props.js";
|
3
|
+
export type ListProps = CommonProps & BorderSingleProps & ActionTableProps & {
|
4
4
|
gap?: Properties["gap"]
|
5
|
-
borderWidth?: Properties["borderTopWidth"]
|
6
|
-
borderStyle?: Properties["borderTopStyle"]
|
7
|
-
borderColor?: Properties["borderTopColor"]
|
8
5
|
width?: Properties["width"]
|
9
6
|
itemPaddingTop?: Properties["paddingTop"]
|
10
7
|
itemPaddingLeft?: Properties["paddingLeft"]
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
|
-
import type { CommonProps, ClickableProps } from "../props.js";
|
3
|
-
export type MultiColumnProps = CommonProps & {
|
2
|
+
import type { CommonProps, ClickableProps, BorderSingleProps } from "../props.js";
|
3
|
+
export type MultiColumnProps = CommonProps & BorderSingleProps & {
|
4
4
|
gap?: Properties["columnGap"]
|
5
|
-
borderWidth?: Properties["borderTopWidth"]
|
6
|
-
borderStyle?: Properties["borderTopStyle"]
|
7
|
-
borderColor?: Properties["borderTopColor"]
|
8
5
|
width?: Properties["width"]
|
9
6
|
itemPaddingTop?: Properties["paddingTop"]
|
10
7
|
itemPaddingLeft?: Properties["paddingLeft"]
|
@@ -2,7 +2,8 @@ import type { Properties } from "csstype";
|
|
2
2
|
import type { OnClickOperation } from "../prop.js";
|
3
3
|
import type { BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET } from "./button/types.js";
|
4
4
|
import type { BrandKit } from "./brand-kit.js";
|
5
|
-
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode } from "./variants.js";
|
5
|
+
import type { AspectVariantCode, FontFamilyVariantCode, ShadowVariantCode, BackgroundColorVariantCode } from "./variants.js";
|
6
|
+
import type { TEXT_THEME } from "./text/types.js";
|
6
7
|
type PositionPlaceProps = {
|
7
8
|
top?: Properties["top"]
|
8
9
|
left?: Properties["left"]
|
@@ -36,12 +37,20 @@ export type ClickableProps = {
|
|
36
37
|
export type OverflowProps = {
|
37
38
|
overflow?: Properties["overflow"]
|
38
39
|
};
|
39
|
-
export type
|
40
|
+
export type BorderColorProps = {
|
41
|
+
borderColor?: Properties["borderColor"]
|
42
|
+
borderColorVariant?: string
|
43
|
+
};
|
44
|
+
export type BorderProps = BorderColorProps & {
|
40
45
|
borderTopWidth?: Properties["borderTopWidth"]
|
41
46
|
borderLeftWidth?: Properties["borderLeftWidth"]
|
42
47
|
borderRightWidth?: Properties["borderRightWidth"]
|
43
48
|
borderBottomWidth?: Properties["borderBottomWidth"]
|
44
|
-
|
49
|
+
borderStyle?: Properties["borderTopStyle"]
|
50
|
+
};
|
51
|
+
export type BorderSingleProps = BorderColorProps & {
|
52
|
+
borderStyle?: Properties["borderTopStyle"]
|
53
|
+
borderWidth?: Properties["borderTopWidth"]
|
45
54
|
};
|
46
55
|
export type PaddingProps = {
|
47
56
|
paddingTop?: Properties["paddingTop"]
|
@@ -55,8 +64,13 @@ export type RadiusProps = {
|
|
55
64
|
borderBottomLeftRadius?: Properties["borderBottomLeftRadius"]
|
56
65
|
borderBottomRightRadius?: Properties["borderBottomRightRadius"]
|
57
66
|
};
|
67
|
+
export type ColorProps = {
|
68
|
+
color?: Properties["color"]
|
69
|
+
colorVariant?: keyof typeof TEXT_THEME
|
70
|
+
};
|
58
71
|
export type BackgroundColorProps = {
|
59
72
|
backgroundColor?: Properties["backgroundColor"]
|
73
|
+
backgroundColorVariant?: BackgroundColorVariantCode
|
60
74
|
};
|
61
75
|
export type BackgroundImageProps = {
|
62
76
|
backgroundImageUrl?: string
|
@@ -65,14 +79,7 @@ export type BackgroundImageProps = {
|
|
65
79
|
backgroundBlendMode?: Properties["backgroundBlendMode"]
|
66
80
|
backgroundBlendColor?: Properties["backgroundColor"]
|
67
81
|
};
|
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
|
-
};
|
82
|
+
export type BackgroundProps = BackgroundColorProps & BackgroundImageProps;
|
76
83
|
export type ShadowProps = {
|
77
84
|
shadow?: Properties["boxShadow"]
|
78
85
|
shadowVariant?: ShadowVariantCode
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import type { Properties } from "csstype";
|
2
2
|
import type { BorderProps, CommonProps, OverflowProps, PaddingProps, PositionProps, RadiusProps, ShadowProps, BackgroundProps } from "../props.js";
|
3
|
+
import type { BrandKit } from "../brand-kit.js";
|
3
4
|
export declare const toCssPosition: (p?: PositionProps) => Properties;
|
4
5
|
export declare const toCssCommon: (p?: CommonProps) => Properties;
|
5
|
-
export declare const toCssBorder: (p?: BorderProps) => Properties;
|
6
|
+
export declare const toCssBorder: (p?: BorderProps, brandKit?: BrandKit) => Properties;
|
6
7
|
export declare const toCssPadding: (p?: PaddingProps) => Properties;
|
7
|
-
export declare const toCssBackground: (p?: BackgroundProps) => Properties;
|
8
|
+
export declare const toCssBackground: (p?: BackgroundProps, brandKit?: BrandKit) => Properties;
|
8
9
|
export declare const toCssRadius: (p?: RadiusProps) => Properties;
|
9
10
|
export declare const toCssShadow: (p?: ShadowProps) => Properties;
|
10
11
|
export declare const toCssOverflow: (p?: OverflowProps) => Properties;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { BrandKit } from "./brand-kit.js";
|
2
|
-
import type { ShadowProps, FontFamilyProps, AspectProps } from "./props.js";
|
2
|
+
import type { ShadowProps, FontFamilyProps, AspectProps, BackgroundColorProps, BorderColorProps } from "./props.js";
|
3
3
|
export type VariantStyles<Props extends object = object> = Props & {
|
4
4
|
hover?: Props
|
5
5
|
active?: Props
|
@@ -10,7 +10,7 @@ export type VariantDefinition<
|
|
10
10
|
> = {
|
11
11
|
name: string
|
12
12
|
description?: string
|
13
|
-
getProps: (brandKit?: BrandKit) => VariantStyles<Props>
|
13
|
+
getProps: (brandKit?: Partial<BrandKit>) => VariantStyles<Props>
|
14
14
|
meta?: Meta
|
15
15
|
};
|
16
16
|
export type VariantDefinitionGroup<
|
@@ -39,4 +39,10 @@ export declare const FONT_FAMILY_VARIANT_GROUPS: FontFamilyVariantGroup[];
|
|
39
39
|
export declare const SHADOW_VARIANT: VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">>;
|
40
40
|
export type ShadowVariantCode = keyof typeof SHADOW_VARIANT;
|
41
41
|
export declare const SHADOW_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<ShadowProps, "shadowVariant">, object>>[];
|
42
|
+
export declare const BACKGROUND_COLOR_VARIANT: VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">>;
|
43
|
+
export type BackgroundColorVariantCode = keyof typeof BACKGROUND_COLOR_VARIANT;
|
44
|
+
export declare const BACKGROUND_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BackgroundColorProps, "backgroundColorVariant">, object>>[];
|
45
|
+
export declare const BORDER_COLOR_VARIANT: VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">>;
|
46
|
+
export type BorderColorVariantCode = keyof typeof BORDER_COLOR_VARIANT;
|
47
|
+
export declare const BORDER_COLOR_VARIANTS: ToVariantArrayReturn<VariantDefinitionGroup<Omit<BorderColorProps, "borderColorVariant">, object>>[];
|
42
48
|
export {};
|