@firecms/ui 3.0.0-beta.2-pre.5 → 3.0.0-beta.3
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/components/Button.d.ts +2 -1
- package/dist/components/IconButton.d.ts +1 -1
- package/dist/components/Separator.d.ts +4 -0
- package/dist/components/TextField.d.ts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/icons/HandleIcon.d.ts +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/index.es.js +7594 -7528
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -10
- package/dist/index.umd.js.map +1 -1
- package/package.json +11 -2
- package/src/components/Alert.tsx +2 -1
- package/src/components/Button.tsx +64 -30
- package/src/components/ExpandablePanel.tsx +1 -0
- package/src/components/IconButton.tsx +4 -3
- package/src/components/Popover.tsx +2 -1
- package/src/components/Separator.tsx +22 -0
- package/src/components/Tabs.tsx +1 -1
- package/src/components/TextField.tsx +23 -8
- package/src/components/Tooltip.tsx +1 -1
- package/src/components/index.tsx +2 -1
- package/src/icons/HandleIcon.tsx +10 -0
- package/src/icons/index.ts +1 -0
- package/src/scripts/saveIconFiles.ts +1 -1
@@ -2,10 +2,11 @@ import React from "react";
|
|
2
2
|
export type ButtonProps<P extends React.ElementType> = Omit<(P extends "button" ? React.ButtonHTMLAttributes<HTMLButtonElement> : React.ComponentProps<P>), "onClick"> & {
|
3
3
|
variant?: "filled" | "outlined" | "text";
|
4
4
|
disabled?: boolean;
|
5
|
+
color?: "primary" | "secondary" | "text" | "error";
|
5
6
|
size?: "small" | "medium" | "large";
|
6
7
|
startIcon?: React.ReactNode;
|
7
8
|
fullWidth?: boolean;
|
8
9
|
className?: string;
|
9
10
|
onClick?: React.MouseEventHandler<any>;
|
10
11
|
};
|
11
|
-
export declare
|
12
|
+
export declare const Button: React.FC<ButtonProps<any>>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from "react";
|
2
2
|
export type IconButtonProps<C extends React.ElementType> = Omit<(C extends "button" ? React.ButtonHTMLAttributes<HTMLButtonElement> : React.ComponentProps<C>), "onClick"> & {
|
3
|
-
size?: "medium" | "small" | "large";
|
3
|
+
size?: "medium" | "small" | "smallest" | "large";
|
4
4
|
variant?: "ghost" | "filled";
|
5
5
|
shape?: "circular" | "square";
|
6
6
|
disabled?: boolean;
|
@@ -18,6 +18,6 @@ export type TextFieldProps<T extends string | number> = {
|
|
18
18
|
style?: React.CSSProperties;
|
19
19
|
inputClassName?: string;
|
20
20
|
inputStyle?: React.CSSProperties;
|
21
|
-
inputRef?: React.
|
21
|
+
inputRef?: React.ForwardedRef<any>;
|
22
22
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">;
|
23
23
|
export declare function TextField<T extends string | number>({ value, onChange, label, type, multiline, invisible, rows, disabled, error, endAdornment, autoFocus, placeholder, size, className, style, inputClassName, inputStyle, inputRef: inputRefProp, ...inputProps }: TextFieldProps<T>): import("react/jsx-runtime").JSX.Element;
|
@@ -4,7 +4,7 @@ export type TooltipProps = {
|
|
4
4
|
onOpenChange?: (open: boolean) => void;
|
5
5
|
side?: "top" | "bottom" | "left" | "right";
|
6
6
|
sideOffset?: number;
|
7
|
-
title?: string;
|
7
|
+
title?: string | React.ReactNode;
|
8
8
|
delayDuration?: number;
|
9
9
|
className?: string;
|
10
10
|
tooltipClassName?: string;
|
@@ -25,8 +25,9 @@ export * from "./Markdown";
|
|
25
25
|
export * from "./Menu";
|
26
26
|
export * from "./MultiSelect";
|
27
27
|
export * from "./Paper";
|
28
|
-
export * from "./Select";
|
29
28
|
export * from "./SearchBar";
|
29
|
+
export * from "./Select";
|
30
|
+
export * from "./Separator";
|
30
31
|
export * from "./Sheet";
|
31
32
|
export * from "./Spinner";
|
32
33
|
export * from "./TextareaAutosize";
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function HandleIcon(): import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/index.d.ts
CHANGED
@@ -2,6 +2,7 @@ export * from "./icon_keys";
|
|
2
2
|
export * from "./cool_icon_keys";
|
3
3
|
export * from "./Icon";
|
4
4
|
export * from "./GitHubIcon";
|
5
|
+
export * from "./HandleIcon";
|
5
6
|
export * from "./components/_10kIcon";
|
6
7
|
export * from "./components/_10mpIcon";
|
7
8
|
export * from "./components/_11mpIcon";
|