@cntrl-site/components 1.0.43-alpha.0 → 1.0.43-alpha.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.
|
@@ -34,6 +34,8 @@ type SimpleButtonSettings = {
|
|
|
34
34
|
cornerRadius?: CornerRadius;
|
|
35
35
|
boxShadow?: BoxShadow;
|
|
36
36
|
boxShadowColor?: string;
|
|
37
|
+
innerBoxShadow?: BoxShadow;
|
|
38
|
+
innerBoxShadowColor?: string;
|
|
37
39
|
stroke?: number;
|
|
38
40
|
backgroundColor?: string;
|
|
39
41
|
textColor?: string;
|
|
@@ -57,7 +59,7 @@ type SimpleButtonSettings = {
|
|
|
57
59
|
minWidth?: number;
|
|
58
60
|
minHeight?: number;
|
|
59
61
|
};
|
|
60
|
-
type ColorKeys = 'backgroundColor' | 'textColor' | 'borderColor' | 'iconColor' | 'boxShadowColor';
|
|
62
|
+
type ColorKeys = 'backgroundColor' | 'textColor' | 'borderColor' | 'iconColor' | 'boxShadowColor' | 'innerBoxShadowColor';
|
|
61
63
|
type SimpleButtonProps = {
|
|
62
64
|
settings: SimpleButtonSettings;
|
|
63
65
|
isEditor?: boolean;
|
|
@@ -160,6 +160,32 @@ export declare const SimpleButtonComponent: {
|
|
|
160
160
|
type: string;
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
|
+
innerBoxShadow: {
|
|
164
|
+
type: "object";
|
|
165
|
+
scope: "layout";
|
|
166
|
+
title: string;
|
|
167
|
+
display: {
|
|
168
|
+
type: string;
|
|
169
|
+
step: number;
|
|
170
|
+
decimal: boolean;
|
|
171
|
+
allowNegative: boolean;
|
|
172
|
+
nonNegativeSides: string[];
|
|
173
|
+
sideLetters: {
|
|
174
|
+
top: string;
|
|
175
|
+
left: string;
|
|
176
|
+
right: string;
|
|
177
|
+
bottom: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
innerBoxShadowColor: {
|
|
182
|
+
type: "string";
|
|
183
|
+
scope: "common";
|
|
184
|
+
title: string;
|
|
185
|
+
display: {
|
|
186
|
+
type: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
163
189
|
stroke: {
|
|
164
190
|
type: "number";
|
|
165
191
|
scope: "layout";
|
|
@@ -330,6 +356,13 @@ export declare const SimpleButtonComponent: {
|
|
|
330
356
|
bottom: number;
|
|
331
357
|
};
|
|
332
358
|
boxShadowColor: string;
|
|
359
|
+
innerBoxShadow: {
|
|
360
|
+
top: number;
|
|
361
|
+
left: number;
|
|
362
|
+
right: number;
|
|
363
|
+
bottom: number;
|
|
364
|
+
};
|
|
365
|
+
innerBoxShadowColor: string;
|
|
333
366
|
stroke: number;
|
|
334
367
|
backgroundColor: string;
|
|
335
368
|
textColor: string;
|
|
@@ -449,7 +482,7 @@ export declare const SimpleButtonComponent: {
|
|
|
449
482
|
})[];
|
|
450
483
|
}[];
|
|
451
484
|
paletteBookmark: {
|
|
452
|
-
items: ("backgroundColor" | "borderColor" | "textColor" | "iconColor" | "boxShadowColor")[];
|
|
485
|
+
items: ("backgroundColor" | "borderColor" | "textColor" | "iconColor" | "boxShadowColor" | "innerBoxShadowColor")[];
|
|
453
486
|
panelIds: string[];
|
|
454
487
|
stateItems: {
|
|
455
488
|
default: string[];
|