@hashicorp/mds-react 0.9.2 → 0.9.3
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/components/accordion/index.d.ts +1 -1
- package/components/accordion/item/index.d.ts +1 -1
- package/components/alert/icon.d.ts +2 -2
- package/components/alert/index.d.ts +6 -6
- package/components/badge/index.d.ts +1 -1
- package/components/badge-count/index.d.ts +1 -1
- package/components/breadcrumbs/index.d.ts +2 -2
- package/components/breadcrumbs/item/index.d.ts +1 -1
- package/components/breadcrumbs/truncation-button/index.d.ts +1 -1
- package/components/breadcrumbs/types/index.d.ts +1 -1
- package/components/button/index.d.ts +2 -2
- package/components/card/card-thumbnail/index.d.ts +1 -1
- package/components/card/index.d.ts +2 -2
- package/components/card/types.d.ts +3 -3
- package/components/code-block/code-lines/index.d.ts +1 -8
- package/components/code-block/code-lines/utils/split-html-into-lines.d.ts +1 -1
- package/components/code-block/code-lines/utils/split-jsx-into-lines.d.ts +1 -1
- package/components/code-block/hidden-copy-content/index.d.ts +3 -3
- package/components/code-block/index.d.ts +1 -1
- package/components/combo-box-primitive/index.d.ts +1 -0
- package/components/dialog-primitive/index.d.ts +1 -1
- package/components/disclosure-primitive/index.d.ts +1 -2
- package/components/disclosure-primitive/use-disclosure-primitive.d.ts +2 -2
- package/components/dismiss-button/index.d.ts +1 -0
- package/components/dropdown/index.d.ts +6 -6
- package/components/dropdown/list-item/custom.d.ts +1 -1
- package/components/dropdown/list-item/index.d.ts +4 -4
- package/components/dropdown/list-item/interactive.d.ts +1 -1
- package/components/dropdown/list-item/separator.d.ts +1 -1
- package/components/dropdown/list-item/title.d.ts +1 -1
- package/components/dropdown/toggle-button/index.d.ts +2 -2
- package/components/flight-icon/index.d.ts +2 -2
- package/components/form/checkbox/index.d.ts +1 -1
- package/components/form/error/index.d.ts +1 -1
- package/components/form/field/index.d.ts +1 -1
- package/components/form/fieldset/index.d.ts +1 -1
- package/components/form/file-input/index.d.ts +1 -1
- package/components/form/helper-text/index.d.ts +1 -1
- package/components/form/label/index.d.ts +1 -1
- package/components/form/legend/index.d.ts +1 -1
- package/components/form/radio/index.d.ts +1 -1
- package/components/form/radio-card/group.d.ts +1 -1
- package/components/form/radio-card/index.d.ts +2 -2
- package/components/form/select/index.d.ts +1 -1
- package/components/form/super-select/index.d.ts +2 -2
- package/components/form/text-input/index.d.ts +1 -1
- package/components/form/textarea/index.d.ts +1 -1
- package/components/form/toggle/index.d.ts +1 -1
- package/components/hds/wrappers/tooltip.d.ts +3 -4
- package/components/icon-tile/index.d.ts +1 -1
- package/components/inline-link/index.d.ts +1 -1
- package/components/interactive/index.d.ts +3 -4
- package/components/legacy-button/index.d.ts +3 -3
- package/components/legacy-button/types.d.ts +1 -1
- package/components/legacy-button/utils.d.ts +1 -1
- package/components/menu-primitive/index.d.ts +1 -1
- package/components/menu-primitive/use-menu-primitive.d.ts +2 -2
- package/components/modal/index.d.ts +1 -1
- package/components/modal/use-modal.d.ts +2 -2
- package/components/separator/index.d.ts +1 -1
- package/components/standalone-link/index.d.ts +2 -2
- package/components/table/index.d.ts +5 -5
- package/components/table/td.d.ts +2 -2
- package/components/table/th.d.ts +2 -2
- package/components/table/tr.d.ts +1 -1
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab-panel.d.ts +1 -1
- package/components/tabs/tab.d.ts +2 -2
- package/components/tabs/use-tabs-context.d.ts +2 -2
- package/components/text/index.d.ts +6 -6
- package/components/visualizations/bar-chart/horizontal-chart/index.d.ts +1 -0
- package/components/visualizations/bar-chart/index.d.ts +1 -1
- package/components/visualizations/donut-chart/components/arc-tooltip/index.d.ts +2 -2
- package/components/visualizations/donut-chart/components/external-arc-label/index.d.ts +2 -2
- package/components/visualizations/donut-chart/components/internal-arc-label/index.d.ts +2 -2
- package/components/visualizations/donut-chart/index.d.ts +1 -1
- package/package.json +1 -1
- package/patterns/card/newsroom-card/index.d.ts +1 -1
- package/patterns/card/partner-card/index.d.ts +2 -2
- package/patterns/card/person-card/index.d.ts +1 -1
- package/patterns/card/primitives.d.ts +5 -5
- package/patterns/card/promo-card/index.d.ts +1 -1
- package/patterns/card/resource-card/index.d.ts +1 -1
- package/patterns/card/thumbnails/index.d.ts +1 -1
- package/patterns/card/types.d.ts +6 -6
- package/patterns/card/unified-card/index.d.ts +1 -1
- package/patterns/copy-button/clipboard.d.ts +1 -1
- package/patterns/copy-button/index.d.ts +1 -1
- package/patterns/layout/index.d.ts +20 -20
- package/patterns/product-logo/index.d.ts +15 -15
- package/patterns/related-content/index.d.ts +1 -1
- package/patterns/related-content/types.d.ts +1 -1
- package/style.css +1 -1
- package/styles/mixins/button.scss +1 -6
- package/utils/i18n/index.d.ts +1 -1
- package/utils/make-normalizer/index.d.ts +6 -6
- package/utils/mds-context/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { Density, VerticalAlignment } from './utils';
|
|
3
3
|
export interface TableProps extends HTMLAttributes<HTMLTableElement> {
|
|
4
4
|
/**
|
|
5
5
|
* Define on the table invocation. If set to `true`, even-numbered rows will have a different background color from odd-numbered rows.
|
|
@@ -41,17 +41,17 @@ declare namespace TBody {
|
|
|
41
41
|
declare const Table: {
|
|
42
42
|
Root: typeof Root;
|
|
43
43
|
TR: {
|
|
44
|
-
({ children, className, ...rest }: import(
|
|
44
|
+
({ children, className, ...rest }: import('./tr').TRProps): import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
displayName: string;
|
|
46
46
|
};
|
|
47
47
|
THead: typeof THead;
|
|
48
48
|
TH: {
|
|
49
|
-
({ align, width, scope, tooltip, isVisuallyHidden, children, className, ...rest }: import(
|
|
49
|
+
({ align, width, scope, tooltip, isVisuallyHidden, children, className, ...rest }: import('./th').THProps): import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
51
|
};
|
|
52
52
|
TBody: typeof TBody;
|
|
53
53
|
TD: {
|
|
54
|
-
({ align, children, className, ...rest }: import(
|
|
54
|
+
({ align, children, className, ...rest }: import('./td').TDProps): import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
displayName: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
package/components/table/td.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { HorizontalAlignment } from './utils';
|
|
2
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
export interface TDProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
4
4
|
/**
|
|
5
5
|
* Determines the horizontal content alignment (sometimes referred to as text alignment) for the cell (make sure it is also set for the column header).
|
package/components/table/th.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { HorizontalAlignment, Scope } from './utils';
|
|
3
3
|
export interface THProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
4
4
|
/**
|
|
5
5
|
* Determines the horizontal content alignment (sometimes referred to as text alignment) for the column header.
|
package/components/table/tr.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export interface TRProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Elements passed as children are yielded as inner content of a `<tr>` HTML element.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode, HTMLAttributes, MouseEvent } from 'react';
|
|
2
2
|
export interface TabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
onClickTab?: (event: MouseEvent<HTMLButtonElement>, tabIndex: number) => void;
|
|
4
4
|
initialSelectedTabIndex?: number;
|
|
@@ -14,8 +14,8 @@ interface TabsListProps {
|
|
|
14
14
|
declare const Tabs: {
|
|
15
15
|
Provider: ({ children, onClickTab, initialSelectedTabIndex, size, className, ...rest }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
TabList: ({ children, className }: TabsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
Panel: ({ children, className, ...rest }: import(
|
|
18
|
-
Tab: ({ count, icon, isSelected: isInitialTab, children, className, trackingKey, tabIndicatorTheme, ...rest }: import(
|
|
17
|
+
Panel: ({ children, className, ...rest }: import('./tab-panel').TabPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
Tab: ({ count, icon, isSelected: isInitialTab, children, className, trackingKey, tabIndicatorTheme, ...rest }: import('./tab').TabProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
export type { TabsListProps };
|
|
21
21
|
export { Tabs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
2
|
type TabPanelProps = HTMLAttributes<HTMLDivElement>;
|
|
3
3
|
declare const TabPanel: ({ children, className, ...rest }: TabPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export type { TabPanelProps };
|
package/components/tabs/tab.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { FlightIconName } from '../flight-icon';
|
|
3
3
|
interface TabProps extends HTMLAttributes<HTMLLIElement> {
|
|
4
4
|
tabIndicatorTheme?: 'primary' | 'secondary';
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MutableRefObject, MouseEvent, KeyboardEvent } from 'react';
|
|
2
2
|
interface TabsContextState {
|
|
3
3
|
tabNodes: MutableRefObject<Array<HTMLButtonElement>>;
|
|
4
4
|
panelNodes: MutableRefObject<Array<HTMLDivElement>>;
|
|
@@ -10,6 +10,6 @@ interface TabsContextState {
|
|
|
10
10
|
size: 'medium' | 'large';
|
|
11
11
|
tabsListRef: MutableRefObject<HTMLUListElement | null>;
|
|
12
12
|
}
|
|
13
|
-
export declare const TabsContext: import(
|
|
13
|
+
export declare const TabsContext: import('react').Context<TabsContextState | undefined>;
|
|
14
14
|
export declare function useTabsContext(): TabsContextState;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentPropsWithRef, ElementType } from 'react';
|
|
2
2
|
declare const TEXT_COLORS: readonly ["primary", "strong", "faint", "disabled", "high-contrast", "action", "action-hover", "action-active", "highlight", "highlight-on-surface", "highlight-high-contrast", "success", "success-on-surface", "success-high-contrast", "warning", "warning-on-surface", "warning-high-contrast", "critical", "critical-on-surface", "critical-high-contrast"];
|
|
3
3
|
declare const TEXT_GROUPS: readonly ["hds-body", "code", "body", "display-expressive", "label"];
|
|
4
4
|
declare const TEXT_SIZES: readonly ["100", "200", "300", "400", "500", "600", "700", "800"];
|
|
@@ -35,10 +35,10 @@ interface CodeProps<T extends ElementType> extends BaseTextProps<T> {
|
|
|
35
35
|
size?: '100' | '200' | '300';
|
|
36
36
|
}
|
|
37
37
|
declare const Text: {
|
|
38
|
-
Body: <T extends ElementType
|
|
39
|
-
DisplayExpressive: <
|
|
40
|
-
Label: <
|
|
41
|
-
HDSBody: <
|
|
42
|
-
Code: <
|
|
38
|
+
Body: <T extends ElementType<any, keyof import("react").JSX.IntrinsicElements>>({ size, ...rest }: BodyProps<T> & Omit<ComponentPropsWithRef<T>, keyof BodyProps<T>>) => import('react').FunctionComponentElement<TextImplProps<ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<any, keyof TextImplProps<T_1>>>;
|
|
39
|
+
DisplayExpressive: <T_2 extends ElementType<any, keyof import("react").JSX.IntrinsicElements>>({ size, ...rest }: DisplayExpressiveProps<T_2> & Omit<ComponentPropsWithRef<T_2>, keyof DisplayExpressiveProps<T_2>>) => import('react').FunctionComponentElement<TextImplProps<ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<any, keyof TextImplProps<T_1>>>;
|
|
40
|
+
Label: <T_3 extends ElementType<any, keyof import("react").JSX.IntrinsicElements>>(props: LabelProps<T_3> & Omit<ComponentPropsWithRef<T_3>, "className" | "color" | "tag" | "weight" | "align">) => import('react').FunctionComponentElement<TextImplProps<ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<any, keyof TextImplProps<T_1>>>;
|
|
41
|
+
HDSBody: <T_4 extends ElementType<any, keyof import("react").JSX.IntrinsicElements>>({ size, weight, ...rest }: HDSBodyProps<T_4> & Omit<ComponentPropsWithRef<T_4>, keyof HDSBodyProps<T_4>>) => import('react').FunctionComponentElement<TextImplProps<ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<any, keyof TextImplProps<T_1>>>;
|
|
42
|
+
Code: <T_5 extends ElementType<any, keyof import("react").JSX.IntrinsicElements>>({ size, weight, ...rest }: CodeProps<T_5> & Omit<ComponentPropsWithRef<T_5>, keyof CodeProps<T_5>>) => import('react').FunctionComponentElement<TextImplProps<ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<any, keyof TextImplProps<T_1>>>;
|
|
43
43
|
};
|
|
44
44
|
export { Text, TEXT_COLORS, TEXT_WEIGHTS };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import HorizontalBarChart,
|
|
1
|
+
import { default as HorizontalBarChart, HorizontalBarChartProps } from './horizontal-chart';
|
|
2
2
|
interface HorizontalBarChart extends HorizontalBarChartProps {
|
|
3
3
|
name: string;
|
|
4
4
|
caption: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DefaultRawDatum, PieTooltipProps } from '@nivo/pie';
|
|
3
3
|
export declare const renderArcTooltip: FC<PieTooltipProps<DefaultRawDatum>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComputedDatum, DefaultRawDatum } from '@nivo/pie';
|
|
2
|
+
import { ArcLinkLabelComponent } from '@nivo/arcs';
|
|
3
3
|
export declare const useRenderArcLinkLabelComponent: typeof ArcLinkLabelComponent<ComputedDatum<DefaultRawDatum>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComputedDatum, DefaultRawDatum } from '@nivo/pie';
|
|
2
|
+
import { ArcLabelComponent } from '@nivo/arcs';
|
|
3
3
|
export declare const useRenderArcLabelComponent: typeof ArcLabelComponent<ComputedDatum<DefaultRawDatum>>;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { MDSImageProps } from '../../../utils/mds-context';
|
|
2
|
+
import { CardPatternProps } from '../types';
|
|
3
3
|
interface PartnerCardProps {
|
|
4
4
|
heading: string;
|
|
5
5
|
description: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CardPrimitiveProps, MetaProps, ContentProps, HeadingProps, ProductBadgesProps, DescriptionProps } from './types';
|
|
2
2
|
declare const CardPrimitives: {
|
|
3
|
-
Root: import(
|
|
3
|
+
Root: import('react').ForwardRefExoticComponent<CardPrimitiveProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
4
|
Thumbnail: {
|
|
5
|
-
({ src, alt }: import(
|
|
5
|
+
({ src, alt }: import('./types').ThumbnailProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
PersonThumbnail: {
|
|
9
|
-
({ src, alt }: import(
|
|
9
|
+
({ src, alt }: import('./types').ThumbnailProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
LogoThumbnail: {
|
|
13
|
-
({ src, alt }: import(
|
|
13
|
+
({ src, alt }: import('./types').ThumbnailProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
Meta: {
|
package/patterns/card/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { ProductBadgeProps } from '../../patterns/product-badge';
|
|
3
|
+
import { NewsroomCardProps } from './newsroom-card';
|
|
4
|
+
import { PersonCardProps } from './person-card';
|
|
5
|
+
import { ResourceCardProps } from './resource-card';
|
|
6
|
+
import { UnifiedCardProps } from './unified-card';
|
|
7
7
|
interface BaseCardProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-label'> {
|
|
8
8
|
withArrow?: boolean;
|
|
9
9
|
link: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
2
|
export declare const LAYOUT_APPEARANCES: readonly ["light", "dark"];
|
|
3
3
|
export declare const LAYOUT_BACKGROUNDS: readonly ["primary", "faint", "transparent"];
|
|
4
4
|
export declare const LAYOUT_PADDING: readonly ["none", "small", "medium", "large"];
|
|
@@ -11,37 +11,37 @@ export declare const normalizeLayoutProps: ((input: {
|
|
|
11
11
|
paddingTop?: unknown;
|
|
12
12
|
paddingBottom?: unknown;
|
|
13
13
|
}, opts?: {
|
|
14
|
-
all?: Pick<import(
|
|
14
|
+
all?: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform"> | undefined;
|
|
15
15
|
each?: {
|
|
16
|
-
appearance?: import(
|
|
17
|
-
background?: import(
|
|
18
|
-
paddingTop?: import(
|
|
19
|
-
paddingBottom?: import(
|
|
16
|
+
appearance?: import('../../utils/make-normalizer').NormalizerOpts<"light"> | undefined;
|
|
17
|
+
background?: import('../../utils/make-normalizer').NormalizerOpts<"primary"> | undefined;
|
|
18
|
+
paddingTop?: import('../../utils/make-normalizer').NormalizerOpts<"medium"> | undefined;
|
|
19
|
+
paddingBottom?: import('../../utils/make-normalizer').NormalizerOpts<"medium"> | undefined;
|
|
20
20
|
} | undefined;
|
|
21
21
|
} | undefined) => {
|
|
22
|
-
appearance: "
|
|
23
|
-
background: "primary"
|
|
24
|
-
paddingTop: "
|
|
25
|
-
paddingBottom: "
|
|
22
|
+
appearance: "light";
|
|
23
|
+
background: "primary";
|
|
24
|
+
paddingTop: "medium";
|
|
25
|
+
paddingBottom: "medium";
|
|
26
26
|
}) & {
|
|
27
|
-
with(all: Pick<import(
|
|
27
|
+
with(all: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform">): (input: {
|
|
28
28
|
appearance?: unknown;
|
|
29
29
|
background?: unknown;
|
|
30
30
|
paddingTop?: unknown;
|
|
31
31
|
paddingBottom?: unknown;
|
|
32
32
|
}, opts?: {
|
|
33
|
-
all?: Pick<import(
|
|
33
|
+
all?: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform"> | undefined;
|
|
34
34
|
each?: {
|
|
35
|
-
appearance?: import(
|
|
36
|
-
background?: import(
|
|
37
|
-
paddingTop?: import(
|
|
38
|
-
paddingBottom?: import(
|
|
35
|
+
appearance?: import('../../utils/make-normalizer').NormalizerOpts<"light"> | undefined;
|
|
36
|
+
background?: import('../../utils/make-normalizer').NormalizerOpts<"primary"> | undefined;
|
|
37
|
+
paddingTop?: import('../../utils/make-normalizer').NormalizerOpts<"medium"> | undefined;
|
|
38
|
+
paddingBottom?: import('../../utils/make-normalizer').NormalizerOpts<"medium"> | undefined;
|
|
39
39
|
} | undefined;
|
|
40
40
|
} | undefined) => {
|
|
41
|
-
appearance: "
|
|
42
|
-
background: "primary"
|
|
43
|
-
paddingTop: "
|
|
44
|
-
paddingBottom: "
|
|
41
|
+
appearance: "light";
|
|
42
|
+
background: "primary";
|
|
43
|
+
paddingTop: "medium";
|
|
44
|
+
paddingBottom: "medium";
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
export interface LayoutProps extends PropsWithChildren {
|
|
@@ -9,32 +9,32 @@ export declare const normalizeProductLogoProps: ((input: {
|
|
|
9
9
|
color?: unknown;
|
|
10
10
|
product?: unknown;
|
|
11
11
|
}, opts?: {
|
|
12
|
-
all?: Pick<import(
|
|
12
|
+
all?: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform"> | undefined;
|
|
13
13
|
each?: {
|
|
14
|
-
size?: import(
|
|
15
|
-
color?: import(
|
|
16
|
-
product?: import(
|
|
14
|
+
size?: import('../../utils/make-normalizer').NormalizerOpts<"small"> | undefined;
|
|
15
|
+
color?: import('../../utils/make-normalizer').NormalizerOpts<"primary"> | undefined;
|
|
16
|
+
product?: import('../../utils/make-normalizer').NormalizerOpts<"hcp"> | undefined;
|
|
17
17
|
} | undefined;
|
|
18
18
|
} | undefined) => {
|
|
19
|
-
size: "small"
|
|
20
|
-
color: "primary"
|
|
21
|
-
product: "
|
|
19
|
+
size: "small";
|
|
20
|
+
color: "primary";
|
|
21
|
+
product: "hcp";
|
|
22
22
|
}) & {
|
|
23
|
-
with(all: Pick<import(
|
|
23
|
+
with(all: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform">): (input: {
|
|
24
24
|
size?: unknown;
|
|
25
25
|
color?: unknown;
|
|
26
26
|
product?: unknown;
|
|
27
27
|
}, opts?: {
|
|
28
|
-
all?: Pick<import(
|
|
28
|
+
all?: Pick<import('../../utils/make-normalizer').NormalizerOpts<string>, "transform"> | undefined;
|
|
29
29
|
each?: {
|
|
30
|
-
size?: import(
|
|
31
|
-
color?: import(
|
|
32
|
-
product?: import(
|
|
30
|
+
size?: import('../../utils/make-normalizer').NormalizerOpts<"small"> | undefined;
|
|
31
|
+
color?: import('../../utils/make-normalizer').NormalizerOpts<"primary"> | undefined;
|
|
32
|
+
product?: import('../../utils/make-normalizer').NormalizerOpts<"hcp"> | undefined;
|
|
33
33
|
} | undefined;
|
|
34
34
|
} | undefined) => {
|
|
35
|
-
size: "small"
|
|
36
|
-
color: "primary"
|
|
37
|
-
product: "
|
|
35
|
+
size: "small";
|
|
36
|
+
color: "primary";
|
|
37
|
+
product: "hcp";
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
export interface ProductLogoProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { RelatedContentProps } from './types';
|
|
2
2
|
declare const RelatedContent: {
|
|
3
3
|
({ appearance, headline, description, cards, cta, }: RelatedContentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|