@cntrl-site/components 1.0.43-alpha.0 → 1.0.43-alpha.2

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;
@@ -20,6 +20,7 @@ export declare const SimpleButtonComponent: {
20
20
  version: 1;
21
21
  settings: {
22
22
  sizing: string;
23
+ linkInParamsPanel: true;
23
24
  properties: {
24
25
  type: {
25
26
  type: "string";
@@ -160,6 +161,32 @@ export declare const SimpleButtonComponent: {
160
161
  type: string;
161
162
  };
162
163
  };
164
+ innerBoxShadow: {
165
+ type: "object";
166
+ scope: "layout";
167
+ title: string;
168
+ display: {
169
+ type: string;
170
+ step: number;
171
+ decimal: boolean;
172
+ allowNegative: boolean;
173
+ nonNegativeSides: string[];
174
+ sideLetters: {
175
+ top: string;
176
+ left: string;
177
+ right: string;
178
+ bottom: string;
179
+ };
180
+ };
181
+ };
182
+ innerBoxShadowColor: {
183
+ type: "string";
184
+ scope: "common";
185
+ title: string;
186
+ display: {
187
+ type: string;
188
+ };
189
+ };
163
190
  stroke: {
164
191
  type: "number";
165
192
  scope: "layout";
@@ -330,6 +357,13 @@ export declare const SimpleButtonComponent: {
330
357
  bottom: number;
331
358
  };
332
359
  boxShadowColor: string;
360
+ innerBoxShadow: {
361
+ top: number;
362
+ left: number;
363
+ right: number;
364
+ bottom: number;
365
+ };
366
+ innerBoxShadowColor: string;
333
367
  stroke: number;
334
368
  backgroundColor: string;
335
369
  textColor: string;
@@ -449,7 +483,7 @@ export declare const SimpleButtonComponent: {
449
483
  })[];
450
484
  }[];
451
485
  paletteBookmark: {
452
- items: ("backgroundColor" | "borderColor" | "textColor" | "iconColor" | "boxShadowColor")[];
486
+ items: ("backgroundColor" | "borderColor" | "textColor" | "iconColor" | "boxShadowColor" | "innerBoxShadowColor")[];
453
487
  panelIds: string[];
454
488
  stateItems: {
455
489
  default: string[];