@charisol/plexo-sdk 1.0.37 → 1.0.39

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.
@@ -39,6 +39,19 @@ export declare const getDefaultStyle: (type: string) => {
39
39
  buttonAlign?: undefined;
40
40
  buttonWidth?: undefined;
41
41
  cellPadding?: undefined;
42
+ headerBackgroundColor?: undefined;
43
+ headerTextColor?: undefined;
44
+ headerHoverBackgroundColor?: undefined;
45
+ headerActiveBackgroundColor?: undefined;
46
+ headerActiveTextColor?: undefined;
47
+ headerFontSize?: undefined;
48
+ headerFontWeight?: undefined;
49
+ iconColor?: undefined;
50
+ contentBackgroundColor?: undefined;
51
+ contentTextColor?: undefined;
52
+ contentFontSize?: undefined;
53
+ dividerColor?: undefined;
54
+ contentPadding?: undefined;
42
55
  } | {
43
56
  color: string;
44
57
  fontSize: string;
@@ -71,6 +84,19 @@ export declare const getDefaultStyle: (type: string) => {
71
84
  buttonAlign?: undefined;
72
85
  buttonWidth?: undefined;
73
86
  cellPadding?: undefined;
87
+ headerBackgroundColor?: undefined;
88
+ headerTextColor?: undefined;
89
+ headerHoverBackgroundColor?: undefined;
90
+ headerActiveBackgroundColor?: undefined;
91
+ headerActiveTextColor?: undefined;
92
+ headerFontSize?: undefined;
93
+ headerFontWeight?: undefined;
94
+ iconColor?: undefined;
95
+ contentBackgroundColor?: undefined;
96
+ contentTextColor?: undefined;
97
+ contentFontSize?: undefined;
98
+ dividerColor?: undefined;
99
+ contentPadding?: undefined;
74
100
  } | {
75
101
  color: string;
76
102
  fontSize: string;
@@ -103,6 +129,19 @@ export declare const getDefaultStyle: (type: string) => {
103
129
  buttonAlign?: undefined;
104
130
  buttonWidth?: undefined;
105
131
  cellPadding?: undefined;
132
+ headerBackgroundColor?: undefined;
133
+ headerTextColor?: undefined;
134
+ headerHoverBackgroundColor?: undefined;
135
+ headerActiveBackgroundColor?: undefined;
136
+ headerActiveTextColor?: undefined;
137
+ headerFontSize?: undefined;
138
+ headerFontWeight?: undefined;
139
+ iconColor?: undefined;
140
+ contentBackgroundColor?: undefined;
141
+ contentTextColor?: undefined;
142
+ contentFontSize?: undefined;
143
+ dividerColor?: undefined;
144
+ contentPadding?: undefined;
106
145
  } | {
107
146
  color: string;
108
147
  backgroundColor: string;
@@ -135,6 +174,19 @@ export declare const getDefaultStyle: (type: string) => {
135
174
  buttonAlign?: undefined;
136
175
  buttonWidth?: undefined;
137
176
  cellPadding?: undefined;
177
+ headerBackgroundColor?: undefined;
178
+ headerTextColor?: undefined;
179
+ headerHoverBackgroundColor?: undefined;
180
+ headerActiveBackgroundColor?: undefined;
181
+ headerActiveTextColor?: undefined;
182
+ headerFontSize?: undefined;
183
+ headerFontWeight?: undefined;
184
+ iconColor?: undefined;
185
+ contentBackgroundColor?: undefined;
186
+ contentTextColor?: undefined;
187
+ contentFontSize?: undefined;
188
+ dividerColor?: undefined;
189
+ contentPadding?: undefined;
138
190
  } | {
139
191
  borderRadius: string;
140
192
  width: string;
@@ -167,6 +219,19 @@ export declare const getDefaultStyle: (type: string) => {
167
219
  buttonAlign?: undefined;
168
220
  buttonWidth?: undefined;
169
221
  cellPadding?: undefined;
222
+ headerBackgroundColor?: undefined;
223
+ headerTextColor?: undefined;
224
+ headerHoverBackgroundColor?: undefined;
225
+ headerActiveBackgroundColor?: undefined;
226
+ headerActiveTextColor?: undefined;
227
+ headerFontSize?: undefined;
228
+ headerFontWeight?: undefined;
229
+ iconColor?: undefined;
230
+ contentBackgroundColor?: undefined;
231
+ contentTextColor?: undefined;
232
+ contentFontSize?: undefined;
233
+ dividerColor?: undefined;
234
+ contentPadding?: undefined;
170
235
  } | {
171
236
  backgroundColor: string;
172
237
  borderRadius: string;
@@ -199,6 +264,19 @@ export declare const getDefaultStyle: (type: string) => {
199
264
  buttonAlign?: undefined;
200
265
  buttonWidth?: undefined;
201
266
  cellPadding?: undefined;
267
+ headerBackgroundColor?: undefined;
268
+ headerTextColor?: undefined;
269
+ headerHoverBackgroundColor?: undefined;
270
+ headerActiveBackgroundColor?: undefined;
271
+ headerActiveTextColor?: undefined;
272
+ headerFontSize?: undefined;
273
+ headerFontWeight?: undefined;
274
+ iconColor?: undefined;
275
+ contentBackgroundColor?: undefined;
276
+ contentTextColor?: undefined;
277
+ contentFontSize?: undefined;
278
+ dividerColor?: undefined;
279
+ contentPadding?: undefined;
202
280
  } | {
203
281
  backgroundColor: string;
204
282
  borderRadius: string;
@@ -231,6 +309,19 @@ export declare const getDefaultStyle: (type: string) => {
231
309
  textAlign?: undefined;
232
310
  lineHeight?: undefined;
233
311
  cellPadding?: undefined;
312
+ headerBackgroundColor?: undefined;
313
+ headerTextColor?: undefined;
314
+ headerHoverBackgroundColor?: undefined;
315
+ headerActiveBackgroundColor?: undefined;
316
+ headerActiveTextColor?: undefined;
317
+ headerFontSize?: undefined;
318
+ headerFontWeight?: undefined;
319
+ iconColor?: undefined;
320
+ contentBackgroundColor?: undefined;
321
+ contentTextColor?: undefined;
322
+ contentFontSize?: undefined;
323
+ dividerColor?: undefined;
324
+ contentPadding?: undefined;
234
325
  } | {
235
326
  color: string;
236
327
  backgroundColor: string;
@@ -263,6 +354,19 @@ export declare const getDefaultStyle: (type: string) => {
263
354
  buttonAlign?: undefined;
264
355
  buttonWidth?: undefined;
265
356
  cellPadding?: undefined;
357
+ headerBackgroundColor?: undefined;
358
+ headerTextColor?: undefined;
359
+ headerHoverBackgroundColor?: undefined;
360
+ headerActiveBackgroundColor?: undefined;
361
+ headerActiveTextColor?: undefined;
362
+ headerFontSize?: undefined;
363
+ headerFontWeight?: undefined;
364
+ iconColor?: undefined;
365
+ contentBackgroundColor?: undefined;
366
+ contentTextColor?: undefined;
367
+ contentFontSize?: undefined;
368
+ dividerColor?: undefined;
369
+ contentPadding?: undefined;
266
370
  } | {
267
371
  color: string;
268
372
  fontSize: string;
@@ -295,6 +399,19 @@ export declare const getDefaultStyle: (type: string) => {
295
399
  buttonAlign?: undefined;
296
400
  buttonWidth?: undefined;
297
401
  cellPadding?: undefined;
402
+ headerBackgroundColor?: undefined;
403
+ headerTextColor?: undefined;
404
+ headerHoverBackgroundColor?: undefined;
405
+ headerActiveBackgroundColor?: undefined;
406
+ headerActiveTextColor?: undefined;
407
+ headerFontSize?: undefined;
408
+ headerFontWeight?: undefined;
409
+ iconColor?: undefined;
410
+ contentBackgroundColor?: undefined;
411
+ contentTextColor?: undefined;
412
+ contentFontSize?: undefined;
413
+ dividerColor?: undefined;
414
+ contentPadding?: undefined;
298
415
  } | {
299
416
  padding: string;
300
417
  color?: undefined;
@@ -327,6 +444,19 @@ export declare const getDefaultStyle: (type: string) => {
327
444
  buttonAlign?: undefined;
328
445
  buttonWidth?: undefined;
329
446
  cellPadding?: undefined;
447
+ headerBackgroundColor?: undefined;
448
+ headerTextColor?: undefined;
449
+ headerHoverBackgroundColor?: undefined;
450
+ headerActiveBackgroundColor?: undefined;
451
+ headerActiveTextColor?: undefined;
452
+ headerFontSize?: undefined;
453
+ headerFontWeight?: undefined;
454
+ iconColor?: undefined;
455
+ contentBackgroundColor?: undefined;
456
+ contentTextColor?: undefined;
457
+ contentFontSize?: undefined;
458
+ dividerColor?: undefined;
459
+ contentPadding?: undefined;
330
460
  } | {
331
461
  padding: string;
332
462
  borderWidth: string;
@@ -359,6 +489,19 @@ export declare const getDefaultStyle: (type: string) => {
359
489
  buttonFontWeight?: undefined;
360
490
  buttonAlign?: undefined;
361
491
  buttonWidth?: undefined;
492
+ headerBackgroundColor?: undefined;
493
+ headerTextColor?: undefined;
494
+ headerHoverBackgroundColor?: undefined;
495
+ headerActiveBackgroundColor?: undefined;
496
+ headerActiveTextColor?: undefined;
497
+ headerFontSize?: undefined;
498
+ headerFontWeight?: undefined;
499
+ iconColor?: undefined;
500
+ contentBackgroundColor?: undefined;
501
+ contentTextColor?: undefined;
502
+ contentFontSize?: undefined;
503
+ dividerColor?: undefined;
504
+ contentPadding?: undefined;
362
505
  } | {
363
506
  color: string;
364
507
  backgroundColor: string;
@@ -391,6 +534,19 @@ export declare const getDefaultStyle: (type: string) => {
391
534
  buttonAlign?: undefined;
392
535
  buttonWidth?: undefined;
393
536
  cellPadding?: undefined;
537
+ headerBackgroundColor?: undefined;
538
+ headerTextColor?: undefined;
539
+ headerHoverBackgroundColor?: undefined;
540
+ headerActiveBackgroundColor?: undefined;
541
+ headerActiveTextColor?: undefined;
542
+ headerFontSize?: undefined;
543
+ headerFontWeight?: undefined;
544
+ iconColor?: undefined;
545
+ contentBackgroundColor?: undefined;
546
+ contentTextColor?: undefined;
547
+ contentFontSize?: undefined;
548
+ dividerColor?: undefined;
549
+ contentPadding?: undefined;
394
550
  } | {
395
551
  padding: string;
396
552
  borderRadius: string;
@@ -423,6 +579,19 @@ export declare const getDefaultStyle: (type: string) => {
423
579
  buttonAlign?: undefined;
424
580
  buttonWidth?: undefined;
425
581
  cellPadding?: undefined;
582
+ headerBackgroundColor?: undefined;
583
+ headerTextColor?: undefined;
584
+ headerHoverBackgroundColor?: undefined;
585
+ headerActiveBackgroundColor?: undefined;
586
+ headerActiveTextColor?: undefined;
587
+ headerFontSize?: undefined;
588
+ headerFontWeight?: undefined;
589
+ iconColor?: undefined;
590
+ contentBackgroundColor?: undefined;
591
+ contentTextColor?: undefined;
592
+ contentFontSize?: undefined;
593
+ dividerColor?: undefined;
594
+ contentPadding?: undefined;
426
595
  } | {
427
596
  padding: string;
428
597
  textAlign: string;
@@ -455,6 +624,64 @@ export declare const getDefaultStyle: (type: string) => {
455
624
  buttonAlign?: undefined;
456
625
  buttonWidth?: undefined;
457
626
  cellPadding?: undefined;
627
+ headerBackgroundColor?: undefined;
628
+ headerTextColor?: undefined;
629
+ headerHoverBackgroundColor?: undefined;
630
+ headerActiveBackgroundColor?: undefined;
631
+ headerActiveTextColor?: undefined;
632
+ headerFontSize?: undefined;
633
+ headerFontWeight?: undefined;
634
+ iconColor?: undefined;
635
+ contentBackgroundColor?: undefined;
636
+ contentTextColor?: undefined;
637
+ contentFontSize?: undefined;
638
+ dividerColor?: undefined;
639
+ contentPadding?: undefined;
640
+ } | {
641
+ headerBackgroundColor: string;
642
+ headerTextColor: string;
643
+ headerHoverBackgroundColor: string;
644
+ headerActiveBackgroundColor: string;
645
+ headerActiveTextColor: string;
646
+ headerFontSize: string;
647
+ headerFontWeight: string;
648
+ iconColor: string;
649
+ contentBackgroundColor: string;
650
+ contentTextColor: string;
651
+ contentFontSize: string;
652
+ borderColor: string;
653
+ borderWidth: string;
654
+ borderStyle: string;
655
+ borderRadius: string;
656
+ dividerColor: string;
657
+ padding: string;
658
+ contentPadding: string;
659
+ color?: undefined;
660
+ fontSize?: undefined;
661
+ fontWeight?: undefined;
662
+ fontFamily?: undefined;
663
+ textAlign?: undefined;
664
+ lineHeight?: undefined;
665
+ backgroundColor?: undefined;
666
+ width?: undefined;
667
+ boxShadow?: undefined;
668
+ paddingTop?: undefined;
669
+ paddingRight?: undefined;
670
+ paddingBottom?: undefined;
671
+ paddingLeft?: undefined;
672
+ fieldSpacing?: undefined;
673
+ buttonBackgroundColor?: undefined;
674
+ buttonTextColor?: undefined;
675
+ buttonBorderRadius?: undefined;
676
+ buttonPaddingTop?: undefined;
677
+ buttonPaddingBottom?: undefined;
678
+ buttonPaddingLeft?: undefined;
679
+ buttonPaddingRight?: undefined;
680
+ buttonFontSize?: undefined;
681
+ buttonFontWeight?: undefined;
682
+ buttonAlign?: undefined;
683
+ buttonWidth?: undefined;
684
+ cellPadding?: undefined;
458
685
  } | {
459
686
  color?: undefined;
460
687
  fontSize?: undefined;
@@ -487,6 +714,19 @@ export declare const getDefaultStyle: (type: string) => {
487
714
  buttonAlign?: undefined;
488
715
  buttonWidth?: undefined;
489
716
  cellPadding?: undefined;
717
+ headerBackgroundColor?: undefined;
718
+ headerTextColor?: undefined;
719
+ headerHoverBackgroundColor?: undefined;
720
+ headerActiveBackgroundColor?: undefined;
721
+ headerActiveTextColor?: undefined;
722
+ headerFontSize?: undefined;
723
+ headerFontWeight?: undefined;
724
+ iconColor?: undefined;
725
+ contentBackgroundColor?: undefined;
726
+ contentTextColor?: undefined;
727
+ contentFontSize?: undefined;
728
+ dividerColor?: undefined;
729
+ contentPadding?: undefined;
490
730
  };
491
731
  export declare const normalizeTemplateWithDefaults: (data: TemplateJSON) => TemplateJSON;
492
732
  export declare const getDefaultAttributes: (type: string) => {
@@ -516,6 +756,12 @@ export declare const getDefaultAttributes: (type: string) => {
516
756
  images?: undefined;
517
757
  iconName?: undefined;
518
758
  iconSize?: undefined;
759
+ mode?: undefined;
760
+ iconStyle?: undefined;
761
+ iconPosition?: undefined;
762
+ animation?: undefined;
763
+ showDividers?: undefined;
764
+ items?: undefined;
519
765
  } | {
520
766
  text: string;
521
767
  href: string;
@@ -543,6 +789,12 @@ export declare const getDefaultAttributes: (type: string) => {
543
789
  images?: undefined;
544
790
  iconName?: undefined;
545
791
  iconSize?: undefined;
792
+ mode?: undefined;
793
+ iconStyle?: undefined;
794
+ iconPosition?: undefined;
795
+ animation?: undefined;
796
+ showDividers?: undefined;
797
+ items?: undefined;
546
798
  } | {
547
799
  src: string;
548
800
  alt: string;
@@ -570,6 +822,12 @@ export declare const getDefaultAttributes: (type: string) => {
570
822
  images?: undefined;
571
823
  iconName?: undefined;
572
824
  iconSize?: undefined;
825
+ mode?: undefined;
826
+ iconStyle?: undefined;
827
+ iconPosition?: undefined;
828
+ animation?: undefined;
829
+ showDividers?: undefined;
830
+ items?: undefined;
573
831
  } | {
574
832
  title: string;
575
833
  description: string;
@@ -597,6 +855,12 @@ export declare const getDefaultAttributes: (type: string) => {
597
855
  images?: undefined;
598
856
  iconName?: undefined;
599
857
  iconSize?: undefined;
858
+ mode?: undefined;
859
+ iconStyle?: undefined;
860
+ iconPosition?: undefined;
861
+ animation?: undefined;
862
+ showDividers?: undefined;
863
+ items?: undefined;
600
864
  } | {
601
865
  formName: string;
602
866
  submitLabel: string;
@@ -624,6 +888,12 @@ export declare const getDefaultAttributes: (type: string) => {
624
888
  images?: undefined;
625
889
  iconName?: undefined;
626
890
  iconSize?: undefined;
891
+ mode?: undefined;
892
+ iconStyle?: undefined;
893
+ iconPosition?: undefined;
894
+ animation?: undefined;
895
+ showDividers?: undefined;
896
+ items?: undefined;
627
897
  } | {
628
898
  name: string;
629
899
  placeholder: string;
@@ -651,6 +921,12 @@ export declare const getDefaultAttributes: (type: string) => {
651
921
  images?: undefined;
652
922
  iconName?: undefined;
653
923
  iconSize?: undefined;
924
+ mode?: undefined;
925
+ iconStyle?: undefined;
926
+ iconPosition?: undefined;
927
+ animation?: undefined;
928
+ showDividers?: undefined;
929
+ items?: undefined;
654
930
  } | {
655
931
  name: string;
656
932
  options: {
@@ -681,6 +957,12 @@ export declare const getDefaultAttributes: (type: string) => {
681
957
  images?: undefined;
682
958
  iconName?: undefined;
683
959
  iconSize?: undefined;
960
+ mode?: undefined;
961
+ iconStyle?: undefined;
962
+ iconPosition?: undefined;
963
+ animation?: undefined;
964
+ showDividers?: undefined;
965
+ items?: undefined;
684
966
  } | {
685
967
  links: {
686
968
  label: string;
@@ -711,6 +993,12 @@ export declare const getDefaultAttributes: (type: string) => {
711
993
  images?: undefined;
712
994
  iconName?: undefined;
713
995
  iconSize?: undefined;
996
+ mode?: undefined;
997
+ iconStyle?: undefined;
998
+ iconPosition?: undefined;
999
+ animation?: undefined;
1000
+ showDividers?: undefined;
1001
+ items?: undefined;
714
1002
  } | {
715
1003
  htmlContent: string;
716
1004
  text?: undefined;
@@ -738,6 +1026,12 @@ export declare const getDefaultAttributes: (type: string) => {
738
1026
  images?: undefined;
739
1027
  iconName?: undefined;
740
1028
  iconSize?: undefined;
1029
+ mode?: undefined;
1030
+ iconStyle?: undefined;
1031
+ iconPosition?: undefined;
1032
+ animation?: undefined;
1033
+ showDividers?: undefined;
1034
+ items?: undefined;
741
1035
  } | {
742
1036
  rowCount: number;
743
1037
  colCount: number;
@@ -765,6 +1059,12 @@ export declare const getDefaultAttributes: (type: string) => {
765
1059
  images?: undefined;
766
1060
  iconName?: undefined;
767
1061
  iconSize?: undefined;
1062
+ mode?: undefined;
1063
+ iconStyle?: undefined;
1064
+ iconPosition?: undefined;
1065
+ animation?: undefined;
1066
+ showDividers?: undefined;
1067
+ items?: undefined;
768
1068
  } | {
769
1069
  targetDate: string;
770
1070
  text?: undefined;
@@ -792,6 +1092,12 @@ export declare const getDefaultAttributes: (type: string) => {
792
1092
  images?: undefined;
793
1093
  iconName?: undefined;
794
1094
  iconSize?: undefined;
1095
+ mode?: undefined;
1096
+ iconStyle?: undefined;
1097
+ iconPosition?: undefined;
1098
+ animation?: undefined;
1099
+ showDividers?: undefined;
1100
+ items?: undefined;
795
1101
  } | {
796
1102
  videoUrl: string;
797
1103
  text?: undefined;
@@ -819,6 +1125,12 @@ export declare const getDefaultAttributes: (type: string) => {
819
1125
  images?: undefined;
820
1126
  iconName?: undefined;
821
1127
  iconSize?: undefined;
1128
+ mode?: undefined;
1129
+ iconStyle?: undefined;
1130
+ iconPosition?: undefined;
1131
+ animation?: undefined;
1132
+ showDividers?: undefined;
1133
+ items?: undefined;
822
1134
  } | {
823
1135
  links: {
824
1136
  provider: string;
@@ -849,6 +1161,12 @@ export declare const getDefaultAttributes: (type: string) => {
849
1161
  images?: undefined;
850
1162
  iconName?: undefined;
851
1163
  iconSize?: undefined;
1164
+ mode?: undefined;
1165
+ iconStyle?: undefined;
1166
+ iconPosition?: undefined;
1167
+ animation?: undefined;
1168
+ showDividers?: undefined;
1169
+ items?: undefined;
852
1170
  } | {
853
1171
  images: {
854
1172
  src: string;
@@ -879,6 +1197,12 @@ export declare const getDefaultAttributes: (type: string) => {
879
1197
  videoUrl?: undefined;
880
1198
  iconName?: undefined;
881
1199
  iconSize?: undefined;
1200
+ mode?: undefined;
1201
+ iconStyle?: undefined;
1202
+ iconPosition?: undefined;
1203
+ animation?: undefined;
1204
+ showDividers?: undefined;
1205
+ items?: undefined;
882
1206
  } | {
883
1207
  iconName: string;
884
1208
  iconSize: string;
@@ -906,6 +1230,51 @@ export declare const getDefaultAttributes: (type: string) => {
906
1230
  targetDate?: undefined;
907
1231
  videoUrl?: undefined;
908
1232
  images?: undefined;
1233
+ mode?: undefined;
1234
+ iconStyle?: undefined;
1235
+ iconPosition?: undefined;
1236
+ animation?: undefined;
1237
+ showDividers?: undefined;
1238
+ items?: undefined;
1239
+ } | {
1240
+ mode: string;
1241
+ iconStyle: string;
1242
+ iconPosition: string;
1243
+ animation: string;
1244
+ showDividers: boolean;
1245
+ items: {
1246
+ id: string;
1247
+ title: string;
1248
+ content: string;
1249
+ defaultOpen: boolean;
1250
+ children: never[];
1251
+ }[];
1252
+ text?: undefined;
1253
+ href?: undefined;
1254
+ openInNewTab?: undefined;
1255
+ autoWidth?: undefined;
1256
+ src?: undefined;
1257
+ alt?: undefined;
1258
+ linkType?: undefined;
1259
+ title?: undefined;
1260
+ description?: undefined;
1261
+ formName?: undefined;
1262
+ submitLabel?: undefined;
1263
+ fields?: undefined;
1264
+ buttonAutoWidth?: undefined;
1265
+ name?: undefined;
1266
+ placeholder?: undefined;
1267
+ required?: undefined;
1268
+ options?: undefined;
1269
+ links?: undefined;
1270
+ htmlContent?: undefined;
1271
+ rowCount?: undefined;
1272
+ colCount?: undefined;
1273
+ targetDate?: undefined;
1274
+ videoUrl?: undefined;
1275
+ images?: undefined;
1276
+ iconName?: undefined;
1277
+ iconSize?: undefined;
909
1278
  } | {
910
1279
  text?: undefined;
911
1280
  href?: undefined;
@@ -933,4 +1302,10 @@ export declare const getDefaultAttributes: (type: string) => {
933
1302
  images?: undefined;
934
1303
  iconName?: undefined;
935
1304
  iconSize?: undefined;
1305
+ mode?: undefined;
1306
+ iconStyle?: undefined;
1307
+ iconPosition?: undefined;
1308
+ animation?: undefined;
1309
+ showDividers?: undefined;
1310
+ items?: undefined;
936
1311
  };
@@ -36,6 +36,22 @@ export interface FormFieldConfig {
36
36
  inputTextColor?: string;
37
37
  placeholderColor?: string;
38
38
  }
39
+ export type AccordionMode = 'single' | 'multi';
40
+ export type AccordionIconStyle = 'chevron' | 'plus' | 'arrow' | 'none';
41
+ export type AccordionIconPosition = 'left' | 'right';
42
+ export type AccordionAnimation = 'smooth' | 'none';
43
+ /**
44
+ * One panel of an accordion element. `children` nests a sub-accordion inside this panel's
45
+ * content — recursive so nesting depth is unbounded in the data model (resolveAccordionItems
46
+ * in elementResolvers.ts caps how deep the editor/renderers actually walk).
47
+ */
48
+ export interface AccordionItemConfig {
49
+ id: string;
50
+ title: string;
51
+ content: string;
52
+ defaultOpen?: boolean;
53
+ children?: AccordionItemConfig[];
54
+ }
39
55
  export interface SocialLinkConfig {
40
56
  provider: string;
41
57
  url: string;
@@ -16,7 +16,7 @@ interface RuntimeArgs {
16
16
  export declare const usePlexoBuilderRuntime: ({ apiKey, mode, onSave, isSavingLayout, setIsSavingLayout, normalizeTemplateWithDefaults, templateId, allowPublishLandingPage: _allowPublishLandingPage, }: RuntimeArgs) => {
17
17
  sensors: import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
18
18
  getJson: () => TemplateJSON;
19
- exportDesign: (_targetType?: PlexoTargetType) => Promise<{
19
+ exportDesign: (targetType?: PlexoTargetType) => Promise<{
20
20
  json: TemplateJSON;
21
21
  html: string;
22
22
  }>;
@@ -14,7 +14,7 @@ export interface SdkTierFeatures {
14
14
  strataEnabled: boolean;
15
15
  /** Landing page mode and landing-page-only blocks */
16
16
  landingPagesEnabled: boolean;
17
- /** Advanced blocks: carousel, video, timer, form, table */
17
+ /** Advanced blocks: carousel, video, timer, form, table, accordion */
18
18
  advancedBlocksEnabled: boolean;
19
19
  /** Stock image search */
20
20
  stockImagesEnabled: boolean;
@@ -36,7 +36,7 @@ export interface ElementAttributes {
36
36
  }>;
37
37
  [key: string]: any;
38
38
  }
39
- export type ElementType = 'text' | 'button' | 'image' | 'spacer' | 'divider' | 'card' | 'form_container' | 'input' | 'textarea' | 'select' | 'heading' | 'paragraph' | 'carousel' | 'video' | 'social' | 'menu' | 'html' | 'table' | 'timer' | 'icon';
39
+ export type ElementType = 'text' | 'button' | 'image' | 'spacer' | 'divider' | 'card' | 'form_container' | 'input' | 'textarea' | 'select' | 'heading' | 'paragraph' | 'carousel' | 'video' | 'social' | 'menu' | 'html' | 'table' | 'timer' | 'icon' | 'accordion';
40
40
  export interface ElementJSON {
41
41
  id: string;
42
42
  type: ElementType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@charisol/plexo-sdk",
3
3
  "private": false,
4
- "version": "1.0.37",
4
+ "version": "1.0.39",
5
5
  "description": "Plexo visual email and landing page builder SDK — drag-and-drop template editor with AI integration.",
6
6
  "keywords": [
7
7
  "email-builder",
@@ -58,6 +58,7 @@
58
58
  "@dnd-kit/utilities": "^3.2.2",
59
59
  "isomorphic-dompurify": "^3.19.0",
60
60
  "lucide-react": "^1.25.0",
61
+ "lucide-static": "^1.25.0",
61
62
  "react": "^19.2.7",
62
63
  "react-dom": "^19.2.7",
63
64
  "zod": "^4.4.3",