@zenpatient-org/healthspan-marketing-ui 0.1.9 → 0.1.11

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.
@@ -1 +1,2 @@
1
1
  export { Button } from './Button';
2
+ export type { ButtonProps } from './Button';
@@ -0,0 +1,12 @@
1
+ import { ButtonProps } from '../Button';
2
+ import { CallbackSize } from './types';
3
+
4
+ export type CallbackProps = {
5
+ image: string;
6
+ title: string;
7
+ description: string;
8
+ price: string;
9
+ button: ButtonProps;
10
+ size: CallbackSize;
11
+ };
12
+ export declare const Callback: ({ image, title, description, price, button, size, }: CallbackProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { TypographyVariant } from '../Typography';
2
+ import { CallbackSize } from './types';
3
+
4
+ export declare const TITLE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
5
+ export declare const DESC_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
6
+ export declare const PRICE_BY_SIZE_DESKTOP: Record<CallbackSize, TypographyVariant>;
7
+ export declare const TITLE_BY_SIZE_MOBILE: Record<CallbackSize, TypographyVariant>;
8
+ export declare const DESC_BY_SIZE_MOBILE: Record<CallbackSize, TypographyVariant>;
9
+ export declare const PRICE_BY_SIZE_MOBILE: Record<CallbackSize, TypographyVariant>;
10
+ export declare const BUTTON_BY_SIZE: {
11
+ readonly sm: "sm";
12
+ readonly lg: "lg";
13
+ };
@@ -0,0 +1,2 @@
1
+ export { Callback } from './Callback';
2
+ export type { CallbackSize } from './types';
@@ -0,0 +1 @@
1
+ export type CallbackSize = 'sm' | 'lg';
@@ -0,0 +1,14 @@
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react';
2
+ import { EIconName } from '../Icon';
3
+
4
+ type Size = 'sm' | 'lg';
5
+ type BaseButtonProps = {
6
+ inverted?: boolean;
7
+ size?: Size;
8
+ as?: ElementType;
9
+ prefixIcon?: EIconName;
10
+ suffixIcon?: EIconName;
11
+ };
12
+ type ButtonProps = BaseButtonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
13
+ export declare const TextButton: ({ size, as: Component, disabled, inverted, children, prefixIcon, suffixIcon, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export { TextButton } from './TextButton';
@@ -11,3 +11,5 @@ export type { TContentTab } from './ContentTabs';
11
11
  export { Icon, EIconName } from './Icon';
12
12
  export { ProductGalleryCard } from './ProductGalleryCard';
13
13
  export { HighlightedTitle } from './HighlightedTitle';
14
+ export { Callback } from './Callback';
15
+ export type { CallbackSize } from './Callback';