@clickhouse/click-ui 0.0.235 → 0.0.237-sc-deprecation.1
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/README.md +161 -20
- package/bin/README.md +178 -0
- package/bin/click-ui.config.example.ts +70 -0
- package/bin/click-ui.js +97 -0
- package/bin/commands/build-default-theme.ts +48 -0
- package/bin/commands/generate.js +117 -0
- package/bin/commands/init.js +110 -0
- package/bin/utils/config-loader.ts +61 -0
- package/bin/utils/css-generator.js +32 -0
- package/dist/click-ui.bundled.es.js +40740 -48756
- package/dist/click-ui.bundled.umd.js +79 -53070
- package/dist/click-ui.es.js +40747 -47595
- package/dist/click-ui.umd.js +79 -51901
- package/dist/components/Accordion/Accordion.d.ts +3 -3
- package/dist/components/AutoComplete/AutoComplete.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/BigStat/BigStat.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +5 -1
- package/dist/components/CardPrimary/CardPrimaryTopBadge.d.ts +14 -3
- package/dist/components/CardPromotion/CardPromotion.d.ts +1 -1
- package/dist/components/CardSecondary/CardSecondary.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock/useColorStyle.d.ts +1 -1
- package/dist/components/Collapsible/Collapsible.d.ts +3 -3
- package/dist/components/Container/Container.d.ts +5 -6
- package/dist/components/DatePicker/Common.d.ts +8 -3
- package/dist/components/Dialog/Dialog.d.ts +2 -2
- package/dist/components/EllipsisContent/EllipsisContent.d.ts +4 -6
- package/dist/components/FileTabs/FileTabs.d.ts +2 -2
- package/dist/components/Flyout/Flyout.d.ts +1 -1
- package/dist/components/GenericMenu.d.ts +22 -10
- package/dist/components/Grid/Cell.d.ts +2 -1
- package/dist/components/Grid/StyledCell.d.ts +5 -2
- package/dist/components/Grid/types.d.ts +1 -1
- package/dist/components/GridContainer/GridContainer.d.ts +4 -5
- package/dist/components/Icon/IconCommon.d.ts +4 -3
- package/dist/components/Icon/types.d.ts +3 -1
- package/dist/components/IconWrapper/IconWrapper.d.ts +2 -2
- package/dist/components/Input/InputWrapper.d.ts +25 -18
- package/dist/components/Link/Link.d.ts +4 -6
- package/dist/components/Link/linkStyles.d.ts +134 -0
- package/dist/components/Logos/AWSGlue.d.ts +4 -0
- package/dist/components/Logos/Logo.d.ts +1 -1
- package/dist/components/Logos/types.d.ts +1 -1
- package/dist/components/MultiAccordion/MultiAccordion.d.ts +1 -1
- package/dist/components/Panel/Panel.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/Select/common/SelectStyled.d.ts +24 -26
- package/dist/components/Separator/Separator.d.ts +4 -3
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +5 -9
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +5 -7
- package/dist/components/Spacer/Spacer.d.ts +2 -1
- package/dist/components/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +26 -24
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +4 -0
- package/dist/components/Typography/Text/Text.d.ts +4 -5
- package/dist/components/VerticalStepper/VerticalStepper.d.ts +2 -2
- package/dist/components/commonElement.d.ts +21 -17
- package/dist/components/commonTypes.d.ts +1 -1
- package/dist/components/icons/DataLakes.d.ts +4 -0
- package/dist/components/icons/HorizontalLoading.d.ts +3 -1
- package/dist/components/icons/Loading.d.ts +1 -1
- package/dist/components/icons/LoadingAnimated.d.ts +3 -1
- package/dist/components/index.d.ts +6 -3
- package/dist/components/types.d.ts +51 -83
- package/dist/config/tokens/types.d.ts +15296 -0
- package/dist/config/tokens/types.d.ts.map +1 -0
- package/dist/config/tokens/types.js +2 -0
- package/dist/config/tokens/types.js.map +1 -0
- package/dist/config/types.d.ts +55 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/utils/css-builder.d.ts +38 -0
- package/dist/config/utils/css-builder.d.ts.map +1 -0
- package/dist/config/utils/css-builder.js +56 -0
- package/dist/config/utils/css-builder.js.map +1 -0
- package/dist/config/utils/css-generator.d.ts +25 -0
- package/dist/config/utils/css-generator.d.ts.map +1 -0
- package/dist/config/utils/css-generator.js +151 -0
- package/dist/config/utils/css-generator.js.map +1 -0
- package/dist/config/utils/find-config.d.ts +17 -0
- package/dist/config/utils/find-config.d.ts.map +1 -0
- package/dist/config/utils/find-config.js +28 -0
- package/dist/config/utils/find-config.js.map +1 -0
- package/dist/cui-components.css +1 -0
- package/dist/cui-default-theme.css +1809 -0
- package/dist/cui.css +3 -0
- package/dist/index.d.ts +77 -1
- package/dist/stories/ChartColorComponent.d.ts +1 -0
- package/dist/stories/chart-examples/ChartTooltip.d.ts +12 -0
- package/dist/stories/chart-examples/ColorSwatchesChart.d.ts +1 -0
- package/dist/stories/chart-examples/GroupedBarChart.d.ts +1 -0
- package/dist/stories/chart-examples/MultiLineChart.d.ts +1 -0
- package/dist/stories/chart-examples/StackedAreaChart.d.ts +1 -0
- package/dist/stories/chart-examples/StackedBarChartDemo.d.ts +1 -0
- package/dist/theme/ClickUIProvider/ClickUIProvider.d.ts +5 -0
- package/dist/theme/ClickUIProvider/ServerClickUIProvider.d.ts +23 -0
- package/dist/theme/ClickUIProvider/context.d.ts +24 -0
- package/dist/theme/ClickUIProvider/hooks.d.ts +4 -0
- package/dist/theme/ClickUIProvider/index.d.ts +6 -0
- package/dist/theme/ClickUIProvider/types.d.ts +39 -0
- package/dist/theme/config.d.ts +22 -0
- package/dist/theme/hooks/useSystemColorSchemePreference.d.ts +7 -0
- package/dist/theme/index.d.ts +6 -12
- package/dist/{styles → theme/tokens}/types.d.ts +13 -6
- package/dist/{styles → theme/tokens}/variables.dark.json.d.ts +118 -117
- package/dist/{styles → theme/tokens}/variables.json.d.ts +20 -13
- package/dist/{styles → theme/tokens}/variables.light.json.d.ts +146 -145
- package/dist/theme/types.d.ts +54 -0
- package/dist/theme/utils/css-builder.d.ts +37 -0
- package/dist/theme/utils/css-generator.d.ts +25 -0
- package/dist/theme/utils/find-config.d.ts +16 -0
- package/dist/theme/utils/theme-attribute.d.ts +13 -0
- package/dist/theme/utils.d.ts +29 -0
- package/dist/utils/capitalize.d.ts +12 -0
- package/dist/utils/polymorphic/index.d.ts +48 -0
- package/dist/utils/test-utils.d.ts +1 -3
- package/package.json +49 -24
- package/dist/click-ui.bundled.es.js.map +0 -1
- package/dist/click-ui.bundled.umd.js.map +0 -1
- package/dist/click-ui.es.js.map +0 -1
- package/dist/click-ui.umd.js.map +0 -1
- package/dist/components/ClickUIProvider/ClickUIProvider.d.ts +0 -15
- package/dist/components/Link/common.d.ts +0 -7
- package/dist/styles/variables.classic.json.d.ts +0 -993
- package/dist/theme/theme.d.ts +0 -7
|
@@ -17,6 +17,6 @@ export interface AccordionProps extends SizeProp, Omit<RadixAccordion.AccordionS
|
|
|
17
17
|
interface SizeProp {
|
|
18
18
|
size?: Size;
|
|
19
19
|
}
|
|
20
|
-
declare const
|
|
21
|
-
declare const
|
|
22
|
-
export {
|
|
20
|
+
declare const Accordion: ({ title, size, color, icon, iconSize, gap, children, fillWidth, className, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare const SidebarAccordion: (props: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export { Accordion, SidebarAccordion };
|
|
@@ -57,7 +57,6 @@ interface Props extends PopoverProps, Omit<DivProps, "onChange" | "dir" | "onSel
|
|
|
57
57
|
allowCreateOption?: boolean;
|
|
58
58
|
}
|
|
59
59
|
export type AutoCompleteProps = (SelectOptionType & Props) | (SelectChildrenType & Props);
|
|
60
|
-
export declare const SelectPopoverRoot: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<PopoverProps, never>> & string & Omit<import('react').FC<PopoverProps>, keyof import('react').Component<any, {}, any>>;
|
|
61
60
|
export declare const AutoComplete: {
|
|
62
61
|
({ onSelect: onSelectProp, options, children, onOpenChange: onOpenChangeProp, disabled, value, placeholder, ...props }: AutoCompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
63
62
|
Group: import('react').ForwardRefExoticComponent<SelectGroupProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -7,5 +7,5 @@ export interface AvatarProps extends RadixAvatarProps {
|
|
|
7
7
|
src?: string;
|
|
8
8
|
srcSet?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const Avatar: ({ text, textSize, src, srcSet, ...delegated }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Avatar: ({ text, textSize, src, srcSet, className, ...delegated }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export { Avatar };
|
|
@@ -23,4 +23,4 @@ export interface NonDismissibleBadge extends CommonBadgeProps {
|
|
|
23
23
|
onClose?: never;
|
|
24
24
|
}
|
|
25
25
|
export type BadgeProps = NonDismissibleBadge | DismissibleBadge;
|
|
26
|
-
export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, className, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface BigStatProps extends Omit<HTMLAttributes<HTMLDivElement>, "titl
|
|
|
16
16
|
title: React.ReactNode;
|
|
17
17
|
error?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export declare const BigStat: ({ fillWidth, maxWidth, height, label, order, size, spacing, state, title, error, ...props }: BigStatProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const BigStat: ({ fillWidth, maxWidth, height, label, order, size, spacing, state, title, error, style, ...props }: BigStatProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,5 +15,5 @@ export interface ButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
15
15
|
autoFocus?: boolean;
|
|
16
16
|
showLabelWithLoading?: boolean;
|
|
17
17
|
}
|
|
18
|
-
export declare const Button: ({ type, iconLeft, iconRight, align, children, fillWidth, label, loading, disabled, showLabelWithLoading, ...delegated }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const Button: ({ type, iconLeft, iconRight, align, children, fillWidth, label, loading, disabled, showLabelWithLoading, className, ...delegated }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -12,5 +12,5 @@ export interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "
|
|
|
12
12
|
fillWidth?: boolean;
|
|
13
13
|
type?: ButtonGroupType;
|
|
14
14
|
}
|
|
15
|
-
export declare const ButtonGroup: ({ options, selected, fillWidth, onClick, type, ...props }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ButtonGroup: ({ options, selected, fillWidth, onClick, type, className, ...props }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -2,22 +2,26 @@ import { HTMLAttributes, MouseEventHandler, ReactNode } from 'react';
|
|
|
2
2
|
import { BadgeState, HorizontalDirection, IconName } from '..';
|
|
3
3
|
|
|
4
4
|
type CardColor = "default" | "muted";
|
|
5
|
+
export type CardSize = "sm" | "md";
|
|
5
6
|
export interface CardHorizontalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
6
7
|
title?: ReactNode;
|
|
7
8
|
icon?: IconName;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
description?: ReactNode;
|
|
10
11
|
infoUrl?: string;
|
|
12
|
+
/** Shows and hides the button */
|
|
11
13
|
infoText?: string;
|
|
12
14
|
isSelected?: boolean;
|
|
13
15
|
isSelectable?: boolean;
|
|
14
16
|
children?: ReactNode;
|
|
15
17
|
color?: CardColor;
|
|
18
|
+
size?: CardSize;
|
|
19
|
+
/** Shows and hides the badge */
|
|
16
20
|
badgeText?: string;
|
|
17
21
|
badgeState?: BadgeState;
|
|
18
22
|
badgeIcon?: IconName;
|
|
19
23
|
badgeIconDir?: HorizontalDirection;
|
|
20
24
|
onButtonClick?: MouseEventHandler<HTMLElement>;
|
|
21
25
|
}
|
|
22
|
-
export declare const CardHorizontal: ({ title, icon, description, disabled, infoText, infoUrl, isSelected, isSelectable, children, color, badgeText, badgeState, badgeIcon, badgeIconDir, onButtonClick, ...props }: CardHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const CardHorizontal: ({ title, icon, description, disabled, infoText, infoUrl, isSelected, isSelectable, children, color, size, badgeText, badgeState, badgeIcon, badgeIconDir, onButtonClick, className, ...props }: CardHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
27
|
export {};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { CommonBadgeProps } from '../Badge/Badge';
|
|
2
|
+
import { ContainerProps } from '../Container/Container';
|
|
3
|
+
|
|
4
|
+
interface TopBadgeWrapperProps extends ContainerProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TopBadgeWrapper: ({ className, ...props }: TopBadgeWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
interface CardPrimaryTopBadgeProps extends CommonBadgeProps {
|
|
3
9
|
$isSelected?: boolean;
|
|
4
|
-
|
|
10
|
+
className?: string;
|
|
11
|
+
dismissible?: never;
|
|
12
|
+
onClose?: never;
|
|
13
|
+
}
|
|
14
|
+
export declare const CardPrimaryTopBadge: ({ $isSelected, className, ...props }: CardPrimaryTopBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -6,4 +6,4 @@ export interface CardPromotionProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
icon: IconName;
|
|
7
7
|
dismissible?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const CardPromotion: ({ label, icon, dismissible, ...props }: CardPromotionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export declare const CardPromotion: ({ label, icon, dismissible, className, ...props }: CardPromotionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -17,4 +17,4 @@ export interface CardSecondaryProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
17
17
|
infoIcon?: IconName;
|
|
18
18
|
infoIconSize?: IconSize;
|
|
19
19
|
}
|
|
20
|
-
export declare const CardSecondary: ({ title, icon, iconUrl, badgeState, badgeText, hasShadow, disabled, description, infoUrl, infoText, infoIcon, infoIconSize, ...props }: CardSecondaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const CardSecondary: ({ title, icon, iconUrl, badgeState, badgeText, hasShadow, disabled, description, infoUrl, infoText, infoIcon, infoIconSize, className, ...props }: CardSecondaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface CheckboxProps extends RadixCheckbox.CheckboxProps {
|
|
|
7
7
|
variant?: CheckboxVariants;
|
|
8
8
|
dir?: "start" | "end";
|
|
9
9
|
}
|
|
10
|
-
export declare const Checkbox: ({ id, label, variant, disabled, orientation, dir, checked, ...delegated }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Checkbox: ({ id, label, variant, disabled, orientation, dir, checked, className, ...delegated }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,5 +11,5 @@ interface Props extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onCop
|
|
|
11
11
|
onCopy?: (value: string) => void | Promise<void>;
|
|
12
12
|
onCopyError?: (error: string) => void | Promise<void>;
|
|
13
13
|
}
|
|
14
|
-
export declare const CodeBlock: ({ children, language, theme, showLineNumbers, showWrapButton, wrapLines, onCopy, onCopyError, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const CodeBlock: ({ children, language, theme, showLineNumbers, showWrapButton, wrapLines, onCopy, onCopyError, className, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -6,14 +6,14 @@ export interface CollapsibleProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
onOpenChange?: (value: boolean) => void;
|
|
7
7
|
}
|
|
8
8
|
export declare const Collapsible: {
|
|
9
|
-
({ open: openProp, onOpenChange: onOpenChangeProp, children, ...props }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ open: openProp, onOpenChange: onOpenChangeProp, children, className, ...props }: CollapsibleProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
Header: import('react').ForwardRefExoticComponent<CollapsipleHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
11
|
Trigger: {
|
|
12
|
-
({ onClick: onClickProp, children, indicatorDir, icon, iconDir, ...props }: CollapsipleTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
({ onClick: onClickProp, children, indicatorDir, icon, iconDir, className, ...props }: CollapsipleTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
Content: {
|
|
16
|
-
({ indicatorDir, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
16
|
+
({ indicatorDir, className, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
17
17
|
indicatorDir?: HorizontalDirection;
|
|
18
18
|
}): import("react/jsx-runtime").JSX.Element | undefined;
|
|
19
19
|
displayName: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Orientation } from '
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { Orientation } from '../types';
|
|
3
|
+
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
3
4
|
|
|
4
5
|
type AlignItemsOptions = "start" | "center" | "end" | "stretch";
|
|
5
6
|
export type GapOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
@@ -7,8 +8,7 @@ type GrowShrinkOptions = "0" | "1" | "2" | "3" | "4" | "5" | "6";
|
|
|
7
8
|
type JustifyContentOptions = "center" | "space-between" | "space-around" | "space-evenly" | "start" | "end" | "left" | "right";
|
|
8
9
|
export type PaddingOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
9
10
|
type WrapOptions = "nowrap" | "wrap" | "wrap-reverse";
|
|
10
|
-
export interface ContainerProps<T extends ElementType = "div"> {
|
|
11
|
-
component?: T;
|
|
11
|
+
export interface ContainerProps<T extends ElementType = "div"> extends PolymorphicComponentProps<T> {
|
|
12
12
|
alignItems?: AlignItemsOptions;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
fillWidth?: boolean;
|
|
@@ -27,6 +27,5 @@ export interface ContainerProps<T extends ElementType = "div"> {
|
|
|
27
27
|
minHeight?: string;
|
|
28
28
|
overflow?: string;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
export declare const Container: ContainerPolymorphicComponent;
|
|
30
|
+
export declare const Container: PolymorphicComponent<ContainerProps>;
|
|
32
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { useCalendar, UseCalendarOptions } from '@h6s/calendar';
|
|
3
3
|
|
|
4
4
|
interface DatePickerInputProps {
|
|
@@ -18,12 +18,17 @@ interface DateRangePickerInputProps {
|
|
|
18
18
|
selectedStartDate?: Date;
|
|
19
19
|
}
|
|
20
20
|
export declare const DateRangePickerInput: ({ isActive, disabled, id, placeholder, selectedEndDate, selectedStartDate, }: DateRangePickerInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
|
|
21
|
+
interface DateTableCellProps {
|
|
22
22
|
$isCurrentMonth?: boolean;
|
|
23
23
|
$isDisabled?: boolean;
|
|
24
24
|
$isSelected?: boolean;
|
|
25
25
|
$isToday?: boolean;
|
|
26
|
-
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
onClick?: () => void;
|
|
28
|
+
onMouseEnter?: () => void;
|
|
29
|
+
onMouseLeave?: () => void;
|
|
30
|
+
}
|
|
31
|
+
export declare const DateTableCell: ({ $isCurrentMonth, $isDisabled, $isSelected, $isToday, children, onClick, onMouseEnter, onMouseLeave, ...props }: DateTableCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
32
|
export type Body = ReturnType<typeof useCalendar>["body"];
|
|
28
33
|
interface CalendarRendererProps {
|
|
29
34
|
calendarOptions?: UseCalendarOptions;
|
|
@@ -5,7 +5,7 @@ import * as RadixDialog from "@radix-ui/react-dialog";
|
|
|
5
5
|
export declare const Dialog: {
|
|
6
6
|
({ children, ...props }: RadixDialog.DialogProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Trigger: {
|
|
8
|
-
({ children, asChild, ...props }: RadixDialog.DialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
({ children, asChild, className, ...props }: RadixDialog.DialogTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Close: {
|
|
@@ -13,7 +13,7 @@ export declare const Dialog: {
|
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
Content: {
|
|
16
|
-
({ title, children, showClose, onClose, forceMount, container, showOverlay, reducePadding, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
({ title, children, showClose, onClose, forceMount, container, showOverlay, reducePadding, className, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
2
3
|
|
|
3
|
-
export interface EllipsisContentProps<T extends ElementType = "div"> {
|
|
4
|
-
component?: T;
|
|
4
|
+
export interface EllipsisContentProps<T extends ElementType = "div"> extends PolymorphicComponentProps<T> {
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
export declare const EllipsisContent: EllipsisPolymorphicComponent;
|
|
8
|
-
export {};
|
|
6
|
+
export declare const EllipsisContent: PolymorphicComponent<EllipsisContentProps>;
|
|
@@ -29,7 +29,7 @@ export interface FileTabsProps extends Omit<ReactSortableProps<ItemInterface>, "
|
|
|
29
29
|
export declare const FileTabs: {
|
|
30
30
|
({ selectedIndex, children, onReorderTab, onClose: onCloseProp, onSelect: onSelectProp, list: listProp, setList: setListProp, onEnd, direction, group, ...props }: FileTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
Tab: {
|
|
32
|
-
({ text, index, icon, onMouseDown: onMouseDownProp, status, testId, preview, ...props }: FileTabProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
({ text, index, icon, onMouseDown: onMouseDownProp, status, testId, preview, className, ...props }: FileTabProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
@@ -38,5 +38,5 @@ interface FileTabElementProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
38
38
|
active?: boolean;
|
|
39
39
|
preview?: boolean;
|
|
40
40
|
}
|
|
41
|
-
export declare const FileTabElement: ({ icon, children, active, preview, ...props }: FileTabElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const FileTabElement: ({ icon, children, active, preview, className, ...props }: FileTabElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
export {};
|
|
@@ -32,7 +32,7 @@ export declare const Flyout: {
|
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Footer: {
|
|
35
|
-
(props: FlyoutFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
({ type, ...props }: FlyoutFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
CodeBlock: ({ statement, language, wrapLines, showLineNumbers, showWrapButton, onCopy, onCopyError, ...props }: FlyoutCodeBlockProps & ElementProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
interface GenericMenuPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
type: "popover" | "dropdown-menu" | "context-menu";
|
|
5
|
+
showArrow?: boolean;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const GenericMenuPanel: React.FC<GenericMenuPanelProps>;
|
|
9
|
+
interface GenericPopoverMenuPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
type: "popover" | "hover-card";
|
|
11
|
+
showArrow?: boolean;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const GenericPopoverMenuPanel: React.FC<GenericPopoverMenuPanelProps>;
|
|
15
|
+
interface ArrowProps extends React.SVGAttributes<SVGSVGElement> {
|
|
16
|
+
}
|
|
17
|
+
export declare const Arrow: React.FC<ArrowProps>;
|
|
18
|
+
interface GenericMenuItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare const GenericMenuItem: React.ForwardRefExoticComponent<GenericMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { GridChildComponentProps } from 'react-window';
|
|
2
3
|
import { ItemDataType } from './types';
|
|
3
4
|
|
|
4
5
|
type CellProps = GridChildComponentProps<ItemDataType> & {
|
|
5
6
|
width: number;
|
|
6
7
|
};
|
|
7
|
-
export declare const Cell:
|
|
8
|
+
export declare const Cell: React.MemoExoticComponent<({ data, rowIndex, columnIndex, style, ...props }: CellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
9
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { SelectionType } from './types';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
interface StyledCellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
5
|
$isFocused: boolean;
|
|
5
6
|
$selectionType: SelectionType;
|
|
6
7
|
$isSelectedTop: boolean;
|
|
@@ -13,4 +14,6 @@ export declare const StyledCell: import('styled-components/dist/types').IStyledC
|
|
|
13
14
|
$type?: "body" | "header";
|
|
14
15
|
$showBorder: boolean;
|
|
15
16
|
$rowAutoHeight?: boolean;
|
|
16
|
-
}
|
|
17
|
+
}
|
|
18
|
+
export declare const StyledCell: React.ForwardRefExoticComponent<StyledCellProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export {};
|
|
@@ -69,7 +69,7 @@ export interface RectangleSelection {
|
|
|
69
69
|
anchor: SelectionPos;
|
|
70
70
|
}
|
|
71
71
|
export type SelectedRegion = EmptySelection | RowsSelection | ColumnsSelection | RectangleSelection;
|
|
72
|
-
export type RoundedType = "none" | "
|
|
72
|
+
export type RoundedType = "none" | "sm" | "md" | "lg" | "xl";
|
|
73
73
|
export type KeyEventType = "keypress" | "click";
|
|
74
74
|
export type onSelectFn = (action: SelectionAction, selction: SelectedRegion, focus: SelectionFocus) => void;
|
|
75
75
|
type IsAllSelectedType = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
2
3
|
|
|
3
4
|
export type FlowOptions = "row" | "column" | "row-dense" | "column-dense";
|
|
4
5
|
type GapOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "unset";
|
|
5
6
|
type ItemsOptions = "start" | "center" | "end" | "stretch";
|
|
6
7
|
type ContentOptions = "center" | "space-between" | "space-around" | "space-evenly" | "start" | "stretch" | "end" | "left" | "right";
|
|
7
|
-
export interface GridContainerProps<T extends ElementType = "div"> {
|
|
8
|
-
component?: T;
|
|
8
|
+
export interface GridContainerProps<T extends ElementType = "div"> extends PolymorphicComponentProps<T> {
|
|
9
9
|
alignItems?: ItemsOptions;
|
|
10
10
|
alignContent?: ContentOptions;
|
|
11
11
|
children?: React.ReactNode;
|
|
@@ -31,6 +31,5 @@ export interface GridContainerProps<T extends ElementType = "div"> {
|
|
|
31
31
|
minWidth?: string;
|
|
32
32
|
overflow?: string;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
export declare const GridContainer: GridContainerPolymorphicComponent;
|
|
34
|
+
export declare const GridContainer: PolymorphicComponent<GridContainerProps>;
|
|
36
35
|
export {};
|
|
@@ -53,6 +53,7 @@ export declare const ICONS_MAP: {
|
|
|
53
53
|
"credit-card": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
data: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
database: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
"data-lakes": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
56
57
|
disk: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
57
58
|
display: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
58
59
|
document: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -82,7 +83,7 @@ export declare const ICONS_MAP: {
|
|
|
82
83
|
hexagon: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
83
84
|
history: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
84
85
|
home: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
85
|
-
"horizontal-loading":
|
|
86
|
+
"horizontal-loading": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
86
87
|
http: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
87
88
|
"http-monitoring": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
88
89
|
"info-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -99,8 +100,8 @@ export declare const ICONS_MAP: {
|
|
|
99
100
|
"line-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
100
101
|
"list-bulleted": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
101
102
|
"list-numbered": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
102
|
-
loading:
|
|
103
|
-
"loading-animated":
|
|
103
|
+
loading: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
104
|
+
"loading-animated": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
104
105
|
lock: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
105
106
|
mcp: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
106
107
|
metrics: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,11 +6,13 @@ import { PaymentName, PaymentProps } from '../icons/Payments';
|
|
|
6
6
|
|
|
7
7
|
export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
8
8
|
export type IconState = "default" | "success" | "warning" | "danger" | "info";
|
|
9
|
-
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "bold", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "italic", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "list-bulleted", "list-numbered", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "text-slash", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "underline", "warning", "waves"];
|
|
9
|
+
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "bold", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "data-lakes", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "italic", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "list-bulleted", "list-numbered", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "text-slash", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "underline", "warning", "waves"];
|
|
10
10
|
export type IconName = (typeof ICON_NAMES)[number];
|
|
11
11
|
export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
|
|
12
12
|
name: IconName;
|
|
13
13
|
color?: string;
|
|
14
|
+
width?: string | number;
|
|
15
|
+
height?: string | number;
|
|
14
16
|
size?: IconSize;
|
|
15
17
|
state?: IconState;
|
|
16
18
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { HorizontalDirection, IconName } from '..';
|
|
3
3
|
import { GapOptions } from '../Container/Container';
|
|
4
4
|
import { IconSize } from '../Icon/types';
|
|
5
5
|
|
|
6
|
-
interface IconWrapperProps {
|
|
6
|
+
interface IconWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
icon?: IconName;
|
|
8
8
|
iconDir?: HorizontalDirection;
|
|
9
9
|
size?: IconSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface WrapperProps {
|
|
4
4
|
className?: string;
|
|
@@ -13,20 +13,27 @@ export interface WrapperProps {
|
|
|
13
13
|
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
14
14
|
}
|
|
15
15
|
export declare const InputWrapper: ({ className, id, label, labelColor, error, disabled, children, orientation, dir, resize, }: WrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
export declare const
|
|
31
|
-
export
|
|
32
|
-
|
|
16
|
+
export interface InputElementProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
17
|
+
hasStartContent?: boolean;
|
|
18
|
+
hasEndContent?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const InputElement: React.ForwardRefExoticComponent<InputElementProps & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
+
export interface NumberInputElementProps extends InputElementProps {
|
|
22
|
+
hideControls?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare const NumberInputElement: React.ForwardRefExoticComponent<NumberInputElementProps & React.RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export interface TextAreaElementProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
26
|
+
}
|
|
27
|
+
export declare const TextAreaElement: React.ForwardRefExoticComponent<TextAreaElementProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
28
|
+
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
29
|
+
}
|
|
30
|
+
export declare const IconButton: ({ className, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export interface IconWrapperProps extends React.SVGAttributes<SVGElement> {
|
|
32
|
+
}
|
|
33
|
+
export declare const IconWrapper: ({ className, ...props }: IconWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export interface InputStartContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
35
|
+
}
|
|
36
|
+
export declare const InputStartContent: ({ className, ...props }: InputStartContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export interface InputEndContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
38
|
+
}
|
|
39
|
+
export declare const InputEndContent: ({ className, ...props }: InputEndContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType, ReactEventHandler } from 'react';
|
|
2
2
|
import { IconName } from '..';
|
|
3
3
|
import { TextSize, TextWeight } from '../commonTypes';
|
|
4
|
+
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
4
5
|
|
|
5
|
-
export interface LinkProps<T extends ElementType = "a"> {
|
|
6
|
+
export interface LinkProps<T extends ElementType = "a"> extends PolymorphicComponentProps<T> {
|
|
6
7
|
size?: TextSize;
|
|
7
8
|
weight?: TextWeight;
|
|
8
9
|
onClick?: ReactEventHandler;
|
|
9
10
|
children?: React.ReactNode;
|
|
10
11
|
icon?: IconName;
|
|
11
|
-
component?: T;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
export declare const Link: LinkPolymorphicComponent;
|
|
15
|
-
export {};
|
|
13
|
+
export declare const Link: PolymorphicComponent<LinkProps, "a">;
|