@cntrl-site/components 1.0.79-alpha.2 → 1.0.79-alpha.5

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.
@@ -6,14 +6,22 @@ type BurgerLogo = {
6
6
  icon?: string | null;
7
7
  };
8
8
  type BurgerLogoPosition = 'left' | 'center' | 'right';
9
+ type BurgerShowInValue = string | Record<string, string>;
9
10
  type BurgerLink = {
11
+ link?: {
12
+ type?: 'url' | 'page' | 'anchor';
13
+ value?: string;
14
+ target?: string;
15
+ anchor?: string;
16
+ url?: string;
17
+ };
10
18
  mode?: 'page' | 'url';
11
19
  page?: string;
12
20
  url?: string;
13
21
  label?: string;
14
22
  anchor?: string;
15
23
  openIn?: string;
16
- showIn?: string;
24
+ showIn?: BurgerShowInValue;
17
25
  };
18
26
  type BurgerPosition = 'left-top' | 'center-top' | 'right-top' | 'left-center' | 'center' | 'center-center' | 'right-center' | 'left-bottom' | 'center-bottom' | 'right-bottom';
19
27
  type BurgerSettings = {
@@ -24,6 +24,11 @@ export declare const BurgerComponent: {
24
24
  height: number;
25
25
  };
26
26
  };
27
+ defaultNavigationPosition: {
28
+ readonly d: "switch";
29
+ readonly t: "switch";
30
+ readonly m: "stickyTop";
31
+ };
27
32
  schema: {
28
33
  type: "object";
29
34
  version: 1;
@@ -39,28 +44,32 @@ export declare const BurgerComponent: {
39
44
  items: {
40
45
  type: "object";
41
46
  properties: {
42
- mode: {
43
- type: "string";
44
- enum: string[];
45
- };
46
- page: {
47
- type: "string";
48
- };
49
- url: {
50
- type: "string";
51
- message: string;
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
+ };
52
66
  };
53
67
  label: {
54
68
  type: "string";
55
69
  };
56
- anchor: {
57
- type: "string";
58
- };
59
- openIn: {
60
- type: "string";
61
- };
62
70
  showIn: {
63
71
  type: "string";
72
+ scope: "layout";
64
73
  enum: string[];
65
74
  };
66
75
  };
@@ -508,17 +517,21 @@ export declare const BurgerComponent: {
508
517
  };
509
518
  defaults: {
510
519
  link: {
511
- mode: string;
512
- page: string;
513
- url: string;
520
+ link: {
521
+ type: string;
522
+ value: string;
523
+ target: string;
524
+ };
514
525
  label: string;
515
- anchor: string;
516
- openIn: string;
517
- showIn: string;
526
+ showIn: {
527
+ d: string;
528
+ t: string;
529
+ m: string;
530
+ };
518
531
  }[];
519
532
  logo: {
520
533
  mode: string;
521
- icon: null;
534
+ icon: string;
522
535
  };
523
536
  backgroundColor: string;
524
537
  logoColor: string;
@@ -614,6 +627,7 @@ export declare const BurgerComponent: {
614
627
  textDecoration: string;
615
628
  fontVariant: string;
616
629
  };
630
+ openTextAlign: string;
617
631
  compactPanelHeight: number;
618
632
  compactLogoMaxHeight: number;
619
633
  compactShowIcon: string;
@@ -633,6 +647,7 @@ export declare const BurgerComponent: {
633
647
  };
634
648
  };
635
649
  t: {
650
+ textAlign: string;
636
651
  position: string;
637
652
  panelHeight: number;
638
653
  logoMaxHeight: number;
@@ -668,6 +683,8 @@ export declare const BurgerComponent: {
668
683
  textDecoration: string;
669
684
  fontVariant: string;
670
685
  };
686
+ openTextAlign: string;
687
+ compactTextAlign: string;
671
688
  compactPanelHeight: number;
672
689
  compactLogoMaxHeight: number;
673
690
  compactShowIcon: string;
@@ -794,6 +811,7 @@ export declare const BurgerComponent: {
794
811
  content: never[];
795
812
  parameters: {
796
813
  path: string;
814
+ placeholderEnabled: boolean;
797
815
  }[];
798
816
  };
799
817
  fontSettingsPaths: {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { type Breakpoint, type Component, type ComponentDefaultSize, type ComponentSize, isSchemaV1 } from './types/Component';
1
+ export { type Breakpoint, type Component, type ComponentDefaultSize, type ComponentDefaultNavigationPosition, type ComponentNavigationPosition, type ComponentSize, isSchemaV1 } from './types/Component';
2
2
  export type { ComponentSchemaV1, SchemaProperty, PropertyScope, LayoutItem, LayoutRow, LayoutGroup, LayoutSwitcher, LayoutTab, SchemaSection, SchemaPanel, SchemaPanelAvailability, SchemaDisplay } from './types/SchemaV1';
3
3
  export { components } from './Components/components';
4
4
  export { getAvailableStatePanels, getUnavailableStates, isPanelAvailable, } from './Components/utils/panelAvailability';