pixel-react 1.21.42 → 1.21.44

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.
package/lib/index.d.ts CHANGED
@@ -2820,21 +2820,22 @@ declare const VariableInput: ({ type, name, label, disabled, required, placehold
2820
2820
  interface optionsType$1 {
2821
2821
  label: string;
2822
2822
  value: string;
2823
- iconName: string;
2823
+ iconName?: string;
2824
2824
  platform?: string;
2825
2825
  appType?: string;
2826
2826
  }
2827
2827
  interface AllProjectsDropdownProps {
2828
2828
  options: optionsType$1[];
2829
2829
  onMenuClick?: () => void;
2830
- onClick: (option: optionsType$1) => void;
2830
+ onClick: (_option: optionsType$1) => void;
2831
2831
  selectedOption: optionsType$1;
2832
2832
  selected?: boolean;
2833
2833
  placeholder?: string;
2834
2834
  disabled?: boolean;
2835
+ showIcons?: boolean;
2835
2836
  }
2836
2837
 
2837
- declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, }: AllProjectsDropdownProps) => React$1.JSX.Element;
2838
+ declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, showIcons, }: AllProjectsDropdownProps) => React$1.JSX.Element;
2838
2839
 
2839
2840
  interface PieChartProps {
2840
2841
  radius: number;
@@ -2848,6 +2849,19 @@ interface PieChartProps {
2848
2849
 
2849
2850
  declare const PieChart: React__default.FC<PieChartProps>;
2850
2851
 
2852
+ interface ClientProjectOptionsRect {
2853
+ top: number;
2854
+ right: number;
2855
+ bottom: number;
2856
+ left: number;
2857
+ width: number;
2858
+ height: number;
2859
+ }
2860
+ interface ClientProjectOptionsChangePayload {
2861
+ isOpen: boolean;
2862
+ rect?: ClientProjectOptionsRect;
2863
+ selected?: boolean;
2864
+ }
2851
2865
  interface AppHeaderProps {
2852
2866
  scriptId?: string | undefined | null;
2853
2867
  width?: string;
@@ -2856,18 +2870,23 @@ interface AppHeaderProps {
2856
2870
  leftContent?: ReactNode;
2857
2871
  rightContent?: ReactNode;
2858
2872
  projectsList?: optionsType$1[];
2873
+ licenseList?: optionsType$1[];
2874
+ showLicenseMenu?: boolean;
2859
2875
  appHeaderMenuItems: appHeaderMenuItemProps[];
2860
2876
  appHeaderHiddenMenuItems?: appHeaderMenuItemProps[];
2861
2877
  selectedMenu: string;
2862
2878
  selectedSubMenu?: string;
2863
2879
  selectedQuickMenu?: string;
2864
2880
  selectedProject?: optionsType$1;
2865
- onMenuClick?: (text: any) => void;
2866
- onSubMenuClick?: (text: any) => void;
2867
- onQuickMenuClick?: (text: any) => void;
2868
- onProjectMenuClick?: (text: any) => void;
2881
+ selectedLicense?: optionsType$1 | null;
2882
+ onMenuClick?: (_text: any) => void;
2883
+ onSubMenuClick?: (_text: any) => void;
2884
+ onQuickMenuClick?: (_text: any) => void;
2885
+ onProjectMenuClick?: (_text: any) => void;
2869
2886
  onProjectDropdownLabelClick?: () => void;
2870
- onMoreMenuOptionClick?: (text: any, callback: () => void) => void;
2887
+ onClientProjectOptionsChange?: (_payload: ClientProjectOptionsChangePayload) => void;
2888
+ onLicenseMenuClick?: (_text: any) => void;
2889
+ onMoreMenuOptionClick?: (_text: any, _callback: () => void) => void;
2871
2890
  disabled?: boolean;
2872
2891
  isClient?: boolean;
2873
2892
  hideNavbar?: boolean;