@cntrl-site/components 1.0.82-alpha.0 → 1.0.82-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.
@@ -0,0 +1,828 @@
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
+ position: {
349
+ type: "string";
350
+ scope: "layout";
351
+ title: string;
352
+ display: {
353
+ type: string;
354
+ enum: ("center" | "left-top" | "center-top" | "right-top" | "left-center" | "right-center" | "left-bottom" | "center-bottom" | "right-bottom")[];
355
+ };
356
+ };
357
+ stateOverrides: {
358
+ type: "object";
359
+ scope: "common";
360
+ };
361
+ gap: {
362
+ type: "number";
363
+ scope: "layout";
364
+ title: string;
365
+ min: number;
366
+ max: number;
367
+ display: {
368
+ type: "range-control";
369
+ };
370
+ };
371
+ navGap: {
372
+ type: "number";
373
+ scope: "layout";
374
+ title: string;
375
+ min: number;
376
+ max: number;
377
+ display: {
378
+ type: "range-control";
379
+ visible: boolean;
380
+ };
381
+ };
382
+ navPaddingLeft: {
383
+ type: "number";
384
+ scope: "layout";
385
+ title: string;
386
+ min: number;
387
+ max: number;
388
+ display: {
389
+ type: "range-control";
390
+ visible: boolean;
391
+ };
392
+ };
393
+ navPaddingRight: {
394
+ type: "number";
395
+ scope: "layout";
396
+ title: string;
397
+ min: number;
398
+ max: number;
399
+ display: {
400
+ type: "range-control";
401
+ visible: boolean;
402
+ };
403
+ };
404
+ textPaddingLeft: {
405
+ type: "number";
406
+ scope: "layout";
407
+ title: string;
408
+ min: number;
409
+ max: number;
410
+ display: {
411
+ type: "range-control";
412
+ };
413
+ };
414
+ textPaddingRight: {
415
+ type: "number";
416
+ scope: "layout";
417
+ title: string;
418
+ min: number;
419
+ max: number;
420
+ display: {
421
+ type: "range-control";
422
+ };
423
+ };
424
+ textPaddingTop: {
425
+ type: "number";
426
+ scope: "layout";
427
+ title: string;
428
+ min: number;
429
+ max: number;
430
+ display: {
431
+ type: "range-control";
432
+ };
433
+ };
434
+ textPaddingBottom: {
435
+ type: "number";
436
+ scope: "layout";
437
+ title: string;
438
+ min: number;
439
+ max: number;
440
+ display: {
441
+ type: "range-control";
442
+ };
443
+ };
444
+ compactLogoMaxHeight: {
445
+ type: "number";
446
+ scope: "layout";
447
+ title: string;
448
+ display: {
449
+ type: string;
450
+ };
451
+ min: number;
452
+ max: number;
453
+ };
454
+ compactPanelHeight: {
455
+ type: "number";
456
+ scope: "layout";
457
+ title: string;
458
+ display: {
459
+ type: string;
460
+ };
461
+ min: number;
462
+ max: number;
463
+ };
464
+ compactIconSize: {
465
+ type: "number";
466
+ scope: "layout";
467
+ title: string;
468
+ display: {
469
+ type: string;
470
+ };
471
+ min: number;
472
+ max: number;
473
+ };
474
+ compactNavTextWidth: {
475
+ type: "number";
476
+ scope: "layout";
477
+ title: string;
478
+ display: {
479
+ type: string;
480
+ };
481
+ min: number;
482
+ max: number;
483
+ };
484
+ compactNavGap: {
485
+ type: "number";
486
+ scope: "layout";
487
+ title: string;
488
+ min: number;
489
+ max: number;
490
+ display: {
491
+ type: "range-control";
492
+ visible: boolean;
493
+ };
494
+ };
495
+ compactNavPaddingLeft: {
496
+ type: "number";
497
+ scope: "layout";
498
+ title: string;
499
+ min: number;
500
+ max: number;
501
+ display: {
502
+ type: "range-control";
503
+ visible: boolean;
504
+ };
505
+ };
506
+ compactNavPaddingRight: {
507
+ type: "number";
508
+ scope: "layout";
509
+ title: string;
510
+ min: number;
511
+ max: number;
512
+ display: {
513
+ type: "range-control";
514
+ visible: boolean;
515
+ };
516
+ };
517
+ };
518
+ defaults: {
519
+ link: {
520
+ link: {
521
+ type: string;
522
+ value: string;
523
+ target: string;
524
+ };
525
+ label: string;
526
+ showIn: {
527
+ d: string;
528
+ t: string;
529
+ m: string;
530
+ };
531
+ }[];
532
+ logo: {
533
+ mode: string;
534
+ icon: string;
535
+ };
536
+ backgroundColor: string;
537
+ logoColor: string;
538
+ iconColor: string;
539
+ linkColor: string;
540
+ openLinkColor: string;
541
+ compactIconColor: string;
542
+ compactCloseButtonColor: string;
543
+ compactLinkColor: string;
544
+ compactLogoColor: string;
545
+ compactBackgroundColor: string;
546
+ openLogoColor: string;
547
+ menuBackgroundColor: string;
548
+ overlayColor: string;
549
+ closeButtonColor: string;
550
+ effect: string;
551
+ showIcon: string;
552
+ compactShowIcon: string;
553
+ logoPosition: string;
554
+ compactLogoPosition: string;
555
+ position: string;
556
+ fontFamily: string;
557
+ fontSettings: {
558
+ fontWeight: number;
559
+ fontStyle: string;
560
+ };
561
+ textAlign: string;
562
+ openFontFamily: string;
563
+ openFontSettings: {
564
+ fontWeight: number;
565
+ fontStyle: string;
566
+ };
567
+ openTextAlign: string;
568
+ compactFontFamily: string;
569
+ compactFontSettings: {
570
+ fontWeight: number;
571
+ fontStyle: string;
572
+ };
573
+ compactTextAlign: string;
574
+ stateOverrides: {
575
+ hover: {
576
+ linkColor: string;
577
+ iconColor: string;
578
+ logoColor: string;
579
+ closeButtonColor: string;
580
+ };
581
+ };
582
+ };
583
+ displayRules: {
584
+ if: {
585
+ name: string;
586
+ value: string;
587
+ };
588
+ then: {
589
+ name: string;
590
+ value: boolean;
591
+ };
592
+ }[];
593
+ layoutDefaults: {
594
+ m: {
595
+ position: string;
596
+ panelHeight: number;
597
+ logoMaxHeight: number;
598
+ logoPosition: string;
599
+ compactLogoPosition: string;
600
+ showIcon: string;
601
+ iconSize: number;
602
+ textWidth: number;
603
+ navTextWidth: number;
604
+ gap: number;
605
+ navGap: number;
606
+ navPaddingLeft: number;
607
+ navPaddingRight: number;
608
+ textPaddingLeft: number;
609
+ textPaddingRight: number;
610
+ textPaddingTop: number;
611
+ textPaddingBottom: number;
612
+ fontSize: number;
613
+ lineHeight: number;
614
+ letterSpacing: number;
615
+ wordSpacing: number;
616
+ textAppearance: {
617
+ textTransform: string;
618
+ textDecoration: string;
619
+ fontVariant: string;
620
+ };
621
+ openFontSize: number;
622
+ openLineHeight: number;
623
+ openLetterSpacing: number;
624
+ openWordSpacing: number;
625
+ openTextAppearance: {
626
+ textTransform: string;
627
+ textDecoration: string;
628
+ fontVariant: string;
629
+ };
630
+ openTextAlign: string;
631
+ compactPanelHeight: number;
632
+ compactLogoMaxHeight: number;
633
+ compactShowIcon: string;
634
+ compactIconSize: number;
635
+ compactNavTextWidth: number;
636
+ compactNavGap: number;
637
+ compactNavPaddingLeft: number;
638
+ compactNavPaddingRight: number;
639
+ compactFontSize: number;
640
+ compactLineHeight: number;
641
+ compactLetterSpacing: number;
642
+ compactWordSpacing: number;
643
+ compactTextAppearance: {
644
+ textTransform: string;
645
+ textDecoration: string;
646
+ fontVariant: string;
647
+ };
648
+ };
649
+ t: {
650
+ textAlign: string;
651
+ position: string;
652
+ panelHeight: number;
653
+ logoMaxHeight: number;
654
+ logoPosition: string;
655
+ compactLogoPosition: string;
656
+ showIcon: string;
657
+ iconSize: number;
658
+ textWidth: number;
659
+ navTextWidth: number;
660
+ gap: number;
661
+ navGap: number;
662
+ navPaddingLeft: number;
663
+ navPaddingRight: number;
664
+ textPaddingLeft: number;
665
+ textPaddingRight: number;
666
+ textPaddingTop: number;
667
+ textPaddingBottom: number;
668
+ fontSize: number;
669
+ lineHeight: number;
670
+ letterSpacing: number;
671
+ wordSpacing: number;
672
+ textAppearance: {
673
+ textTransform: string;
674
+ textDecoration: string;
675
+ fontVariant: string;
676
+ };
677
+ openFontSize: number;
678
+ openLineHeight: number;
679
+ openLetterSpacing: number;
680
+ openWordSpacing: number;
681
+ openTextAppearance: {
682
+ textTransform: string;
683
+ textDecoration: string;
684
+ fontVariant: string;
685
+ };
686
+ openTextAlign: string;
687
+ compactTextAlign: string;
688
+ compactPanelHeight: number;
689
+ compactLogoMaxHeight: number;
690
+ compactShowIcon: string;
691
+ compactIconSize: number;
692
+ compactNavTextWidth: number;
693
+ compactNavGap: number;
694
+ compactNavPaddingLeft: number;
695
+ compactNavPaddingRight: number;
696
+ compactFontSize: number;
697
+ compactLineHeight: number;
698
+ compactLetterSpacing: number;
699
+ compactWordSpacing: number;
700
+ compactTextAppearance: {
701
+ textTransform: string;
702
+ textDecoration: string;
703
+ fontVariant: string;
704
+ };
705
+ };
706
+ d: {
707
+ position: string;
708
+ panelHeight: number;
709
+ logoMaxHeight: number;
710
+ logoPosition: string;
711
+ compactLogoPosition: string;
712
+ showIcon: string;
713
+ iconSize: number;
714
+ textWidth: number;
715
+ navTextWidth: number;
716
+ gap: number;
717
+ navGap: number;
718
+ navPaddingLeft: number;
719
+ navPaddingRight: number;
720
+ textPaddingLeft: number;
721
+ textPaddingRight: number;
722
+ textPaddingTop: number;
723
+ textPaddingBottom: number;
724
+ fontSize: number;
725
+ lineHeight: number;
726
+ letterSpacing: number;
727
+ wordSpacing: number;
728
+ textAppearance: {
729
+ textTransform: string;
730
+ textDecoration: string;
731
+ fontVariant: string;
732
+ };
733
+ textAlign: string;
734
+ openFontSize: number;
735
+ openLineHeight: number;
736
+ openLetterSpacing: number;
737
+ openWordSpacing: number;
738
+ openTextAppearance: {
739
+ textTransform: string;
740
+ textDecoration: string;
741
+ fontVariant: string;
742
+ };
743
+ openTextAlign: string;
744
+ compactPanelHeight: number;
745
+ compactLogoMaxHeight: number;
746
+ compactShowIcon: string;
747
+ compactIconSize: number;
748
+ compactNavTextWidth: number;
749
+ compactNavGap: number;
750
+ compactNavPaddingLeft: number;
751
+ compactNavPaddingRight: number;
752
+ compactFontSize: number;
753
+ compactLineHeight: number;
754
+ compactLetterSpacing: number;
755
+ compactWordSpacing: number;
756
+ compactTextAppearance: {
757
+ textTransform: string;
758
+ textDecoration: string;
759
+ fontVariant: string;
760
+ };
761
+ compactTextAlign: string;
762
+ };
763
+ };
764
+ layout: string[];
765
+ };
766
+ panels: ({
767
+ id: string;
768
+ icon: string;
769
+ title: string;
770
+ tooltip: string;
771
+ layout: (string | {
772
+ type: "row";
773
+ items: string[];
774
+ title?: undefined;
775
+ } | {
776
+ type: "row";
777
+ title: string;
778
+ items: string[];
779
+ })[];
780
+ availableWhen: {
781
+ navigationPosition: string[];
782
+ };
783
+ } | {
784
+ id: string;
785
+ icon: string;
786
+ title: string;
787
+ tooltip: string;
788
+ layout: (string | {
789
+ type: "row";
790
+ items: string[];
791
+ })[];
792
+ availableWhen?: undefined;
793
+ })[];
794
+ paletteBookmark: {
795
+ items: ("backgroundColor" | "iconColor" | "linkColor" | "closeButtonColor" | "logoColor")[];
796
+ panelIds: string[];
797
+ stateItems: {
798
+ default: string[];
799
+ hover: string[];
800
+ compact: string[];
801
+ 'compact-hover': string[];
802
+ open: string[];
803
+ 'open-hover': string[];
804
+ };
805
+ };
806
+ states: string[];
807
+ statePanels: string[];
808
+ };
809
+ sourceCode: string;
810
+ assetsPaths: {
811
+ content: never[];
812
+ parameters: {
813
+ path: string;
814
+ placeholderEnabled: boolean;
815
+ }[];
816
+ };
817
+ fontSettingsPaths: {
818
+ content: never[];
819
+ parameters: {
820
+ path: string;
821
+ }[];
822
+ };
823
+ fontRelations: {
824
+ fontSettings: string;
825
+ openFontSettings: string;
826
+ compactFontSettings: string;
827
+ };
828
+ };