@clickhouse/click-ui 0.0.51 → 0.0.52

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.
@@ -25,6 +25,8 @@ interface CommonTableProps extends Omit<HTMLAttributes<HTMLTableElement>, "child
25
25
  onDelete?: (item: TableRowType, index: number) => void;
26
26
  onEdit?: (item: TableRowType, index: number) => void;
27
27
  onSort?: SortFn;
28
+ loading?: boolean;
29
+ noDataMessage?: ReactNode;
28
30
  }
29
31
  type SelectReturnValue = {
30
32
  index: number;
@@ -0,0 +1,19 @@
1
+ import { HTMLAttributes, ReactNode } from "react";
2
+ type StepperType = "numbered" | "bulleted";
3
+ export interface VerticalStepperProps extends HTMLAttributes<HTMLDivElement> {
4
+ type?: StepperType;
5
+ }
6
+ declare const VerticalStepper: {
7
+ ({ children, type, ...props }: VerticalStepperProps): import("react/jsx-runtime").JSX.Element;
8
+ Step: {
9
+ ({ status, children, label, collapsed, disabled, ...props }: VerticalStepProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ };
13
+ export interface VerticalStepProps extends HTMLAttributes<HTMLButtonElement> {
14
+ status?: "active" | "complete" | "incomplete";
15
+ collapsed?: boolean;
16
+ label?: ReactNode;
17
+ disabled?: boolean;
18
+ }
19
+ export default VerticalStepper;
@@ -7,6 +7,7 @@ export { Accordion } from "./Accordion/Accordion";
7
7
  export { Alert, DangerAlert, InfoAlert, WarningAlert, SuccessAlert } from "./Alert/Alert";
8
8
  export { Avatar } from "./Avatar/Avatar";
9
9
  export { Badge } from "./Badge/Badge";
10
+ export { BigStat } from "./BigStat/BigStat";
10
11
  export { ButtonGroup } from "./ButtonGroup/ButtonGroup";
11
12
  export { Button } from "./Button/Button";
12
13
  export { CardSecondary } from "./CardSecondary/CardSecondary";
@@ -37,6 +37,7 @@ export type { DialogProps, DialogTriggerProps } from "@radix-ui/react-dialog";
37
37
  export type { ConfirmationDialogProps } from "./ConfirmationDialog/ConfirmationDialog";
38
38
  export type { FileTabStatusType } from "./FileTabs/FileTabs";
39
39
  export type { TableHeaderType, TableRowType, TableProps } from "./Table/Table";
40
+ export type { BigStatProps } from "./BigStat/BigStat";
40
41
  export type States = "default" | "active" | "disabled" | "error" | "hover";
41
42
  export type HorizontalDirection = "start" | "end";
42
43
  export type Orientation = "horizontal" | "vertical";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",