@tempots/beatui 0.51.5 → 0.53.0
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/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +28 -27
- package/dist/beatui.css +76 -0
- package/dist/beatui.tailwind.css +76 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1370 -1306
- package/dist/types/components/auth/types.d.ts +1 -1
- package/dist/types/components/overlay/announcement-bar.d.ts +21 -0
- package/dist/types/components/overlay/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15,10 +15,10 @@ export interface SignUpData {
|
|
|
15
15
|
name?: string;
|
|
16
16
|
email: string;
|
|
17
17
|
password: string;
|
|
18
|
+
acceptTerms: boolean;
|
|
18
19
|
}
|
|
19
20
|
export interface SignUpFormData extends SignUpData {
|
|
20
21
|
confirmPassword: string;
|
|
21
|
-
acceptTerms: boolean;
|
|
22
22
|
}
|
|
23
23
|
export interface ResetPasswordData {
|
|
24
24
|
email: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TNode, Value, Renderable } from '@tempots/dom';
|
|
2
|
+
import type { ThemeColorName } from '@/tokens';
|
|
3
|
+
export type AnnouncementBarOptions = {
|
|
4
|
+
color?: Value<ThemeColorName>;
|
|
5
|
+
icon?: Value<string | undefined>;
|
|
6
|
+
closable?: Value<boolean>;
|
|
7
|
+
onDismiss?: () => void;
|
|
8
|
+
class?: Value<string>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* AnnouncementBar component - displays a colored announcement bar at the top center of its container
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```typescript
|
|
15
|
+
* AnnouncementBar(
|
|
16
|
+
* { color: 'warning', closable: true },
|
|
17
|
+
* "You're on our launch Free plan with unlimited resumes and redaction!"
|
|
18
|
+
* )
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function AnnouncementBar({ color, icon, closable, onDismiss, class: cls, }: AnnouncementBarOptions, ...children: TNode[]): Renderable;
|