myshell-react-lib 0.1.3 → 0.1.4

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/dist/index.d.cts CHANGED
@@ -880,15 +880,15 @@ type HeroIcon = React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGP
880
880
  } & React.RefAttributes<SVGSVGElement>>;
881
881
 
882
882
  type IIcons = {
883
- icon: HeroIcon | LucideIcon | IconComponent | React.ElementType;
883
+ icon: HeroIcon | LucideIcon | React.ElementType;
884
884
  onClick?: () => void;
885
885
  };
886
886
  type IActions = {
887
887
  label: string;
888
888
  onClick?: () => void;
889
- icon?: HeroIcon | LucideIcon | IconComponent | React.ElementType;
890
- variant?: 'primary' | 'secondary' | 'static' | 'link' | 'plain';
891
- color?: 'default' | 'brand' | 'error' | 'chat';
889
+ icon?: HeroIcon | LucideIcon | React.ElementType;
890
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'static' | 'link' | 'plain' | 'solid';
891
+ color?: 'default' | 'brand' | 'error';
892
892
  };
893
893
  type ISecondaryNavigationBar = {
894
894
  /**
@@ -971,8 +971,9 @@ type ISecondaryNavigationBar = {
971
971
  };
972
972
  onSearchChange?: (value: string) => void;
973
973
  onClear?: () => void;
974
+ onBack?: () => void;
974
975
  };
975
- declare function SecondaryNavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, border, backUrl, showClear, clearText, icons, actions, children, hasBackground, avatar, onSearchChange, onClear, }: ISecondaryNavigationBar): react_jsx_runtime.JSX.Element;
976
+ declare function SecondaryNavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, border, backUrl, showClear, clearText, icons, actions, children, hasBackground, avatar, onSearchChange, onClear, onBack, }: ISecondaryNavigationBar): react_jsx_runtime.JSX.Element;
976
977
 
977
978
  interface ISelectProps extends SelectPrimitive.SelectProps {
978
979
  options?: Array<{
package/dist/index.d.ts CHANGED
@@ -880,15 +880,15 @@ type HeroIcon = React.ForwardRefExoticComponent<React.PropsWithoutRef<React.SVGP
880
880
  } & React.RefAttributes<SVGSVGElement>>;
881
881
 
882
882
  type IIcons = {
883
- icon: HeroIcon | LucideIcon | IconComponent | React.ElementType;
883
+ icon: HeroIcon | LucideIcon | React.ElementType;
884
884
  onClick?: () => void;
885
885
  };
886
886
  type IActions = {
887
887
  label: string;
888
888
  onClick?: () => void;
889
- icon?: HeroIcon | LucideIcon | IconComponent | React.ElementType;
890
- variant?: 'primary' | 'secondary' | 'static' | 'link' | 'plain';
891
- color?: 'default' | 'brand' | 'error' | 'chat';
889
+ icon?: HeroIcon | LucideIcon | React.ElementType;
890
+ variant?: 'primary' | 'secondary' | 'tertiary' | 'static' | 'link' | 'plain' | 'solid';
891
+ color?: 'default' | 'brand' | 'error';
892
892
  };
893
893
  type ISecondaryNavigationBar = {
894
894
  /**
@@ -971,8 +971,9 @@ type ISecondaryNavigationBar = {
971
971
  };
972
972
  onSearchChange?: (value: string) => void;
973
973
  onClear?: () => void;
974
+ onBack?: () => void;
974
975
  };
975
- declare function SecondaryNavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, border, backUrl, showClear, clearText, icons, actions, children, hasBackground, avatar, onSearchChange, onClear, }: ISecondaryNavigationBar): react_jsx_runtime.JSX.Element;
976
+ declare function SecondaryNavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, border, backUrl, showClear, clearText, icons, actions, children, hasBackground, avatar, onSearchChange, onClear, onBack, }: ISecondaryNavigationBar): react_jsx_runtime.JSX.Element;
976
977
 
977
978
  interface ISelectProps extends SelectPrimitive.SelectProps {
978
979
  options?: Array<{