@clickhouse/click-ui 0.0.177 → 0.0.179
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.es.js +716 -88
- package/dist/click-ui.umd.js +977 -349
- package/dist/components/Link/Link.d.ts +1 -2
- package/dist/components/Link/common.d.ts +7 -0
- package/dist/components/Logos/DigitalOcean.d.ts +4 -0
- package/dist/components/Logos/types.d.ts +1 -1
- package/dist/components/Panel/Panel.d.ts +11 -10
- package/dist/components/cursorOptions.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/types.d.ts +2 -0
- package/dist/styles/types.d.ts +14 -0
- package/dist/styles/variables.classic.json.d.ts +12 -0
- package/dist/styles/variables.dark.json.d.ts +12 -0
- package/dist/styles/variables.json.d.ts +15 -1
- package/dist/styles/variables.light.json.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ElementType, ReactEventHandler, ReactNode } from 'react';
|
|
2
2
|
import { IconName } from '..';
|
|
3
|
+
import { TextSize, TextWeight } from './common';
|
|
3
4
|
|
|
4
|
-
type TextSize = "xs" | "sm" | "md" | "lg";
|
|
5
|
-
type TextWeight = "normal" | "medium" | "semibold" | "bold";
|
|
6
5
|
export interface LinkProps<T extends ElementType = "a"> {
|
|
7
6
|
size?: TextSize;
|
|
8
7
|
weight?: TextWeight;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type TextSize = "xs" | "sm" | "md" | "lg";
|
|
2
|
+
export type TextWeight = "normal" | "medium" | "semibold" | "bold";
|
|
3
|
+
export type StyledLinkProps = {
|
|
4
|
+
$size: TextSize;
|
|
5
|
+
$weight: TextWeight;
|
|
6
|
+
};
|
|
7
|
+
export declare const linkStyles: import('styled-components').RuleSet<StyledLinkProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type LogoName = "clickhouse" | "airbyte" | "aws-s3" | "aws-athena" | "aws-kinesis" | "aws-redshift" | "aws-msk" | "kafka" | "feature_database" | "feature_hexagon" | "fivetran" | "confluent" | "hex" | "tableau" | "grafana" | "superset" | "metabase" | "microsoft" | "aws" | "gcp" | "gcs" | "azure" | "azure-event-hub" | "dbeaver" | "dbt" | "jdbc" | "mysql" | "postgres" | "postgres_cdc" | "google" | "github" | "decodeable" | "golang" | "prequel" | "python" | "deepnote" | "nodejs" | "datagrip" | "vector" | "kubenetes" | "c#" | "redpanda" | "rust" | "hudi" | "deltalake" | "snowflake" | "mongodb" | "bigquery" | "iceberg" | "upstash" | "warpstream";
|
|
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-event-hub" | "dbeaver" | "dbt" | "jdbc" | "mysql" | "postgres" | "postgres_cdc" | "google" | "github" | "decodeable" | "golang" | "prequel" | "python" | "deepnote" | "nodejs" | "datagrip" | "vector" | "kubenetes" | "c#" | "redpanda" | "rust" | "hudi" | "deltalake" | "snowflake" | "mongodb" | "bigquery" | "iceberg" | "upstash" | "warpstream";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Orientation } from '..';
|
|
1
|
+
import { CursorOptions, Orientation } from '..';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
export type PanelPadding = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
@@ -6,19 +6,20 @@ export type PanelColor = "default" | "muted" | "transparent";
|
|
|
6
6
|
export type PanelRadii = "none" | "sm" | "md" | "lg";
|
|
7
7
|
type AlignItemsOption = "start" | "center" | "end";
|
|
8
8
|
export interface PanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
alignItems?: AlignItemsOption;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
color?: PanelColor;
|
|
12
|
+
cursor?: CursorOptions;
|
|
13
|
+
fillHeight?: boolean;
|
|
14
|
+
fillWidth?: boolean;
|
|
15
|
+
gap?: PanelPadding;
|
|
9
16
|
hasBorder?: boolean;
|
|
10
17
|
hasShadow?: boolean;
|
|
11
|
-
|
|
18
|
+
height?: string;
|
|
19
|
+
orientation?: Orientation;
|
|
12
20
|
padding?: PanelPadding;
|
|
13
|
-
gap?: PanelPadding;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
21
|
radii?: PanelRadii;
|
|
16
|
-
orientation?: Orientation;
|
|
17
22
|
width?: string;
|
|
18
|
-
fillWidth?: boolean;
|
|
19
|
-
height?: string;
|
|
20
|
-
fillHeight?: boolean;
|
|
21
|
-
alignItems?: AlignItemsOption;
|
|
22
23
|
}
|
|
23
|
-
export declare const Panel: ({
|
|
24
|
+
export declare const Panel: ({ alignItems, children, color, cursor, fillHeight, fillWidth, gap, hasBorder, hasShadow, height, orientation, padding, radii, width, ...props }: PanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CursorOptions = "auto" | "default" | "none" | "context-menu" | "help" | "pointer" | "progress" | "wait" | "cell" | "crosshair" | "text" | "vertical-text" | "alias" | "copy" | "move" | "no-drop" | "not-allowed" | "grab" | "grabbing" | "e-resize" | "n-resize" | "ne-resize" | "nw-resize" | "s-resize" | "se-resize" | "sw-resize" | "w-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "col-resize" | "row-resize" | "all-scroll" | "zoom-in" | "zoom-out";
|
|
@@ -32,6 +32,7 @@ export { default as Flags } from './icons/Flags';
|
|
|
32
32
|
export { Grid } from './Grid/Grid';
|
|
33
33
|
export { HoverCard } from './HoverCard/HoverCard';
|
|
34
34
|
export { Link } from './Link/Link';
|
|
35
|
+
export { linkStyles } from './Link/common';
|
|
35
36
|
export { Logo } from './Logos/Logo';
|
|
36
37
|
export { NumberField } from './Input/NumberField';
|
|
37
38
|
export { PasswordField } from './Input/PasswordField';
|
|
@@ -48,6 +48,7 @@ export type { CardHorizontalProps } from './CardHorizontal/CardHorizontal';
|
|
|
48
48
|
export type { CardPromotionProps } from './CardPromotion/CardPromotion';
|
|
49
49
|
export type { ProgressBarProps } from './ProgressBar/ProgressBar';
|
|
50
50
|
export type { GridProps, CellProps, SelectedRegion, SelectionFocus, SelectionAction, GridContextMenuItemProps, Rectangle, } from './Grid/types';
|
|
51
|
+
export type { StyledLinkProps } from './Link/common';
|
|
51
52
|
export type States = "default" | "active" | "disabled" | "error" | "hover";
|
|
52
53
|
export type HorizontalDirection = "start" | "end";
|
|
53
54
|
export type Orientation = "horizontal" | "vertical";
|
|
@@ -58,6 +59,7 @@ export type { ContextMenuItemProps } from './ContextMenu/ContextMenu';
|
|
|
58
59
|
export type { GenericLabelProps } from './GenericLabel/GenericLabel';
|
|
59
60
|
export type { MultiAccordionProps } from './MultiAccordion/MultiAccordion';
|
|
60
61
|
export type { CheckboxVariants } from './Checkbox/Checkbox';
|
|
62
|
+
export type { CursorOptions } from './cursorOptions';
|
|
61
63
|
export type { IconButtonProps };
|
|
62
64
|
export type { AlertProps };
|
|
63
65
|
export type { AvatarProps };
|
package/dist/styles/types.d.ts
CHANGED
|
@@ -3015,11 +3015,24 @@ export interface Theme {
|
|
|
3015
3015
|
};
|
|
3016
3016
|
};
|
|
3017
3017
|
};
|
|
3018
|
+
"serviceCard": {
|
|
3019
|
+
"color": {
|
|
3020
|
+
"background": {
|
|
3021
|
+
"default": string;
|
|
3022
|
+
"hover": string;
|
|
3023
|
+
};
|
|
3024
|
+
"stroke": {
|
|
3025
|
+
"default": string;
|
|
3026
|
+
"hover": string;
|
|
3027
|
+
};
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3018
3030
|
};
|
|
3019
3031
|
"transition": {
|
|
3020
3032
|
"default": string;
|
|
3021
3033
|
"duration": {
|
|
3022
3034
|
"slow": string;
|
|
3035
|
+
"smooth": string;
|
|
3023
3036
|
"medium": string;
|
|
3024
3037
|
"fast": string;
|
|
3025
3038
|
};
|
|
@@ -3471,6 +3484,7 @@ export interface Theme {
|
|
|
3471
3484
|
"2": string;
|
|
3472
3485
|
"3": string;
|
|
3473
3486
|
"4": string;
|
|
3487
|
+
"5": string;
|
|
3474
3488
|
};
|
|
3475
3489
|
"breakpoint": {
|
|
3476
3490
|
"sizes": {
|
|
@@ -860,6 +860,18 @@ declare const _default: {
|
|
|
860
860
|
"slate": "#9a9ea7"
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
+
},
|
|
864
|
+
"serviceCard": {
|
|
865
|
+
"color": {
|
|
866
|
+
"background": {
|
|
867
|
+
"default": "#FBFCFF",
|
|
868
|
+
"hover": "lch(99 1.55 272)"
|
|
869
|
+
},
|
|
870
|
+
"stroke": {
|
|
871
|
+
"default": "#e6e7e9",
|
|
872
|
+
"hover": "rgb(81% 82.1% 83.6%)"
|
|
873
|
+
}
|
|
874
|
+
}
|
|
863
875
|
}
|
|
864
876
|
},
|
|
865
877
|
"name": "classic",
|
|
@@ -1617,6 +1617,18 @@ declare const _default: {
|
|
|
1617
1617
|
"slate": "#9a9ea7"
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
+
},
|
|
1621
|
+
"serviceCard": {
|
|
1622
|
+
"color": {
|
|
1623
|
+
"background": {
|
|
1624
|
+
"default": "rgb(17.8% 17.8% 17.8%)",
|
|
1625
|
+
"hover": "lch(19.1 0 0)"
|
|
1626
|
+
},
|
|
1627
|
+
"stroke": {
|
|
1628
|
+
"default": "rgb(23.6% 23.6% 23.6%)",
|
|
1629
|
+
"hover": "rgb(27.4% 27.4% 27.4%)"
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1620
1632
|
}
|
|
1621
1633
|
},
|
|
1622
1634
|
"name": "dark",
|
|
@@ -3014,12 +3014,25 @@ declare const _default: {
|
|
|
3014
3014
|
"slate": "#9a9ea7"
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
|
+
},
|
|
3018
|
+
"serviceCard": {
|
|
3019
|
+
"color": {
|
|
3020
|
+
"background": {
|
|
3021
|
+
"default": "#FBFCFF",
|
|
3022
|
+
"hover": "lch(99 1.55 272)"
|
|
3023
|
+
},
|
|
3024
|
+
"stroke": {
|
|
3025
|
+
"default": "#e6e7e9",
|
|
3026
|
+
"hover": "rgb(81% 82.1% 83.6%)"
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3017
3029
|
}
|
|
3018
3030
|
},
|
|
3019
3031
|
"transition": {
|
|
3020
3032
|
"default": "all 100ms ease-in 0ms",
|
|
3021
3033
|
"duration": {
|
|
3022
3034
|
"slow": "300ms",
|
|
3035
|
+
"smooth": "150ms",
|
|
3023
3036
|
"medium": "100ms",
|
|
3024
3037
|
"fast": "50ms"
|
|
3025
3038
|
},
|
|
@@ -3470,7 +3483,8 @@ declare const _default: {
|
|
|
3470
3483
|
"1": "0 4px 6px -1px lch(6.77 0 0 / 0.15), 0 2px 4px -1px lch(6.77 0 0 / 0.15)",
|
|
3471
3484
|
"2": "0 4px 4px 0 rgba(88, 92, 98, 0.06), inset 5px 0 10px 0 rgba(104, 105, 111, 0.1)",
|
|
3472
3485
|
"3": "-5px 0 20px 0 rgba(0, 0, 0, 0.08), -6px 0 10px 0 rgba(0, 0, 0, 0.08)",
|
|
3473
|
-
"4": "5px 0 20px 0 rgba(0, 0, 0, 0.08), 6px 0 10px 0 rgba(0, 0, 0, 0.08)"
|
|
3486
|
+
"4": "5px 0 20px 0 rgba(0, 0, 0, 0.08), 6px 0 10px 0 rgba(0, 0, 0, 0.08)",
|
|
3487
|
+
"5": "0 2px 2px 0 rgba(0, 0, 0, 0.03)"
|
|
3474
3488
|
},
|
|
3475
3489
|
"breakpoint": {
|
|
3476
3490
|
"sizes": {
|
|
@@ -1604,6 +1604,18 @@ declare const _default: {
|
|
|
1604
1604
|
"slate": "#9a9ea7"
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
|
+
},
|
|
1608
|
+
"serviceCard": {
|
|
1609
|
+
"color": {
|
|
1610
|
+
"background": {
|
|
1611
|
+
"default": "#FBFCFF",
|
|
1612
|
+
"hover": "lch(99 1.55 272)"
|
|
1613
|
+
},
|
|
1614
|
+
"stroke": {
|
|
1615
|
+
"default": "#e6e7e9",
|
|
1616
|
+
"hover": "rgb(81% 82.1% 83.6%)"
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1607
1619
|
}
|
|
1608
1620
|
},
|
|
1609
1621
|
"name": "light",
|