@ghchinoy/lit-audio-ui 0.4.8 → 0.4.9

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.
Files changed (49) hide show
  1. package/dist/demo/components/demo-album-card.d.ts +23 -0
  2. package/dist/demo/components/demo-chat-experience.d.ts +25 -0
  3. package/dist/demo/components/demo-lyria-player.d.ts +24 -0
  4. package/dist/demo/components/demo-media-dashboard.d.ts +24 -0
  5. package/dist/demo/components/demo-orb-gallery.d.ts +24 -0
  6. package/dist/demo/components/demo-podcast-player.d.ts +23 -0
  7. package/dist/demo/components/demo-smart-textarea.d.ts +22 -0
  8. package/dist/demo/components/demo-speech-input.d.ts +25 -0
  9. package/dist/demo/demo-app.d.ts +16 -0
  10. package/dist/demo/demo-layouts.d.ts +24 -0
  11. package/dist/src/components/atoms/ui-audio-next-button.d.ts +29 -0
  12. package/dist/src/components/atoms/ui-audio-play-button.d.ts +11 -0
  13. package/dist/src/components/atoms/ui-audio-prev-button.d.ts +29 -0
  14. package/dist/src/components/atoms/ui-audio-progress-slider.d.ts +12 -0
  15. package/dist/src/components/atoms/ui-audio-time-display.d.ts +21 -0
  16. package/dist/src/components/atoms/ui-audio-volume-slider.d.ts +12 -0
  17. package/dist/src/components/atoms/ui-message-bubble.d.ts +32 -0
  18. package/dist/src/components/atoms/ui-shimmering-text.d.ts +25 -0
  19. package/dist/src/components/atoms/ui-speech-cancel-button.d.ts +9 -0
  20. package/dist/src/components/atoms/ui-speech-record-button.d.ts +10 -0
  21. package/dist/src/components/atoms/ui-typing-dot.d.ts +29 -0
  22. package/dist/src/components/molecules/scream-voice-button.d.ts +28 -0
  23. package/dist/src/components/molecules/ui-3d-flip.d.ts +16 -0
  24. package/dist/src/components/molecules/ui-chat-item.d.ts +14 -0
  25. package/dist/src/components/molecules/ui-chat-list.d.ts +33 -0
  26. package/dist/src/components/molecules/ui-live-waveform.d.ts +42 -0
  27. package/dist/src/components/molecules/ui-mic-selector.d.ts +70 -0
  28. package/dist/src/components/molecules/ui-orb.d.ts +41 -0
  29. package/dist/src/components/molecules/ui-playlist.d.ts +35 -0
  30. package/dist/src/components/molecules/ui-scrolling-waveform.d.ts +37 -0
  31. package/dist/src/components/molecules/ui-showcase-card.d.ts +14 -0
  32. package/dist/src/components/molecules/ui-spectrum-visualizer.d.ts +43 -0
  33. package/dist/src/components/molecules/ui-speech-preview.d.ts +8 -0
  34. package/dist/src/components/molecules/ui-typing-indicator.d.ts +27 -0
  35. package/dist/src/components/molecules/ui-voice-button.d.ts +26 -0
  36. package/dist/src/components/molecules/ui-voice-picker.d.ts +72 -0
  37. package/dist/src/components/molecules/ui-waveform.d.ts +37 -0
  38. package/dist/src/components/organisms/ui-audio-player.d.ts +19 -0
  39. package/dist/src/components/providers/ui-audio-provider.d.ts +40 -0
  40. package/dist/src/components/providers/ui-speech-provider.d.ts +47 -0
  41. package/dist/src/index.d.ts +55 -0
  42. package/dist/src/my-element.d.ts +40 -0
  43. package/dist/src/utils/audio-context.d.ts +45 -0
  44. package/dist/src/utils/audio-utils.d.ts +71 -0
  45. package/dist/src/utils/speech-context.d.ts +14 -0
  46. package/dist/tsconfig.tsbuildinfo +1 -0
  47. package/dist/vite.config.d.ts +2 -0
  48. package/dist/vite.demo.config.d.ts +2 -0
  49. package/package.json +4 -4
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoAlbumCard extends LitElement {
18
+ private _playlist;
19
+ static styles: import("lit").CSSResult;
20
+ render(): import("lit-html").TemplateResult<1>;
21
+ private _toggleFlip;
22
+ private _getCurrentTrack;
23
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoChatExperience extends LitElement {
18
+ private _messages;
19
+ private _inputValue;
20
+ static styles: import("lit").CSSResult;
21
+ render(): import("lit-html").TemplateResult<1>;
22
+ private _handleSend;
23
+ private _simulateAgentResponse;
24
+ private _getRandomResponse;
25
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoLyriaPlayer extends LitElement {
18
+ private _scroller;
19
+ private _playlist;
20
+ static styles: import("lit").CSSResult;
21
+ render(): import("lit-html").TemplateResult<1>;
22
+ private _getCurrentTrack;
23
+ private _handleState;
24
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoMediaDashboard extends LitElement {
18
+ private _playlist;
19
+ static styles: import("lit").CSSResult;
20
+ render(): import("lit-html").TemplateResult<1>;
21
+ private _getCurrentTrack;
22
+ private _getCurrentIndex;
23
+ private _isBuffering;
24
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ /**
18
+ * A gallery showcasing the ui-orb component with a variety of color schemes and seed configurations.
19
+ * The order pays a subtle homage to the iconic brand colors.
20
+ */
21
+ export declare class DemoOrbGallery extends LitElement {
22
+ static styles: import("lit").CSSResult;
23
+ render(): import("lit-html").TemplateResult<1>;
24
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoPodcastPlayer extends LitElement {
18
+ private _orb;
19
+ static styles: import("lit").CSSResult;
20
+ render(): import("lit-html").TemplateResult<1>;
21
+ firstUpdated(): Promise<void>;
22
+ private _handleState;
23
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoSmartTextarea extends LitElement {
18
+ private _text;
19
+ static styles: import("lit").CSSResult;
20
+ render(): import("lit-html").TemplateResult<1>;
21
+ private _handleStateChange;
22
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ export declare class DemoSpeechInput extends LitElement {
18
+ private _state;
19
+ private _transcript;
20
+ private _transcriptInterval;
21
+ private _fakeTranscript;
22
+ static styles: import("lit").CSSResult;
23
+ render(): import("lit-html").TemplateResult<1>;
24
+ private _toggleRecord;
25
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import './demo-layouts.js';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import '../src/index.js';
17
+ import './components/demo-podcast-player.js';
18
+ import './components/demo-lyria-player.js';
19
+ import './components/demo-album-card.js';
20
+ import './components/demo-media-dashboard.js';
21
+ import './components/demo-chat-experience.js';
22
+ import './components/demo-orb-gallery.js';
23
+ import './components/demo-speech-input.js';
24
+ import './components/demo-smart-textarea.js';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ import '@material/web/iconbutton/icon-button.js';
18
+ import '@material/web/icon/icon.js';
19
+ /**
20
+ * An atomic navigation button that triggers the 'next' track in a playlist.
21
+ * Consumes the AudioPlayerState from the nearest ui-audio-provider.
22
+ *
23
+ * @element ui-audio-next-button
24
+ */
25
+ export declare class UiAudioNextButton extends LitElement {
26
+ private playerState?;
27
+ static styles: import("lit").CSSResult;
28
+ render(): import("lit-html").TemplateResult<1>;
29
+ }
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+ import { type AudioPlayerState } from '../../utils/audio-context.js';
3
+ import '@material/web/iconbutton/filled-icon-button.js';
4
+ import '@material/web/progress/circular-progress.js';
5
+ import '@material/web/icon/icon.js';
6
+ export declare class UiAudioPlayButton extends LitElement {
7
+ playerState?: AudioPlayerState;
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ private _handleClick;
11
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ import '@material/web/iconbutton/icon-button.js';
18
+ import '@material/web/icon/icon.js';
19
+ /**
20
+ * An atomic navigation button that triggers the 'previous' track in a playlist.
21
+ * Consumes the AudioPlayerState from the nearest ui-audio-provider.
22
+ *
23
+ * @element ui-audio-prev-button
24
+ */
25
+ export declare class UiAudioPrevButton extends LitElement {
26
+ private playerState?;
27
+ static styles: import("lit").CSSResult;
28
+ render(): import("lit-html").TemplateResult<1>;
29
+ }
@@ -0,0 +1,12 @@
1
+ import { LitElement } from 'lit';
2
+ import { type AudioPlayerState } from '../../utils/audio-context.js';
3
+ import '@material/web/slider/slider.js';
4
+ export declare class UiAudioProgressSlider extends LitElement {
5
+ playerState?: AudioPlayerState;
6
+ private _isDragging;
7
+ private _dragValue;
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ private _handleInput;
11
+ private _handleChange;
12
+ }
@@ -0,0 +1,21 @@
1
+ import { LitElement } from 'lit';
2
+ import { type AudioPlayerState } from '../../utils/audio-context.js';
3
+ /**
4
+ * A reactive time display component that shows playback progress.
5
+ * Consumes AudioPlayerState from the nearest ui-audio-provider.
6
+ *
7
+ * @element ui-audio-time-display
8
+ *
9
+ * @prop {string} format - Display mode: 'elapsed', 'remaining', or 'combined' (default).
10
+ * @prop {string} separator - The string to use between current and total time in 'combined' mode (default: ' / ').
11
+ * @prop {boolean} compact - If true, omits leading zeros and hours for a cleaner look.
12
+ */
13
+ export declare class UiAudioTimeDisplay extends LitElement {
14
+ playerState?: AudioPlayerState;
15
+ format: 'elapsed' | 'remaining' | 'combined';
16
+ separator: string;
17
+ compact: boolean;
18
+ static styles: import("lit").CSSResult;
19
+ render(): import("lit-html").TemplateResult<1>;
20
+ private _formatTime;
21
+ }
@@ -0,0 +1,12 @@
1
+ import { LitElement } from 'lit';
2
+ import { type AudioPlayerState } from '../../utils/audio-context.js';
3
+ import '@material/web/slider/slider.js';
4
+ import '@material/web/iconbutton/icon-button.js';
5
+ import '@material/web/icon/icon.js';
6
+ export declare class UiAudioVolumeSlider extends LitElement {
7
+ playerState?: AudioPlayerState;
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ private _handleInput;
11
+ private _toggleMute;
12
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ /**
18
+ * ATOM: Message Bubble
19
+ * A presentational container for chat message text.
20
+ * Ported from ElevenLabs 'MessageContent'.
21
+ *
22
+ * @element ui-message-bubble
23
+ *
24
+ * @prop {string} variant - 'contained' (default) or 'flat'.
25
+ * @prop {string} direction - 'inbound' (agent) or 'outbound' (user).
26
+ */
27
+ export declare class UiMessageBubble extends LitElement {
28
+ variant: 'contained' | 'flat';
29
+ direction: 'inbound' | 'outbound';
30
+ static styles: import("lit").CSSResult;
31
+ render(): import("lit-html").TemplateResult<1>;
32
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ */
4
+ import { LitElement } from 'lit';
5
+ /**
6
+ * A native Lit WebComponent that provides a shimmering text animation.
7
+ */
8
+ export declare class UiShimmeringText extends LitElement {
9
+ text: string;
10
+ duration: number;
11
+ delay: number;
12
+ repeat: boolean;
13
+ repeatDelay: number;
14
+ startOnView: boolean;
15
+ once: boolean;
16
+ spread: number;
17
+ color?: string;
18
+ shimmerColor?: string;
19
+ private _isInView;
20
+ private _intersectionObserver?;
21
+ static styles: import("lit").CSSResult;
22
+ protected firstUpdated(): void;
23
+ disconnectedCallback(): void;
24
+ render(): import("lit-html").TemplateResult<1>;
25
+ }
@@ -0,0 +1,9 @@
1
+ import { LitElement } from 'lit';
2
+ import '@material/web/iconbutton/icon-button.js';
3
+ import '@material/web/icon/icon.js';
4
+ export declare class UiSpeechCancelButton extends LitElement {
5
+ private _context?;
6
+ static styles: import("lit").CSSResult;
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ private _handleClick;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { LitElement } from 'lit';
2
+ import '@material/web/iconbutton/filled-icon-button.js';
3
+ import '@material/web/icon/icon.js';
4
+ export declare class UiSpeechRecordButton extends LitElement {
5
+ private _context?;
6
+ size: 'sm' | 'default' | 'lg';
7
+ static styles: import("lit").CSSResult;
8
+ render(): import("lit-html").TemplateResult<1>;
9
+ private _handleClick;
10
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ /**
18
+ * ATOM: Typing Dot
19
+ * A simple animated dot used for typing indicators.
20
+ *
21
+ * @element ui-typing-dot
22
+ *
23
+ * @prop {string} delay - CSS animation delay (e.g., '0.2s').
24
+ */
25
+ export declare class UiTypingDot extends LitElement {
26
+ delay: string;
27
+ static styles: import("lit").CSSResult;
28
+ render(): import("lit-html").TemplateResult<1>;
29
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement } from 'lit';
17
+ import '@material/web/button/filled-button.js';
18
+ import '@material/web/icon/icon.js';
19
+ export type VoiceState = 'idle' | 'recording' | 'processing' | 'success' | 'error';
20
+ /**
21
+ * A basic demonstration of the ported audio button.
22
+ */
23
+ export declare class ScreamVoiceButton extends LitElement {
24
+ state: VoiceState;
25
+ static styles: import("lit").CSSResult;
26
+ render(): import("lit-html").TemplateResult<1>;
27
+ private _handleClick;
28
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ */
4
+ import { LitElement } from 'lit';
5
+ import '@material/web/icon/icon.js';
6
+ /**
7
+ * A layout utility component that provides 3D card flipping functionality.
8
+ */
9
+ export declare class Ui3dFlip extends LitElement {
10
+ flipped: boolean;
11
+ axis: 'x' | 'y';
12
+ duration: string;
13
+ static styles: import("lit").CSSResult;
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ toggle(): void;
16
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ */
4
+ import { LitElement } from 'lit';
5
+ import '../atoms/ui-message-bubble.js';
6
+ /**
7
+ * A composite component representing a single chat message item.
8
+ */
9
+ export declare class UiChatItem extends LitElement {
10
+ direction: 'inbound' | 'outbound';
11
+ variant: 'contained' | 'flat';
12
+ static styles: import("lit").CSSResult;
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { LitElement, type PropertyValues } from 'lit';
17
+ /**
18
+ * MOLECULE: Chat List
19
+ * A scrollable container for ui-chat-items.
20
+ * Automatically handles scrolling to the bottom when new children are added.
21
+ *
22
+ * @element ui-chat-list
23
+ */
24
+ export declare class UiChatList extends LitElement {
25
+ private _container;
26
+ static styles: import("lit").CSSResult;
27
+ protected updated(changedProperties: PropertyValues): void;
28
+ /**
29
+ * Imperatively scroll to the most recent message.
30
+ */
31
+ scrollToBottom(): void;
32
+ render(): import("lit-html").TemplateResult<1>;
33
+ }
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Copyright 2026 Google LLC
3
+ */
4
+ import { LitElement, type PropertyValues } from 'lit';
5
+ /**
6
+ * A real-time audio visualizer component.
7
+ */
8
+ export declare class UiLiveWaveform extends LitElement {
9
+ active: boolean;
10
+ processing: boolean;
11
+ analyserNode?: AnalyserNode;
12
+ barWidth: number;
13
+ barHeight: number;
14
+ barGap: number;
15
+ barRadius: number;
16
+ barColor?: string;
17
+ fadeEdges: boolean;
18
+ fadeWidth: number;
19
+ height: number;
20
+ sensitivity: number;
21
+ updateRate: number;
22
+ private _canvas;
23
+ private _container;
24
+ private _animationFrameId;
25
+ private _lastUpdateTime;
26
+ private _resizeObserver?;
27
+ private _themeObserver?;
28
+ private _dataArray?;
29
+ private _currentBars;
30
+ private _processingTime;
31
+ private _transitionProgress;
32
+ private _lastActiveData;
33
+ static styles: import("lit").CSSResult;
34
+ render(): import("lit-html").TemplateResult<1>;
35
+ protected firstUpdated(): void;
36
+ protected updated(changedProperties: PropertyValues): void;
37
+ disconnectedCallback(): void;
38
+ private _handleResize;
39
+ private _startAnimationLoop;
40
+ private _updateData;
41
+ private _renderFrame;
42
+ }