@app-studio/web 0.9.22 → 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/AudioInput/AudioInput/AudioInput.props.d.ts +21 -0
- package/dist/components/AudioInput/AudioInput/AudioInput.state.d.ts +13 -0
- package/dist/components/AudioInput/AudioInput/AudioInput.view.d.ts +4 -0
- package/dist/components/AudioInput/AudioInput.d.ts +4 -0
- package/dist/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +3 -0
- package/dist/components/AudioInput/AudioWaveform/AudioWaveform.props.d.ts +21 -0
- package/dist/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +4 -0
- package/dist/components/AudioInput/useAudioRecording.d.ts +13 -0
- package/dist/components/Background/Background/Background.props.d.ts +50 -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/ChatInput/AttachmentGroup.d.ts +1 -4
- package/dist/components/ChatInput/AudioRecorder.d.ts +10 -0
- package/dist/components/ChatInput/ChatInput/ChatInput.props.d.ts +15 -31
- package/dist/components/ChatInput/ChatInput/ChatInput.state.d.ts +3 -8
- package/dist/components/ChatInput/ChatInput/ChatInput.type.d.ts +1 -14
- package/dist/components/ChatInput/ChatUploader.d.ts +1 -2
- package/dist/components/ChatInput/MessageInput.d.ts +3 -3
- package/dist/components/ChatInput/index.d.ts +1 -2
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/MediaPreview.d.ts +14 -0
- 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/components/adk/AgentChat/AgentChat/AgentChat.props.d.ts +1 -1
- package/dist/components/adk/AgentChat/AgentChat/AgentChat.style.d.ts +2 -0
- package/dist/components/adk/AgentChat/AgentChat/AgentRunProgress.d.ts +11 -0
- package/dist/components/adk/AgentChat/AgentChat/MessageAttachmentPreview.d.ts +1 -1
- package/dist/{hooks → components/adk}/useAdk.d.ts +1 -1
- package/dist/components/index.d.ts +8 -0
- package/dist/pages/audioInput.page.d.ts +3 -0
- package/dist/pages/progressBar.page.d.ts +3 -0
- package/dist/pages/statusIndicator.page.d.ts +3 -0
- package/dist/services/api/services/WorkflowService.d.ts +4 -4
- package/dist/utils/file.d.ts +4 -0
- package/dist/utils/typography.d.ts +2 -2
- package/dist/web.cjs.development.js +2053 -1275
- 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 +2050 -1278
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +2047 -1276
- 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/docs/api-reference/form/chat-input.md +1 -5
- package/package.json +3 -2
- package/dist/components/Accordion/examples/collapsible.d.ts +0 -2
- package/dist/components/Accordion/examples/default.d.ts +0 -2
- package/dist/components/Accordion/examples/disabled.d.ts +0 -2
- package/dist/components/Accordion/examples/index.d.ts +0 -5
- package/dist/components/Accordion/examples/multiple.d.ts +0 -2
- package/dist/components/Accordion/examples/variants.d.ts +0 -2
- package/dist/components/Alert/examples/darkMode.d.ts +0 -2
- package/dist/components/Alert/examples/default.d.ts +0 -2
- package/dist/components/Alert/examples/designSystem.d.ts +0 -12
- package/dist/components/Alert/examples/icon.d.ts +0 -2
- package/dist/components/Alert/examples/styles.d.ts +0 -2
- package/dist/components/Alert/examples/variant.d.ts +0 -2
- package/dist/components/AspectRatio/examples/default.d.ts +0 -2
- package/dist/components/AspectRatio/examples/index.d.ts +0 -2
- package/dist/components/AspectRatio/examples/ratio.d.ts +0 -2
- package/dist/components/Avatar/examples/default.d.ts +0 -2
- package/dist/components/Avatar/examples/designSystem.d.ts +0 -12
- package/dist/components/Avatar/examples/fallback.d.ts +0 -2
- package/dist/components/Avatar/examples/index.d.ts +0 -5
- package/dist/components/Avatar/examples/size.d.ts +0 -2
- package/dist/components/Avatar/examples/styles.d.ts +0 -2
- package/dist/components/Background/examples/aurora.d.ts +0 -2
- package/dist/components/Background/examples/combinedEffects.d.ts +0 -2
- package/dist/components/Background/examples/default.d.ts +0 -2
- package/dist/components/Background/examples/grid.d.ts +0 -2
- package/dist/components/Background/examples/index.d.ts +0 -8
- package/dist/components/Background/examples/meteors.d.ts +0 -2
- package/dist/components/Background/examples/particles.d.ts +0 -2
- package/dist/components/Background/examples/ripples.d.ts +0 -2
- package/dist/components/Background/examples/wall.d.ts +0 -2
- package/dist/components/Badge/examples/colorScheme.d.ts +0 -2
- package/dist/components/Badge/examples/content.d.ts +0 -2
- package/dist/components/Badge/examples/darkMode.d.ts +0 -2
- package/dist/components/Badge/examples/default.d.ts +0 -2
- package/dist/components/Badge/examples/designSystem.d.ts +0 -12
- package/dist/components/Badge/examples/index.d.ts +0 -9
- package/dist/components/Badge/examples/position.d.ts +0 -2
- package/dist/components/Badge/examples/shape.d.ts +0 -2
- package/dist/components/Badge/examples/size.d.ts +0 -2
- package/dist/components/Badge/examples/styles.d.ts +0 -2
- package/dist/components/Badge/examples/variant.d.ts +0 -2
- package/dist/components/Button/examples/animatedStroke.d.ts +0 -2
- package/dist/components/Button/examples/autofocus.d.ts +0 -2
- package/dist/components/Button/examples/borderMoving.d.ts +0 -2
- package/dist/components/Button/examples/colorScheme.d.ts +0 -2
- package/dist/components/Button/examples/default.d.ts +0 -2
- package/dist/components/Button/examples/designSystem.d.ts +0 -12
- package/dist/components/Button/examples/effectsTest.d.ts +0 -2
- package/dist/components/Button/examples/icon.d.ts +0 -2
- package/dist/components/Button/examples/index.d.ts +0 -12
- package/dist/components/Button/examples/isAuto.d.ts +0 -2
- package/dist/components/Button/examples/isDisabled.d.ts +0 -2
- package/dist/components/Button/examples/loaderProps.d.ts +0 -2
- package/dist/components/Button/examples/shadow.d.ts +0 -2
- package/dist/components/Button/examples/size.d.ts +0 -2
- package/dist/components/Button/examples/variant.d.ts +0 -2
- package/dist/components/Card/examples/contextStyling.d.ts +0 -2
- package/dist/components/Card/examples/custom.d.ts +0 -2
- package/dist/components/Card/examples/darkModeExample.d.ts +0 -2
- package/dist/components/Card/examples/default.d.ts +0 -2
- package/dist/components/Card/examples/designSystem.d.ts +0 -12
- package/dist/components/Card/examples/index.d.ts +0 -8
- package/dist/components/Card/examples/shapes.d.ts +0 -2
- package/dist/components/Card/examples/sizes.d.ts +0 -2
- package/dist/components/Card/examples/structured.d.ts +0 -2
- package/dist/components/Card/examples/variants.d.ts +0 -2
- package/dist/components/Carousel/examples/autoplay.d.ts +0 -2
- package/dist/components/Carousel/examples/compound.d.ts +0 -3
- package/dist/components/Carousel/examples/custom.d.ts +0 -2
- package/dist/components/Carousel/examples/default.d.ts +0 -2
- package/dist/components/Carousel/examples/index.d.ts +0 -7
- package/dist/components/Carousel/examples/indicators.d.ts +0 -2
- package/dist/components/Carousel/examples/navigation.d.ts +0 -2
- package/dist/components/Carousel/examples/stepIndices.d.ts +0 -2
- package/dist/components/Chart/examples/area.d.ts +0 -2
- package/dist/components/Chart/examples/bar.d.ts +0 -2
- package/dist/components/Chart/examples/custom.d.ts +0 -2
- package/dist/components/Chart/examples/designSystem.d.ts +0 -12
- package/dist/components/Chart/examples/donut.d.ts +0 -2
- package/dist/components/Chart/examples/index.d.ts +0 -8
- package/dist/components/Chart/examples/line.d.ts +0 -2
- package/dist/components/Chart/examples/pie.d.ts +0 -2
- package/dist/components/Chart/examples/states.d.ts +0 -2
- package/dist/components/ChatInput/ReferenceImageButton.d.ts +0 -12
- package/dist/components/ChatInput/ReferenceImageModal.d.ts +0 -19
- package/dist/components/ChatInput/examples/EnhancedEditableInput.d.ts +0 -2
- package/dist/components/ChatInput/examples/MentionEditableInput.d.ts +0 -2
- package/dist/components/ColorPicker/examples/controlled.d.ts +0 -2
- package/dist/components/ColorPicker/examples/customColors.d.ts +0 -2
- package/dist/components/ColorPicker/examples/default.d.ts +0 -2
- package/dist/components/ColorPicker/examples/formIntegration.d.ts +0 -2
- package/dist/components/ColorPicker/examples/index.d.ts +0 -7
- package/dist/components/ColorPicker/examples/shapes.d.ts +0 -2
- package/dist/components/ColorPicker/examples/sizes.d.ts +0 -2
- package/dist/components/ColorPicker/examples/variants.d.ts +0 -2
- package/dist/components/Command/examples/customized.d.ts +0 -2
- package/dist/components/Command/examples/default.d.ts +0 -2
- package/dist/components/Command/examples/groups.d.ts +0 -2
- package/dist/components/Command/examples/index.d.ts +0 -5
- package/dist/components/Command/examples/sizes.d.ts +0 -2
- package/dist/components/Command/examples/variants.d.ts +0 -2
- package/dist/components/ContextMenu/examples/compound.d.ts +0 -2
- package/dist/components/ContextMenu/examples/custom.d.ts +0 -2
- package/dist/components/ContextMenu/examples/default.d.ts +0 -2
- package/dist/components/ContextMenu/examples/index.d.ts +0 -5
- package/dist/components/ContextMenu/examples/sizes.d.ts +0 -2
- package/dist/components/ContextMenu/examples/variants.d.ts +0 -2
- package/dist/components/CookieConsent/examples/custom.d.ts +0 -5
- package/dist/components/CookieConsent/examples/default.d.ts +0 -5
- package/dist/components/CookieConsent/examples/index.d.ts +0 -4
- package/dist/components/CookieConsent/examples/positions.d.ts +0 -5
- package/dist/components/CookieConsent/examples/variants.d.ts +0 -5
- package/dist/components/DragAndDrop/examples/Simple.d.ts +0 -2
- package/dist/components/DropdownMenu/examples/custom.d.ts +0 -2
- package/dist/components/DropdownMenu/examples/default.d.ts +0 -2
- package/dist/components/DropdownMenu/examples/index.d.ts +0 -5
- package/dist/components/DropdownMenu/examples/positions.d.ts +0 -2
- package/dist/components/DropdownMenu/examples/sizes.d.ts +0 -2
- package/dist/components/DropdownMenu/examples/variants.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/controlled.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/customEmojis.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/default.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/formIntegration.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/index.d.ts +0 -7
- package/dist/components/EmojiPicker/examples/shapes.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/sizes.d.ts +0 -2
- package/dist/components/EmojiPicker/examples/variants.d.ts +0 -2
- package/dist/components/Flow/examples/DragAndDrop.d.ts +0 -2
- package/dist/components/Flow/examples/default.d.ts +0 -2
- package/dist/components/Flow/examples/flowchart.d.ts +0 -2
- package/dist/components/Flow/examples/index.d.ts +0 -2
- package/dist/components/Flow/examples/list.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/ColorScheme.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/Default.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/DisabledInput.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/ErrorCheckbox.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/FormCheckout.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/IconCheckbox.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/IndeterminateCheckbox.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/Shadow.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/Checkbox/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/Checkbox/examples/index.d.ts +0 -13
- package/dist/components/Form/Checkbox/examples/infoText.d.ts +0 -2
- package/dist/components/Form/ColorInput/examples/Default.d.ts +0 -2
- package/dist/components/Form/ColorInput/examples/FormIntegration.d.ts +0 -2
- package/dist/components/Form/ColorInput/examples/Sizes.d.ts +0 -2
- package/dist/components/Form/ColorInput/examples/Variants.d.ts +0 -2
- package/dist/components/Form/ColorInput/examples/index.d.ts +0 -4
- package/dist/components/Form/ComboBox/examples/default.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/index.d.ts +0 -10
- package/dist/components/Form/ComboBox/examples/label.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/left.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/onSelect.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/placeholder.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/right.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/searchEnabled.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/searchPlaceholder.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/showTick.d.ts +0 -2
- package/dist/components/Form/ComboBox/examples/styles.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Color.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Default.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Disabled.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Error.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Form.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/HelperText.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Shadow.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Shape.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/Variant.d.ts +0 -2
- package/dist/components/Form/CountryPicker/examples/index.d.ts +0 -12
- package/dist/components/Form/DatePicker/examples/ColorScheme.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/Default.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/DisabledInput.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/ErrorDatePicker.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/FormDatePicker.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/Shadow.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/helperTextDatePicker.d.ts +0 -2
- package/dist/components/Form/DatePicker/examples/index.d.ts +0 -10
- package/dist/components/Form/Radio/examples/Default.d.ts +0 -5
- package/dist/components/Form/Radio/examples/DefaultGroup.d.ts +0 -5
- package/dist/components/Form/Radio/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/Radio/examples/index.d.ts +0 -3
- package/dist/components/Form/Select/examples/Color.d.ts +0 -2
- package/dist/components/Form/Select/examples/Default.d.ts +0 -2
- package/dist/components/Form/Select/examples/Disabled.d.ts +0 -2
- package/dist/components/Form/Select/examples/Error.d.ts +0 -2
- package/dist/components/Form/Select/examples/Form.d.ts +0 -2
- package/dist/components/Form/Select/examples/HelperText.d.ts +0 -2
- package/dist/components/Form/Select/examples/Multiple.d.ts +0 -2
- package/dist/components/Form/Select/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/Select/examples/Shadow.d.ts +0 -2
- package/dist/components/Form/Select/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/Select/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/Select/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/Select/examples/index.d.ts +0 -13
- package/dist/components/Form/Select/examples/isScrollable.d.ts +0 -2
- package/dist/components/Form/Switch/examples/ChildSwitch.d.ts +0 -2
- package/dist/components/Form/Switch/examples/ColorScheme.d.ts +0 -2
- package/dist/components/Form/Switch/examples/Default.d.ts +0 -2
- package/dist/components/Form/Switch/examples/DisabledInput.d.ts +0 -2
- package/dist/components/Form/Switch/examples/FormSwitch.d.ts +0 -2
- package/dist/components/Form/Switch/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/Switch/examples/Shadow.d.ts +0 -2
- package/dist/components/Form/Switch/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/Switch/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/Switch/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/Switch/examples/index.d.ts +0 -10
- package/dist/components/Form/TagInput/examples/Default.d.ts +0 -25
- package/dist/components/Form/TagInput/examples/index.d.ts +0 -1
- package/dist/components/Form/TextArea/examples/ColorScheme.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/Default.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/DisabledInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/ErrorInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/HelperText.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/LabelInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/MaxRowCol.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/Placeholder.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/ShadowArea.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/ShapeInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/VariantsInputs.d.ts +0 -2
- package/dist/components/Form/TextArea/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/TextArea/examples/index.d.ts +0 -15
- package/dist/components/Form/TextField/examples/ColorScheme.d.ts +0 -2
- package/dist/components/Form/TextField/examples/Default.d.ts +0 -2
- package/dist/components/Form/TextField/examples/DisabledInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/ErrorInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/HelperText.d.ts +0 -2
- package/dist/components/Form/TextField/examples/LabelInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/LeftChild.d.ts +0 -2
- package/dist/components/Form/TextField/examples/Placeholder.d.ts +0 -2
- package/dist/components/Form/TextField/examples/ReadOnlyInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/RightChild.d.ts +0 -2
- package/dist/components/Form/TextField/examples/ShapeInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/SizeInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/StylesInput.d.ts +0 -2
- package/dist/components/Form/TextField/examples/VariantsInputs.d.ts +0 -2
- package/dist/components/Form/TextField/examples/designSystem.d.ts +0 -12
- package/dist/components/Form/TextField/examples/index.d.ts +0 -16
- package/dist/components/Form/TextField/examples/isClearable.d.ts +0 -2
- package/dist/components/Formik/examples/FormikChatInput.d.ts +0 -3
- package/dist/components/Formik/examples/FormikCheckbox.d.ts +0 -2
- package/dist/components/Formik/examples/FormikColorInput.d.ts +0 -2
- package/dist/components/Formik/examples/FormikComboBox.d.ts +0 -2
- package/dist/components/Formik/examples/FormikCountryPicker.d.ts +0 -2
- package/dist/components/Formik/examples/FormikDatePicker.d.ts +0 -2
- package/dist/components/Formik/examples/FormikOTPInput.d.ts +0 -5
- package/dist/components/Formik/examples/FormikPassword.d.ts +0 -2
- package/dist/components/Formik/examples/FormikSelect.d.ts +0 -2
- package/dist/components/Formik/examples/FormikSlider.d.ts +0 -2
- package/dist/components/Formik/examples/FormikSwitch.d.ts +0 -2
- package/dist/components/Formik/examples/FormikTagInput.d.ts +0 -9
- package/dist/components/Formik/examples/FormikTextArea.d.ts +0 -2
- package/dist/components/Formik/examples/FormikTextField.d.ts +0 -2
- package/dist/components/Formik/examples/index.d.ts +0 -14
- package/dist/components/Gradient/examples/animated.d.ts +0 -2
- package/dist/components/Gradient/examples/default.d.ts +0 -2
- package/dist/components/Gradient/examples/designSystem.d.ts +0 -12
- package/dist/components/Gradient/examples/directions.d.ts +0 -2
- package/dist/components/Gradient/examples/index.d.ts +0 -7
- package/dist/components/Gradient/examples/multicolor.d.ts +0 -2
- package/dist/components/Gradient/examples/types.d.ts +0 -2
- package/dist/components/Gradient/examples/withContent.d.ts +0 -2
- package/dist/components/HoverCard/examples/default.d.ts +0 -2
- package/dist/components/HoverCard/examples/delays.d.ts +0 -2
- package/dist/components/HoverCard/examples/index.d.ts +0 -2
- package/dist/components/Link/examples/Default.d.ts +0 -2
- package/dist/components/Link/examples/IsExternal.d.ts +0 -2
- package/dist/components/Link/examples/Underline.d.ts +0 -2
- package/dist/components/Link/examples/index.d.ts +0 -3
- package/dist/components/Loader/examples/ColorLoader.d.ts +0 -2
- package/dist/components/Loader/examples/DefaultLoader.d.ts +0 -2
- package/dist/components/Loader/examples/PositionLoader.d.ts +0 -2
- package/dist/components/Loader/examples/SizeLoader.d.ts +0 -2
- package/dist/components/Loader/examples/SpeedLoader.d.ts +0 -2
- package/dist/components/Loader/examples/TextLoader.d.ts +0 -2
- package/dist/components/Loader/examples/VariantLoader.d.ts +0 -2
- package/dist/components/Loader/examples/index.d.ts +0 -7
- package/dist/components/Menubar/examples/composite.d.ts +0 -2
- package/dist/components/Menubar/examples/default.d.ts +0 -2
- package/dist/components/Menubar/examples/index.d.ts +0 -5
- package/dist/components/Menubar/examples/sizes.d.ts +0 -2
- package/dist/components/Menubar/examples/variants.d.ts +0 -2
- package/dist/components/Menubar/examples/vertical.d.ts +0 -2
- package/dist/components/Message/Examples/action.d.ts +0 -2
- package/dist/components/Message/Examples/default.d.ts +0 -2
- package/dist/components/Message/Examples/index.d.ts +0 -9
- package/dist/components/Message/Examples/isClosable.d.ts +0 -2
- package/dist/components/Message/Examples/showIcon.d.ts +0 -2
- package/dist/components/Message/Examples/styles.d.ts +0 -2
- package/dist/components/Message/Examples/subtitle.d.ts +0 -2
- package/dist/components/Message/Examples/timeout.d.ts +0 -2
- package/dist/components/Message/Examples/title.d.ts +0 -2
- package/dist/components/Message/Examples/variant.d.ts +0 -2
- package/dist/components/Modal/Examples/BlurModal.d.ts +0 -2
- package/dist/components/Modal/Examples/CloseButtonModal.d.ts +0 -2
- package/dist/components/Modal/Examples/DefaultModal.d.ts +0 -2
- package/dist/components/Modal/Examples/FullScreenModal.d.ts +0 -2
- package/dist/components/Modal/Examples/ModalPosition.d.ts +0 -2
- package/dist/components/Modal/Examples/PreventCloseModal.d.ts +0 -2
- package/dist/components/Modal/Examples/ScrollModal.d.ts +0 -2
- package/dist/components/Modal/Examples/ShadowModal.d.ts +0 -2
- package/dist/components/Modal/Examples/VariantModal.d.ts +0 -2
- package/dist/components/Modal/Examples/designSystem.d.ts +0 -12
- package/dist/components/Modal/Examples/index.d.ts +0 -10
- package/dist/components/NavigationMenu/examples/compound.d.ts +0 -2
- package/dist/components/NavigationMenu/examples/default.d.ts +0 -2
- package/dist/components/NavigationMenu/examples/designSystem.d.ts +0 -12
- package/dist/components/NavigationMenu/examples/horizontal.d.ts +0 -2
- package/dist/components/NavigationMenu/examples/index.d.ts +0 -6
- package/dist/components/NavigationMenu/examples/sizes.d.ts +0 -2
- package/dist/components/NavigationMenu/examples/variants.d.ts +0 -2
- package/dist/components/OTPInput/examples/Default.d.ts +0 -4
- package/dist/components/OTPInput/examples/OnComplete.d.ts +0 -2
- package/dist/components/OTPInput/examples/PasswordOTP.d.ts +0 -3
- package/dist/components/OTPInput/examples/StepValues.d.ts +0 -3
- package/dist/components/OTPInput/examples/index.d.ts +0 -4
- package/dist/components/Pagination/examples/advanced.d.ts +0 -2
- package/dist/components/Pagination/examples/default.d.ts +0 -2
- package/dist/components/Pagination/examples/index.d.ts +0 -6
- package/dist/components/Pagination/examples/shapes.d.ts +0 -2
- package/dist/components/Pagination/examples/sizes.d.ts +0 -2
- package/dist/components/Pagination/examples/table.d.ts +0 -2
- package/dist/components/Pagination/examples/variants.d.ts +0 -2
- package/dist/components/Resizable/examples/codeEditor.d.ts +0 -2
- package/dist/components/Resizable/examples/collapsible.d.ts +0 -2
- package/dist/components/Resizable/examples/controlled.d.ts +0 -2
- package/dist/components/Resizable/examples/default.d.ts +0 -2
- package/dist/components/Resizable/examples/index.d.ts +0 -9
- package/dist/components/Resizable/examples/nested.d.ts +0 -2
- package/dist/components/Resizable/examples/sizes.d.ts +0 -2
- package/dist/components/Resizable/examples/test.d.ts +0 -2
- package/dist/components/Resizable/examples/variants.d.ts +0 -2
- package/dist/components/Resizable/examples/vertical.d.ts +0 -2
- package/dist/components/Separator/examples/colors.d.ts +0 -2
- package/dist/components/Separator/examples/customized.d.ts +0 -2
- package/dist/components/Separator/examples/default.d.ts +0 -2
- package/dist/components/Separator/examples/designSystem.d.ts +0 -12
- package/dist/components/Separator/examples/inCard.d.ts +0 -2
- package/dist/components/Separator/examples/index.d.ts +0 -9
- package/dist/components/Separator/examples/orientations.d.ts +0 -2
- package/dist/components/Separator/examples/thicknesses.d.ts +0 -2
- package/dist/components/Separator/examples/variants.d.ts +0 -2
- package/dist/components/Separator/examples/withLabel.d.ts +0 -2
- package/dist/components/Sidebar/examples/accessibleSidebar.d.ts +0 -2
- package/dist/components/Sidebar/examples/controlled.d.ts +0 -2
- package/dist/components/Sidebar/examples/customized.d.ts +0 -2
- package/dist/components/Sidebar/examples/default.d.ts +0 -2
- package/dist/components/Sidebar/examples/designSystem.d.ts +0 -12
- package/dist/components/Sidebar/examples/index.d.ts +0 -8
- package/dist/components/Sidebar/examples/positions.d.ts +0 -2
- package/dist/components/Sidebar/examples/sizes.d.ts +0 -2
- package/dist/components/Sidebar/examples/variants.d.ts +0 -2
- package/dist/components/Slider/examples/controlled.d.ts +0 -2
- package/dist/components/Slider/examples/custom.d.ts +0 -2
- package/dist/components/Slider/examples/default.d.ts +0 -2
- package/dist/components/Slider/examples/disabled.d.ts +0 -2
- package/dist/components/Slider/examples/index.d.ts +0 -12
- package/dist/components/Slider/examples/range.d.ts +0 -2
- package/dist/components/Slider/examples/shapes.d.ts +0 -2
- package/dist/components/Slider/examples/sizes.d.ts +0 -2
- package/dist/components/Slider/examples/stepValues.d.ts +0 -3
- package/dist/components/Slider/examples/tooltip.d.ts +0 -2
- package/dist/components/Slider/examples/tooltipIntegration.d.ts +0 -2
- package/dist/components/Slider/examples/variants.d.ts +0 -2
- package/dist/components/Slider/examples/vertical.d.ts +0 -2
- package/dist/components/Table/examples/caption.d.ts +0 -2
- package/dist/components/Table/examples/data.d.ts +0 -2
- package/dist/components/Table/examples/default.d.ts +0 -2
- package/dist/components/Table/examples/designSystem.d.ts +0 -12
- package/dist/components/Table/examples/footer.d.ts +0 -2
- package/dist/components/Table/examples/index.d.ts +0 -6
- package/dist/components/Table/examples/styles.d.ts +0 -2
- package/dist/components/Tabs/examples/compound.d.ts +0 -5
- package/dist/components/Tabs/examples/customHeader.d.ts +0 -2
- package/dist/components/Tabs/examples/default.d.ts +0 -2
- package/dist/components/Tabs/examples/index.d.ts +0 -4
- package/dist/components/Tabs/examples/styles.d.ts +0 -2
- package/dist/components/Text/examples/designSystem.d.ts +0 -10
- package/dist/components/Text/examples/index.d.ts +0 -1
- package/dist/components/Title/examples/alternating.d.ts +0 -5
- package/dist/components/Title/examples/animated.d.ts +0 -5
- package/dist/components/Title/examples/animationLoop.d.ts +0 -5
- package/dist/components/Title/examples/custom.d.ts +0 -5
- package/dist/components/Title/examples/default.d.ts +0 -5
- package/dist/components/Title/examples/directAnimation.d.ts +0 -5
- package/dist/components/Title/examples/gradient.d.ts +0 -5
- package/dist/components/Title/examples/hero.d.ts +0 -5
- package/dist/components/Title/examples/highlight.d.ts +0 -5
- package/dist/components/Title/examples/highlightStyles.d.ts +0 -5
- package/dist/components/Title/examples/highlighted.d.ts +0 -5
- package/dist/components/Title/examples/index.d.ts +0 -13
- package/dist/components/Title/examples/responsive.d.ts +0 -5
- package/dist/components/Title/examples/typewriterHighlight.d.ts +0 -5
- package/dist/components/Toast/examples/actions.d.ts +0 -2
- package/dist/components/Toast/examples/customization.d.ts +0 -2
- package/dist/components/Toast/examples/default.d.ts +0 -2
- package/dist/components/Toast/examples/designSystem.d.ts +0 -12
- package/dist/components/Toast/examples/duration.d.ts +0 -2
- package/dist/components/Toast/examples/hookUsage.d.ts +0 -2
- package/dist/components/Toast/examples/index.d.ts +0 -8
- package/dist/components/Toast/examples/positions.d.ts +0 -2
- package/dist/components/Toast/examples/variants.d.ts +0 -2
- package/dist/components/Toggle/examples/colorScheme.d.ts +0 -2
- package/dist/components/Toggle/examples/default.d.ts +0 -2
- package/dist/components/Toggle/examples/index.d.ts +0 -6
- package/dist/components/Toggle/examples/isDisabled.d.ts +0 -2
- package/dist/components/Toggle/examples/isToggled.d.ts +0 -2
- package/dist/components/Toggle/examples/onToggle.d.ts +0 -2
- package/dist/components/Toggle/examples/shape.d.ts +0 -2
- package/dist/components/Toggle/examples/variant.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/colorScheme.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/default.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/index.d.ts +0 -5
- package/dist/components/ToggleGroup/examples/items.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/onToggleChange.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/shape.d.ts +0 -2
- package/dist/components/ToggleGroup/examples/variant.d.ts +0 -2
- package/dist/components/Tooltip/examples/custom.d.ts +0 -2
- package/dist/components/Tooltip/examples/default.d.ts +0 -2
- package/dist/components/Tooltip/examples/index.d.ts +0 -6
- package/dist/components/Tooltip/examples/integration.d.ts +0 -2
- package/dist/components/Tooltip/examples/positions.d.ts +0 -2
- package/dist/components/Tooltip/examples/sizes.d.ts +0 -2
- package/dist/components/Tooltip/examples/variants.d.ts +0 -2
- package/dist/components/Tree/examples/DragAndDrop.d.ts +0 -2
- package/dist/components/Tree/examples/controlled.d.ts +0 -2
- package/dist/components/Tree/examples/custom-styling.d.ts +0 -2
- package/dist/components/Tree/examples/data-driven.d.ts +0 -2
- package/dist/components/Tree/examples/default.d.ts +0 -2
- package/dist/components/Tree/examples/index.d.ts +0 -6
- package/dist/components/Tree/examples/variants.d.ts +0 -2
- package/dist/components/adk/AgentChat/examples/default.d.ts +0 -25
- package/dist/components/adk/AgentEval/examples/default.d.ts +0 -31
- package/dist/components/adk/AgentSession/examples/default.d.ts +0 -37
- package/dist/components/adk/AgentTrace/examples/default.d.ts +0 -31
- package/docs/adk-customization-guide.md +0 -204
- package/docs/adk-customization-summary.md +0 -157
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
export interface AudioInputProps extends ViewProps {
|
|
4
|
+
/**
|
|
5
|
+
* Callback function to be called when audio is available.
|
|
6
|
+
* @param file The audio file (Blob)
|
|
7
|
+
*/
|
|
8
|
+
onAudio: (file: File) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface AudioInputViewProps extends AudioInputProps {
|
|
11
|
+
recording: boolean;
|
|
12
|
+
paused: boolean;
|
|
13
|
+
audioBlob: Blob | null;
|
|
14
|
+
analyserNode: AnalyserNode | null;
|
|
15
|
+
startRecording: () => void;
|
|
16
|
+
stopRecording: () => void;
|
|
17
|
+
pauseRecording: () => void;
|
|
18
|
+
resumeRecording: () => void;
|
|
19
|
+
resetRecording: () => void;
|
|
20
|
+
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AudioInputProps } from './AudioInput.props';
|
|
2
|
+
export declare function useAudioInputState(props: AudioInputProps): {
|
|
3
|
+
recording: boolean;
|
|
4
|
+
paused: boolean;
|
|
5
|
+
audioBlob: Blob | null;
|
|
6
|
+
analyserNode: AnalyserNode | null;
|
|
7
|
+
startRecording: () => Promise<void>;
|
|
8
|
+
stopRecording: () => void;
|
|
9
|
+
pauseRecording: () => void;
|
|
10
|
+
resumeRecording: () => void;
|
|
11
|
+
resetRecording: () => void;
|
|
12
|
+
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AudioInputViewProps } from './AudioInput.props';
|
|
3
|
+
export declare function AudioInputView({ onAudio, recording, paused, audioBlob, analyserNode, startRecording, stopRecording, pauseRecording, resumeRecording, resetRecording, handleFileChange, ...viewProps }: AudioInputViewProps): React.JSX.Element;
|
|
4
|
+
export default AudioInputView;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
export interface AudioWaveformProps extends ViewProps {
|
|
3
|
+
/**
|
|
4
|
+
* The AnalyserNode from the Web Audio API, used to capture audio data.
|
|
5
|
+
*/
|
|
6
|
+
analyserNode: AnalyserNode | null;
|
|
7
|
+
/**
|
|
8
|
+
* Indicates whether the audio capture is paused.
|
|
9
|
+
*/
|
|
10
|
+
isPaused: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface AudioWaveformViewProps extends ViewProps {
|
|
13
|
+
/**
|
|
14
|
+
* Indicates whether the audio capture is paused.
|
|
15
|
+
*/
|
|
16
|
+
isPaused: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* An array of amplitude values representing the audio waveform bars.
|
|
19
|
+
*/
|
|
20
|
+
bars: number[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function useAudioRecording(): {
|
|
2
|
+
readonly recording: boolean;
|
|
3
|
+
readonly paused: boolean;
|
|
4
|
+
readonly audioBlob: Blob | null;
|
|
5
|
+
readonly analyserNode: AnalyserNode | null;
|
|
6
|
+
readonly duration: number;
|
|
7
|
+
readonly error: string | null;
|
|
8
|
+
readonly startRecording: () => Promise<void>;
|
|
9
|
+
readonly stopRecording: () => void;
|
|
10
|
+
readonly pauseRecording: () => void;
|
|
11
|
+
readonly resumeRecording: () => void;
|
|
12
|
+
readonly resetRecording: () => void;
|
|
13
|
+
};
|
|
@@ -24,6 +24,7 @@ export interface AuroraBackgroundProps extends BackgroundProps {
|
|
|
24
24
|
*/
|
|
25
25
|
export interface MeteorsProps extends ViewProps {
|
|
26
26
|
number?: number;
|
|
27
|
+
children?: ReactNode;
|
|
27
28
|
}
|
|
28
29
|
/**
|
|
29
30
|
* Wall component props
|
|
@@ -112,6 +113,53 @@ export interface BackgroundImageProps extends Omit<BackgroundProps, 'position'>
|
|
|
112
113
|
overlay?: ViewProps;
|
|
113
114
|
};
|
|
114
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
|
+
}
|
|
115
163
|
/**
|
|
116
164
|
* Background Gradient component props
|
|
117
165
|
* Extends GradientProps and adds Background-specific functionality
|
|
@@ -127,5 +175,7 @@ export interface BackgroundStyles {
|
|
|
127
175
|
aurora?: ViewProps;
|
|
128
176
|
meteors?: ViewProps;
|
|
129
177
|
image?: ViewProps;
|
|
178
|
+
video?: ViewProps;
|
|
179
|
+
overlay?: ViewProps;
|
|
130
180
|
gradient?: ViewProps;
|
|
131
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';
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UploadedFile } from './ChatInput/ChatInput.type';
|
|
3
2
|
interface AttachmentGroupProps {
|
|
4
|
-
files:
|
|
3
|
+
files: File[];
|
|
5
4
|
sandboxId?: string;
|
|
6
5
|
onRemove: (index: number) => void;
|
|
7
|
-
onSetAsReference?: (index: number) => void;
|
|
8
6
|
layout?: 'inline' | 'grid';
|
|
9
7
|
maxHeight?: string;
|
|
10
8
|
showPreviews?: boolean;
|
|
@@ -14,7 +12,6 @@ interface AttachmentGroupProps {
|
|
|
14
12
|
name?: any;
|
|
15
13
|
size?: any;
|
|
16
14
|
removeButton?: any;
|
|
17
|
-
referenceButton?: any;
|
|
18
15
|
};
|
|
19
16
|
}
|
|
20
17
|
export declare const AttachmentGroup: React.FC<AttachmentGroupProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ViewProps } from 'app-studio';
|
|
3
|
-
import { ChatInputStyles, ModelOption, PromptExample, Shape, Size,
|
|
3
|
+
import { ChatInputStyles, ModelOption, PromptExample, Shape, Size, Variant } from './ChatInput.type';
|
|
4
4
|
import { Suggestion } from '../EditableInput';
|
|
5
5
|
/**
|
|
6
6
|
* Props for the ChatInput component
|
|
@@ -65,6 +65,18 @@ export interface ChatInputProps extends ViewProps {
|
|
|
65
65
|
* Whether to hide the attachment button
|
|
66
66
|
*/
|
|
67
67
|
hideAttachments?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Enable audio recording button
|
|
70
|
+
*/
|
|
71
|
+
enableAudioRecording?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Callback when audio recording starts
|
|
74
|
+
*/
|
|
75
|
+
onAudioRecordingStart?: () => void;
|
|
76
|
+
/**
|
|
77
|
+
* Callback when audio recording stops
|
|
78
|
+
*/
|
|
79
|
+
onAudioRecordingStop?: (audio: Blob) => void;
|
|
68
80
|
/**
|
|
69
81
|
* Title for the chat input
|
|
70
82
|
*/
|
|
@@ -115,14 +127,6 @@ export interface ChatInputProps extends ViewProps {
|
|
|
115
127
|
avatar?: string;
|
|
116
128
|
description?: string;
|
|
117
129
|
}) => void;
|
|
118
|
-
/**
|
|
119
|
-
* Whether to show the reference image button
|
|
120
|
-
*/
|
|
121
|
-
showReferenceImageButton?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Callback function when the reference image button is clicked
|
|
124
|
-
*/
|
|
125
|
-
onReferenceImageClick?: () => void;
|
|
126
130
|
/**
|
|
127
131
|
* Error message to display at the bottom
|
|
128
132
|
*/
|
|
@@ -181,7 +185,7 @@ export interface ChatInputViewProps extends ChatInputProps {
|
|
|
181
185
|
/**
|
|
182
186
|
* List of uploaded files
|
|
183
187
|
*/
|
|
184
|
-
uploadedFiles:
|
|
188
|
+
uploadedFiles: File[];
|
|
185
189
|
/**
|
|
186
190
|
* Callback function to remove an uploaded file
|
|
187
191
|
*/
|
|
@@ -193,7 +197,7 @@ export interface ChatInputViewProps extends ChatInputProps {
|
|
|
193
197
|
/**
|
|
194
198
|
* Callback function to set uploaded files
|
|
195
199
|
*/
|
|
196
|
-
setUploadedFiles: React.Dispatch<React.SetStateAction<
|
|
200
|
+
setUploadedFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
197
201
|
/**
|
|
198
202
|
* Callback function to set whether files are being uploaded
|
|
199
203
|
*/
|
|
@@ -226,14 +230,6 @@ export interface ChatInputViewProps extends ChatInputProps {
|
|
|
226
230
|
* Callback function to hide the guide tip
|
|
227
231
|
*/
|
|
228
232
|
hideGuideTip: () => void;
|
|
229
|
-
/**
|
|
230
|
-
* Whether the reference image modal is shown
|
|
231
|
-
*/
|
|
232
|
-
isReferenceImageModalShown: boolean;
|
|
233
|
-
/**
|
|
234
|
-
* Callback function to toggle the reference image modal
|
|
235
|
-
*/
|
|
236
|
-
toggleReferenceImageModal: () => void;
|
|
237
233
|
/**
|
|
238
234
|
* Callback function to handle prompt example selection
|
|
239
235
|
*/
|
|
@@ -246,18 +242,6 @@ export interface ChatInputViewProps extends ChatInputProps {
|
|
|
246
242
|
* Callback function to handle drag leave events
|
|
247
243
|
*/
|
|
248
244
|
handleDragLeave: (e: React.DragEvent<HTMLDivElement>) => void;
|
|
249
|
-
/**
|
|
250
|
-
* Callback function to handle reference image upload
|
|
251
|
-
*/
|
|
252
|
-
handleReferenceImageUpload: (files: File[]) => void;
|
|
253
|
-
/**
|
|
254
|
-
* Callback function to remove reference image
|
|
255
|
-
*/
|
|
256
|
-
removeReferenceImage: () => void;
|
|
257
|
-
/**
|
|
258
|
-
* Callback function to set a file as reference image
|
|
259
|
-
*/
|
|
260
|
-
setFileAsReference: (fileIndex: number) => void;
|
|
261
245
|
/**
|
|
262
246
|
* List of suggestions for auto-completion
|
|
263
247
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ChatInputProps } from './ChatInput.props';
|
|
3
|
-
import { ModelOption, PromptExample
|
|
3
|
+
import { ModelOption, PromptExample } from './ChatInput.type';
|
|
4
4
|
/**
|
|
5
5
|
* Custom hook for managing ChatInput state
|
|
6
6
|
*/
|
|
@@ -12,11 +12,11 @@ export declare const useChatInputState: (props: ChatInputProps) => {
|
|
|
12
12
|
fileInputRef: import("react").MutableRefObject<HTMLInputElement | null>;
|
|
13
13
|
isUploading: boolean;
|
|
14
14
|
isDraggingOver: boolean;
|
|
15
|
-
uploadedFiles:
|
|
15
|
+
uploadedFiles: File[];
|
|
16
16
|
pendingFiles: File[];
|
|
17
17
|
removeUploadedFile: (index: number) => void;
|
|
18
18
|
setPendingFiles: import("react").Dispatch<import("react").SetStateAction<File[]>>;
|
|
19
|
-
setUploadedFiles: import("react").Dispatch<import("react").SetStateAction<
|
|
19
|
+
setUploadedFiles: import("react").Dispatch<import("react").SetStateAction<File[]>>;
|
|
20
20
|
setIsUploading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
21
21
|
selectedModel: string;
|
|
22
22
|
handleModelChange: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
@@ -27,10 +27,5 @@ export declare const useChatInputState: (props: ChatInputProps) => {
|
|
|
27
27
|
handleDragLeave: (e: React.DragEvent<HTMLDivElement>) => void;
|
|
28
28
|
isGuideTipShown: boolean;
|
|
29
29
|
hideGuideTip: () => void;
|
|
30
|
-
isReferenceImageModalShown: boolean;
|
|
31
|
-
toggleReferenceImageModal: () => void;
|
|
32
30
|
handlePromptExampleSelect: (example: PromptExample) => void;
|
|
33
|
-
handleReferenceImageUpload: (files: File[]) => void;
|
|
34
|
-
removeReferenceImage: () => void;
|
|
35
|
-
setFileAsReference: (fileIndex: number) => void;
|
|
36
31
|
};
|
|
@@ -11,17 +11,6 @@ export declare type Shape = 'default' | 'sharp' | 'rounded';
|
|
|
11
11
|
* Variant options for the ChatInput component
|
|
12
12
|
*/
|
|
13
13
|
export declare type Variant = 'default' | 'outline' | 'none';
|
|
14
|
-
/**
|
|
15
|
-
* Uploaded file interface
|
|
16
|
-
*/
|
|
17
|
-
export interface UploadedFile {
|
|
18
|
-
name: string;
|
|
19
|
-
path: string;
|
|
20
|
-
size: number;
|
|
21
|
-
type: string;
|
|
22
|
-
localUrl?: string;
|
|
23
|
-
isReferenceImage?: boolean;
|
|
24
|
-
}
|
|
25
14
|
/**
|
|
26
15
|
* Prompt example interface
|
|
27
16
|
*/
|
|
@@ -53,16 +42,14 @@ export interface ChatInputStyles {
|
|
|
53
42
|
guideTipClose?: ViewProps;
|
|
54
43
|
promptExamples?: ViewProps;
|
|
55
44
|
promptExampleItem?: ViewProps;
|
|
56
|
-
referenceImageButton?: ViewProps;
|
|
57
|
-
referenceImageModal?: ViewProps;
|
|
58
45
|
attachments?: ViewProps;
|
|
59
46
|
attachmentItem?: ViewProps;
|
|
60
47
|
attachmentName?: ViewProps;
|
|
61
48
|
attachmentSize?: ViewProps;
|
|
62
49
|
attachmentRemove?: ViewProps;
|
|
63
|
-
referenceButton?: ViewProps;
|
|
64
50
|
submitButton?: ViewProps;
|
|
65
51
|
fileButton?: ViewProps;
|
|
52
|
+
recordButton?: ViewProps;
|
|
66
53
|
modelSelector?: ViewProps;
|
|
67
54
|
loadingIndicator?: ViewProps;
|
|
68
55
|
bottomTip?: ViewProps;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UploadedFile } from './ChatInput/ChatInput.type';
|
|
3
2
|
interface ChatUploaderProps {
|
|
4
3
|
loading: boolean;
|
|
5
4
|
disabled: boolean;
|
|
@@ -8,7 +7,7 @@ interface ChatUploaderProps {
|
|
|
8
7
|
hideAttachments?: boolean;
|
|
9
8
|
sandboxId?: string;
|
|
10
9
|
setPendingFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
11
|
-
setUploadedFiles: React.Dispatch<React.SetStateAction<
|
|
10
|
+
setUploadedFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
12
11
|
setIsUploading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
13
12
|
views?: {
|
|
14
13
|
button?: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ModelOption
|
|
2
|
+
import { ModelOption } from './ChatInput/ChatInput.type';
|
|
3
3
|
interface MessageInputProps {
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
@@ -10,12 +10,12 @@ interface MessageInputProps {
|
|
|
10
10
|
isAgentRunning?: boolean;
|
|
11
11
|
onStopAgent?: () => void;
|
|
12
12
|
isDraggingOver?: boolean;
|
|
13
|
-
uploadedFiles:
|
|
13
|
+
uploadedFiles: File[];
|
|
14
14
|
fileInputRef: React.RefObject<HTMLInputElement>;
|
|
15
15
|
isUploading: boolean;
|
|
16
16
|
sandboxId?: string;
|
|
17
17
|
setPendingFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
18
|
-
setUploadedFiles: React.Dispatch<React.SetStateAction<
|
|
18
|
+
setUploadedFiles: React.Dispatch<React.SetStateAction<File[]>>;
|
|
19
19
|
setIsUploading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
20
20
|
hideAttachments?: boolean;
|
|
21
21
|
selectedModel: string;
|
|
@@ -4,5 +4,4 @@ export { EditableInput } from './EditableInput';
|
|
|
4
4
|
export { ChatUploader } from './ChatUploader';
|
|
5
5
|
export { GuideTip } from './GuideTip';
|
|
6
6
|
export { PromptExamples } from './PromptExamples';
|
|
7
|
-
export {
|
|
8
|
-
export { ReferenceImageModal } from './ReferenceImageModal';
|
|
7
|
+
export { AudioRecorder } from './AudioRecorder';
|
|
@@ -13,6 +13,7 @@ export declare const DragHandleIcon: React.FC<IconProps>;
|
|
|
13
13
|
export declare const FileIcon: React.FC<IconProps>;
|
|
14
14
|
export declare const VideoIcon: React.FC<IconProps>;
|
|
15
15
|
export declare const ImageIcon: React.FC<IconProps>;
|
|
16
|
+
export declare const AudioIcon: React.FC<IconProps>;
|
|
16
17
|
export declare const TwitterIcon: React.FC<IconProps>;
|
|
17
18
|
export declare const XIcon: React.FC<IconProps>;
|
|
18
19
|
export declare const TwitchIcon: React.FC<IconProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MediaPreviewProps {
|
|
3
|
+
url: string;
|
|
4
|
+
type: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
onOpen?: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* MediaPreview renders a square thumbnail for image, video or audio files.
|
|
10
|
+
* It falls back to a file icon for unsupported types. Clicking the preview
|
|
11
|
+
* opens the original file unless the user interacts with playback controls.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MediaPreview: React.FC<MediaPreviewProps>;
|
|
14
|
+
export default MediaPreview;
|
|
@@ -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
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AgentMessage } from './AgentChat.props';
|
|
3
|
+
interface AgentRunProgressProps {
|
|
4
|
+
messages: AgentMessage[];
|
|
5
|
+
isTyping: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Displays a step-by-step view of the agent's reasoning and execution
|
|
9
|
+
*/
|
|
10
|
+
export declare const AgentRunProgress: React.FC<AgentRunProgressProps>;
|
|
11
|
+
export default AgentRunProgress;
|
|
@@ -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
|