@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.
Files changed (210) hide show
  1. package/build/components/aspect-ratio/AspectRatio.d.ts +1 -4
  2. package/build/components/aspect-ratio/AspectRatio.types.d.ts +1 -4
  3. package/build/components/bubble/Bubble.d.ts +10 -0
  4. package/build/components/bubble/Bubble.types.d.ts +29 -0
  5. package/build/components/bubble/BubbleContent.d.ts +7 -0
  6. package/build/components/bubble/BubbleContext.d.ts +2 -0
  7. package/build/components/bubble/BubbleGroup.d.ts +8 -0
  8. package/build/components/bubble/BubbleGroupContext.d.ts +2 -0
  9. package/build/components/bubble/BubbleReactions.d.ts +10 -0
  10. package/build/components/bubble/index.d.ts +33 -0
  11. package/build/components/chart/Chart.d.ts +3 -17
  12. package/build/components/chart/Chart.types.d.ts +107 -51
  13. package/build/components/chart/ChartContext.d.ts +3 -0
  14. package/build/components/chart/ChartGradient.d.ts +7 -0
  15. package/build/components/chart/ChartLegend.d.ts +6 -5
  16. package/build/components/chart/ChartRadialText.d.ts +7 -0
  17. package/build/components/chart/ChartTooltip.d.ts +6 -7
  18. package/build/components/chart/chartPalette.d.ts +13 -0
  19. package/build/components/chart/index.d.ts +14 -30
  20. package/build/components/chart/useChart.d.ts +3 -0
  21. package/build/components/checkbox-card/CheckboxCard.d.ts +14 -0
  22. package/build/components/checkbox-card/CheckboxCard.types.d.ts +26 -0
  23. package/build/components/checkbox-card/CheckboxCardContext.d.ts +2 -0
  24. package/build/components/checkbox-card/CheckboxCardLeadingVisual.d.ts +5 -0
  25. package/build/components/checkbox-card/index.d.ts +27 -0
  26. package/build/components/clipboard/Clipboard.d.ts +12 -0
  27. package/build/components/clipboard/Clipboard.types.d.ts +37 -0
  28. package/build/components/clipboard/ClipboardContext.d.ts +2 -0
  29. package/build/components/clipboard/ClipboardIndicator.d.ts +7 -0
  30. package/build/components/clipboard/ClipboardInput.d.ts +4 -0
  31. package/build/components/clipboard/ClipboardTrigger.d.ts +8 -0
  32. package/build/components/clipboard/copyText.d.ts +1 -0
  33. package/build/components/clipboard/index.d.ts +30 -0
  34. package/build/components/{upload/Upload.d.ts → file-upload/FileUpload.d.ts} +5 -5
  35. package/build/components/file-upload/FileUpload.types.d.ts +51 -0
  36. package/build/components/file-upload/FileUploadContext.d.ts +2 -0
  37. package/build/components/file-upload/FileUploadDescription.d.ts +5 -0
  38. package/build/components/{upload/UploadItem.d.ts → file-upload/FileUploadItem.d.ts} +1 -1
  39. package/build/components/file-upload/FileUploadLabel.d.ts +5 -0
  40. package/build/components/{upload → file-upload}/files.d.ts +2 -2
  41. package/build/components/{upload → file-upload}/index.d.ts +14 -14
  42. package/build/components/flow/Flow.d.ts +12 -0
  43. package/build/components/flow/Flow.types.d.ts +71 -0
  44. package/build/components/flow/FlowConnectors.d.ts +18 -0
  45. package/build/components/flow/FlowContext.d.ts +2 -0
  46. package/build/components/flow/FlowList.d.ts +5 -0
  47. package/build/components/flow/FlowNode.d.ts +7 -0
  48. package/build/components/flow/FlowParallel.d.ts +6 -0
  49. package/build/components/flow/flowLayout.d.ts +7 -0
  50. package/build/components/flow/flowPath.d.ts +2 -0
  51. package/build/components/flow/index.d.ts +31 -0
  52. package/build/components/hover-card/HoverCard.d.ts +7 -0
  53. package/build/components/hover-card/HoverCard.types.d.ts +33 -0
  54. package/build/components/hover-card/HoverCardContent.d.ts +5 -0
  55. package/build/components/hover-card/HoverCardContext.d.ts +2 -0
  56. package/build/components/hover-card/HoverCardTrigger.d.ts +15 -0
  57. package/build/components/hover-card/index.d.ts +12 -0
  58. package/build/components/index.d.ts +23 -2
  59. package/build/components/label-group/LabelGroup.d.ts +9 -0
  60. package/build/components/label-group/LabelGroup.types.d.ts +9 -0
  61. package/build/components/label-group/index.d.ts +3 -0
  62. package/build/components/label-group/useClippedChildren.d.ts +8 -0
  63. package/build/components/list/List.d.ts +10 -0
  64. package/build/components/list/List.types.d.ts +12 -0
  65. package/build/components/list/ListItem.d.ts +7 -0
  66. package/build/components/list/index.d.ts +16 -0
  67. package/build/components/marquee/Marquee.d.ts +11 -0
  68. package/build/components/marquee/Marquee.types.d.ts +26 -0
  69. package/build/components/marquee/index.d.ts +3 -0
  70. package/build/components/marquee/useMarquee.d.ts +14 -0
  71. package/build/components/message/Message.d.ts +9 -0
  72. package/build/components/message/Message.types.d.ts +29 -0
  73. package/build/components/message/MessageAvatar.d.ts +7 -0
  74. package/build/components/message/MessageContent.d.ts +7 -0
  75. package/build/components/message/MessageContext.d.ts +2 -0
  76. package/build/components/message/MessageFooter.d.ts +7 -0
  77. package/build/components/message/MessageGroup.d.ts +8 -0
  78. package/build/components/message/MessageGroupContext.d.ts +2 -0
  79. package/build/components/message/MessageHeader.d.ts +7 -0
  80. package/build/components/message/index.d.ts +42 -0
  81. package/build/components/meter/Meter.d.ts +15 -0
  82. package/build/components/meter/Meter.types.d.ts +41 -0
  83. package/build/components/meter/MeterContext.d.ts +2 -0
  84. package/build/components/meter/MeterIndicator.d.ts +7 -0
  85. package/build/components/meter/MeterLabel.d.ts +7 -0
  86. package/build/components/meter/MeterTrack.d.ts +7 -0
  87. package/build/components/meter/MeterValue.d.ts +6 -0
  88. package/build/components/meter/index.d.ts +40 -0
  89. package/build/components/meter/meterReading.d.ts +2 -0
  90. package/build/components/navigation-list/NavigationList.types.d.ts +53 -0
  91. package/build/components/navigation-list/NavigationListContext.d.ts +11 -0
  92. package/build/components/navigation-list/NavigationListGroup.d.ts +7 -0
  93. package/build/components/{nav-list/NavListGroupExpand.d.ts → navigation-list/NavigationListGroupExpand.d.ts} +3 -3
  94. package/build/components/navigation-list/NavigationListGroupHeading.d.ts +4 -0
  95. package/build/components/navigation-list/NavigationListHeading.d.ts +6 -0
  96. package/build/components/{nav-list/NavListItem.d.ts → navigation-list/NavigationListItem.d.ts} +1 -1
  97. package/build/components/navigation-list/NavigationListItemWithSubNavigation.d.ts +15 -0
  98. package/build/components/navigation-list/headingLevel.d.ts +3 -0
  99. package/build/components/{nav-list → navigation-list}/index.d.ts +15 -15
  100. package/build/components/navigation-menu/NavigationMenu.d.ts +13 -0
  101. package/build/components/navigation-menu/NavigationMenu.types.d.ts +90 -0
  102. package/build/components/navigation-menu/NavigationMenuContent.d.ts +10 -0
  103. package/build/components/navigation-menu/NavigationMenuContext.d.ts +8 -0
  104. package/build/components/navigation-menu/NavigationMenuDescription.d.ts +7 -0
  105. package/build/components/navigation-menu/NavigationMenuDivider.d.ts +6 -0
  106. package/build/components/navigation-menu/NavigationMenuGroup.d.ts +7 -0
  107. package/build/components/navigation-menu/NavigationMenuGroupHeading.d.ts +7 -0
  108. package/build/components/navigation-menu/NavigationMenuHeading.d.ts +6 -0
  109. package/build/components/navigation-menu/NavigationMenuItem.d.ts +7 -0
  110. package/build/components/navigation-menu/NavigationMenuLeadingVisual.d.ts +6 -0
  111. package/build/components/navigation-menu/NavigationMenuLink.d.ts +9 -0
  112. package/build/components/navigation-menu/NavigationMenuList.d.ts +6 -0
  113. package/build/components/navigation-menu/NavigationMenuSubNavigation.d.ts +6 -0
  114. package/build/components/navigation-menu/NavigationMenuTrailingVisual.d.ts +6 -0
  115. package/build/components/navigation-menu/NavigationMenuTrigger.d.ts +6 -0
  116. package/build/components/navigation-menu/NavigationMenuVisual.d.ts +2 -0
  117. package/build/components/navigation-menu/headingLevel.d.ts +3 -0
  118. package/build/components/navigation-menu/index.d.ts +66 -0
  119. package/build/components/number-input/NumberInput.d.ts +14 -0
  120. package/build/components/number-input/NumberInput.types.d.ts +14 -0
  121. package/build/components/number-input/index.d.ts +3 -0
  122. package/build/components/number-input/numberValue.d.ts +7 -0
  123. package/build/components/password-input/PasswordInput.d.ts +11 -0
  124. package/build/components/password-input/PasswordInput.types.d.ts +10 -0
  125. package/build/components/password-input/index.d.ts +2 -0
  126. package/build/components/pin-input/PINInput.d.ts +22 -0
  127. package/build/components/pin-input/PINInput.types.d.ts +21 -0
  128. package/build/components/pin-input/index.d.ts +2 -0
  129. package/build/components/popover/Popover.d.ts +10 -0
  130. package/build/components/popover/Popover.types.d.ts +25 -0
  131. package/build/components/popover/PopoverContent.d.ts +14 -0
  132. package/build/components/popover/PopoverContext.d.ts +2 -0
  133. package/build/components/popover/index.d.ts +24 -0
  134. package/build/components/qr-code/QRCode.d.ts +21 -0
  135. package/build/components/qr-code/QRCode.types.d.ts +35 -0
  136. package/build/components/qr-code/index.d.ts +2 -0
  137. package/build/components/radio-card/RadioCard.d.ts +14 -0
  138. package/build/components/radio-card/RadioCard.types.d.ts +26 -0
  139. package/build/components/radio-card/RadioCardContext.d.ts +2 -0
  140. package/build/components/radio-card/RadioCardDescription.d.ts +5 -0
  141. package/build/components/radio-card/RadioCardLabel.d.ts +5 -0
  142. package/build/components/radio-card/RadioCardLeadingVisual.d.ts +5 -0
  143. package/build/components/radio-card/index.d.ts +27 -0
  144. package/build/components/splitter/Splitter.d.ts +7 -0
  145. package/build/components/splitter/Splitter.types.d.ts +23 -0
  146. package/build/components/splitter/SplitterPanel.d.ts +5 -0
  147. package/build/components/splitter/SplitterResizeTrigger.d.ts +5 -0
  148. package/build/components/splitter/SplitterResizeTriggerIndicator.d.ts +5 -0
  149. package/build/components/splitter/SplitterResizeTriggerSeparator.d.ts +5 -0
  150. package/build/components/splitter/index.d.ts +24 -0
  151. package/build/components/statistic-card/StatisticCard.d.ts +5 -0
  152. package/build/components/statistic-card/StatisticCard.types.d.ts +26 -0
  153. package/build/components/statistic-card/StatisticCardContext.d.ts +2 -0
  154. package/build/components/statistic-card/StatisticCardDescription.d.ts +5 -0
  155. package/build/components/statistic-card/StatisticCardLabel.d.ts +5 -0
  156. package/build/components/statistic-card/StatisticCardTrailingVisual.d.ts +5 -0
  157. package/build/components/statistic-card/StatisticCardTrend.d.ts +8 -0
  158. package/build/components/statistic-card/StatisticCardValue.d.ts +5 -0
  159. package/build/components/statistic-card/index.d.ts +29 -0
  160. package/build/components/steps/Steps.d.ts +10 -0
  161. package/build/components/steps/Steps.types.d.ts +31 -0
  162. package/build/components/steps/StepsBody.d.ts +5 -0
  163. package/build/components/steps/StepsDescription.d.ts +5 -0
  164. package/build/components/steps/StepsIndicator.d.ts +5 -0
  165. package/build/components/steps/StepsItem.d.ts +8 -0
  166. package/build/components/steps/StepsItemContext.d.ts +2 -0
  167. package/build/components/steps/StepsTitle.d.ts +5 -0
  168. package/build/components/steps/index.d.ts +35 -0
  169. package/build/components/steps/useStepsItem.d.ts +2 -0
  170. package/build/components/table-of-contents/TableOfContents.d.ts +7 -0
  171. package/build/components/table-of-contents/TableOfContents.types.d.ts +32 -0
  172. package/build/components/table-of-contents/TableOfContentsGroup.d.ts +9 -0
  173. package/build/components/table-of-contents/TableOfContentsItem.d.ts +8 -0
  174. package/build/components/table-of-contents/TableOfContentsList.d.ts +5 -0
  175. package/build/components/table-of-contents/TableOfContentsTitle.d.ts +7 -0
  176. package/build/components/table-of-contents/index.d.ts +32 -0
  177. package/build/components/table-of-contents/useTableOfContentsActiveId.d.ts +2 -0
  178. package/build/main.cjs.js +2 -2
  179. package/build/main.d.ts +1 -1
  180. package/build/main.esm.js +2 -2
  181. package/build/providers/direction/Direction.types.d.ts +11 -0
  182. package/build/providers/direction/DirectionContext.d.ts +3 -0
  183. package/build/providers/direction/DirectionProvider.d.ts +7 -0
  184. package/build/providers/direction/index.d.ts +4 -0
  185. package/build/providers/direction/useDirection.d.ts +2 -0
  186. package/build/providers/index.d.ts +2 -0
  187. package/build/styles/main.css +3 -1
  188. package/package.json +3 -6
  189. package/build/components/chart/chartScales.d.ts +0 -36
  190. package/build/components/chart/useChartWidth.d.ts +0 -2
  191. package/build/components/nav-list/NavList.types.d.ts +0 -53
  192. package/build/components/nav-list/NavListContext.d.ts +0 -11
  193. package/build/components/nav-list/NavListGroup.d.ts +0 -7
  194. package/build/components/nav-list/NavListGroupHeading.d.ts +0 -4
  195. package/build/components/nav-list/NavListHeading.d.ts +0 -6
  196. package/build/components/nav-list/NavListItemWithSubNav.d.ts +0 -15
  197. package/build/components/nav-list/headingLevel.d.ts +0 -3
  198. package/build/components/upload/Upload.types.d.ts +0 -51
  199. package/build/components/upload/UploadContext.d.ts +0 -2
  200. /package/build/components/{upload/UploadDescription.d.ts → checkbox-card/CheckboxCardDescription.d.ts} +0 -0
  201. /package/build/components/{upload/UploadLabel.d.ts → checkbox-card/CheckboxCardLabel.d.ts} +0 -0
  202. /package/build/components/{upload/UploadIcon.d.ts → file-upload/FileUploadIcon.d.ts} +0 -0
  203. /package/build/components/{upload/UploadList.d.ts → file-upload/FileUploadList.d.ts} +0 -0
  204. /package/build/components/{nav-list/NavList.d.ts → navigation-list/NavigationList.d.ts} +0 -0
  205. /package/build/components/{nav-list/NavListSubNav.d.ts → navigation-list/NavigationListSubNavigation.d.ts} +0 -0
  206. /package/build/{theme → providers/theme}/Theme.types.d.ts +0 -0
  207. /package/build/{theme → providers/theme}/ThemeContext.d.ts +0 -0
  208. /package/build/{theme → providers/theme}/ThemeProvider.d.ts +0 -0
  209. /package/build/{theme → providers/theme}/index.d.ts +0 -0
  210. /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,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<import("react-resizable-panels").PanelProps, "elementRef"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<import("react-resizable-panels").SeparatorProps, "elementRef"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -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,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -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,2 @@
1
+ import type { StatisticCardContextValue } from "./StatisticCard.types";
2
+ export declare const StatisticCardContext: import("react").Context<StatisticCardContextValue>;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -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,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ 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,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ export default _default;
@@ -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,2 @@
1
+ import type { StepsItemContextValue } from "./Steps.types";
2
+ export declare const StepsItemContext: import("react").Context<StepsItemContextValue | null>;
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
+ className?: string;
4
+ } & React.RefAttributes<any>) => React.ReactNode;
5
+ 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,2 @@
1
+ import type { StepsItemContextValue } from "./Steps.types";
2
+ export declare const useStepsItem: () => StepsItemContextValue;
@@ -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";
@@ -0,0 +1,2 @@
1
+ import type { UseTableOfContentsActiveIdOptions, UseTableOfContentsActiveIdResult } from "./TableOfContents.types";
2
+ export declare const useTableOfContentsActiveId: ({ ids, offset, root, trackHash, }: UseTableOfContentsActiveIdOptions) => UseTableOfContentsActiveIdResult;