@clickhouse/click-ui 0.0.237-sc-deprecation.1 → 0.0.238
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 +20 -161
- package/dist/click-ui.bundled.es.js +49537 -41533
- package/dist/click-ui.bundled.es.js.map +1 -0
- package/dist/click-ui.bundled.umd.js +53057 -78
- package/dist/click-ui.bundled.umd.js.map +1 -0
- package/dist/click-ui.es.js +48004 -41168
- package/dist/click-ui.es.js.map +1 -0
- package/dist/click-ui.umd.js +51888 -78
- package/dist/click-ui.umd.js.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +3 -3
- package/dist/components/Alert/Alert.d.ts +9 -3
- package/dist/components/AutoComplete/AutoComplete.d.ts +1 -0
- 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 +1 -1
- package/dist/components/CardPrimary/CardPrimaryTopBadge.d.ts +3 -14
- 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/ClickUIProvider/ClickUIProvider.d.ts +15 -0
- 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 +6 -5
- package/dist/components/DatePicker/Common.d.ts +3 -8
- package/dist/components/Dialog/Dialog.d.ts +2 -2
- package/dist/components/EllipsisContent/EllipsisContent.d.ts +6 -4
- package/dist/components/FileTabs/FileTabs.d.ts +2 -2
- package/dist/components/Flyout/Flyout.d.ts +1 -1
- package/dist/components/GenericMenu.d.ts +10 -22
- package/dist/components/Grid/Cell.d.ts +1 -2
- package/dist/components/Grid/StyledCell.d.ts +2 -5
- package/dist/components/Grid/types.d.ts +1 -1
- package/dist/components/GridContainer/GridContainer.d.ts +5 -4
- package/dist/components/Icon/IconCommon.d.ts +3 -3
- package/dist/components/Icon/types.d.ts +0 -2
- package/dist/components/IconWrapper/IconWrapper.d.ts +2 -2
- package/dist/components/Input/InputWrapper.d.ts +18 -25
- package/dist/components/Link/Link.d.ts +6 -4
- package/dist/components/Link/common.d.ts +7 -0
- package/dist/components/Logos/Logo.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 +26 -24
- package/dist/components/Separator/Separator.d.ts +3 -4
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +9 -5
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +7 -5
- package/dist/components/Spacer/Spacer.d.ts +1 -2
- package/dist/components/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +24 -26
- package/dist/components/Typography/Text/Text.d.ts +5 -4
- package/dist/components/VerticalStepper/VerticalStepper.d.ts +2 -2
- package/dist/components/commonElement.d.ts +17 -21
- package/dist/components/commonTypes.d.ts +1 -1
- package/dist/components/icons/HorizontalLoading.d.ts +1 -3
- package/dist/components/icons/Loading.d.ts +1 -1
- package/dist/components/icons/LoadingAnimated.d.ts +1 -3
- package/dist/components/index.d.ts +3 -6
- package/dist/components/types.d.ts +83 -51
- package/dist/index.d.ts +1 -77
- package/dist/styles/variables.classic.json.d.ts +993 -0
- package/dist/{theme/tokens → styles}/variables.dark.json.d.ts +117 -117
- package/dist/{theme/tokens → styles}/variables.light.json.d.ts +142 -142
- package/dist/theme/index.d.ts +12 -6
- package/dist/theme/theme.d.ts +7 -0
- package/dist/utils/test-utils.d.ts +3 -1
- package/package.json +14 -40
- package/bin/README.md +0 -178
- package/bin/click-ui.config.example.ts +0 -70
- package/bin/click-ui.js +0 -97
- package/bin/commands/build-default-theme.ts +0 -48
- package/bin/commands/generate.js +0 -117
- package/bin/commands/init.js +0 -110
- package/bin/utils/config-loader.ts +0 -61
- package/bin/utils/css-generator.js +0 -32
- package/dist/components/Link/linkStyles.d.ts +0 -134
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +0 -4
- package/dist/config/tokens/types.d.ts +0 -15296
- package/dist/config/tokens/types.d.ts.map +0 -1
- package/dist/config/tokens/types.js +0 -2
- package/dist/config/tokens/types.js.map +0 -1
- package/dist/config/types.d.ts +0 -55
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/types.js +0 -2
- package/dist/config/types.js.map +0 -1
- package/dist/config/utils/css-builder.d.ts +0 -38
- package/dist/config/utils/css-builder.d.ts.map +0 -1
- package/dist/config/utils/css-builder.js +0 -56
- package/dist/config/utils/css-builder.js.map +0 -1
- package/dist/config/utils/css-generator.d.ts +0 -25
- package/dist/config/utils/css-generator.d.ts.map +0 -1
- package/dist/config/utils/css-generator.js +0 -151
- package/dist/config/utils/css-generator.js.map +0 -1
- package/dist/config/utils/find-config.d.ts +0 -17
- package/dist/config/utils/find-config.d.ts.map +0 -1
- package/dist/config/utils/find-config.js +0 -28
- package/dist/config/utils/find-config.js.map +0 -1
- package/dist/cui-components.css +0 -1
- package/dist/cui-default-theme.css +0 -1809
- package/dist/cui.css +0 -3
- package/dist/stories/ChartColorComponent.d.ts +0 -1
- package/dist/stories/chart-examples/ChartTooltip.d.ts +0 -12
- package/dist/stories/chart-examples/ColorSwatchesChart.d.ts +0 -1
- package/dist/stories/chart-examples/GroupedBarChart.d.ts +0 -1
- package/dist/stories/chart-examples/MultiLineChart.d.ts +0 -1
- package/dist/stories/chart-examples/StackedAreaChart.d.ts +0 -1
- package/dist/stories/chart-examples/StackedBarChartDemo.d.ts +0 -1
- package/dist/theme/ClickUIProvider/ClickUIProvider.d.ts +0 -5
- package/dist/theme/ClickUIProvider/ServerClickUIProvider.d.ts +0 -23
- package/dist/theme/ClickUIProvider/context.d.ts +0 -24
- package/dist/theme/ClickUIProvider/hooks.d.ts +0 -4
- package/dist/theme/ClickUIProvider/index.d.ts +0 -6
- package/dist/theme/ClickUIProvider/types.d.ts +0 -39
- package/dist/theme/config.d.ts +0 -22
- package/dist/theme/hooks/useSystemColorSchemePreference.d.ts +0 -7
- package/dist/theme/types.d.ts +0 -54
- package/dist/theme/utils/css-builder.d.ts +0 -37
- package/dist/theme/utils/css-generator.d.ts +0 -25
- package/dist/theme/utils/find-config.d.ts +0 -16
- package/dist/theme/utils/theme-attribute.d.ts +0 -13
- package/dist/theme/utils.d.ts +0 -29
- package/dist/utils/capitalize.d.ts +0 -12
- package/dist/utils/polymorphic/index.d.ts +0 -48
- /package/dist/{theme/tokens → styles}/types.d.ts +0 -0
- /package/dist/{theme/tokens → styles}/variables.json.d.ts +0 -0
|
@@ -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 { Accordion, SidebarAccordion };
|
|
20
|
+
declare const SidebarAccordion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
21
|
+
declare const AccordionToExport: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<AccordionProps, never>> & string & Omit<({ title, size, color, icon, iconSize, gap, children, fillWidth, ...delegated }: AccordionProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
22
|
+
export { AccordionToExport as Accordion, SidebarAccordion };
|
|
@@ -11,10 +11,16 @@ export type AlertProps = {
|
|
|
11
11
|
size?: AlertSize;
|
|
12
12
|
type?: AlertType;
|
|
13
13
|
showIcon?: boolean;
|
|
14
|
-
dismissible?: boolean;
|
|
15
14
|
customIcon?: IconName;
|
|
16
|
-
}
|
|
17
|
-
|
|
15
|
+
} & ({
|
|
16
|
+
dismissible: true;
|
|
17
|
+
/** Available for `dismissible == true` */
|
|
18
|
+
onDismiss?: () => void;
|
|
19
|
+
} | {
|
|
20
|
+
dismissible?: false;
|
|
21
|
+
onDismiss?: never;
|
|
22
|
+
});
|
|
23
|
+
declare const Alert: ({ text, title, size, state, type, showIcon, dismissible, onDismiss, customIcon, ...delegated }: AlertProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
24
|
declare const DangerAlert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
25
|
declare const InfoAlert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
26
|
declare const SuccessAlert: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -57,6 +57,7 @@ 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>>;
|
|
60
61
|
export declare const AutoComplete: {
|
|
61
62
|
({ onSelect: onSelectProp, options, children, onOpenChange: onOpenChangeProp, disabled, value, placeholder, ...props }: AutoCompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
62
63
|
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,
|
|
10
|
+
declare const Avatar: ({ text, textSize, src, srcSet, ...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,
|
|
26
|
+
export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, ...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,
|
|
19
|
+
export declare const BigStat: ({ fillWidth, maxWidth, height, label, order, size, spacing, state, title, error, ...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,
|
|
18
|
+
export declare const Button: ({ type, iconLeft, iconRight, align, children, fillWidth, label, loading, disabled, showLabelWithLoading, ...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,
|
|
15
|
+
export declare const ButtonGroup: ({ options, selected, fillWidth, onClick, type, ...props }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -23,5 +23,5 @@ export interface CardHorizontalProps extends Omit<HTMLAttributes<HTMLDivElement>
|
|
|
23
23
|
badgeIconDir?: HorizontalDirection;
|
|
24
24
|
onButtonClick?: MouseEventHandler<HTMLElement>;
|
|
25
25
|
}
|
|
26
|
-
export declare const CardHorizontal: ({ title, icon, description, disabled, infoText, infoUrl, isSelected, isSelectable, children, color, size, badgeText, badgeState, badgeIcon, badgeIconDir, onButtonClick,
|
|
26
|
+
export declare const CardHorizontal: ({ title, icon, description, disabled, infoText, infoUrl, isSelected, isSelectable, children, color, size, badgeText, badgeState, badgeIcon, badgeIconDir, onButtonClick, ...props }: CardHorizontalProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export {};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
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 {
|
|
1
|
+
export declare const TopBadgeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<any, never> & import('../Container/Container').ContainerProps<import('react').ElementType>, never>> & string & Omit<(<T extends import('react').ElementType = "div">(props: Omit<import('react').ComponentProps<T>, keyof T> & import('../Container/Container').ContainerProps<T>) => import('react').ReactNode), keyof import('react').Component<any, {}, any>>;
|
|
2
|
+
export declare const CardPrimaryTopBadge: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Badge/Badge').DismissibleBadge | import('../Badge/Badge').NonDismissibleBadge, {
|
|
9
3
|
$isSelected?: boolean;
|
|
10
|
-
|
|
11
|
-
dismissible?: never;
|
|
12
|
-
onClose?: never;
|
|
13
|
-
}
|
|
14
|
-
export declare const CardPrimaryTopBadge: ({ $isSelected, className, ...props }: CardPrimaryTopBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
4
|
+
}>> & string & Omit<({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
@@ -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,
|
|
9
|
+
export declare const CardPromotion: ({ label, icon, dismissible, ...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,
|
|
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;
|
|
@@ -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,
|
|
10
|
+
export declare const Checkbox: ({ id, label, variant, disabled, orientation, dir, checked, ...delegated }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TooltipProviderProps } from '@radix-ui/react-tooltip';
|
|
2
|
+
import { ToastProviderProps } from '../Toast/Toast';
|
|
3
|
+
import { ThemeName } from '../../theme';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
config?: {
|
|
8
|
+
tooltip?: Omit<TooltipProviderProps, "children">;
|
|
9
|
+
toast?: Omit<ToastProviderProps, "children">;
|
|
10
|
+
};
|
|
11
|
+
theme: ThemeName;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const ClickUIProvider: ({ children, theme, config }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default ClickUIProvider;
|
|
@@ -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,
|
|
14
|
+
export declare const CodeBlock: ({ children, language, theme, showLineNumbers, showWrapButton, wrapLines, onCopy, onCopyError, ...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,
|
|
9
|
+
({ open: openProp, onOpenChange: onOpenChangeProp, children, ...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,
|
|
12
|
+
({ onClick: onClickProp, children, indicatorDir, icon, iconDir, ...props }: CollapsipleTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
Content: {
|
|
16
|
-
({ indicatorDir,
|
|
16
|
+
({ indicatorDir, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
17
17
|
indicatorDir?: HorizontalDirection;
|
|
18
18
|
}): import("react/jsx-runtime").JSX.Element | undefined;
|
|
19
19
|
displayName: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
import { Orientation } from '
|
|
3
|
-
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
1
|
+
import { ComponentProps, ElementType, ReactNode } from 'react';
|
|
2
|
+
import { Orientation } from '..';
|
|
4
3
|
|
|
5
4
|
type AlignItemsOptions = "start" | "center" | "end" | "stretch";
|
|
6
5
|
export type GapOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
@@ -8,7 +7,8 @@ type GrowShrinkOptions = "0" | "1" | "2" | "3" | "4" | "5" | "6";
|
|
|
8
7
|
type JustifyContentOptions = "center" | "space-between" | "space-around" | "space-evenly" | "start" | "end" | "left" | "right";
|
|
9
8
|
export type PaddingOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
10
9
|
type WrapOptions = "nowrap" | "wrap" | "wrap-reverse";
|
|
11
|
-
export interface ContainerProps<T extends ElementType = "div">
|
|
10
|
+
export interface ContainerProps<T extends ElementType = "div"> {
|
|
11
|
+
component?: T;
|
|
12
12
|
alignItems?: AlignItemsOptions;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
fillWidth?: boolean;
|
|
@@ -27,5 +27,6 @@ export interface ContainerProps<T extends ElementType = "div"> extends Polymorph
|
|
|
27
27
|
minHeight?: string;
|
|
28
28
|
overflow?: string;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
type ContainerPolymorphicComponent = <T extends ElementType = "div">(props: Omit<ComponentProps<T>, keyof T> & ContainerProps<T>) => ReactNode;
|
|
31
|
+
export declare const Container: ContainerPolymorphicComponent;
|
|
31
32
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { useCalendar, UseCalendarOptions } from '@h6s/calendar';
|
|
3
3
|
|
|
4
4
|
interface DatePickerInputProps {
|
|
@@ -18,17 +18,12 @@ 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
|
+
export declare const DateTableCell: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
|
|
22
22
|
$isCurrentMonth?: boolean;
|
|
23
23
|
$isDisabled?: boolean;
|
|
24
24
|
$isSelected?: boolean;
|
|
25
25
|
$isToday?: boolean;
|
|
26
|
-
|
|
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;
|
|
26
|
+
}>> & string;
|
|
32
27
|
export type Body = ReturnType<typeof useCalendar>["body"];
|
|
33
28
|
interface CalendarRendererProps {
|
|
34
29
|
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,
|
|
8
|
+
({ children, asChild, ...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,
|
|
16
|
+
({ title, children, showClose, onClose, forceMount, container, showOverlay, reducePadding, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
displayName: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
1
|
+
import { ComponentProps, ElementType, ReactNode } from 'react';
|
|
3
2
|
|
|
4
|
-
export interface EllipsisContentProps<T extends ElementType = "div">
|
|
3
|
+
export interface EllipsisContentProps<T extends ElementType = "div"> {
|
|
4
|
+
component?: T;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type EllipsisPolymorphicComponent = <T extends ElementType = "div">(props: Omit<ComponentProps<T>, keyof T> & EllipsisContentProps<T>) => ReactNode;
|
|
7
|
+
export declare const EllipsisContent: EllipsisPolymorphicComponent;
|
|
8
|
+
export {};
|
|
@@ -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,
|
|
32
|
+
({ text, index, icon, onMouseDown: onMouseDownProp, status, testId, preview, ...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,
|
|
41
|
+
export declare const FileTabElement: ({ icon, children, active, preview, ...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
|
-
(
|
|
35
|
+
(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,22 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
export declare const GenericMenuPanel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
+
$type: "popover" | "dropdown-menu" | "context-menu";
|
|
3
|
+
$showArrow?: boolean;
|
|
4
|
+
}>> & string;
|
|
5
|
+
export declare const GenericPopoverMenuPanel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
|
+
$type: "popover" | "hover-card";
|
|
7
|
+
$showArrow?: boolean;
|
|
8
|
+
}>> & string;
|
|
9
|
+
export declare const Arrow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGSVGElement>, never>> & string;
|
|
10
|
+
export declare const GenericMenuItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { GridChildComponentProps } from 'react-window';
|
|
3
2
|
import { ItemDataType } from './types';
|
|
4
3
|
|
|
5
4
|
type CellProps = GridChildComponentProps<ItemDataType> & {
|
|
6
5
|
width: number;
|
|
7
6
|
};
|
|
8
|
-
export declare const Cell:
|
|
7
|
+
export declare const Cell: import('react').MemoExoticComponent<({ data, rowIndex, columnIndex, style, ...props }: CellProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
8
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { SelectionType } from './types';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
export declare const StyledCell: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
4
|
$isFocused: boolean;
|
|
6
5
|
$selectionType: SelectionType;
|
|
7
6
|
$isSelectedTop: boolean;
|
|
@@ -14,6 +13,4 @@ interface StyledCellProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
13
|
$type?: "body" | "header";
|
|
15
14
|
$showBorder: boolean;
|
|
16
15
|
$rowAutoHeight?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const StyledCell: React.ForwardRefExoticComponent<StyledCellProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
export {};
|
|
16
|
+
}>> & string;
|
|
@@ -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" | "lg" | "md" | "sm";
|
|
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 { ElementType } from 'react';
|
|
2
|
-
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
1
|
+
import { ComponentProps, ElementType, ReactNode } from 'react';
|
|
3
2
|
|
|
4
3
|
export type FlowOptions = "row" | "column" | "row-dense" | "column-dense";
|
|
5
4
|
type GapOptions = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "unset";
|
|
6
5
|
type ItemsOptions = "start" | "center" | "end" | "stretch";
|
|
7
6
|
type ContentOptions = "center" | "space-between" | "space-around" | "space-evenly" | "start" | "stretch" | "end" | "left" | "right";
|
|
8
|
-
export interface GridContainerProps<T extends ElementType = "div">
|
|
7
|
+
export interface GridContainerProps<T extends ElementType = "div"> {
|
|
8
|
+
component?: T;
|
|
9
9
|
alignItems?: ItemsOptions;
|
|
10
10
|
alignContent?: ContentOptions;
|
|
11
11
|
children?: React.ReactNode;
|
|
@@ -31,5 +31,6 @@ export interface GridContainerProps<T extends ElementType = "div"> extends Polym
|
|
|
31
31
|
minWidth?: string;
|
|
32
32
|
overflow?: string;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
type GridContainerPolymorphicComponent = <T extends ElementType = "div">(props: Omit<ComponentProps<T>, keyof T> & GridContainerProps<T>) => ReactNode;
|
|
35
|
+
export declare const GridContainer: GridContainerPolymorphicComponent;
|
|
35
36
|
export {};
|
|
@@ -83,7 +83,7 @@ export declare const ICONS_MAP: {
|
|
|
83
83
|
hexagon: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
84
84
|
history: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
85
85
|
home: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
"horizontal-loading": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element
|
|
86
|
+
"horizontal-loading": import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGAttributes<SVGElement>, never>> & string & Omit<(props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
87
87
|
http: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
88
88
|
"http-monitoring": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
"info-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -100,8 +100,8 @@ export declare const ICONS_MAP: {
|
|
|
100
100
|
"line-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
101
101
|
"list-bulleted": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
102
102
|
"list-numbered": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
103
|
-
loading: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element
|
|
104
|
-
"loading-animated": (
|
|
103
|
+
loading: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGAttributes<SVGElement>, never>> & string & Omit<(props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
104
|
+
"loading-animated": import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').SVGAttributes<SVGElement>, never>, never>> & string;
|
|
105
105
|
lock: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
106
106
|
mcp: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
107
107
|
metrics: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,8 +11,6 @@ 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;
|
|
16
14
|
size?: IconSize;
|
|
17
15
|
state?: IconState;
|
|
18
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { 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 {
|
|
7
7
|
icon?: IconName;
|
|
8
8
|
iconDir?: HorizontalDirection;
|
|
9
9
|
size?: IconSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
export interface WrapperProps {
|
|
4
4
|
className?: string;
|
|
@@ -13,27 +13,20 @@ 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
|
-
hasStartContent?: boolean;
|
|
18
|
-
hasEndContent?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
export declare const
|
|
31
|
-
export
|
|
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;
|
|
16
|
+
export declare const InputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
|
|
17
|
+
$hasStartContent?: boolean;
|
|
18
|
+
$hasEndContent?: boolean;
|
|
19
|
+
}>> & string;
|
|
20
|
+
export declare const NumberInputElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$hasStartContent" | "$hasEndContent"> & {
|
|
21
|
+
$hasStartContent?: boolean;
|
|
22
|
+
$hasEndContent?: boolean;
|
|
23
|
+
}, "ref"> & {
|
|
24
|
+
ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
$hideControls?: boolean;
|
|
27
|
+
}>> & string;
|
|
28
|
+
export declare const TextAreaElement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
|
|
29
|
+
export declare const IconButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
30
|
+
export declare const IconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').SVGProps<SVGSVGElement>, never>> & string;
|
|
31
|
+
export declare const InputStartContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
32
|
+
export declare const InputEndContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { ElementType, ReactEventHandler } from 'react';
|
|
1
|
+
import { ComponentProps, ElementType, ReactEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { IconName } from '..';
|
|
3
3
|
import { TextSize, TextWeight } from '../commonTypes';
|
|
4
|
-
import { PolymorphicComponent, PolymorphicComponentProps } from '../../utils/polymorphic';
|
|
5
4
|
|
|
6
|
-
export interface LinkProps<T extends ElementType = "a">
|
|
5
|
+
export interface LinkProps<T extends ElementType = "a"> {
|
|
7
6
|
size?: TextSize;
|
|
8
7
|
weight?: TextWeight;
|
|
9
8
|
onClick?: ReactEventHandler;
|
|
10
9
|
children?: React.ReactNode;
|
|
11
10
|
icon?: IconName;
|
|
11
|
+
component?: T;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
type LinkPolymorphicComponent = <T extends ElementType = "a">(props: Omit<ComponentProps<T>, keyof T> & LinkProps<T>) => ReactNode;
|
|
14
|
+
export declare const Link: LinkPolymorphicComponent;
|
|
15
|
+
export {};
|
|
@@ -8,7 +8,7 @@ export interface LogoProps extends SVGAttributes<SVGElement> {
|
|
|
8
8
|
size?: IconSize;
|
|
9
9
|
}
|
|
10
10
|
declare const Logo: {
|
|
11
|
-
({ name, theme
|
|
11
|
+
({ name, theme, size, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
export { Logo };
|
|
@@ -18,7 +18,7 @@ interface MultiAccordionCommonProps {
|
|
|
18
18
|
}
|
|
19
19
|
export type MultiAccordionProps = MultiAccordionCommonProps & (Omit<RadixAccordion.AccordionMultipleProps, "children"> | Omit<RadixAccordion.AccordionSingleProps, "children">);
|
|
20
20
|
export declare const MultiAccordion: {
|
|
21
|
-
({ size, children, fillWidth, showCheck, showBorder, gap, markAsCompleted,
|
|
21
|
+
({ size, children, fillWidth, showCheck, showBorder, gap, markAsCompleted, ...delegated }: MultiAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
Item: {
|
|
23
23
|
({ value, title, color, icon, iconSize, gap, children, isCompleted, ...props }: MultiAccordionItemProps): ReactElement;
|
|
24
24
|
displayName: string;
|
|
@@ -21,5 +21,5 @@ export interface PanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
radii?: PanelRadii;
|
|
22
22
|
width?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare const Panel: ({ alignItems, children, color, cursor, fillHeight, fillWidth, gap, hasBorder, hasShadow, height, orientation, padding, radii, width,
|
|
24
|
+
export declare const Panel: ({ alignItems, children, color, cursor, fillHeight, fillWidth, gap, hasBorder, hasShadow, height, orientation, padding, radii, width, ...props }: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -26,5 +26,5 @@ interface NonDismissableProgressBar {
|
|
|
26
26
|
onCancel?: never;
|
|
27
27
|
}
|
|
28
28
|
export type ProgressBarProps = (DefaultProgressBar & (DismissableProgressBar | NonDismissableProgressBar)) | SmallProgressBar;
|
|
29
|
-
export declare const ProgressBar: ({ progress, type, dismissable, onCancel, successMessage,
|
|
29
|
+
export declare const ProgressBar: ({ progress, type, dismissable, onCancel, successMessage, ...props }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
export {};
|
|
@@ -18,5 +18,5 @@ export declare const RadioGroup: {
|
|
|
18
18
|
interface RadioGroupInputProps extends RadixRadioGroup.RadioGroupItemProps {
|
|
19
19
|
label?: ReactNode;
|
|
20
20
|
}
|
|
21
|
-
export type RadioGroupItemProps = RadioGroupInputProps &
|
|
21
|
+
export type RadioGroupItemProps = RadioGroupInputProps & HTMLAttributes<HTMLDivElement>;
|
|
22
22
|
export {};
|