@clickhouse/click-ui 0.0.235 → 0.0.236

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.
@@ -2,22 +2,26 @@ import { HTMLAttributes, MouseEventHandler, ReactNode } from 'react';
2
2
  import { BadgeState, HorizontalDirection, IconName } from '..';
3
3
 
4
4
  type CardColor = "default" | "muted";
5
+ export type CardSize = "sm" | "md";
5
6
  export interface CardHorizontalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
6
7
  title?: ReactNode;
7
8
  icon?: IconName;
8
9
  disabled?: boolean;
9
10
  description?: ReactNode;
10
11
  infoUrl?: string;
12
+ /** Shows and hides the button */
11
13
  infoText?: string;
12
14
  isSelected?: boolean;
13
15
  isSelectable?: boolean;
14
16
  children?: ReactNode;
15
17
  color?: CardColor;
18
+ size?: CardSize;
19
+ /** Shows and hides the badge */
16
20
  badgeText?: string;
17
21
  badgeState?: BadgeState;
18
22
  badgeIcon?: IconName;
19
23
  badgeIconDir?: HorizontalDirection;
20
24
  onButtonClick?: MouseEventHandler<HTMLElement>;
21
25
  }
22
- export declare const CardHorizontal: ({ title, icon, description, disabled, infoText, infoUrl, isSelected, isSelectable, children, color, badgeText, badgeState, badgeIcon, badgeIconDir, onButtonClick, ...props }: CardHorizontalProps) => import("react/jsx-runtime").JSX.Element;
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;
23
27
  export {};
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const AWSGlue: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default AWSGlue;
@@ -1 +1 @@
1
- export type LogoName = "clickhouse" | "airbyte" | "aws-s3" | "aws-athena" | "aws-kinesis" | "aws-redshift" | "aws-msk" | "kafka" | "digital_ocean" | "feature_database" | "feature_hexagon" | "fivetran" | "confluent" | "hex" | "tableau" | "grafana" | "superset" | "metabase" | "microsoft" | "aws" | "gcp" | "gcs" | "azure" | "azure-blob-storage" | "azure-event-hub" | "dbeaver" | "dbt" | "jdbc" | "mysql" | "postgres" | "google" | "github" | "decodeable" | "golang" | "prequel" | "python" | "deepnote" | "nodejs" | "datagrip" | "vector" | "kubenetes" | "c#" | "redpanda" | "rust" | "hudi" | "deltalake" | "snowflake" | "mongodb" | "bigquery" | "iceberg" | "upstash" | "warpstream" | "cloudflare" | "databricks" | "mariadb";
1
+ export type LogoName = "clickhouse" | "airbyte" | "aws-s3" | "aws-athena" | "aws-glue" | "aws-kinesis" | "aws-redshift" | "aws-msk" | "kafka" | "digital_ocean" | "feature_database" | "feature_hexagon" | "fivetran" | "confluent" | "hex" | "tableau" | "grafana" | "superset" | "metabase" | "microsoft" | "aws" | "gcp" | "gcs" | "azure" | "azure-blob-storage" | "azure-event-hub" | "dbeaver" | "dbt" | "jdbc" | "mysql" | "postgres" | "google" | "github" | "decodeable" | "golang" | "prequel" | "python" | "deepnote" | "nodejs" | "datagrip" | "vector" | "kubenetes" | "c#" | "redpanda" | "rust" | "hudi" | "deltalake" | "snowflake" | "mongodb" | "bigquery" | "iceberg" | "upstash" | "warpstream" | "cloudflare" | "databricks" | "mariadb";
@@ -993,9 +993,16 @@ export interface Theme {
993
993
  };
994
994
  };
995
995
  "space": {
996
- "y": string;
997
- "x": string;
998
- "gap": string;
996
+ "md": {
997
+ "y": string;
998
+ "x": string;
999
+ "gap": string;
1000
+ };
1001
+ "sm": {
1002
+ "y": string;
1003
+ "x": string;
1004
+ "gap": string;
1005
+ };
999
1006
  };
1000
1007
  "default": {
1001
1008
  "color": {
@@ -993,9 +993,16 @@ declare const _default: {
993
993
  }
994
994
  },
995
995
  "space": {
996
- "y": "0.75rem",
997
- "x": "1.5rem",
998
- "gap": "1rem"
996
+ "md": {
997
+ "y": "0.75rem",
998
+ "x": "1rem",
999
+ "gap": "1rem"
1000
+ },
1001
+ "sm": {
1002
+ "y": "0.5rem",
1003
+ "x": "0.75rem",
1004
+ "gap": "0.75rem"
1005
+ }
999
1006
  },
1000
1007
  "default": {
1001
1008
  "color": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.235",
3
+ "version": "0.0.236",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",