@solace-health/ui 0.10.87 → 0.10.89

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
@@ -83,9 +83,11 @@ declare type Props$j = {
83
83
  last_name?: string;
84
84
  };
85
85
  type?: UserTypes;
86
+ withToolTip?: boolean;
87
+ toolTipOnClick?: () => void;
86
88
  [extraProps: string]: unknown;
87
89
  } & AvatarProps;
88
- declare const Avatar: ({ size, src, type, user, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
90
+ declare const Avatar: ({ size, src, type, user, withToolTip, toolTipOnClick, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
89
91
 
90
92
  declare const Badge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
91
93
 
@@ -216,8 +218,10 @@ declare const _default$6: {
216
218
  color?: string | undefined;
217
219
  }) => react_jsx_runtime.JSX.Element;
218
220
  Afternoon: () => react_jsx_runtime.JSX.Element;
219
- Arrow: ({ color }: {
221
+ Arrow: ({ size, color, direction, }: {
222
+ size?: number | undefined;
220
223
  color?: string | undefined;
224
+ direction?: "left" | "right" | "up" | "down" | undefined;
221
225
  }) => react_jsx_runtime.JSX.Element;
222
226
  Attachment: ({ fill }: {
223
227
  fill?: string | undefined;
@@ -469,7 +473,7 @@ declare const _default$6: {
469
473
  Wallet: ({ color, }: {
470
474
  color?: string | undefined;
471
475
  }) => JSX.Element;
472
- Video: ({ size, color }: {
476
+ Video: ({ size, color, }: {
473
477
  size?: string | undefined;
474
478
  color?: string | undefined;
475
479
  }) => react_jsx_runtime.JSX.Element;
@@ -710,6 +714,7 @@ declare type Props = {
710
714
  children: React.ReactNode;
711
715
  content: React.ReactNode | string | null;
712
716
  className?: string;
717
+ disabled?: boolean;
713
718
  };
714
719
  declare const Tooltip: _emotion_styled.StyledComponent<Props & {
715
720
  theme?: _emotion_react.Theme | undefined;
@@ -734,7 +739,7 @@ declare type ProviderProps = {
734
739
  declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
735
740
 
736
741
  declare const _default$3: {
737
- ButtonRadioGroup: ({ name, label, className, options, formOptions, }: {
742
+ ButtonRadioGroup: ({ name, label, className, options, onClick, formOptions, }: {
738
743
  name: string;
739
744
  label?: string | JSX.Element | null | undefined;
740
745
  options: {
@@ -743,6 +748,7 @@ declare const _default$3: {
743
748
  icon: "Afternoon" | "Evening" | "HandHeart" | "HandMoney" | "Hospital" | "Heart" | "Morning" | "Person" | "Shield";
744
749
  description?: string | JSX.Element | undefined;
745
750
  }[];
751
+ onClick?: ((value: string) => void) | undefined;
746
752
  className?: string | undefined;
747
753
  formOptions?: react_hook_form.RegisterOptions<FieldValues, string> | undefined;
748
754
  }) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -83,9 +83,11 @@ declare type Props$j = {
83
83
  last_name?: string;
84
84
  };
85
85
  type?: UserTypes;
86
+ withToolTip?: boolean;
87
+ toolTipOnClick?: () => void;
86
88
  [extraProps: string]: unknown;
87
89
  } & AvatarProps;
88
- declare const Avatar: ({ size, src, type, user, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
90
+ declare const Avatar: ({ size, src, type, user, withToolTip, toolTipOnClick, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
89
91
 
90
92
  declare const Badge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
91
93
 
@@ -216,8 +218,10 @@ declare const _default$6: {
216
218
  color?: string | undefined;
217
219
  }) => react_jsx_runtime.JSX.Element;
218
220
  Afternoon: () => react_jsx_runtime.JSX.Element;
219
- Arrow: ({ color }: {
221
+ Arrow: ({ size, color, direction, }: {
222
+ size?: number | undefined;
220
223
  color?: string | undefined;
224
+ direction?: "left" | "right" | "up" | "down" | undefined;
221
225
  }) => react_jsx_runtime.JSX.Element;
222
226
  Attachment: ({ fill }: {
223
227
  fill?: string | undefined;
@@ -469,7 +473,7 @@ declare const _default$6: {
469
473
  Wallet: ({ color, }: {
470
474
  color?: string | undefined;
471
475
  }) => JSX.Element;
472
- Video: ({ size, color }: {
476
+ Video: ({ size, color, }: {
473
477
  size?: string | undefined;
474
478
  color?: string | undefined;
475
479
  }) => react_jsx_runtime.JSX.Element;
@@ -710,6 +714,7 @@ declare type Props = {
710
714
  children: React.ReactNode;
711
715
  content: React.ReactNode | string | null;
712
716
  className?: string;
717
+ disabled?: boolean;
713
718
  };
714
719
  declare const Tooltip: _emotion_styled.StyledComponent<Props & {
715
720
  theme?: _emotion_react.Theme | undefined;
@@ -734,7 +739,7 @@ declare type ProviderProps = {
734
739
  declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
735
740
 
736
741
  declare const _default$3: {
737
- ButtonRadioGroup: ({ name, label, className, options, formOptions, }: {
742
+ ButtonRadioGroup: ({ name, label, className, options, onClick, formOptions, }: {
738
743
  name: string;
739
744
  label?: string | JSX.Element | null | undefined;
740
745
  options: {
@@ -743,6 +748,7 @@ declare const _default$3: {
743
748
  icon: "Afternoon" | "Evening" | "HandHeart" | "HandMoney" | "Hospital" | "Heart" | "Morning" | "Person" | "Shield";
744
749
  description?: string | JSX.Element | undefined;
745
750
  }[];
751
+ onClick?: ((value: string) => void) | undefined;
746
752
  className?: string | undefined;
747
753
  formOptions?: react_hook_form.RegisterOptions<FieldValues, string> | undefined;
748
754
  }) => react_jsx_runtime.JSX.Element;