@cntrl-site/components 1.0.89 → 1.0.90

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.
@@ -75,6 +75,7 @@ type BurgerSettings = {
75
75
  overlayColor?: string;
76
76
  closeButtonColor?: string;
77
77
  effect?: BurgerEffect;
78
+ openPanelSize?: number;
78
79
  textWidth?: number;
79
80
  navTextWidth?: number;
80
81
  navTextPosition?: BurgerTextPosition;
@@ -325,6 +325,16 @@ export declare const BurgerComponent: {
325
325
  enum: string[];
326
326
  };
327
327
  };
328
+ openPanelSize: {
329
+ type: "number";
330
+ scope: "layout";
331
+ title: string;
332
+ display: {
333
+ type: string;
334
+ };
335
+ min: number;
336
+ max: number;
337
+ };
328
338
  textWidth: {
329
339
  type: "number";
330
340
  scope: "layout";
@@ -622,7 +632,7 @@ export declare const BurgerComponent: {
622
632
  };
623
633
  };
624
634
  };
625
- displayRules: {
635
+ displayRules: ({
626
636
  if: {
627
637
  name: string;
628
638
  value: string;
@@ -631,7 +641,16 @@ export declare const BurgerComponent: {
631
641
  name: string;
632
642
  value: boolean;
633
643
  };
634
- }[];
644
+ } | {
645
+ if: {
646
+ name: string;
647
+ value: string;
648
+ };
649
+ then: {
650
+ name: string;
651
+ value: string;
652
+ };
653
+ })[];
635
654
  layoutDefaults: {
636
655
  m: {
637
656
  position: string;
@@ -646,6 +665,7 @@ export declare const BurgerComponent: {
646
665
  showIcon: string;
647
666
  iconSize: number;
648
667
  textWidth: number;
668
+ openPanelSize: number;
649
669
  navTextWidth: number;
650
670
  gap: number;
651
671
  navGap: number;
@@ -706,6 +726,7 @@ export declare const BurgerComponent: {
706
726
  showIcon: string;
707
727
  iconSize: number;
708
728
  textWidth: number;
729
+ openPanelSize: number;
709
730
  navTextWidth: number;
710
731
  gap: number;
711
732
  navGap: number;
@@ -766,6 +787,7 @@ export declare const BurgerComponent: {
766
787
  showIcon: string;
767
788
  iconSize: number;
768
789
  textWidth: number;
790
+ openPanelSize: number;
769
791
  navTextWidth: number;
770
792
  gap: number;
771
793
  navGap: number;
@@ -831,9 +853,7 @@ export declare const BurgerComponent: {
831
853
  title: string;
832
854
  items: string[];
833
855
  })[];
834
- availableWhen: {
835
- navigationPosition: string[];
836
- };
856
+ availableWhen?: undefined;
837
857
  } | {
838
858
  id: string;
839
859
  icon: string;
@@ -842,8 +862,15 @@ export declare const BurgerComponent: {
842
862
  layout: (string | {
843
863
  type: "row";
844
864
  items: string[];
865
+ title?: undefined;
866
+ } | {
867
+ type: "row";
868
+ title: string;
869
+ items: string[];
845
870
  })[];
846
- availableWhen?: undefined;
871
+ availableWhen: {
872
+ navigationPosition: string[];
873
+ };
847
874
  })[];
848
875
  paletteBookmark: {
849
876
  items: ("backgroundColor" | "iconColor" | "linkColor" | "closeButtonColor" | "logoColor")[];
@@ -1 +1 @@
1
- export declare const useLightboxScrollLock: () => void;
1
+ export declare const useLightboxScrollLock: (active?: boolean) => void;