@cntrl-site/components 1.0.82 → 1.0.84

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.
@@ -0,0 +1,882 @@
1
+ import { Burger } from './Burger';
2
+ export declare const BurgerComponent: {
3
+ element: typeof Burger;
4
+ id: string;
5
+ name: string;
6
+ category: string;
7
+ version: number;
8
+ preview: {
9
+ type: "image";
10
+ url: string;
11
+ };
12
+ layoutMode: "navigation";
13
+ defaultSize: {
14
+ d: {
15
+ width: string;
16
+ height: number;
17
+ };
18
+ t: {
19
+ width: string;
20
+ height: number;
21
+ };
22
+ m: {
23
+ width: string;
24
+ height: number;
25
+ };
26
+ };
27
+ defaultNavigationPosition: {
28
+ readonly d: "switch";
29
+ readonly t: "switch";
30
+ readonly m: "stickyTop";
31
+ };
32
+ schema: {
33
+ type: "object";
34
+ version: 1;
35
+ settings: {
36
+ sizing: string;
37
+ properties: {
38
+ link: {
39
+ type: "array";
40
+ scope: "common";
41
+ display: {
42
+ type: string;
43
+ };
44
+ items: {
45
+ type: "object";
46
+ properties: {
47
+ link: {
48
+ type: "object";
49
+ properties: {
50
+ type: {
51
+ type: "string";
52
+ enum: string[];
53
+ };
54
+ value: {
55
+ type: "string";
56
+ message: string;
57
+ };
58
+ target: {
59
+ type: "string";
60
+ enum: string[];
61
+ };
62
+ anchor: {
63
+ type: "string";
64
+ };
65
+ };
66
+ };
67
+ label: {
68
+ type: "string";
69
+ };
70
+ showIn: {
71
+ type: "string";
72
+ scope: "layout";
73
+ enum: string[];
74
+ };
75
+ };
76
+ };
77
+ };
78
+ logo: {
79
+ type: "object";
80
+ scope: "common";
81
+ title: string;
82
+ display: {
83
+ type: string;
84
+ };
85
+ properties: {
86
+ mode: {
87
+ type: "string";
88
+ enum: string[];
89
+ };
90
+ icon: {
91
+ type: readonly ["string", "null"];
92
+ title: string;
93
+ display: {
94
+ type: string;
95
+ };
96
+ };
97
+ };
98
+ };
99
+ logoMaxHeight: {
100
+ type: "number";
101
+ scope: "layout";
102
+ title: string;
103
+ display: {
104
+ type: string;
105
+ };
106
+ min: number;
107
+ max: number;
108
+ };
109
+ logoPosition: {
110
+ type: "string";
111
+ scope: "layout";
112
+ title: string;
113
+ display: {
114
+ type: string;
115
+ enum: string[];
116
+ };
117
+ };
118
+ compactLogoPosition: {
119
+ type: "string";
120
+ scope: "layout";
121
+ title: string;
122
+ display: {
123
+ type: string;
124
+ enum: string[];
125
+ };
126
+ };
127
+ logoColor: {
128
+ type: "string";
129
+ scope: "common";
130
+ title: string;
131
+ titleByState: {
132
+ default: string;
133
+ hover: string;
134
+ };
135
+ display: {
136
+ type: string;
137
+ };
138
+ };
139
+ panelHeight: {
140
+ type: "number";
141
+ scope: "layout";
142
+ title: string;
143
+ display: {
144
+ type: string;
145
+ };
146
+ min: number;
147
+ max: number;
148
+ };
149
+ backgroundColor: {
150
+ type: "string";
151
+ scope: "common";
152
+ title: string;
153
+ display: {
154
+ type: string;
155
+ };
156
+ };
157
+ iconColor: {
158
+ type: "string";
159
+ scope: "common";
160
+ title: string;
161
+ titleByState: {
162
+ default: string;
163
+ hover: string;
164
+ };
165
+ display: {
166
+ type: string;
167
+ };
168
+ };
169
+ showIcon: {
170
+ type: "string";
171
+ scope: "layout";
172
+ title: string;
173
+ display: {
174
+ type: string;
175
+ enum: string[];
176
+ };
177
+ };
178
+ iconSize: {
179
+ type: "number";
180
+ scope: "layout";
181
+ title: string;
182
+ display: {
183
+ type: string;
184
+ };
185
+ min: number;
186
+ max: number;
187
+ };
188
+ linkColor: {
189
+ type: "string";
190
+ scope: "common";
191
+ title: string;
192
+ titleByState: {
193
+ default: string;
194
+ hover: string;
195
+ };
196
+ display: {
197
+ type: string;
198
+ };
199
+ };
200
+ compactShowIcon: {
201
+ type: "string";
202
+ scope: "layout";
203
+ title: string;
204
+ display: {
205
+ type: string;
206
+ enum: string[];
207
+ };
208
+ };
209
+ compactIconColor: {
210
+ type: "string";
211
+ scope: "common";
212
+ title: string;
213
+ titleByState: {
214
+ compact: string;
215
+ 'compact-hover': string;
216
+ };
217
+ display: {
218
+ type: string;
219
+ };
220
+ };
221
+ compactCloseButtonColor: {
222
+ type: "string";
223
+ scope: "common";
224
+ title: string;
225
+ titleByState: {
226
+ compact: string;
227
+ 'compact-hover': string;
228
+ };
229
+ display: {
230
+ type: string;
231
+ };
232
+ };
233
+ compactLinkColor: {
234
+ type: "string";
235
+ scope: "common";
236
+ title: string;
237
+ titleByState: {
238
+ compact: string;
239
+ 'compact-hover': string;
240
+ };
241
+ display: {
242
+ type: string;
243
+ };
244
+ };
245
+ compactLogoColor: {
246
+ type: "string";
247
+ scope: "common";
248
+ title: string;
249
+ titleByState: {
250
+ compact: string;
251
+ 'compact-hover': string;
252
+ };
253
+ display: {
254
+ type: string;
255
+ };
256
+ };
257
+ compactBackgroundColor: {
258
+ type: "string";
259
+ scope: "common";
260
+ title: string;
261
+ display: {
262
+ type: string;
263
+ };
264
+ };
265
+ openLinkColor: {
266
+ type: "string";
267
+ scope: "common";
268
+ title: string;
269
+ titleByState: {
270
+ open: string;
271
+ 'open-hover': string;
272
+ };
273
+ display: {
274
+ type: string;
275
+ };
276
+ };
277
+ openLogoColor: {
278
+ type: "string";
279
+ scope: "common";
280
+ title: string;
281
+ titleByState: {
282
+ open: string;
283
+ 'open-hover': string;
284
+ };
285
+ display: {
286
+ type: string;
287
+ };
288
+ };
289
+ menuBackgroundColor: {
290
+ type: "string";
291
+ scope: "common";
292
+ title: string;
293
+ display: {
294
+ type: string;
295
+ };
296
+ };
297
+ overlayColor: {
298
+ type: "string";
299
+ scope: "common";
300
+ title: string;
301
+ display: {
302
+ type: string;
303
+ };
304
+ };
305
+ closeButtonColor: {
306
+ type: "string";
307
+ scope: "common";
308
+ title: string;
309
+ titleByState: {
310
+ default: string;
311
+ hover: string;
312
+ open: string;
313
+ 'open-hover': string;
314
+ };
315
+ display: {
316
+ type: string;
317
+ };
318
+ };
319
+ effect: {
320
+ type: "string";
321
+ scope: "layout";
322
+ title: string;
323
+ display: {
324
+ type: string;
325
+ enum: string[];
326
+ };
327
+ };
328
+ textWidth: {
329
+ type: "number";
330
+ scope: "layout";
331
+ title: string;
332
+ display: {
333
+ type: string;
334
+ };
335
+ min: number;
336
+ max: number;
337
+ };
338
+ navTextWidth: {
339
+ type: "number";
340
+ scope: "layout";
341
+ title: string;
342
+ display: {
343
+ type: string;
344
+ };
345
+ min: number;
346
+ max: number;
347
+ };
348
+ navTextPosition: {
349
+ type: "string";
350
+ scope: "layout";
351
+ title: string;
352
+ display: {
353
+ type: string;
354
+ enum: string[];
355
+ };
356
+ };
357
+ navTextOffset: {
358
+ type: "number";
359
+ scope: "layout";
360
+ title: string;
361
+ display: {
362
+ type: string;
363
+ };
364
+ min: number;
365
+ max: number;
366
+ };
367
+ position: {
368
+ type: "string";
369
+ scope: "layout";
370
+ title: string;
371
+ display: {
372
+ type: string;
373
+ enum: ("center" | "left-top" | "center-top" | "right-top" | "left-center" | "right-center" | "left-bottom" | "center-bottom" | "right-bottom")[];
374
+ };
375
+ };
376
+ stateOverrides: {
377
+ type: "object";
378
+ scope: "common";
379
+ };
380
+ gap: {
381
+ type: "number";
382
+ scope: "layout";
383
+ title: string;
384
+ min: number;
385
+ max: number;
386
+ display: {
387
+ type: "range-control";
388
+ };
389
+ };
390
+ navGap: {
391
+ type: "number";
392
+ scope: "layout";
393
+ title: string;
394
+ min: number;
395
+ max: number;
396
+ display: {
397
+ type: "range-control";
398
+ visible: boolean;
399
+ };
400
+ };
401
+ navPaddingLeft: {
402
+ type: "number";
403
+ scope: "layout";
404
+ title: string;
405
+ min: number;
406
+ max: number;
407
+ display: {
408
+ type: "range-control";
409
+ visible: boolean;
410
+ };
411
+ };
412
+ navPaddingRight: {
413
+ type: "number";
414
+ scope: "layout";
415
+ title: string;
416
+ min: number;
417
+ max: number;
418
+ display: {
419
+ type: "range-control";
420
+ visible: boolean;
421
+ };
422
+ };
423
+ textPaddingLeft: {
424
+ type: "number";
425
+ scope: "layout";
426
+ title: string;
427
+ min: number;
428
+ max: number;
429
+ display: {
430
+ type: "range-control";
431
+ };
432
+ };
433
+ textPaddingRight: {
434
+ type: "number";
435
+ scope: "layout";
436
+ title: string;
437
+ min: number;
438
+ max: number;
439
+ display: {
440
+ type: "range-control";
441
+ };
442
+ };
443
+ textPaddingTop: {
444
+ type: "number";
445
+ scope: "layout";
446
+ title: string;
447
+ min: number;
448
+ max: number;
449
+ display: {
450
+ type: "range-control";
451
+ };
452
+ };
453
+ textPaddingBottom: {
454
+ type: "number";
455
+ scope: "layout";
456
+ title: string;
457
+ min: number;
458
+ max: number;
459
+ display: {
460
+ type: "range-control";
461
+ };
462
+ };
463
+ compactLogoMaxHeight: {
464
+ type: "number";
465
+ scope: "layout";
466
+ title: string;
467
+ display: {
468
+ type: string;
469
+ };
470
+ min: number;
471
+ max: number;
472
+ };
473
+ compactPanelHeight: {
474
+ type: "number";
475
+ scope: "layout";
476
+ title: string;
477
+ display: {
478
+ type: string;
479
+ };
480
+ min: number;
481
+ max: number;
482
+ };
483
+ compactIconSize: {
484
+ type: "number";
485
+ scope: "layout";
486
+ title: string;
487
+ display: {
488
+ type: string;
489
+ };
490
+ min: number;
491
+ max: number;
492
+ };
493
+ compactNavTextWidth: {
494
+ type: "number";
495
+ scope: "layout";
496
+ title: string;
497
+ display: {
498
+ type: string;
499
+ };
500
+ min: number;
501
+ max: number;
502
+ };
503
+ compactNavTextPosition: {
504
+ type: "string";
505
+ scope: "layout";
506
+ title: string;
507
+ display: {
508
+ type: string;
509
+ enum: string[];
510
+ };
511
+ };
512
+ compactNavTextOffset: {
513
+ type: "number";
514
+ scope: "layout";
515
+ title: string;
516
+ display: {
517
+ type: string;
518
+ };
519
+ min: number;
520
+ max: number;
521
+ };
522
+ compactNavGap: {
523
+ type: "number";
524
+ scope: "layout";
525
+ title: string;
526
+ min: number;
527
+ max: number;
528
+ display: {
529
+ type: "range-control";
530
+ visible: boolean;
531
+ };
532
+ };
533
+ compactNavPaddingLeft: {
534
+ type: "number";
535
+ scope: "layout";
536
+ title: string;
537
+ min: number;
538
+ max: number;
539
+ display: {
540
+ type: "range-control";
541
+ visible: boolean;
542
+ };
543
+ };
544
+ compactNavPaddingRight: {
545
+ type: "number";
546
+ scope: "layout";
547
+ title: string;
548
+ min: number;
549
+ max: number;
550
+ display: {
551
+ type: "range-control";
552
+ visible: boolean;
553
+ };
554
+ };
555
+ };
556
+ defaults: {
557
+ link: {
558
+ link: {
559
+ type: string;
560
+ value: string;
561
+ target: string;
562
+ };
563
+ label: string;
564
+ showIn: {
565
+ d: string;
566
+ t: string;
567
+ m: string;
568
+ };
569
+ }[];
570
+ logo: {
571
+ mode: string;
572
+ icon: string;
573
+ };
574
+ backgroundColor: string;
575
+ logoColor: string;
576
+ iconColor: string;
577
+ linkColor: string;
578
+ openLinkColor: string;
579
+ compactIconColor: string;
580
+ compactCloseButtonColor: string;
581
+ compactLinkColor: string;
582
+ compactLogoColor: string;
583
+ compactBackgroundColor: string;
584
+ openLogoColor: string;
585
+ menuBackgroundColor: string;
586
+ overlayColor: string;
587
+ closeButtonColor: string;
588
+ effect: string;
589
+ showIcon: string;
590
+ compactShowIcon: string;
591
+ logoPosition: string;
592
+ compactLogoPosition: string;
593
+ navTextPosition: string;
594
+ compactNavTextPosition: string;
595
+ navTextOffset: number;
596
+ compactNavTextOffset: number;
597
+ position: string;
598
+ fontFamily: string;
599
+ fontSettings: {
600
+ fontWeight: number;
601
+ fontStyle: string;
602
+ };
603
+ textAlign: string;
604
+ openFontFamily: string;
605
+ openFontSettings: {
606
+ fontWeight: number;
607
+ fontStyle: string;
608
+ };
609
+ openTextAlign: string;
610
+ compactFontFamily: string;
611
+ compactFontSettings: {
612
+ fontWeight: number;
613
+ fontStyle: string;
614
+ };
615
+ compactTextAlign: string;
616
+ stateOverrides: {
617
+ hover: {
618
+ linkColor: string;
619
+ iconColor: string;
620
+ logoColor: string;
621
+ closeButtonColor: string;
622
+ };
623
+ };
624
+ };
625
+ displayRules: {
626
+ if: {
627
+ name: string;
628
+ value: string;
629
+ };
630
+ then: {
631
+ name: string;
632
+ value: boolean;
633
+ };
634
+ }[];
635
+ layoutDefaults: {
636
+ m: {
637
+ position: string;
638
+ panelHeight: number;
639
+ logoMaxHeight: number;
640
+ logoPosition: string;
641
+ compactLogoPosition: string;
642
+ navTextPosition: string;
643
+ navTextOffset: number;
644
+ compactNavTextPosition: string;
645
+ compactNavTextOffset: number;
646
+ showIcon: string;
647
+ iconSize: number;
648
+ textWidth: number;
649
+ navTextWidth: number;
650
+ gap: number;
651
+ navGap: number;
652
+ navPaddingLeft: number;
653
+ navPaddingRight: number;
654
+ textPaddingLeft: number;
655
+ textPaddingRight: number;
656
+ textPaddingTop: number;
657
+ textPaddingBottom: number;
658
+ fontSize: number;
659
+ lineHeight: number;
660
+ letterSpacing: number;
661
+ wordSpacing: number;
662
+ textAppearance: {
663
+ textTransform: string;
664
+ textDecoration: string;
665
+ fontVariant: string;
666
+ };
667
+ openFontSize: number;
668
+ openLineHeight: number;
669
+ openLetterSpacing: number;
670
+ openWordSpacing: number;
671
+ openTextAppearance: {
672
+ textTransform: string;
673
+ textDecoration: string;
674
+ fontVariant: string;
675
+ };
676
+ openTextAlign: string;
677
+ compactPanelHeight: number;
678
+ compactLogoMaxHeight: number;
679
+ compactShowIcon: string;
680
+ compactIconSize: number;
681
+ compactNavTextWidth: number;
682
+ compactNavGap: number;
683
+ compactNavPaddingLeft: number;
684
+ compactNavPaddingRight: number;
685
+ compactFontSize: number;
686
+ compactLineHeight: number;
687
+ compactLetterSpacing: number;
688
+ compactWordSpacing: number;
689
+ compactTextAppearance: {
690
+ textTransform: string;
691
+ textDecoration: string;
692
+ fontVariant: string;
693
+ };
694
+ };
695
+ t: {
696
+ textAlign: string;
697
+ position: string;
698
+ panelHeight: number;
699
+ logoMaxHeight: number;
700
+ logoPosition: string;
701
+ compactLogoPosition: string;
702
+ navTextPosition: string;
703
+ navTextOffset: number;
704
+ compactNavTextPosition: string;
705
+ compactNavTextOffset: number;
706
+ showIcon: string;
707
+ iconSize: number;
708
+ textWidth: number;
709
+ navTextWidth: number;
710
+ gap: number;
711
+ navGap: number;
712
+ navPaddingLeft: number;
713
+ navPaddingRight: number;
714
+ textPaddingLeft: number;
715
+ textPaddingRight: number;
716
+ textPaddingTop: number;
717
+ textPaddingBottom: number;
718
+ fontSize: number;
719
+ lineHeight: number;
720
+ letterSpacing: number;
721
+ wordSpacing: number;
722
+ textAppearance: {
723
+ textTransform: string;
724
+ textDecoration: string;
725
+ fontVariant: string;
726
+ };
727
+ openFontSize: number;
728
+ openLineHeight: number;
729
+ openLetterSpacing: number;
730
+ openWordSpacing: number;
731
+ openTextAppearance: {
732
+ textTransform: string;
733
+ textDecoration: string;
734
+ fontVariant: string;
735
+ };
736
+ openTextAlign: string;
737
+ compactTextAlign: string;
738
+ compactPanelHeight: number;
739
+ compactLogoMaxHeight: number;
740
+ compactShowIcon: string;
741
+ compactIconSize: number;
742
+ compactNavTextWidth: number;
743
+ compactNavGap: number;
744
+ compactNavPaddingLeft: number;
745
+ compactNavPaddingRight: number;
746
+ compactFontSize: number;
747
+ compactLineHeight: number;
748
+ compactLetterSpacing: number;
749
+ compactWordSpacing: number;
750
+ compactTextAppearance: {
751
+ textTransform: string;
752
+ textDecoration: string;
753
+ fontVariant: string;
754
+ };
755
+ };
756
+ d: {
757
+ position: string;
758
+ panelHeight: number;
759
+ logoMaxHeight: number;
760
+ logoPosition: string;
761
+ compactLogoPosition: string;
762
+ navTextPosition: string;
763
+ navTextOffset: number;
764
+ compactNavTextPosition: string;
765
+ compactNavTextOffset: number;
766
+ showIcon: string;
767
+ iconSize: number;
768
+ textWidth: number;
769
+ navTextWidth: number;
770
+ gap: number;
771
+ navGap: number;
772
+ navPaddingLeft: number;
773
+ navPaddingRight: number;
774
+ textPaddingLeft: number;
775
+ textPaddingRight: number;
776
+ textPaddingTop: number;
777
+ textPaddingBottom: number;
778
+ fontSize: number;
779
+ lineHeight: number;
780
+ letterSpacing: number;
781
+ wordSpacing: number;
782
+ textAppearance: {
783
+ textTransform: string;
784
+ textDecoration: string;
785
+ fontVariant: string;
786
+ };
787
+ textAlign: string;
788
+ openFontSize: number;
789
+ openLineHeight: number;
790
+ openLetterSpacing: number;
791
+ openWordSpacing: number;
792
+ openTextAppearance: {
793
+ textTransform: string;
794
+ textDecoration: string;
795
+ fontVariant: string;
796
+ };
797
+ openTextAlign: string;
798
+ compactPanelHeight: number;
799
+ compactLogoMaxHeight: number;
800
+ compactShowIcon: string;
801
+ compactIconSize: number;
802
+ compactNavTextWidth: number;
803
+ compactNavGap: number;
804
+ compactNavPaddingLeft: number;
805
+ compactNavPaddingRight: number;
806
+ compactFontSize: number;
807
+ compactLineHeight: number;
808
+ compactLetterSpacing: number;
809
+ compactWordSpacing: number;
810
+ compactTextAppearance: {
811
+ textTransform: string;
812
+ textDecoration: string;
813
+ fontVariant: string;
814
+ };
815
+ compactTextAlign: string;
816
+ };
817
+ };
818
+ layout: string[];
819
+ };
820
+ panels: ({
821
+ id: string;
822
+ icon: string;
823
+ title: string;
824
+ tooltip: string;
825
+ layout: (string | {
826
+ type: "row";
827
+ items: string[];
828
+ title?: undefined;
829
+ } | {
830
+ type: "row";
831
+ title: string;
832
+ items: string[];
833
+ })[];
834
+ availableWhen: {
835
+ navigationPosition: string[];
836
+ };
837
+ } | {
838
+ id: string;
839
+ icon: string;
840
+ title: string;
841
+ tooltip: string;
842
+ layout: (string | {
843
+ type: "row";
844
+ items: string[];
845
+ })[];
846
+ availableWhen?: undefined;
847
+ })[];
848
+ paletteBookmark: {
849
+ items: ("backgroundColor" | "iconColor" | "linkColor" | "closeButtonColor" | "logoColor")[];
850
+ panelIds: string[];
851
+ stateItems: {
852
+ default: string[];
853
+ hover: string[];
854
+ compact: string[];
855
+ 'compact-hover': string[];
856
+ open: string[];
857
+ 'open-hover': string[];
858
+ };
859
+ };
860
+ states: string[];
861
+ statePanels: string[];
862
+ };
863
+ sourceCode: string;
864
+ assetsPaths: {
865
+ content: never[];
866
+ parameters: {
867
+ path: string;
868
+ placeholderEnabled: boolean;
869
+ }[];
870
+ };
871
+ fontSettingsPaths: {
872
+ content: never[];
873
+ parameters: {
874
+ path: string;
875
+ }[];
876
+ };
877
+ fontRelations: {
878
+ fontSettings: string;
879
+ openFontSettings: string;
880
+ compactFontSettings: string;
881
+ };
882
+ };