@freeappstore/sdk 0.14.26 → 0.14.28
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/logger.d.ts +1 -1
- package/dist/logger.js +1 -1
- package/dist/ui/components.d.ts +14 -14
- package/dist/ui/components.d.ts.map +1 -1
- package/dist/ui/core.d.ts +4 -4
- package/dist/ui/core.d.ts.map +1 -1
- package/dist/ui/friends.d.ts +3 -3
- package/dist/ui/friends.d.ts.map +1 -1
- package/dist/ui/layout.d.ts +3 -3
- package/dist/ui/layout.d.ts.map +1 -1
- package/dist/ui/voice.d.ts +2 -2
- package/dist/ui/voice.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/logger.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface BuildMeta {
|
|
|
35
35
|
viewport: string;
|
|
36
36
|
theme?: string | undefined;
|
|
37
37
|
}
|
|
38
|
-
export declare const SDK_VERSION = "0.14.
|
|
38
|
+
export declare const SDK_VERSION = "0.14.27";
|
|
39
39
|
export declare class Logger {
|
|
40
40
|
private readonly appId;
|
|
41
41
|
private readonly apiBase;
|
package/dist/logger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Must track package.json version — bumped on release. Guarded by version.test.ts
|
|
2
2
|
// so a forgotten bump fails CI instead of silently misattributing telemetry.
|
|
3
|
-
export const SDK_VERSION = '0.14.
|
|
3
|
+
export const SDK_VERSION = '0.14.27';
|
|
4
4
|
const MEMORY_LIMIT = 200;
|
|
5
5
|
const STORAGE_LIMIT = 500;
|
|
6
6
|
const STORAGE_KEY_PREFIX = 'fas_logs:';
|
package/dist/ui/components.d.ts
CHANGED
|
@@ -4,20 +4,20 @@ export interface SpinnerProps {
|
|
|
4
4
|
size?: number;
|
|
5
5
|
color?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function Spinner({ size, color }: SpinnerProps): import("react
|
|
7
|
+
export declare function Spinner({ size, color }: SpinnerProps): import("react").JSX.Element;
|
|
8
8
|
export interface BadgeProps {
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
variant?: 'default' | 'accent' | 'success' | 'warning' | 'danger';
|
|
11
11
|
style?: CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
export declare function Badge({ children, variant, style: extraStyle }: BadgeProps): import("react
|
|
13
|
+
export declare function Badge({ children, variant, style: extraStyle }: BadgeProps): import("react").JSX.Element;
|
|
14
14
|
export interface CardProps {
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
onClick?: () => void;
|
|
17
17
|
padding?: string;
|
|
18
18
|
style?: CSSProperties;
|
|
19
19
|
}
|
|
20
|
-
export declare function Card({ children, onClick, padding, style: extraStyle }: CardProps): import("react
|
|
20
|
+
export declare function Card({ children, onClick, padding, style: extraStyle }: CardProps): import("react").JSX.Element;
|
|
21
21
|
export interface TabsProps {
|
|
22
22
|
tabs: Array<{
|
|
23
23
|
key: string;
|
|
@@ -27,7 +27,7 @@ export interface TabsProps {
|
|
|
27
27
|
onChange: (key: string) => void;
|
|
28
28
|
style?: CSSProperties;
|
|
29
29
|
}
|
|
30
|
-
export declare function Tabs({ tabs, active, onChange, style: extraStyle }: TabsProps): import("react
|
|
30
|
+
export declare function Tabs({ tabs, active, onChange, style: extraStyle }: TabsProps): import("react").JSX.Element;
|
|
31
31
|
export interface ModalProps {
|
|
32
32
|
open: boolean;
|
|
33
33
|
onClose: () => void;
|
|
@@ -35,7 +35,7 @@ export interface ModalProps {
|
|
|
35
35
|
title?: string;
|
|
36
36
|
maxWidth?: number;
|
|
37
37
|
}
|
|
38
|
-
export declare function Modal({ open, onClose, children, title, maxWidth }: ModalProps): import("react
|
|
38
|
+
export declare function Modal({ open, onClose, children, title, maxWidth }: ModalProps): import("react").JSX.Element | null;
|
|
39
39
|
export interface ConfirmDialogProps {
|
|
40
40
|
open: boolean;
|
|
41
41
|
onConfirm: () => void;
|
|
@@ -45,14 +45,14 @@ export interface ConfirmDialogProps {
|
|
|
45
45
|
confirmLabel?: string;
|
|
46
46
|
variant?: 'danger' | 'default';
|
|
47
47
|
}
|
|
48
|
-
export declare function ConfirmDialog({ open, onConfirm, onCancel, title, message, confirmLabel, variant, }: ConfirmDialogProps): import("react
|
|
48
|
+
export declare function ConfirmDialog({ open, onConfirm, onCancel, title, message, confirmLabel, variant, }: ConfirmDialogProps): import("react").JSX.Element;
|
|
49
49
|
export interface EmptyStateProps {
|
|
50
50
|
icon?: ReactNode;
|
|
51
51
|
title?: string;
|
|
52
52
|
message: string;
|
|
53
53
|
action?: ReactNode;
|
|
54
54
|
}
|
|
55
|
-
export declare function EmptyState({ icon, title, message, action }: EmptyStateProps): import("react
|
|
55
|
+
export declare function EmptyState({ icon, title, message, action }: EmptyStateProps): import("react").JSX.Element;
|
|
56
56
|
export interface ProgressBarProps {
|
|
57
57
|
value: number;
|
|
58
58
|
max?: number;
|
|
@@ -60,14 +60,14 @@ export interface ProgressBarProps {
|
|
|
60
60
|
height?: number;
|
|
61
61
|
label?: string;
|
|
62
62
|
}
|
|
63
|
-
export declare function ProgressBar({ value, max, color, height, label, }: ProgressBarProps): import("react
|
|
63
|
+
export declare function ProgressBar({ value, max, color, height, label, }: ProgressBarProps): import("react").JSX.Element;
|
|
64
64
|
export interface SearchInputProps {
|
|
65
65
|
value: string;
|
|
66
66
|
onChange: (value: string) => void;
|
|
67
67
|
placeholder?: string;
|
|
68
68
|
style?: CSSProperties;
|
|
69
69
|
}
|
|
70
|
-
export declare function SearchInput({ value, onChange, placeholder, style: extraStyle, }: SearchInputProps): import("react
|
|
70
|
+
export declare function SearchInput({ value, onChange, placeholder, style: extraStyle, }: SearchInputProps): import("react").JSX.Element;
|
|
71
71
|
export interface ListRowProps {
|
|
72
72
|
icon?: ReactNode;
|
|
73
73
|
title: string;
|
|
@@ -75,7 +75,7 @@ export interface ListRowProps {
|
|
|
75
75
|
trailing?: ReactNode;
|
|
76
76
|
onClick?: () => void;
|
|
77
77
|
}
|
|
78
|
-
export declare function ListRow({ icon, title, subtitle, trailing, onClick }: ListRowProps): import("react
|
|
78
|
+
export declare function ListRow({ icon, title, subtitle, trailing, onClick }: ListRowProps): import("react").JSX.Element;
|
|
79
79
|
export interface ErrorBoundaryProps {
|
|
80
80
|
children: ReactNode;
|
|
81
81
|
fallback?: ReactNode;
|
|
@@ -86,7 +86,7 @@ interface ErrorBoundaryState {
|
|
|
86
86
|
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
87
87
|
state: ErrorBoundaryState;
|
|
88
88
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
89
|
-
render(): string | number | bigint | boolean | import("react
|
|
89
|
+
render(): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
90
90
|
}
|
|
91
91
|
export interface KeyPromptProps {
|
|
92
92
|
app: FreeAppStore;
|
|
@@ -114,7 +114,7 @@ export interface BuildInfoProps {
|
|
|
114
114
|
* VITE_COMMIT_SHA: ${{ github.sha }}
|
|
115
115
|
* VITE_BUILD_DATE: ${{ github.event.head_commit.timestamp }}
|
|
116
116
|
*/
|
|
117
|
-
export declare function BuildInfo({ version, commit, buildDate, extra }: BuildInfoProps): import("react
|
|
117
|
+
export declare function BuildInfo({ version, commit, buildDate, extra }: BuildInfoProps): import("react").JSX.Element | null;
|
|
118
118
|
export interface FooterProps {
|
|
119
119
|
/** Override the default "Part of FreeAppStore" text. */
|
|
120
120
|
text?: string;
|
|
@@ -132,13 +132,13 @@ export interface FooterProps {
|
|
|
132
132
|
* The Shell component includes this automatically. Use Footer directly only
|
|
133
133
|
* if you're building a custom layout without Shell.
|
|
134
134
|
*/
|
|
135
|
-
export declare function Footer({ text }: FooterProps): import("react
|
|
135
|
+
export declare function Footer({ text }: FooterProps): import("react").JSX.Element | null;
|
|
136
136
|
/**
|
|
137
137
|
* Returns true when the app is running in PWA standalone mode (installed
|
|
138
138
|
* to home screen). Use this to add bottom padding to your content area
|
|
139
139
|
* so it doesn't sit behind the Footer.
|
|
140
140
|
*/
|
|
141
141
|
export declare function useStandalone(): boolean;
|
|
142
|
-
export declare function KeyPrompt({ app, provider, providerName, message }: KeyPromptProps): import("react
|
|
142
|
+
export declare function KeyPrompt({ app, provider, providerName, message }: KeyPromptProps): import("react").JSX.Element;
|
|
143
143
|
export {};
|
|
144
144
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/ui/components.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAehD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAS,EAAE,KAAuB,EAAE,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/ui/components.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAehD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAS,EAAE,KAAuB,EAAE,EAAE,YAAY,+BAa3E;AAMD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SA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DAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,WAAW,sCAoD3C;AAED;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAiBvC;AAED,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,cAAc,+BAsEjF"}
|
package/dist/ui/core.d.ts
CHANGED
|
@@ -5,15 +5,15 @@ export interface AvatarProps {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
}
|
|
7
7
|
/** GitHub avatar with fallback to colored initial circle. */
|
|
8
|
-
export declare function Avatar({ user, size }: AvatarProps): import("react
|
|
8
|
+
export declare function Avatar({ user, size }: AvatarProps): import("react").JSX.Element;
|
|
9
9
|
export interface SignInButtonProps {
|
|
10
10
|
app: FreeAppStore;
|
|
11
11
|
label?: string;
|
|
12
12
|
}
|
|
13
13
|
/** Platform-branded sign-in button. Calls app.auth.signIn(). */
|
|
14
|
-
export declare function SignInButton({ app, label }: SignInButtonProps): import("react
|
|
14
|
+
export declare function SignInButton({ app, label }: SignInButtonProps): import("react").JSX.Element;
|
|
15
15
|
/** Sun/moon toggle button. Cycles: system -> light -> dark. */
|
|
16
|
-
export declare function ThemeToggle(): import("react
|
|
16
|
+
export declare function ThemeToggle(): import("react").JSX.Element;
|
|
17
17
|
type TextSize = 'default' | 'lg' | 'sm';
|
|
18
18
|
/** Hook for text size state. Used by TextSizeToggle and ProfilePage. */
|
|
19
19
|
export declare function useTextSize(): {
|
|
@@ -21,6 +21,6 @@ export declare function useTextSize(): {
|
|
|
21
21
|
setSize: (next: TextSize) => void;
|
|
22
22
|
};
|
|
23
23
|
/** Text size toggle. Cycles: default -> large -> small. Shows A/A+/A-. */
|
|
24
|
-
export declare function TextSizeToggle(): import("react
|
|
24
|
+
export declare function TextSizeToggle(): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
26
26
|
//# sourceMappingURL=core.d.ts.map
|
package/dist/ui/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/ui/core.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAMxC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,6DAA6D;AAC7D,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,EAAE,WAAW
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/ui/core.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAMxC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,6DAA6D;AAC7D,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,EAAE,WAAW,+BAmCtD;AAMD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,YAAY,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,gEAAgE;AAChE,wBAAgB,YAAY,CAAC,EAAE,GAAG,EAAE,KAA6B,EAAE,EAAE,iBAAiB,+BAmBrF;AAMD,+DAA+D;AAC/D,wBAAgB,WAAW,gCAqE1B;AAOD,KAAK,QAAQ,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAC;AAkBxC,wEAAwE;AACxE,wBAAgB,WAAW;;oBAOM,QAAQ;EAQxC;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,gCAqC7B"}
|
package/dist/ui/friends.d.ts
CHANGED
|
@@ -3,17 +3,17 @@ export interface FriendRequestBadgeProps {
|
|
|
3
3
|
app: FreeAppStore;
|
|
4
4
|
}
|
|
5
5
|
/** Red dot with incoming request count. Renders nothing if 0. Polls every 30s. */
|
|
6
|
-
export declare function FriendRequestBadge({ app }: FriendRequestBadgeProps): import("react
|
|
6
|
+
export declare function FriendRequestBadge({ app }: FriendRequestBadgeProps): import("react").JSX.Element | null;
|
|
7
7
|
export interface AddFriendButtonProps {
|
|
8
8
|
app: FreeAppStore;
|
|
9
9
|
userId: string;
|
|
10
10
|
}
|
|
11
11
|
/** Context-aware button: shows Add Friend / Pending / Accept / Friends. */
|
|
12
|
-
export declare function AddFriendButton({ app, userId }: AddFriendButtonProps): import("react
|
|
12
|
+
export declare function AddFriendButton({ app, userId }: AddFriendButtonProps): import("react").JSX.Element | null;
|
|
13
13
|
export interface FriendsListProps {
|
|
14
14
|
app: FreeAppStore;
|
|
15
15
|
onSelectFriend?: (userId: string) => void;
|
|
16
16
|
}
|
|
17
17
|
/** Tabbed panel: Friends / Requests / Search. */
|
|
18
|
-
export declare function FriendsList({ app, onSelectFriend }: FriendsListProps): import("react
|
|
18
|
+
export declare function FriendsList({ app, onSelectFriend }: FriendsListProps): import("react").JSX.Element;
|
|
19
19
|
//# sourceMappingURL=friends.d.ts.map
|
package/dist/ui/friends.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"friends.d.ts","sourceRoot":"","sources":["../../src/ui/friends.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQhD,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,YAAY,CAAC;CACnB;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"friends.d.ts","sourceRoot":"","sources":["../../src/ui/friends.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQhD,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,YAAY,CAAC;CACnB;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,EAAE,uBAAuB,sCA2ClE;AAMD,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,YAAY,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,oBAAoB,sCA6EpE;AAMD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,YAAY,CAAC;IAClB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,iDAAiD;AACjD,wBAAgB,WAAW,CAAC,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,gBAAgB,+BA2OpE"}
|
package/dist/ui/layout.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ export interface ProfileMenuProps {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
}
|
|
8
8
|
/** Avatar button that opens dropdown: username, theme toggle, sign out, delete account. */
|
|
9
|
-
export declare function ProfileMenu({ app, showThemeToggle, children }: ProfileMenuProps): import("react
|
|
9
|
+
export declare function ProfileMenu({ app, showThemeToggle, children }: ProfileMenuProps): import("react").JSX.Element | null;
|
|
10
10
|
export interface ProfilePageProps {
|
|
11
11
|
app: FreeAppStore;
|
|
12
12
|
showThemeToggle?: boolean;
|
|
13
13
|
}
|
|
14
14
|
/** Full-page profile & preferences: avatar, theme, text size, friends, sign out, delete. */
|
|
15
|
-
export declare function ProfilePage({ app, showThemeToggle }: ProfilePageProps): import("react
|
|
15
|
+
export declare function ProfilePage({ app, showThemeToggle }: ProfilePageProps): import("react").JSX.Element;
|
|
16
16
|
export interface ShellProps {
|
|
17
17
|
app: FreeAppStore;
|
|
18
18
|
children: ReactNode;
|
|
@@ -21,5 +21,5 @@ export interface ShellProps {
|
|
|
21
21
|
showThemeToggle?: boolean;
|
|
22
22
|
}
|
|
23
23
|
/** Full wrapper: sticky topbar, main content, footer. Optional auth gate. */
|
|
24
|
-
export declare function Shell({ app, children, appName, requireAuth, showThemeToggle, }: ShellProps): import("react
|
|
24
|
+
export declare function Shell({ app, children, appName, requireAuth, showThemeToggle, }: ShellProps): import("react").JSX.Element;
|
|
25
25
|
//# sourceMappingURL=layout.d.ts.map
|
package/dist/ui/layout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/ui/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAExF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAShD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,YAAY,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,2FAA2F;AAC3F,wBAAgB,WAAW,CAAC,EAAE,GAAG,EAAE,eAAsB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/ui/layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAC;AAExF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAShD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,YAAY,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,2FAA2F;AAC3F,wBAAgB,WAAW,CAAC,EAAE,GAAG,EAAE,eAAsB,EAAE,QAAQ,EAAE,EAAE,gBAAgB,sCAwItF;AAmBD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,YAAY,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,4FAA4F;AAC5F,wBAAgB,WAAW,CAAC,EAAE,GAAG,EAAE,eAAsB,EAAE,EAAE,gBAAgB,+BAgL5E;AA0FD,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,YAAY,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAMD,6EAA6E;AAC7E,wBAAgB,KAAK,CAAC,EACpB,GAAG,EACH,QAAQ,EACR,OAAO,EACP,WAAmB,EACnB,eAAsB,GACvB,EAAE,UAAU,+BAsGZ"}
|
package/dist/ui/voice.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface VoiceButtonProps {
|
|
|
6
6
|
size?: number;
|
|
7
7
|
}
|
|
8
8
|
/** Microphone toggle button. Shows red when listening. Hidden when unsupported. */
|
|
9
|
-
export declare function VoiceButton({ voice, disabled, size }: VoiceButtonProps): import("react
|
|
9
|
+
export declare function VoiceButton({ voice, disabled, size }: VoiceButtonProps): import("react").JSX.Element | null;
|
|
10
10
|
export interface VoiceTextAreaProps {
|
|
11
11
|
value: string;
|
|
12
12
|
onChange: (value: string) => void;
|
|
@@ -18,5 +18,5 @@ export interface VoiceTextAreaProps {
|
|
|
18
18
|
style?: CSSProperties;
|
|
19
19
|
}
|
|
20
20
|
/** Textarea with integrated voice button. Shows interim transcript while listening. */
|
|
21
|
-
export declare function VoiceTextArea({ value, onChange, voice, placeholder, disabled, rows, onSubmit, style: extraStyle, }: VoiceTextAreaProps): import("react
|
|
21
|
+
export declare function VoiceTextArea({ value, onChange, voice, placeholder, disabled, rows, onSubmit, style: extraStyle, }: VoiceTextAreaProps): import("react").JSX.Element;
|
|
22
22
|
//# sourceMappingURL=voice.d.ts.map
|
package/dist/ui/voice.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/ui/voice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAgB,EAAE,IAAS,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../../src/ui/voice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAgB,EAAE,IAAS,EAAE,EAAE,gBAAgB,sCA8BnF;AA8BD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,uFAAuF;AACvF,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAgC,EAChC,QAAgB,EAChB,IAAQ,EACR,QAAQ,EACR,KAAK,EAAE,UAAU,GAClB,EAAE,kBAAkB,+BAgDpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freeappstore/sdk",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.28",
|
|
4
4
|
"description": "Browser SDK for apps on freeappstore.online — auth, per-user KV, shared counters, document collections, real-time rooms, API proxy, user API key vault, RBAC roles, React hooks, and 18 UI components.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@types/react": "^19.
|
|
58
|
-
"react": "^19.
|
|
59
|
-
"typescript": "^5.
|
|
57
|
+
"@types/react": "^19.3.0",
|
|
58
|
+
"react": "^19.3.0",
|
|
59
|
+
"typescript": "^5.9.3"
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
62
|
"scripts": {
|