@gamecrafters/base-ui 0.0.7 → 0.0.9
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/build/components/aspect-ratio/AspectRatio.d.ts +1 -4
- package/build/components/aspect-ratio/AspectRatio.types.d.ts +1 -4
- package/build/components/bubble/Bubble.d.ts +10 -0
- package/build/components/bubble/Bubble.types.d.ts +29 -0
- package/build/components/bubble/BubbleContent.d.ts +7 -0
- package/build/components/bubble/BubbleContext.d.ts +2 -0
- package/build/components/bubble/BubbleGroup.d.ts +8 -0
- package/build/components/bubble/BubbleGroupContext.d.ts +2 -0
- package/build/components/bubble/BubbleReactions.d.ts +10 -0
- package/build/components/bubble/index.d.ts +33 -0
- package/build/components/chart/Chart.d.ts +3 -17
- package/build/components/chart/Chart.types.d.ts +107 -51
- package/build/components/chart/ChartContext.d.ts +3 -0
- package/build/components/chart/ChartGradient.d.ts +7 -0
- package/build/components/chart/ChartLegend.d.ts +6 -5
- package/build/components/chart/ChartRadialText.d.ts +7 -0
- package/build/components/chart/ChartTooltip.d.ts +6 -7
- package/build/components/chart/chartPalette.d.ts +13 -0
- package/build/components/chart/index.d.ts +14 -30
- package/build/components/chart/useChart.d.ts +3 -0
- package/build/components/checkbox-card/CheckboxCard.d.ts +14 -0
- package/build/components/checkbox-card/CheckboxCard.types.d.ts +26 -0
- package/build/components/checkbox-card/CheckboxCardContext.d.ts +2 -0
- package/build/components/checkbox-card/CheckboxCardLeadingVisual.d.ts +5 -0
- package/build/components/checkbox-card/index.d.ts +27 -0
- package/build/components/clipboard/Clipboard.d.ts +12 -0
- package/build/components/clipboard/Clipboard.types.d.ts +37 -0
- package/build/components/clipboard/ClipboardContext.d.ts +2 -0
- package/build/components/clipboard/ClipboardIndicator.d.ts +7 -0
- package/build/components/clipboard/ClipboardInput.d.ts +4 -0
- package/build/components/clipboard/ClipboardTrigger.d.ts +8 -0
- package/build/components/clipboard/copyText.d.ts +1 -0
- package/build/components/clipboard/index.d.ts +30 -0
- package/build/components/{upload/Upload.d.ts → file-upload/FileUpload.d.ts} +5 -5
- package/build/components/file-upload/FileUpload.types.d.ts +51 -0
- package/build/components/file-upload/FileUploadContext.d.ts +2 -0
- package/build/components/file-upload/FileUploadDescription.d.ts +5 -0
- package/build/components/{upload/UploadItem.d.ts → file-upload/FileUploadItem.d.ts} +1 -1
- package/build/components/file-upload/FileUploadLabel.d.ts +5 -0
- package/build/components/{upload → file-upload}/files.d.ts +2 -2
- package/build/components/{upload → file-upload}/index.d.ts +14 -14
- package/build/components/flow/Flow.d.ts +12 -0
- package/build/components/flow/Flow.types.d.ts +71 -0
- package/build/components/flow/FlowConnectors.d.ts +18 -0
- package/build/components/flow/FlowContext.d.ts +2 -0
- package/build/components/flow/FlowList.d.ts +5 -0
- package/build/components/flow/FlowNode.d.ts +7 -0
- package/build/components/flow/FlowParallel.d.ts +6 -0
- package/build/components/flow/flowLayout.d.ts +7 -0
- package/build/components/flow/flowPath.d.ts +2 -0
- package/build/components/flow/index.d.ts +31 -0
- package/build/components/hover-card/HoverCard.d.ts +7 -0
- package/build/components/hover-card/HoverCard.types.d.ts +33 -0
- package/build/components/hover-card/HoverCardContent.d.ts +5 -0
- package/build/components/hover-card/HoverCardContext.d.ts +2 -0
- package/build/components/hover-card/HoverCardTrigger.d.ts +15 -0
- package/build/components/hover-card/index.d.ts +12 -0
- package/build/components/index.d.ts +23 -2
- package/build/components/label-group/LabelGroup.d.ts +9 -0
- package/build/components/label-group/LabelGroup.types.d.ts +9 -0
- package/build/components/label-group/index.d.ts +3 -0
- package/build/components/label-group/useClippedChildren.d.ts +8 -0
- package/build/components/list/List.d.ts +10 -0
- package/build/components/list/List.types.d.ts +12 -0
- package/build/components/list/ListItem.d.ts +7 -0
- package/build/components/list/index.d.ts +16 -0
- package/build/components/marquee/Marquee.d.ts +11 -0
- package/build/components/marquee/Marquee.types.d.ts +26 -0
- package/build/components/marquee/index.d.ts +3 -0
- package/build/components/marquee/useMarquee.d.ts +14 -0
- package/build/components/message/Message.d.ts +9 -0
- package/build/components/message/Message.types.d.ts +29 -0
- package/build/components/message/MessageAvatar.d.ts +7 -0
- package/build/components/message/MessageContent.d.ts +7 -0
- package/build/components/message/MessageContext.d.ts +2 -0
- package/build/components/message/MessageFooter.d.ts +7 -0
- package/build/components/message/MessageGroup.d.ts +8 -0
- package/build/components/message/MessageGroupContext.d.ts +2 -0
- package/build/components/message/MessageHeader.d.ts +7 -0
- package/build/components/message/index.d.ts +42 -0
- package/build/components/meter/Meter.d.ts +15 -0
- package/build/components/meter/Meter.types.d.ts +41 -0
- package/build/components/meter/MeterContext.d.ts +2 -0
- package/build/components/meter/MeterIndicator.d.ts +7 -0
- package/build/components/meter/MeterLabel.d.ts +7 -0
- package/build/components/meter/MeterTrack.d.ts +7 -0
- package/build/components/meter/MeterValue.d.ts +6 -0
- package/build/components/meter/index.d.ts +40 -0
- package/build/components/meter/meterReading.d.ts +2 -0
- package/build/components/navigation-list/NavigationList.types.d.ts +53 -0
- package/build/components/navigation-list/NavigationListContext.d.ts +11 -0
- package/build/components/navigation-list/NavigationListGroup.d.ts +7 -0
- package/build/components/{nav-list/NavListGroupExpand.d.ts → navigation-list/NavigationListGroupExpand.d.ts} +3 -3
- package/build/components/navigation-list/NavigationListGroupHeading.d.ts +4 -0
- package/build/components/navigation-list/NavigationListHeading.d.ts +6 -0
- package/build/components/{nav-list/NavListItem.d.ts → navigation-list/NavigationListItem.d.ts} +1 -1
- package/build/components/navigation-list/NavigationListItemWithSubNavigation.d.ts +15 -0
- package/build/components/navigation-list/headingLevel.d.ts +3 -0
- package/build/components/{nav-list → navigation-list}/index.d.ts +15 -15
- package/build/components/navigation-menu/NavigationMenu.d.ts +13 -0
- package/build/components/navigation-menu/NavigationMenu.types.d.ts +90 -0
- package/build/components/navigation-menu/NavigationMenuContent.d.ts +10 -0
- package/build/components/navigation-menu/NavigationMenuContext.d.ts +8 -0
- package/build/components/navigation-menu/NavigationMenuDescription.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuDivider.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuGroup.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuGroupHeading.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuHeading.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuItem.d.ts +7 -0
- package/build/components/navigation-menu/NavigationMenuLeadingVisual.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuLink.d.ts +9 -0
- package/build/components/navigation-menu/NavigationMenuList.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuSubNavigation.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuTrailingVisual.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuTrigger.d.ts +6 -0
- package/build/components/navigation-menu/NavigationMenuVisual.d.ts +2 -0
- package/build/components/navigation-menu/headingLevel.d.ts +3 -0
- package/build/components/navigation-menu/index.d.ts +66 -0
- package/build/components/number-input/NumberInput.d.ts +14 -0
- package/build/components/number-input/NumberInput.types.d.ts +14 -0
- package/build/components/number-input/index.d.ts +3 -0
- package/build/components/number-input/numberValue.d.ts +7 -0
- package/build/components/password-input/PasswordInput.d.ts +11 -0
- package/build/components/password-input/PasswordInput.types.d.ts +10 -0
- package/build/components/password-input/index.d.ts +2 -0
- package/build/components/pin-input/PINInput.d.ts +22 -0
- package/build/components/pin-input/PINInput.types.d.ts +21 -0
- package/build/components/pin-input/index.d.ts +2 -0
- package/build/components/popover/Popover.d.ts +10 -0
- package/build/components/popover/Popover.types.d.ts +25 -0
- package/build/components/popover/PopoverContent.d.ts +14 -0
- package/build/components/popover/PopoverContext.d.ts +2 -0
- package/build/components/popover/index.d.ts +24 -0
- package/build/components/qr-code/QRCode.d.ts +21 -0
- package/build/components/qr-code/QRCode.types.d.ts +35 -0
- package/build/components/qr-code/index.d.ts +2 -0
- package/build/components/radio-card/RadioCard.d.ts +14 -0
- package/build/components/radio-card/RadioCard.types.d.ts +26 -0
- package/build/components/radio-card/RadioCardContext.d.ts +2 -0
- package/build/components/radio-card/RadioCardDescription.d.ts +5 -0
- package/build/components/radio-card/RadioCardLabel.d.ts +5 -0
- package/build/components/radio-card/RadioCardLeadingVisual.d.ts +5 -0
- package/build/components/radio-card/index.d.ts +27 -0
- package/build/components/splitter/Splitter.d.ts +7 -0
- package/build/components/splitter/Splitter.types.d.ts +23 -0
- package/build/components/splitter/SplitterPanel.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTrigger.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTriggerIndicator.d.ts +5 -0
- package/build/components/splitter/SplitterResizeTriggerSeparator.d.ts +5 -0
- package/build/components/splitter/index.d.ts +24 -0
- package/build/components/statistic-card/StatisticCard.d.ts +5 -0
- package/build/components/statistic-card/StatisticCard.types.d.ts +26 -0
- package/build/components/statistic-card/StatisticCardContext.d.ts +2 -0
- package/build/components/statistic-card/StatisticCardDescription.d.ts +5 -0
- package/build/components/statistic-card/StatisticCardLabel.d.ts +5 -0
- package/build/components/statistic-card/StatisticCardTrailingVisual.d.ts +5 -0
- package/build/components/statistic-card/StatisticCardTrend.d.ts +8 -0
- package/build/components/statistic-card/StatisticCardValue.d.ts +5 -0
- package/build/components/statistic-card/index.d.ts +29 -0
- package/build/components/steps/Steps.d.ts +10 -0
- package/build/components/steps/Steps.types.d.ts +31 -0
- package/build/components/steps/StepsBody.d.ts +5 -0
- package/build/components/steps/StepsDescription.d.ts +5 -0
- package/build/components/steps/StepsIndicator.d.ts +5 -0
- package/build/components/steps/StepsItem.d.ts +8 -0
- package/build/components/steps/StepsItemContext.d.ts +2 -0
- package/build/components/steps/StepsTitle.d.ts +5 -0
- package/build/components/steps/index.d.ts +35 -0
- package/build/components/steps/useStepsItem.d.ts +2 -0
- package/build/components/table-of-contents/TableOfContents.d.ts +7 -0
- package/build/components/table-of-contents/TableOfContents.types.d.ts +32 -0
- package/build/components/table-of-contents/TableOfContentsGroup.d.ts +9 -0
- package/build/components/table-of-contents/TableOfContentsItem.d.ts +8 -0
- package/build/components/table-of-contents/TableOfContentsList.d.ts +5 -0
- package/build/components/table-of-contents/TableOfContentsTitle.d.ts +7 -0
- package/build/components/table-of-contents/index.d.ts +32 -0
- package/build/components/table-of-contents/useTableOfContentsActiveId.d.ts +2 -0
- package/build/main.cjs.js +2 -2
- package/build/main.d.ts +1 -1
- package/build/main.esm.js +2 -2
- package/build/providers/direction/Direction.types.d.ts +11 -0
- package/build/providers/direction/DirectionContext.d.ts +3 -0
- package/build/providers/direction/DirectionProvider.d.ts +7 -0
- package/build/providers/direction/index.d.ts +4 -0
- package/build/providers/direction/useDirection.d.ts +2 -0
- package/build/providers/index.d.ts +2 -0
- package/build/styles/main.css +3 -1
- package/package.json +3 -6
- package/build/components/chart/chartScales.d.ts +0 -36
- package/build/components/chart/useChartWidth.d.ts +0 -2
- package/build/components/nav-list/NavList.types.d.ts +0 -53
- package/build/components/nav-list/NavListContext.d.ts +0 -11
- package/build/components/nav-list/NavListGroup.d.ts +0 -7
- package/build/components/nav-list/NavListGroupHeading.d.ts +0 -4
- package/build/components/nav-list/NavListHeading.d.ts +0 -6
- package/build/components/nav-list/NavListItemWithSubNav.d.ts +0 -15
- package/build/components/nav-list/headingLevel.d.ts +0 -3
- package/build/components/upload/Upload.types.d.ts +0 -51
- package/build/components/upload/UploadContext.d.ts +0 -2
- /package/build/components/{upload/UploadDescription.d.ts → checkbox-card/CheckboxCardDescription.d.ts} +0 -0
- /package/build/components/{upload/UploadLabel.d.ts → checkbox-card/CheckboxCardLabel.d.ts} +0 -0
- /package/build/components/{upload/UploadIcon.d.ts → file-upload/FileUploadIcon.d.ts} +0 -0
- /package/build/components/{upload/UploadList.d.ts → file-upload/FileUploadList.d.ts} +0 -0
- /package/build/components/{nav-list/NavList.d.ts → navigation-list/NavigationList.d.ts} +0 -0
- /package/build/components/{nav-list/NavListSubNav.d.ts → navigation-list/NavigationListSubNavigation.d.ts} +0 -0
- /package/build/{theme → providers/theme}/Theme.types.d.ts +0 -0
- /package/build/{theme → providers/theme}/ThemeContext.d.ts +0 -0
- /package/build/{theme → providers/theme}/ThemeProvider.d.ts +0 -0
- /package/build/{theme → providers/theme}/index.d.ts +0 -0
- /package/build/{theme → providers/theme}/useTheme.d.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import RadioCardDescription from "./RadioCardDescription";
|
|
2
|
+
import RadioCardLabel from "./RadioCardLabel";
|
|
3
|
+
import RadioCardLeadingVisual from "./RadioCardLeadingVisual";
|
|
4
|
+
export declare const RadioCard: ((props: Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref">, "onChange"> & {
|
|
5
|
+
value: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
defaultChecked?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
validationStatus?: import("./RadioCard.types").RadioCardValidationStatus;
|
|
12
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
13
|
+
className?: string;
|
|
14
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
15
|
+
LeadingVisual: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
16
|
+
className?: string;
|
|
17
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
18
|
+
Label: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
21
|
+
Description: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
22
|
+
className?: string;
|
|
23
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
export { RadioCardLeadingVisual, RadioCardLabel, RadioCardDescription };
|
|
26
|
+
export { RadioCardContext } from "./RadioCardContext";
|
|
27
|
+
export * from "./RadioCard.types";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<import("react-resizable-panels").GroupProps, "orientation" | "groupRef" | "elementRef"> & {
|
|
3
|
+
orientation?: import("./Splitter.types").SplitterOrientation;
|
|
4
|
+
splitterRef?: import("react-resizable-panels").GroupProps["groupRef"];
|
|
5
|
+
className?: string;
|
|
6
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { GroupImperativeHandle, GroupProps, Layout, PanelImperativeHandle, PanelProps, SeparatorProps as ResizableSeparatorProps } from "react-resizable-panels";
|
|
3
|
+
export type SplitterOrientation = "horizontal" | "vertical";
|
|
4
|
+
export type SplitterLayout = Layout;
|
|
5
|
+
export type SplitterInstance = GroupImperativeHandle;
|
|
6
|
+
export type SplitterPanelInstance = PanelImperativeHandle;
|
|
7
|
+
export type SplitterProps = Omit<GroupProps, "elementRef" | "groupRef" | "orientation"> & {
|
|
8
|
+
orientation?: SplitterOrientation;
|
|
9
|
+
splitterRef?: GroupProps["groupRef"];
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export type SplitterPanelProps = Omit<PanelProps, "elementRef"> & {
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
export type SplitterResizeTriggerProps = Omit<ResizableSeparatorProps, "elementRef"> & {
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
export type SplitterResizeTriggerSeparatorProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
};
|
|
21
|
+
export type SplitterResizeTriggerIndicatorProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import SplitterPanel from "./SplitterPanel";
|
|
2
|
+
import SplitterResizeTrigger from "./SplitterResizeTrigger";
|
|
3
|
+
import SplitterResizeTriggerIndicator from "./SplitterResizeTriggerIndicator";
|
|
4
|
+
import SplitterResizeTriggerSeparator from "./SplitterResizeTriggerSeparator";
|
|
5
|
+
export declare const Splitter: ((props: Omit<import("react-resizable-panels").GroupProps, "orientation" | "groupRef" | "elementRef"> & {
|
|
6
|
+
orientation?: import("./Splitter.types").SplitterOrientation;
|
|
7
|
+
splitterRef?: import("react-resizable-panels").GroupProps["groupRef"];
|
|
8
|
+
className?: string;
|
|
9
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
10
|
+
Panel: (props: Omit<import("react-resizable-panels").PanelProps, "elementRef"> & {
|
|
11
|
+
className?: string;
|
|
12
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
13
|
+
ResizeTrigger: (props: Omit<import("react-resizable-panels").SeparatorProps, "elementRef"> & {
|
|
14
|
+
className?: string;
|
|
15
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
16
|
+
ResizeTriggerSeparator: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
17
|
+
className?: string;
|
|
18
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
19
|
+
ResizeTriggerIndicator: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
20
|
+
className?: string;
|
|
21
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
22
|
+
};
|
|
23
|
+
export { SplitterPanel, SplitterResizeTrigger, SplitterResizeTriggerSeparator, SplitterResizeTriggerIndicator, };
|
|
24
|
+
export * from "./Splitter.types";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type StatisticCardTrendDirection = "increase" | "decrease" | "neutral";
|
|
3
|
+
export type StatisticCardTrendSentiment = "positive" | "negative" | "neutral";
|
|
4
|
+
export type StatisticCardProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export type StatisticCardLabelProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
export type StatisticCardValueProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
13
|
+
export type StatisticCardTrendProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
14
|
+
direction: StatisticCardTrendDirection;
|
|
15
|
+
sentiment?: StatisticCardTrendSentiment;
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
export type StatisticCardDescriptionProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
};
|
|
21
|
+
export type StatisticCardTrailingVisualProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
export type StatisticCardContextValue = {
|
|
25
|
+
labelId?: string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { StatisticCardTrendDirection, StatisticCardTrendSentiment } from "./StatisticCard.types";
|
|
3
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
4
|
+
direction: StatisticCardTrendDirection;
|
|
5
|
+
sentiment?: StatisticCardTrendSentiment;
|
|
6
|
+
className?: string;
|
|
7
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import StatisticCardDescription from "./StatisticCardDescription";
|
|
2
|
+
import StatisticCardLabel from "./StatisticCardLabel";
|
|
3
|
+
import StatisticCardTrailingVisual from "./StatisticCardTrailingVisual";
|
|
4
|
+
import StatisticCardTrend from "./StatisticCardTrend";
|
|
5
|
+
import StatisticCardValue from "./StatisticCardValue";
|
|
6
|
+
export declare const StatisticCard: ((props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
className?: string;
|
|
8
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
9
|
+
Label: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
10
|
+
className?: string;
|
|
11
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
12
|
+
Value: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
|
+
className?: string;
|
|
14
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
15
|
+
Trend: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
16
|
+
direction: import("./StatisticCard.types").StatisticCardTrendDirection;
|
|
17
|
+
sentiment?: import("./StatisticCard.types").StatisticCardTrendSentiment;
|
|
18
|
+
className?: string;
|
|
19
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
20
|
+
Description: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
21
|
+
className?: string;
|
|
22
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
23
|
+
TrailingVisual: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
24
|
+
className?: string;
|
|
25
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
export { StatisticCardLabel, StatisticCardValue, StatisticCardTrend, StatisticCardDescription, StatisticCardTrailingVisual, };
|
|
28
|
+
export { StatisticCardContext } from "./StatisticCardContext";
|
|
29
|
+
export * from "./StatisticCard.types";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { StepsOrientation, StepsSize } from "./Steps.types";
|
|
3
|
+
export declare const DEFAULT_CURRENT_STEP = 1;
|
|
4
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref">, "role"> & {
|
|
5
|
+
currentStep?: number;
|
|
6
|
+
orientation?: StepsOrientation;
|
|
7
|
+
size?: StepsSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type StepStatus = "complete" | "current" | "incomplete";
|
|
3
|
+
export type StepsOrientation = "horizontal" | "vertical";
|
|
4
|
+
export type StepsSize = "small" | "medium";
|
|
5
|
+
export type StepsProps = Omit<React.ComponentPropsWithoutRef<"ol">, "role"> & {
|
|
6
|
+
currentStep?: number;
|
|
7
|
+
orientation?: StepsOrientation;
|
|
8
|
+
size?: StepsSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
export type StepsItemProps = React.ComponentPropsWithoutRef<"li"> & {
|
|
12
|
+
status?: StepStatus;
|
|
13
|
+
statusLabel?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
export type StepsIndicatorProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
export type StepsBodyProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
20
|
+
className?: string;
|
|
21
|
+
};
|
|
22
|
+
export type StepsTitleProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
23
|
+
className?: string;
|
|
24
|
+
};
|
|
25
|
+
export type StepsDescriptionProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
26
|
+
className?: string;
|
|
27
|
+
};
|
|
28
|
+
export type StepsItemContextValue = {
|
|
29
|
+
index: number;
|
|
30
|
+
status: StepStatus;
|
|
31
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { StepStatus } from "./Steps.types";
|
|
3
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
4
|
+
status?: StepStatus;
|
|
5
|
+
statusLabel?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DEFAULT_CURRENT_STEP } from "./Steps";
|
|
2
|
+
import StepsBody from "./StepsBody";
|
|
3
|
+
import StepsDescription from "./StepsDescription";
|
|
4
|
+
import StepsIndicator from "./StepsIndicator";
|
|
5
|
+
import StepsItem from "./StepsItem";
|
|
6
|
+
import StepsTitle from "./StepsTitle";
|
|
7
|
+
export declare const Steps: ((props: Omit<Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref">, "role"> & {
|
|
8
|
+
currentStep?: number;
|
|
9
|
+
orientation?: import("./Steps.types").StepsOrientation;
|
|
10
|
+
size?: import("./Steps.types").StepsSize;
|
|
11
|
+
className?: string;
|
|
12
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
13
|
+
Item: (props: Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
14
|
+
status?: import("./Steps.types").StepStatus;
|
|
15
|
+
statusLabel?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
18
|
+
Indicator: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
21
|
+
Body: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
className?: string;
|
|
23
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
24
|
+
Title: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
25
|
+
className?: string;
|
|
26
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
27
|
+
Description: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
28
|
+
className?: string;
|
|
29
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
30
|
+
};
|
|
31
|
+
export { StepsItem, StepsIndicator, StepsBody, StepsTitle, StepsDescription };
|
|
32
|
+
export { DEFAULT_CURRENT_STEP };
|
|
33
|
+
export { StepsItemContext } from "./StepsItemContext";
|
|
34
|
+
export { useStepsItem } from "./useStepsItem";
|
|
35
|
+
export * from "./Steps.types";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const DEFAULT_LABEL = "Table of contents";
|
|
3
|
+
export { DEFAULT_LABEL };
|
|
4
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
export type TableOfContentsProps = React.ComponentPropsWithoutRef<"nav"> & {
|
|
4
|
+
className?: string;
|
|
5
|
+
};
|
|
6
|
+
export type TableOfContentsTitleProps<As extends React.ElementType = "p"> = PolymorphicProps<As, "p", {
|
|
7
|
+
className?: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type TableOfContentsListProps = Omit<React.ComponentPropsWithoutRef<"ul">, "role"> & {
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
export type TableOfContentsItemProps<As extends React.ElementType = "a"> = PolymorphicProps<As, "a", {
|
|
13
|
+
active?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
}>;
|
|
16
|
+
export type TableOfContentsGroupProps = Omit<React.ComponentPropsWithoutRef<"li">, "onClick"> & {
|
|
17
|
+
label: string;
|
|
18
|
+
href?: string;
|
|
19
|
+
active?: boolean;
|
|
20
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
21
|
+
className?: string;
|
|
22
|
+
};
|
|
23
|
+
export type UseTableOfContentsActiveIdOptions = {
|
|
24
|
+
ids: string[];
|
|
25
|
+
offset?: number;
|
|
26
|
+
root?: Element | null;
|
|
27
|
+
trackHash?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type UseTableOfContentsActiveIdResult = {
|
|
30
|
+
activeId: string | null;
|
|
31
|
+
selectSection: (id: string) => void;
|
|
32
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onClick"> & {
|
|
3
|
+
label: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
7
|
+
className?: string;
|
|
8
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "a">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "a" : As> & {
|
|
3
|
+
active?: boolean;
|
|
4
|
+
className?: string;
|
|
5
|
+
}, "as"> & {
|
|
6
|
+
as?: As | undefined;
|
|
7
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "role"> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "p">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "p" : As> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
}, "as"> & {
|
|
5
|
+
as?: As | undefined;
|
|
6
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import TableOfContentsGroup from "./TableOfContentsGroup";
|
|
2
|
+
import TableOfContentsItem from "./TableOfContentsItem";
|
|
3
|
+
import TableOfContentsList from "./TableOfContentsList";
|
|
4
|
+
import TableOfContentsTitle from "./TableOfContentsTitle";
|
|
5
|
+
export declare const TableOfContents: ((props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
6
|
+
className?: string;
|
|
7
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
8
|
+
Title: <As extends React.ElementType = "p">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "p" : As> & {
|
|
9
|
+
className?: string;
|
|
10
|
+
}, "as"> & {
|
|
11
|
+
as?: As | undefined;
|
|
12
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
13
|
+
List: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "role"> & {
|
|
14
|
+
className?: string;
|
|
15
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
16
|
+
Item: <As extends React.ElementType = "a">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "a" : As> & {
|
|
17
|
+
active?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
}, "as"> & {
|
|
20
|
+
as?: As | undefined;
|
|
21
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
22
|
+
Group: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onClick"> & {
|
|
23
|
+
label: string;
|
|
24
|
+
href?: string;
|
|
25
|
+
active?: boolean;
|
|
26
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
27
|
+
className?: string;
|
|
28
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
29
|
+
};
|
|
30
|
+
export { TableOfContentsTitle, TableOfContentsList, TableOfContentsItem, TableOfContentsGroup };
|
|
31
|
+
export { useTableOfContentsActiveId } from "./useTableOfContentsActiveId";
|
|
32
|
+
export * from "./TableOfContents.types";
|