@clickhouse/click-ui 0.0.235 → 0.0.237
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/dist/click-ui.bundled.es.js +141 -155
- package/dist/click-ui.bundled.es.js.map +1 -1
- package/dist/click-ui.bundled.umd.js +141 -155
- package/dist/click-ui.bundled.umd.js.map +1 -1
- package/dist/click-ui.es.js +141 -155
- package/dist/click-ui.es.js.map +1 -1
- package/dist/click-ui.umd.js +141 -155
- package/dist/click-ui.umd.js.map +1 -1
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +5 -1
- package/dist/components/Icon/IconCommon.d.ts +1 -0
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/Logos/AWSGlue.d.ts +4 -0
- package/dist/components/Logos/types.d.ts +1 -1
- package/dist/components/icons/DataLakes.d.ts +4 -0
- package/dist/styles/types.d.ts +10 -3
- package/dist/styles/variables.json.d.ts +10 -3
- package/package.json +1 -1
|
@@ -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 {};
|
|
@@ -53,6 +53,7 @@ export declare const ICONS_MAP: {
|
|
|
53
53
|
"credit-card": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
54
54
|
data: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
database: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
"data-lakes": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
56
57
|
disk: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
57
58
|
display: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
58
59
|
document: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ import { PaymentName, PaymentProps } from '../icons/Payments';
|
|
|
6
6
|
|
|
7
7
|
export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
8
8
|
export type IconState = "default" | "success" | "warning" | "danger" | "info";
|
|
9
|
-
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "bold", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "italic", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "list-bulleted", "list-numbered", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "text-slash", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "underline", "warning", "waves"];
|
|
9
|
+
export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "bold", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "data-lakes", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "italic", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "list-bulleted", "list-numbered", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "mcp", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "text-slash", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "underline", "warning", "waves"];
|
|
10
10
|
export type IconName = (typeof ICON_NAMES)[number];
|
|
11
11
|
export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
|
|
12
12
|
name: IconName;
|
|
@@ -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";
|
package/dist/styles/types.d.ts
CHANGED
|
@@ -993,9 +993,16 @@ export interface Theme {
|
|
|
993
993
|
};
|
|
994
994
|
};
|
|
995
995
|
"space": {
|
|
996
|
-
"
|
|
997
|
-
|
|
998
|
-
|
|
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
|
-
"
|
|
997
|
-
|
|
998
|
-
|
|
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": {
|