@app-studio/web 0.9.24 → 0.9.25
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/Background/Background/Background.props.d.ts +49 -0
- package/dist/components/Background/Background/Background.style.d.ts +9 -0
- package/dist/components/Background/Background/Background.type.d.ts +1 -1
- package/dist/components/Background/Background/Background.view.d.ts +2 -1
- package/dist/components/Background/Background.d.ts +1 -0
- package/dist/components/Background/index.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +35 -0
- package/dist/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +12 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +3 -0
- package/dist/{hooks → components/adk}/useAdk.d.ts +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/pages/progressBar.page.d.ts +3 -0
- package/dist/pages/statusIndicator.page.d.ts +3 -0
- package/dist/web.cjs.development.js +253 -46
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +252 -47
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +253 -46
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/adk-components.md +40 -37
- package/docs/adk-quick-start.md +11 -37
- package/package.json +1 -1
- package/docs/adk-customization-guide.md +0 -204
- package/docs/adk-customization-summary.md +0 -157
- /package/dist/{hooks → components/AudioInput}/useAudioRecording.d.ts +0 -0
|
@@ -113,6 +113,53 @@ export interface BackgroundImageProps extends Omit<BackgroundProps, 'position'>
|
|
|
113
113
|
overlay?: ViewProps;
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Background Video component props
|
|
118
|
+
*/
|
|
119
|
+
export interface BackgroundVideoProps extends Omit<BackgroundProps, 'position'> {
|
|
120
|
+
/**
|
|
121
|
+
* Video source URL
|
|
122
|
+
*/
|
|
123
|
+
src: string;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the video should autoplay
|
|
126
|
+
* @default true
|
|
127
|
+
*/
|
|
128
|
+
autoPlay?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Whether the video should loop
|
|
131
|
+
* @default true
|
|
132
|
+
*/
|
|
133
|
+
loop?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Whether the video should be muted
|
|
136
|
+
* @default true
|
|
137
|
+
*/
|
|
138
|
+
muted?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Use inline playback on mobile
|
|
141
|
+
* @default true
|
|
142
|
+
*/
|
|
143
|
+
playsInline?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Overlay color to blend with video
|
|
146
|
+
*/
|
|
147
|
+
overlay?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Blend mode for overlay
|
|
150
|
+
* @default 'normal'
|
|
151
|
+
*/
|
|
152
|
+
blendMode?: BlendMode;
|
|
153
|
+
/**
|
|
154
|
+
* Custom views for styling
|
|
155
|
+
*/
|
|
156
|
+
views?: {
|
|
157
|
+
container?: ViewProps;
|
|
158
|
+
content?: ViewProps;
|
|
159
|
+
video?: ViewProps;
|
|
160
|
+
overlay?: ViewProps;
|
|
161
|
+
};
|
|
162
|
+
}
|
|
116
163
|
/**
|
|
117
164
|
* Background Gradient component props
|
|
118
165
|
* Extends GradientProps and adds Background-specific functionality
|
|
@@ -128,5 +175,7 @@ export interface BackgroundStyles {
|
|
|
128
175
|
aurora?: ViewProps;
|
|
129
176
|
meteors?: ViewProps;
|
|
130
177
|
image?: ViewProps;
|
|
178
|
+
video?: ViewProps;
|
|
179
|
+
overlay?: ViewProps;
|
|
131
180
|
gradient?: ViewProps;
|
|
132
181
|
}
|
|
@@ -22,6 +22,15 @@ export declare const BackgroundImageStyles: {
|
|
|
22
22
|
overlay: ViewProps;
|
|
23
23
|
content: ViewProps;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Background Video styles
|
|
27
|
+
*/
|
|
28
|
+
export declare const BackgroundVideoStyles: {
|
|
29
|
+
container: ViewProps;
|
|
30
|
+
video: ViewProps;
|
|
31
|
+
overlay: ViewProps;
|
|
32
|
+
content: ViewProps;
|
|
33
|
+
};
|
|
25
34
|
/**
|
|
26
35
|
* Meteors effect styles
|
|
27
36
|
*/
|
|
@@ -2,7 +2,7 @@ import { ViewProps } from 'app-studio';
|
|
|
2
2
|
/**
|
|
3
3
|
* Background effect types
|
|
4
4
|
*/
|
|
5
|
-
export declare type BackgroundEffect = 'aurora' | 'meteors' | 'particles' | 'grid' | 'ripples' | 'wall' | 'image' | 'gradient' | 'borderMoving' | 'animatedStroke';
|
|
5
|
+
export declare type BackgroundEffect = 'aurora' | 'meteors' | 'particles' | 'grid' | 'ripples' | 'wall' | 'image' | 'video' | 'gradient' | 'borderMoving' | 'animatedStroke';
|
|
6
6
|
/**
|
|
7
7
|
* Aurora gradient direction options
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BackgroundProps, AuroraBackgroundProps, MeteorsProps, WallProps, ParticlesProps, GridProps, RipplesProps, BackgroundImageProps, BackgroundGradientProps } from './Background.props';
|
|
2
|
+
import { BackgroundProps, AuroraBackgroundProps, MeteorsProps, WallProps, ParticlesProps, GridProps, RipplesProps, BackgroundImageProps, BackgroundVideoProps, BackgroundGradientProps } from './Background.props';
|
|
3
3
|
/**
|
|
4
4
|
* Main Background View Component with compound pattern
|
|
5
5
|
*/
|
|
@@ -11,6 +11,7 @@ interface BackgroundViewComponent extends React.FC<BackgroundProps> {
|
|
|
11
11
|
Grid: React.FC<GridProps>;
|
|
12
12
|
Ripples: React.FC<RipplesProps>;
|
|
13
13
|
Image: React.FC<BackgroundImageProps>;
|
|
14
|
+
Video: React.FC<BackgroundVideoProps>;
|
|
14
15
|
Gradient: React.FC<BackgroundGradientProps>;
|
|
15
16
|
}
|
|
16
17
|
export declare const BackgroundView: BackgroundViewComponent;
|
|
@@ -16,5 +16,6 @@ export declare const Background: React.ForwardRefExoticComponent<Pick<Background
|
|
|
16
16
|
Grid: React.FC<import("./Background/Background.props").GridProps>;
|
|
17
17
|
Ripples: React.FC<import("./Background/Background.props").RipplesProps>;
|
|
18
18
|
Image: React.FC<import("./Background/Background.props").BackgroundImageProps>;
|
|
19
|
+
Video: React.FC<import("./Background/Background.props").BackgroundVideoProps>;
|
|
19
20
|
Gradient: React.FC<import("./Background/Background.props").BackgroundGradientProps>;
|
|
20
21
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Background } from './Background';
|
|
2
|
-
export type { BackgroundProps, AuroraBackgroundProps, MeteorsProps, WallProps, ParticlesProps, GridProps, RipplesProps, BackgroundImageProps, BackgroundGradientProps, BackgroundStyles, } from './Background/Background.props';
|
|
2
|
+
export type { BackgroundProps, AuroraBackgroundProps, MeteorsProps, WallProps, ParticlesProps, GridProps, RipplesProps, BackgroundImageProps, BackgroundVideoProps, BackgroundGradientProps, BackgroundStyles, } from './Background/Background.props';
|
|
3
3
|
export type { BackgroundEffect, AuroraDirection, MeteorTiming, BorderAnimationStyles, StrokeAnimationStyles, BackgroundContextType, BackgroundSize, BackgroundPosition, BackgroundRepeat, BlendMode, } from './Background/Background.type';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
export interface ProgressBarStyles {
|
|
3
|
+
container?: ViewProps;
|
|
4
|
+
bar?: ViewProps;
|
|
5
|
+
}
|
|
6
|
+
export interface ProgressBarProps extends ViewProps {
|
|
7
|
+
/**
|
|
8
|
+
* Current progress value
|
|
9
|
+
*/
|
|
10
|
+
value?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Maximum progress value
|
|
13
|
+
*/
|
|
14
|
+
max?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Color of the filled portion
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Background color of the track
|
|
21
|
+
*/
|
|
22
|
+
backgroundColor?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Height of the progress bar
|
|
25
|
+
*/
|
|
26
|
+
height?: number | string;
|
|
27
|
+
/**
|
|
28
|
+
* Border radius for rounded corners
|
|
29
|
+
*/
|
|
30
|
+
radius?: number | string;
|
|
31
|
+
/**
|
|
32
|
+
* Custom styles for container or bar
|
|
33
|
+
*/
|
|
34
|
+
views?: ProgressBarStyles;
|
|
35
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Status, StatusIndicatorStyles } from './StatusIndicator.type';
|
|
3
|
+
export interface StatusIndicatorProps extends ViewProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
status?: Status;
|
|
6
|
+
views?: StatusIndicatorStyles;
|
|
7
|
+
/**
|
|
8
|
+
* Optional theme mode override ('light' or 'dark')
|
|
9
|
+
* If not provided, the component will use the theme mode from context
|
|
10
|
+
*/
|
|
11
|
+
themeMode?: 'light' | 'dark';
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Status } from './StatusIndicator.type';
|
|
3
|
+
export declare const getThemes: (themeMode: string) => Record<Status, {
|
|
4
|
+
indicator: ViewProps;
|
|
5
|
+
label: ViewProps;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const Themes: Record<Status, {
|
|
8
|
+
indicator: ViewProps;
|
|
9
|
+
label: ViewProps;
|
|
10
|
+
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { CreateSessionParams, AgentRunRequest, SessionResponse } from '
|
|
2
|
+
import type { CreateSessionParams, AgentRunRequest, SessionResponse } from '../../services/api';
|
|
3
3
|
/**
|
|
4
4
|
* Custom hook for ADK operations
|
|
5
5
|
* Integrates with the existing ADK service and auth store
|
|
@@ -49,7 +49,9 @@ export * from './EmojiPicker/EmojiPicker';
|
|
|
49
49
|
export * from './HoverCard/HoverCard';
|
|
50
50
|
export * from './Menubar/Menubar';
|
|
51
51
|
export * from './Pagination/Pagination';
|
|
52
|
+
export * from './ProgressBar/ProgressBar';
|
|
52
53
|
export * from './Separator/Separator';
|
|
54
|
+
export * from './StatusIndicator/StatusIndicator';
|
|
53
55
|
export * from './Sidebar/Sidebar';
|
|
54
56
|
export * from './Resizable/Resizable';
|
|
55
57
|
export * from './Toast/Toast';
|
|
@@ -104,7 +106,9 @@ export * from './ColorPicker/ColorPicker/ColorPicker.props';
|
|
|
104
106
|
export * from './EmojiPicker/EmojiPicker/EmojiPicker.props';
|
|
105
107
|
export * from './Menubar/Menubar/Menubar.props';
|
|
106
108
|
export * from './Pagination/Pagination/Pagination.props';
|
|
109
|
+
export * from './ProgressBar/ProgressBar/ProgressBar.props';
|
|
107
110
|
export * from './Separator/Separator/Separator.props';
|
|
111
|
+
export * from './StatusIndicator/StatusIndicator/StatusIndicator.props';
|
|
108
112
|
export * from './Sidebar/Sidebar/Sidebar.props';
|
|
109
113
|
export * from './Resizable/Resizable/Resizable.props';
|
|
110
114
|
export * from './Toast/Toast/Toast.props';
|