@cntrl-site/sdk 1.23.1-alpha.0 → 1.23.2-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.
@@ -56,6 +56,7 @@ type SliderSettings = {
56
56
  transition: {
57
57
  type: 'slide' | 'fade in';
58
58
  duration: string;
59
+ backgroundColor: string | null;
59
60
  };
60
61
  caption: SliderCaption;
61
62
  triggers: Triggers;
@@ -79,6 +79,15 @@ export declare const ControlSliderComponent: {
79
79
  };
80
80
  enum: string[];
81
81
  };
82
+ backgroundColor: {
83
+ type: string;
84
+ name: string;
85
+ display: {
86
+ visible: boolean;
87
+ type: string;
88
+ format: string;
89
+ };
90
+ };
82
91
  };
83
92
  };
84
93
  controls: {
@@ -272,6 +281,7 @@ export declare const ControlSliderComponent: {
272
281
  transition: {
273
282
  type: string;
274
283
  duration: string;
284
+ backgroundColor: null;
275
285
  };
276
286
  pagination: {
277
287
  isActive: boolean;
@@ -295,7 +305,7 @@ export declare const ControlSliderComponent: {
295
305
  hover: string;
296
306
  };
297
307
  };
298
- displayRules: {
308
+ displayRules: ({
299
309
  if: {
300
310
  name: string;
301
311
  value: string;
@@ -304,7 +314,16 @@ export declare const ControlSliderComponent: {
304
314
  name: string;
305
315
  value: string;
306
316
  };
307
- }[];
317
+ } | {
318
+ if: {
319
+ name: string;
320
+ value: string;
321
+ };
322
+ then: {
323
+ name: string;
324
+ value: boolean;
325
+ };
326
+ })[];
308
327
  };
309
328
  content: {
310
329
  layoutBased: boolean;
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { AreaAnchor, AnchorSide, DimensionMode, PositionType } from './types/art
9
9
  export { KeyframeType } from './types/keyframe/Keyframe';
10
10
  export type { Article } from './types/article/Article';
11
11
  export type { Section, SectionHeight } from './types/article/Section';
12
- export type { Item, ImageItem, ItemAny, CustomItem, ItemCommonParamsMap, ItemLayoutParamsMap, RectangleItem, StickyParams, VideoItem, RichTextItem, Link, VimeoEmbedItem, YoutubeEmbedItem, GroupItem, CodeEmbedItem, CompoundItem, ComponentItem, FillLayer } from './types/article/Item';
12
+ export type { Item, ImageItem, ItemAny, CustomItem, ItemCommonParamsMap, ItemLayoutParamsMap, RectangleItem, StickyParams, VideoItem, RichTextItem, Link, VimeoEmbedItem, YoutubeEmbedItem, GroupItem, CodeEmbedItem, CompoundItem, ComponentItem } from './types/article/Item';
13
13
  export type { RichTextBlock, RichTextEntity, RichTextStyle } from './types/article/RichText';
14
14
  export type { ItemArea } from './types/article/ItemArea';
15
15
  export type { ItemState, ItemStateParams, StateParams, ItemStatesMap } from './types/article/ItemState';