@helden-inc/cce-ui 0.1.0 → 0.1.2
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/README.md +47 -67
- package/dist/components/Button.d.ts +5 -2
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Card.d.ts +15 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Input.d.ts +8 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/InputButton.d.ts +16 -0
- package/dist/components/InputButton.d.ts.map +1 -0
- package/dist/components/Select.d.ts +19 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Typography.d.ts +11 -0
- package/dist/components/Typography.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +57 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1019 -536
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,66 @@
|
|
|
1
1
|
import Button from "./components/Button";
|
|
2
2
|
import Input from "./components/Input";
|
|
3
|
+
import InputButton from "./components/InputButton";
|
|
4
|
+
import Select from "./components/Select";
|
|
5
|
+
import Typography from "./components/Typography";
|
|
6
|
+
import Card from "./components/Card";
|
|
3
7
|
import "./index.css";
|
|
4
|
-
export { Button, Input };
|
|
8
|
+
export { Button, Input, InputButton, Select, Typography, Card };
|
|
5
9
|
export * from "./lib/utils";
|
|
6
10
|
declare const CceUi: {
|
|
7
11
|
Button: typeof Button;
|
|
8
|
-
Input:
|
|
12
|
+
Input: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
13
|
+
label?: import("react").ReactNode;
|
|
14
|
+
description?: import("react").ReactNode;
|
|
15
|
+
error?: import("react").ReactNode;
|
|
16
|
+
icon?: import("react").ReactNode;
|
|
17
|
+
wrapperClassName?: string;
|
|
18
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
19
|
+
InputButton: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
20
|
+
label?: import("react").ReactNode;
|
|
21
|
+
description?: import("react").ReactNode;
|
|
22
|
+
error?: import("react").ReactNode;
|
|
23
|
+
icon?: import("react").ReactNode;
|
|
24
|
+
buttonLabel?: import("react").ReactNode;
|
|
25
|
+
buttonProps?: import("react").ButtonHTMLAttributes<HTMLButtonElement>;
|
|
26
|
+
color?: "green" | "orange" | "custom";
|
|
27
|
+
customColor?: string;
|
|
28
|
+
wrapperClassName?: string;
|
|
29
|
+
inputClassName?: string;
|
|
30
|
+
buttonClassName?: string;
|
|
31
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
32
|
+
Select: import("react").ForwardRefExoticComponent<import("react").SelectHTMLAttributes<HTMLSelectElement> & {
|
|
33
|
+
label?: import("react").ReactNode;
|
|
34
|
+
description?: import("react").ReactNode;
|
|
35
|
+
error?: import("react").ReactNode;
|
|
36
|
+
options?: {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
}[];
|
|
41
|
+
placeholder?: string;
|
|
42
|
+
icon?: import("react").ReactNode;
|
|
43
|
+
searchable?: boolean;
|
|
44
|
+
onValueChange?: (value: string | string[]) => void;
|
|
45
|
+
wrapperClassName?: string;
|
|
46
|
+
} & import("react").RefAttributes<HTMLSelectElement>>;
|
|
47
|
+
Typography: import("react").ForwardRefExoticComponent<{
|
|
48
|
+
as?: import("react").ElementType;
|
|
49
|
+
variant?: "body" | "h1" | "h2" | "tussenkop";
|
|
50
|
+
children: import("react").ReactNode;
|
|
51
|
+
className?: string;
|
|
52
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
53
|
+
Card: ({ image, badge, title, description, action, orientation, accent, className, bodyClassName, }: {
|
|
54
|
+
image?: import("react").ReactNode;
|
|
55
|
+
badge?: import("react").ReactNode;
|
|
56
|
+
title?: import("react").ReactNode;
|
|
57
|
+
description?: import("react").ReactNode;
|
|
58
|
+
action?: import("react").ReactNode;
|
|
59
|
+
orientation?: "vertical" | "horizontal";
|
|
60
|
+
accent?: string;
|
|
61
|
+
className?: string;
|
|
62
|
+
bodyClassName?: string;
|
|
63
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
64
|
};
|
|
10
65
|
export default CceUi;
|
|
11
66
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,KAAK,MAAM,oBAAoB,CAAC;AACvC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,KAAK,MAAM,oBAAoB,CAAC;AACvC,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AAChE,cAAc,aAAa,CAAC;AAE5B,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2D,CAAC;AACvE,eAAe,KAAK,CAAC"}
|