@deckai/deck-ui 0.0.23 → 0.0.24
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/AutocompleteInput.d.cts +1 -1
- package/dist/components/AutocompleteInput.d.ts +1 -1
- package/dist/components/Input.d.cts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Text.d.cts +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/Toast.d.cts +1 -1
- package/dist/components/Toast.d.ts +1 -1
- package/package.json +5 -7
|
@@ -21,7 +21,7 @@ declare const AutocompleteInput: React__default.ForwardRefExoticComponent<{
|
|
|
21
21
|
onKeyDown?: ((event: KeyboardEvent<HTMLInputElement>) => void) | undefined;
|
|
22
22
|
"aria-controls"?: string | undefined;
|
|
23
23
|
"aria-activedescendant"?: string | undefined;
|
|
24
|
-
"aria-autocomplete"?: "none" | "
|
|
24
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
25
25
|
} & Omit<InputProps, "onChange" | "onKeyDown" | "value"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
26
26
|
|
|
27
27
|
export { AutocompleteInput, type AutocompleteInputProps };
|
|
@@ -21,7 +21,7 @@ declare const AutocompleteInput: React__default.ForwardRefExoticComponent<{
|
|
|
21
21
|
onKeyDown?: ((event: KeyboardEvent<HTMLInputElement>) => void) | undefined;
|
|
22
22
|
"aria-controls"?: string | undefined;
|
|
23
23
|
"aria-activedescendant"?: string | undefined;
|
|
24
|
-
"aria-autocomplete"?: "none" | "
|
|
24
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
25
25
|
} & Omit<InputProps, "onChange" | "onKeyDown" | "value"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
26
26
|
|
|
27
27
|
export { AutocompleteInput, type AutocompleteInputProps };
|
|
@@ -47,6 +47,6 @@ declare const Input: React.ForwardRefExoticComponent<{
|
|
|
47
47
|
showCharacterCount?: boolean | undefined;
|
|
48
48
|
/** Maximum number of characters */
|
|
49
49
|
maxLength?: number | undefined;
|
|
50
|
-
} & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "
|
|
50
|
+
} & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "size" | "title"> & React.RefAttributes<HTMLInputElement>>;
|
|
51
51
|
|
|
52
52
|
export { Input, type InputProps };
|
|
@@ -47,6 +47,6 @@ declare const Input: React.ForwardRefExoticComponent<{
|
|
|
47
47
|
showCharacterCount?: boolean | undefined;
|
|
48
48
|
/** Maximum number of characters */
|
|
49
49
|
maxLength?: number | undefined;
|
|
50
|
-
} & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "
|
|
50
|
+
} & React.InputHTMLAttributes<HTMLInputElement> & Pick<IconProps, "color" | "size" | "title"> & React.RefAttributes<HTMLInputElement>>;
|
|
51
51
|
|
|
52
52
|
export { Input, type InputProps };
|
|
@@ -37,6 +37,6 @@ type TextProps<T extends TextElement = "p"> = {
|
|
|
37
37
|
children: React__default.ReactNode;
|
|
38
38
|
weight?: Weight;
|
|
39
39
|
} & HTMLPropsMap[T];
|
|
40
|
-
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<
|
|
40
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLElement | HTMLParagraphElement | HTMLSpanElement | HTMLHeadingElement | HTMLQuoteElement | HTMLPreElement | HTMLLabelElement | HTMLAnchorElement>>;
|
|
41
41
|
|
|
42
42
|
export { Text, type TextProps };
|
|
@@ -37,6 +37,6 @@ type TextProps<T extends TextElement = "p"> = {
|
|
|
37
37
|
children: React__default.ReactNode;
|
|
38
38
|
weight?: Weight;
|
|
39
39
|
} & HTMLPropsMap[T];
|
|
40
|
-
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<
|
|
40
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLElement | HTMLParagraphElement | HTMLSpanElement | HTMLHeadingElement | HTMLQuoteElement | HTMLPreElement | HTMLLabelElement | HTMLAnchorElement>>;
|
|
41
41
|
|
|
42
42
|
export { Text, type TextProps };
|
|
@@ -35,7 +35,7 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastPr
|
|
|
35
35
|
/** Secondary action button configuration */
|
|
36
36
|
secondaryAction?: ToastAction | undefined;
|
|
37
37
|
/** Optional variant to change the visual style */
|
|
38
|
-
variant?: "
|
|
38
|
+
variant?: "error" | "default" | "success" | "warning" | undefined;
|
|
39
39
|
/** Whether to allow dismissing by clicking outside */
|
|
40
40
|
allowOutsideClick?: boolean | undefined;
|
|
41
41
|
/** Optional className for custom styling */
|
|
@@ -35,7 +35,7 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastPr
|
|
|
35
35
|
/** Secondary action button configuration */
|
|
36
36
|
secondaryAction?: ToastAction | undefined;
|
|
37
37
|
/** Optional variant to change the visual style */
|
|
38
|
-
variant?: "
|
|
38
|
+
variant?: "error" | "default" | "success" | "warning" | undefined;
|
|
39
39
|
/** Whether to allow dismissing by clicking outside */
|
|
40
40
|
allowOutsideClick?: boolean | undefined;
|
|
41
41
|
/** Optional className for custom styling */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deckai/deck-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public",
|
|
@@ -52,18 +52,14 @@
|
|
|
52
52
|
"version": "bun run changeset version"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@types/react": "^
|
|
56
|
-
"@types/react-dom": "^
|
|
55
|
+
"@types/react": "^19.0.10",
|
|
56
|
+
"@types/react-dom": "^19.0.4",
|
|
57
57
|
"class-variance-authority": "^0.7.0",
|
|
58
58
|
"esbuild-plugin-svgr": "^3.0.0",
|
|
59
59
|
"tailwindcss": "^3.4.14",
|
|
60
60
|
"ts-node": "^10.9.2",
|
|
61
61
|
"tsup": "^8.3.5"
|
|
62
62
|
},
|
|
63
|
-
"peerDependencies": {
|
|
64
|
-
"react": "^18.3.1",
|
|
65
|
-
"react-dom": "^18.3.1"
|
|
66
|
-
},
|
|
67
63
|
"dependencies": {
|
|
68
64
|
"@deckai/icons": "^0.0.8",
|
|
69
65
|
"@radix-ui/react-accordion": "^1.2.2",
|
|
@@ -79,6 +75,8 @@
|
|
|
79
75
|
"@radix-ui/react-toast": "^1.2.4",
|
|
80
76
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
81
77
|
"clsx": "^2.1.1",
|
|
78
|
+
"react": "^19.0.0",
|
|
79
|
+
"react-dom": "^19.0.0",
|
|
82
80
|
"tailwind-merge": "^2.5.4",
|
|
83
81
|
"tailwindcss-animate": "^1.0.7"
|
|
84
82
|
}
|