@clickhouse/click-ui 0.0.52 → 0.0.54

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.
@@ -1,14 +1,20 @@
1
1
  import { IconName } from '../../components';
2
2
  import { HTMLAttributes, MouseEventHandler, ReactNode } from "react";
3
+ export type CardPrimarySize = "sm" | "md";
4
+ type ContentAlignment = "start" | "center" | "end";
3
5
  export interface CardPrimaryProps extends HTMLAttributes<HTMLDivElement> {
4
- title: string;
5
- icon: IconName;
6
+ title?: string;
7
+ icon?: IconName;
6
8
  hasShadow?: boolean;
7
9
  disabled?: boolean;
8
- description: ReactNode;
10
+ description?: ReactNode;
9
11
  infoUrl?: string;
10
12
  infoText?: string;
11
- size?: "sm" | "md";
13
+ size?: CardPrimarySize;
14
+ isSelected?: boolean;
15
+ children?: ReactNode;
16
+ alignContent?: ContentAlignment;
12
17
  onButtonClick?: MouseEventHandler<HTMLElement>;
13
18
  }
14
- export declare const CardPrimary: ({ title, icon, hasShadow, description, infoUrl, infoText, size, disabled, onButtonClick, ...props }: CardPrimaryProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const CardPrimary: ({ alignContent, title, icon, hasShadow, description, infoUrl, infoText, size, disabled, onButtonClick, isSelected, children, ...props }: CardPrimaryProps) => import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -1510,6 +1510,7 @@ export declare const ICONS_MAP: {
1510
1510
  }>;
1511
1511
  metrics: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1512
1512
  "metrics-alt": (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1513
+ pause: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1513
1514
  payment: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1514
1515
  pencil: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1515
1516
  "pie-chart": (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1534,6 +1535,7 @@ export declare const ICONS_MAP: {
1534
1535
  speaker: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1535
1536
  speed: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1536
1537
  star: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1538
+ stop: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1537
1539
  support: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1538
1540
  table: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
1539
1541
  taxi: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;