@hubspot/ui-extensions 0.0.1-prealpha.1 → 0.0.1-prealpha.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/package.json +2 -2
- package/types.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/ui-extensions",
|
|
3
|
-
"version": "0.0.1-prealpha.
|
|
3
|
+
"version": "0.0.1-prealpha.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"@remote-ui/react": "^5.0.0",
|
|
14
14
|
"react": "^18.2.0"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "236831146a8ce8906c080b3f555a8ff50d6f12da"
|
|
17
17
|
}
|
package/types.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface ButtonProps {
|
|
|
14
14
|
href?: string;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
variant?: 'primary' | 'secondary' | 'destructive';
|
|
17
|
+
type?: 'button' | 'reset' | 'submit';
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
export interface ButtonRowProps {
|
|
@@ -47,7 +48,8 @@ export interface DividerProps {
|
|
|
47
48
|
|
|
48
49
|
export interface FormProps {
|
|
49
50
|
children: ReactNode;
|
|
50
|
-
onSubmit
|
|
51
|
+
onSubmit?: () => void;
|
|
52
|
+
preventDefault?: boolean;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
export interface HeadingProps {
|