@zenpatient-org/healthspan-marketing-ui 0.1.8 → 0.1.10
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/components/ContentTabs/ContentTabs.d.ts +9 -8
- package/dist/components/ContentTabs/index.d.ts +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +12 -0
- package/dist/components/HighlightedTitle/index.d.ts +1 -0
- package/dist/components/Icon/constants.d.ts +0 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +2 -6
- package/dist/components/TypeBadge/index.d.ts +1 -1
- package/dist/components/Typography/Typography.d.ts +4 -3
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/healthspan-ui.es.js +475 -400
- package/dist/healthspan-ui.es.js.map +1 -1
- package/dist/healthspan-ui.umd.js +5 -5
- package/dist/healthspan-ui.umd.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/modules/TotalCare/TotalCare.d.ts +16 -0
- package/dist/modules/TotalCare/index.d.ts +1 -0
- package/dist/modules/index.d.ts +1 -0
- package/dist/types/common.d.ts +1 -0
- package/package.json +2 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { EIconName } from '../Icon';
|
|
3
|
+
import { TColorScheme } from '../../types/common';
|
|
3
4
|
|
|
4
|
-
export type
|
|
5
|
-
value: T;
|
|
5
|
+
export type TContentTab = {
|
|
6
6
|
label: string;
|
|
7
7
|
description: ReactNode;
|
|
8
8
|
icon?: EIconName;
|
|
9
|
+
image?: string;
|
|
9
10
|
};
|
|
10
|
-
type Props
|
|
11
|
-
activeTab:
|
|
12
|
-
tabs: ReadonlyArray<
|
|
13
|
-
|
|
14
|
-
onTabClick: (value:
|
|
11
|
+
type Props = {
|
|
12
|
+
activeTab: TContentTab;
|
|
13
|
+
tabs: ReadonlyArray<TContentTab>;
|
|
14
|
+
colorScheme: TColorScheme;
|
|
15
|
+
onTabClick: (value: TContentTab) => void;
|
|
15
16
|
};
|
|
16
|
-
export declare function ContentTabs
|
|
17
|
+
export declare function ContentTabs({ tabs, activeTab, colorScheme, onTabClick }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ContentTabs } from './ContentTabs';
|
|
2
|
-
export type {
|
|
2
|
+
export type { TContentTab } from './ContentTabs';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TypographyProps } from '../../components';
|
|
3
|
+
import { TColorScheme } from '../../types/common';
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
tag?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
colorScheme?: TColorScheme;
|
|
10
|
+
} & Partial<Pick<TypographyProps, 'defaultVariant' | 'as' | 'mobileVariant'>>;
|
|
11
|
+
export declare const HighlightedTitle: ({ title, tag, className, defaultVariant, as, mobileVariant, colorScheme, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HighlightedTitle } from './HighlightedTitle';
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { ButtonProps } from '../Button/Button';
|
|
3
2
|
|
|
4
3
|
export type ProductGalleryCardProps = {
|
|
5
4
|
title: string;
|
|
6
|
-
price:
|
|
7
|
-
amount: number;
|
|
8
|
-
period: string;
|
|
9
|
-
};
|
|
5
|
+
price: string;
|
|
10
6
|
image: string;
|
|
11
7
|
buttons: Array<{
|
|
12
|
-
label:
|
|
8
|
+
label: string;
|
|
13
9
|
} & ButtonProps>;
|
|
14
10
|
link: string;
|
|
15
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TypeBadge } from './TypeBadge';
|
|
2
|
-
export
|
|
2
|
+
export { ETypeBadge } from './TypeBadge';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { default as React, ElementType } from 'react';
|
|
2
2
|
|
|
3
|
-
type TypographyVariant = 'displayXl' | 'displayLg' | 'displayMd' | 'displaySm' | 'displayXs' | 'headingXl' | 'headingLg' | 'headingMd' | 'headingSm' | 'headingXs' | 'headingXxs' | 'preambleMd' | 'preambleSm' | 'bodyXl' | 'bodyLg' | 'bodyMd' | 'bodySm' | 'bodyXs' | 'linkLg' | 'linkMd' | 'linkSm' | 'linkXs' | 'labelXl' | 'labelLg' | 'labelMd' | 'labelSm' | 'labelXs';
|
|
3
|
+
export type TypographyVariant = 'displayXl' | 'displayLg' | 'displayMd' | 'displaySm' | 'displayXs' | 'headingXl' | 'headingLg' | 'headingMd' | 'headingSm' | 'headingXs' | 'headingXxs' | 'preambleMd' | 'preambleSm' | 'bodyXl' | 'bodyLg' | 'bodyMd' | 'bodySm' | 'bodyXs' | 'linkLg' | 'linkMd' | 'linkSm' | 'linkXs' | 'labelXl' | 'labelLg' | 'labelMd' | 'labelSm' | 'labelXs';
|
|
4
4
|
type FontWeight = 'regular' | 'medium';
|
|
5
5
|
export interface TypographyProps {
|
|
6
|
-
|
|
6
|
+
defaultVariant: TypographyVariant;
|
|
7
7
|
children: React.ReactNode;
|
|
8
|
+
mobileVariant?: TypographyVariant;
|
|
8
9
|
className?: string;
|
|
9
10
|
weight?: FontWeight;
|
|
10
11
|
emphasis?: boolean;
|
|
11
12
|
as?: ElementType;
|
|
12
13
|
}
|
|
13
|
-
export declare const Typography: ({
|
|
14
|
+
export declare const Typography: ({ defaultVariant, children, className, weight, emphasis, as: Component, mobileVariant, }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Typography } from './Typography';
|
|
2
|
-
export type { TypographyProps } from './Typography';
|
|
2
|
+
export type { TypographyProps, TypographyVariant } from './Typography';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { Typography } from './Typography';
|
|
2
|
+
export type { TypographyVariant, TypographyProps } from './Typography';
|
|
2
3
|
export { Button } from './Button';
|
|
3
4
|
export { Label } from './Label';
|
|
4
5
|
export type { LabelColor } from './Label';
|
|
5
6
|
export { Tag } from './Tag';
|
|
6
7
|
export { Tabs } from './Tabs';
|
|
7
|
-
export { TypeBadge } from './TypeBadge';
|
|
8
|
-
export type { ETypeBadge } from './TypeBadge';
|
|
8
|
+
export { TypeBadge, ETypeBadge } from './TypeBadge';
|
|
9
9
|
export { ContentTabs } from './ContentTabs';
|
|
10
|
-
export type {
|
|
11
|
-
export { Icon } from './Icon';
|
|
12
|
-
export type { EIconName } from './Icon';
|
|
10
|
+
export type { TContentTab } from './ContentTabs';
|
|
11
|
+
export { Icon, EIconName } from './Icon';
|
|
13
12
|
export { ProductGalleryCard } from './ProductGalleryCard';
|
|
13
|
+
export { HighlightedTitle } from './HighlightedTitle';
|