@clickhouse/click-ui 0.0.105 → 0.0.106

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,6 +1,6 @@
1
- import { HTMLAttributes, ReactNode } from "react";
1
+ import { ReactNode } from "react";
2
2
  import { DialogProps, DialogTriggerProps, DialogContentProps as RadixDialogContentProps } from "@radix-ui/react-dialog";
3
- import { ButtonProps } from "..";
3
+ import { ButtonProps, ContainerProps } from "..";
4
4
  export type FlyoutProps = DialogProps;
5
5
  export declare const Flyout: {
6
6
  ({ modal, ...props }: FlyoutProps): import("react/jsx-runtime").JSX.Element;
@@ -47,26 +47,26 @@ export interface DialogContentProps extends RadixDialogContentProps {
47
47
  strategy?: Strategy;
48
48
  closeOnInteractOutside?: boolean;
49
49
  }
50
- interface ElementProps extends HTMLAttributes<HTMLDivElement> {
50
+ interface ElementProps extends Omit<ContainerProps<"div">, "component" | "padding" | "gap" | "orientation"> {
51
51
  type?: FlyoutType;
52
52
  }
53
- interface TitleHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
53
+ interface TitleHeaderProps extends Omit<ContainerProps<"div">, "orientaion" | "justifyContent" | "alignItems" | "component" | "padding" | "gap" | "children" | "fillWidth"> {
54
54
  title: string;
55
55
  description?: string;
56
56
  type?: FlyoutType;
57
57
  children?: never;
58
58
  }
59
- interface ChildrenHeaderProps extends HTMLAttributes<HTMLDivElement> {
59
+ interface ChildrenHeaderProps extends Omit<ContainerProps<"div">, "orientaion" | "justifyContent" | "alignItems" | "component" | "padding" | "gap" | "fillWidth"> {
60
60
  title?: never;
61
61
  type?: FlyoutType;
62
62
  description?: never;
63
63
  }
64
64
  export type FlyoutHeaderProps = TitleHeaderProps | ChildrenHeaderProps;
65
65
  type FlyoutAlign = "default" | "top";
66
- interface BodyProps extends HTMLAttributes<HTMLDivElement> {
66
+ interface BodyProps extends ContainerProps<"div"> {
67
67
  align?: FlyoutAlign;
68
68
  }
69
- export interface FlyoutFooterProps extends HTMLAttributes<HTMLDivElement> {
69
+ export interface FlyoutFooterProps extends Omit<ContainerProps<"div">, "orientaion" | "justifyContent" | "component" | "padding" | "gap"> {
70
70
  type?: FlyoutType;
71
71
  }
72
72
  interface FlyoutButtonProps extends Omit<ButtonProps, "children"> {
@@ -32,6 +32,7 @@ export declare const ICONS_MAP: {
32
32
  circle: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
33
33
  clock: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
34
34
  cloud: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
35
+ "cloud-keys": (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
35
36
  code: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
36
37
  "code-in-square": (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
37
38
  connect: (props: import("react").SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import { FlagName, FlagProps } from "../icons/Flags";
4
4
  import { LogoName } from "../Logos/types";
5
5
  import { PaymentName, PaymentProps } from "../icons/Payments";
6
6
  export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
7
- 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", "book", "brackets", "briefcase", "building", "burger-menu", "cards", "cell-tower", "chat", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "history", "horizontal-loading", "home", "http", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "lightening", "line-in-circle", "loading", "loading-animated", "metrics", "metrics-alt", "no-cloud", "pause", "payment", "pencil", "pie-chart", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "star", "stop", "support", "table", "taxi", "trash", "upload", "url", "user", "users", "warning", "waves"];
7
+ 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", "book", "brackets", "briefcase", "building", "burger-menu", "cards", "cell-tower", "chat", "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", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "history", "horizontal-loading", "home", "http", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "lightening", "line-in-circle", "loading", "loading-animated", "metrics", "metrics-alt", "no-cloud", "pause", "payment", "pencil", "pie-chart", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "star", "stop", "support", "table", "taxi", "trash", "upload", "url", "user", "users", "warning", "waves"];
8
8
  export type IconName = (typeof ICON_NAMES)[number];
9
9
  export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
10
10
  name: IconName;
@@ -0,0 +1,3 @@
1
+ import { SVGAttributes } from "react";
2
+ declare const CloudKeys: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export default CloudKeys;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.105",
3
+ "version": "0.0.106",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",