@app-studio/components 0.11.8 → 0.11.11
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/apple-touch-icon.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +4 -0
- package/dist/icon-512.png +0 -0
- package/dist/index.d.ts +474 -416
- package/dist/indexnow-key.txt +1 -0
- package/dist/manifest.json +9 -9
- package/dist/native/components/Accordion/Accordion/Accordion.props.d.ts +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.state.js +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.d.ts +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.js +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.d.ts +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.js +1 -1
- package/dist/native/components/Accordion/Accordion.js +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.props.d.ts +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.state.js +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.type.d.ts +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.d.ts +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.js +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.d.ts +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js +1 -1
- package/dist/native/components/ActionSheet/ActionSheet.d.ts +1 -1
- package/dist/native/components/ActionSheet/ActionSheet.js +1 -1
- package/dist/native/components/Alert/Alert/Alert.props.d.ts +1 -1
- package/dist/native/components/Alert/Alert/Alert.state.d.ts +1 -1
- package/dist/native/components/Alert/Alert/Alert.state.js +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.d.ts +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.js +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.native.js +1 -1
- package/dist/native/components/Alert/Alert.d.ts +1 -1
- package/dist/native/components/Alert/Alert.js +1 -1
- package/dist/native/components/AppRoot/AppRoot.d.ts +1 -1
- package/dist/native/components/AppRoot/AppRoot.js +1 -1
- package/dist/native/components/AppRoot/AppRoot.native.d.ts +1 -1
- package/dist/native/components/AppRoot/AppRoot.native.js +1 -1
- package/dist/native/components/AppRoot/AppRoot.types.d.ts +1 -1
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +1 -1
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.js +1 -1
- package/dist/native/components/AspectRatio/AspectRatio.d.ts +1 -1
- package/dist/native/components/AspectRatio/AspectRatio.js +1 -1
- package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +1 -1
- package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.js +1 -1
- package/dist/native/components/AudioInput/AudioInput/AudioInput.state.js +1 -1
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.d.ts +1 -1
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js +1 -1
- package/dist/native/components/AudioInput/AudioInput.d.ts +1 -1
- package/dist/native/components/AudioInput/AudioInput.js +1 -1
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +1 -1
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.js +1 -1
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +1 -1
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.js +1 -1
- package/dist/native/components/AudioInput/useAudioRecording.js +1 -1
- package/dist/native/components/AudioInput/useAudioRecording.native.js +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.state.js +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.view.js +1 -1
- package/dist/native/components/Avatar/Avatar.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar.js +1 -1
- package/dist/native/components/Background/Background/Background.props.d.ts +1 -1
- package/dist/native/components/Background/Background/Background.view.d.ts +1 -1
- package/dist/native/components/Background/Background/Background.view.js +1 -1
- package/dist/native/components/Background/Background/Background.view.native.d.ts +1 -1
- package/dist/native/components/Background/Background/Background.view.native.js +1 -1
- package/dist/native/components/Background/Background.d.ts +1 -1
- package/dist/native/components/Background/Background.js +1 -1
- package/dist/native/components/Badge/Badge/Badge.view.d.ts +1 -1
- package/dist/native/components/Badge/Badge/Badge.view.js +1 -1
- package/dist/native/components/Badge/Badge.d.ts +1 -1
- package/dist/native/components/Badge/Badge.js +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.d.ts +10 -7
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js +98 -13
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +3 -2
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js +48 -4
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +14 -3
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js +100 -13
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +32 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js +13 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js +58 -17
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +42 -10
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js +214 -6
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.d.ts +6 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.js +17 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.d.ts +6 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.js +8 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js +10 -10
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.d.ts +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js +6 -4
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor.d.ts +1 -1
- package/dist/native/components/BlockEditor/BlockEditor.js +1 -1
- package/dist/native/components/Button/Button/Button.props.d.ts +1 -1
- package/dist/native/components/Button/Button/Button.state.d.ts +1 -1
- package/dist/native/components/Button/Button/Button.state.js +1 -1
- package/dist/native/components/Button/Button/Button.view.d.ts +1 -1
- package/dist/native/components/Button/Button/Button.view.js +1 -1
- package/dist/native/components/Button/Button/Button.view.native.d.ts +1 -1
- package/dist/native/components/Button/Button/Button.view.native.js +1 -1
- package/dist/native/components/Button/Button.d.ts +1 -1
- package/dist/native/components/Button/Button.js +1 -1
- package/dist/native/components/Card/Card/Card.context.d.ts +1 -1
- package/dist/native/components/Card/Card/Card.context.js +1 -1
- package/dist/native/components/Card/Card/Card.state.d.ts +1 -1
- package/dist/native/components/Card/Card/Card.state.js +1 -1
- package/dist/native/components/Card/Card/Card.view.d.ts +1 -1
- package/dist/native/components/Card/Card/Card.view.js +1 -1
- package/dist/native/components/Card/Card.js +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.context.d.ts +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.context.js +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.state.js +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.view.d.ts +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.view.js +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.view.native.d.ts +1 -1
- package/dist/native/components/Carousel/Carousel/Carousel.view.native.js +1 -1
- package/dist/native/components/Carousel/Carousel.js +1 -1
- package/dist/native/components/Chart/Chart/BarChart.d.ts +1 -1
- package/dist/native/components/Chart/Chart/BarChart.js +1 -1
- package/dist/native/components/Chart/Chart/BarChart.native.d.ts +1 -1
- package/dist/native/components/Chart/Chart/BarChart.native.js +1 -1
- package/dist/native/components/Chart/Chart/Chart.state.d.ts +2 -2
- package/dist/native/components/Chart/Chart/Chart.state.js +1 -1
- package/dist/native/components/Chart/Chart/Chart.view.d.ts +1 -1
- package/dist/native/components/Chart/Chart/Chart.view.js +1 -1
- package/dist/native/components/Chart/Chart/ChartTooltip.d.ts +1 -1
- package/dist/native/components/Chart/Chart/ChartTooltip.js +1 -1
- package/dist/native/components/Chart/Chart/LineChart.d.ts +1 -1
- package/dist/native/components/Chart/Chart/LineChart.js +1 -1
- package/dist/native/components/Chart/Chart/LineChart.native.d.ts +1 -1
- package/dist/native/components/Chart/Chart/LineChart.native.js +1 -1
- package/dist/native/components/Chart/Chart/PieChart.d.ts +1 -1
- package/dist/native/components/Chart/Chart/PieChart.js +1 -1
- package/dist/native/components/Chart/Chart/PieChart.native.d.ts +1 -1
- package/dist/native/components/Chart/Chart/PieChart.native.js +1 -1
- package/dist/native/components/Chart/Chart.d.ts +1 -1
- package/dist/native/components/Chart/Chart.js +1 -1
- package/dist/native/components/ChatInput/AttachmentGroup.d.ts +1 -1
- package/dist/native/components/ChatInput/AttachmentGroup.js +1 -1
- package/dist/native/components/ChatInput/AudioRecorder.d.ts +1 -1
- package/dist/native/components/ChatInput/AudioRecorder.js +1 -1
- package/dist/native/components/ChatInput/ChatInput/ChatInput.state.d.ts +7 -7
- package/dist/native/components/ChatInput/ChatInput/ChatInput.state.js +1 -1
- package/dist/native/components/ChatInput/ChatInput/ChatInput.view.d.ts +1 -1
- package/dist/native/components/ChatInput/ChatInput/ChatInput.view.js +1 -1
- package/dist/native/components/ChatInput/ChatInput.d.ts +1 -1
- package/dist/native/components/ChatInput/ChatInput.js +1 -1
- package/dist/native/components/ChatInput/ChatUploader.d.ts +1 -1
- package/dist/native/components/ChatInput/ChatUploader.js +1 -1
- package/dist/native/components/ChatInput/EditableInput.d.ts +1 -1
- package/dist/native/components/ChatInput/EditableInput.js +1 -1
- package/dist/native/components/ChatInput/EditableInput.native.d.ts +1 -1
- package/dist/native/components/ChatInput/EditableInput.native.js +1 -1
- package/dist/native/components/ChatInput/GuideTip.d.ts +1 -1
- package/dist/native/components/ChatInput/GuideTip.js +1 -1
- package/dist/native/components/ChatInput/MessageInput.d.ts +1 -1
- package/dist/native/components/ChatInput/MessageInput.js +1 -1
- package/dist/native/components/ChatInput/MessageInput.native.d.ts +1 -1
- package/dist/native/components/ChatInput/MessageInput.native.js +1 -1
- package/dist/native/components/ChatInput/PromptExamples.d.ts +1 -1
- package/dist/native/components/ChatInput/PromptExamples.js +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +2 -2
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.js +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.js +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.native.d.ts +1 -1
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.native.js +1 -1
- package/dist/native/components/ChatWidget/ChatWidget.d.ts +1 -1
- package/dist/native/components/ChatWidget/ChatWidget.js +1 -1
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +1 -1
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.js +1 -1
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.native.d.ts +1 -1
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.native.js +1 -1
- package/dist/native/components/ChatWidget/Widget/useContextSelector.d.ts +1 -1
- package/dist/native/components/ChatWidget/Widget/useContextSelector.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +2 -2
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.d.ts +1 -1
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js +1 -1
- package/dist/native/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/native/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/native/components/Command/Command/Command.props.d.ts +1 -1
- package/dist/native/components/Command/Command/Command.state.d.ts +3 -3
- package/dist/native/components/Command/Command/Command.state.js +1 -1
- package/dist/native/components/Command/Command/Command.type.d.ts +1 -1
- package/dist/native/components/Command/Command/Command.view.d.ts +1 -1
- package/dist/native/components/Command/Command/Command.view.js +1 -1
- package/dist/native/components/Command/Command/Command.view.native.d.ts +1 -1
- package/dist/native/components/Command/Command/Command.view.native.js +1 -1
- package/dist/native/components/Command/Command/CommandOverlay.d.ts +1 -1
- package/dist/native/components/Command/Command/CommandOverlay.js +1 -1
- package/dist/native/components/Command/Command/CommandOverlay.native.d.ts +1 -1
- package/dist/native/components/Command/Command/CommandOverlay.native.js +1 -1
- package/dist/native/components/Command/Command/CommandTextInput.d.ts +1 -1
- package/dist/native/components/Command/Command/CommandTextInput.js +1 -1
- package/dist/native/components/Command/Command/CommandTextInput.native.d.ts +1 -1
- package/dist/native/components/Command/Command/CommandTextInput.native.js +1 -1
- package/dist/native/components/Command/Command.js +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.js +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.js +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.d.ts +1 -1
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.js +1 -1
- package/dist/native/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +1 -1
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.js +1 -1
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +1 -1
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.js +1 -1
- package/dist/native/components/CookieConsent/CookieConsent.d.ts +1 -1
- package/dist/native/components/CookieConsent/CookieConsent.js +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.js +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.native.d.ts +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.native.js +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.js +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.native.d.ts +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.native.js +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop.d.ts +1 -1
- package/dist/native/components/DragAndDrop/DragAndDrop.js +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.layout.d.ts +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.layout.js +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.props.d.ts +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.view.d.ts +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.view.js +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.view.native.d.ts +1 -1
- package/dist/native/components/Drawer/Drawer/Drawer.view.native.js +1 -1
- package/dist/native/components/Drawer/Drawer.js +1 -1
- package/dist/native/components/DropZone/DropZone/DropZone.state.js +1 -1
- package/dist/native/components/DropZone/DropZone/DropZone.view.d.ts +1 -1
- package/dist/native/components/DropZone/DropZone/DropZone.view.js +1 -1
- package/dist/native/components/DropZone/DropZone/DropZone.view.native.d.ts +1 -1
- package/dist/native/components/DropZone/DropZone/DropZone.view.native.js +1 -1
- package/dist/native/components/DropZone/DropZone.d.ts +1 -1
- package/dist/native/components/DropZone/DropZone.js +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +2 -2
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.js +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.js +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.d.ts +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.js +1 -1
- package/dist/native/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/native/components/EditComponent/EditComponent.d.ts +1 -1
- package/dist/native/components/EditComponent/EditComponent.js +1 -1
- package/dist/native/components/EditComponent/EditPanel.d.ts +1 -1
- package/dist/native/components/EditComponent/EditPanel.js +1 -1
- package/dist/native/components/EditComponent/EditToolbar.d.ts +1 -1
- package/dist/native/components/EditComponent/EditToolbar.js +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +4 -4
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.d.ts +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.js +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker.js +1 -1
- package/dist/native/components/File/File.d.ts +1 -1
- package/dist/native/components/File/File.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.d.ts +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox.d.ts +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox.js +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +4 -4
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.js +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.d.ts +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput.d.ts +1 -1
- package/dist/native/components/Form/ColorInput/ColorInput.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.state.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.native.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.native.js +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox.d.ts +1 -1
- package/dist/native/components/Form/ComboBox/ComboBox.js +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.js +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.d.ts +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.js +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker.d.ts +1 -1
- package/dist/native/components/Form/CountryPicker/CountryPicker.js +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker.d.ts +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker.js +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.d.ts +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.js +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.native.d.ts +1 -1
- package/dist/native/components/Form/Label/Label/Label.view.native.js +1 -1
- package/dist/native/components/Form/Label/Label.d.ts +1 -1
- package/dist/native/components/Form/Label/Label.js +1 -1
- package/dist/native/components/Form/Password/Password/Password.props.d.ts +1 -1
- package/dist/native/components/Form/Password/Password/Password.state.d.ts +1 -1
- package/dist/native/components/Form/Password/Password/Password.state.js +1 -1
- package/dist/native/components/Form/Password/Password/Password.type.d.ts +1 -1
- package/dist/native/components/Form/Password/Password.d.ts +1 -1
- package/dist/native/components/Form/Password/Password.js +1 -1
- package/dist/native/components/Form/Password/example/Default.d.ts +1 -1
- package/dist/native/components/Form/Password/example/Default.js +1 -1
- package/dist/native/components/Form/Password/example/DisabledInput.d.ts +1 -1
- package/dist/native/components/Form/Password/example/DisabledInput.js +1 -1
- package/dist/native/components/Form/Password/example/ErrorInput.d.ts +1 -1
- package/dist/native/components/Form/Password/example/ErrorInput.js +2 -2
- package/dist/native/components/Form/Password/example/HelperText.d.ts +1 -1
- package/dist/native/components/Form/Password/example/HelperText.js +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.props.d.ts +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.state.d.ts +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.state.js +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.d.ts +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.js +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.d.ts +1 -1
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.js +1 -1
- package/dist/native/components/Form/Radio/Radio.d.ts +1 -1
- package/dist/native/components/Form/Radio/Radio.js +1 -1
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +1 -1
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.state.js +1 -1
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +1 -1
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js +1 -1
- package/dist/native/components/Form/Radio/RadioGroup.d.ts +1 -1
- package/dist/native/components/Form/Radio/RadioGroup.js +1 -1
- package/dist/native/components/Form/Select/Select/Select.state.d.ts +1 -1
- package/dist/native/components/Form/Select/Select/Select.state.js +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.d.ts +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.js +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.native.d.ts +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.native.js +1 -1
- package/dist/native/components/Form/Select/Select.d.ts +1 -1
- package/dist/native/components/Form/Select/Select.js +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.state.d.ts +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.state.js +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.d.ts +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.js +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.native.d.ts +1 -1
- package/dist/native/components/Form/Selector/Selector/Selector.view.native.js +1 -1
- package/dist/native/components/Form/Selector/Selector.d.ts +1 -1
- package/dist/native/components/Form/Selector/Selector.js +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.state.d.ts +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.state.js +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.d.ts +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.js +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.d.ts +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +1 -1
- package/dist/native/components/Form/Switch/Switch.d.ts +1 -1
- package/dist/native/components/Form/Switch/Switch.js +1 -1
- package/dist/native/components/Form/TagInput/TagInput/TagInput.props.d.ts +1 -1
- package/dist/native/components/Form/TagInput/TagInput/TagInput.state.d.ts +4 -4
- package/dist/native/components/Form/TagInput/TagInput/TagInput.state.js +1 -1
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.d.ts +1 -1
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js +1 -1
- package/dist/native/components/Form/TagInput/TagInput.d.ts +1 -1
- package/dist/native/components/Form/TagInput/TagInput.js +1 -1
- package/dist/native/components/Form/TextArea/TextArea/TextArea.state.d.ts +4 -4
- package/dist/native/components/Form/TextArea/TextArea/TextArea.state.js +1 -1
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.d.ts +1 -1
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.js +1 -1
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.d.ts +1 -1
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.js +1 -1
- package/dist/native/components/Form/TextArea/TextArea.d.ts +1 -1
- package/dist/native/components/Form/TextArea/TextArea.js +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.state.d.ts +4 -4
- package/dist/native/components/Form/TextField/TextField/TextField.state.js +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.d.ts +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.js +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.d.ts +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +1 -1
- package/dist/native/components/Form/TextField/TextField.d.ts +1 -1
- package/dist/native/components/Form/TextField/TextField.js +1 -1
- package/dist/native/components/Formik/AttachmentPreview.d.ts +1 -1
- package/dist/native/components/Formik/AttachmentPreview.js +1 -1
- package/dist/native/components/Formik/Formik.ChatInput.d.ts +1 -1
- package/dist/native/components/Formik/Formik.ChatInput.js +1 -1
- package/dist/native/components/Formik/Formik.Checkbox.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Checkbox.js +1 -1
- package/dist/native/components/Formik/Formik.ColorInput.d.ts +1 -1
- package/dist/native/components/Formik/Formik.ColorInput.js +1 -1
- package/dist/native/components/Formik/Formik.ComboBox.d.ts +1 -1
- package/dist/native/components/Formik/Formik.ComboBox.js +1 -1
- package/dist/native/components/Formik/Formik.CountryPicker.d.ts +1 -1
- package/dist/native/components/Formik/Formik.CountryPicker.js +1 -1
- package/dist/native/components/Formik/Formik.DatePicker.d.ts +1 -1
- package/dist/native/components/Formik/Formik.DatePicker.js +1 -1
- package/dist/native/components/Formik/Formik.EmojiPicker.d.ts +1 -1
- package/dist/native/components/Formik/Formik.EmojiPicker.js +1 -1
- package/dist/native/components/Formik/Formik.Form.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Form.js +1 -1
- package/dist/native/components/Formik/Formik.IconPicker.d.ts +1 -1
- package/dist/native/components/Formik/Formik.IconPicker.js +1 -1
- package/dist/native/components/Formik/Formik.OTPInput.d.ts +1 -1
- package/dist/native/components/Formik/Formik.OTPInput.js +1 -1
- package/dist/native/components/Formik/Formik.Password.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Password.js +1 -1
- package/dist/native/components/Formik/Formik.Radio.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Radio.js +1 -1
- package/dist/native/components/Formik/Formik.Select.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Select.js +1 -1
- package/dist/native/components/Formik/Formik.Selector.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Selector.js +1 -1
- package/dist/native/components/Formik/Formik.Slider.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Slider.js +1 -1
- package/dist/native/components/Formik/Formik.Switch.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Switch.js +1 -1
- package/dist/native/components/Formik/Formik.TagInput.d.ts +1 -1
- package/dist/native/components/Formik/Formik.TagInput.js +1 -1
- package/dist/native/components/Formik/Formik.TextArea.d.ts +1 -1
- package/dist/native/components/Formik/Formik.TextArea.js +1 -1
- package/dist/native/components/Formik/Formik.TextField.d.ts +1 -1
- package/dist/native/components/Formik/Formik.TextField.js +1 -1
- package/dist/native/components/Formik/Formik.Toggle.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Toggle.js +1 -1
- package/dist/native/components/Formik/Formik.ToggleGroup.d.ts +1 -1
- package/dist/native/components/Formik/Formik.ToggleGroup.js +1 -1
- package/dist/native/components/Formik/Formik.Uploader.d.ts +1 -1
- package/dist/native/components/Formik/Formik.Uploader.js +1 -1
- package/dist/native/components/Gradient/Gradient/Gradient.view.d.ts +1 -1
- package/dist/native/components/Gradient/Gradient/Gradient.view.js +1 -1
- package/dist/native/components/Gradient/Gradient/Gradient.view.native.d.ts +1 -1
- package/dist/native/components/Gradient/Gradient/Gradient.view.native.js +1 -1
- package/dist/native/components/Gradient/Gradient.d.ts +1 -1
- package/dist/native/components/Gradient/Gradient.js +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.props.d.ts +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.state.d.ts +2 -2
- package/dist/native/components/HoverCard/HoverCard/HoverCard.state.js +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.style.d.ts +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.d.ts +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.js +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.d.ts +1 -1
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.js +1 -1
- package/dist/native/components/HoverCard/HoverCard.js +1 -1
- package/dist/native/components/Icon/Icon.d.ts +1 -1
- package/dist/native/components/Icon/Icon.js +1 -1
- package/dist/native/components/Icon/Icon.native.d.ts +1 -1
- package/dist/native/components/Icon/Icon.native.js +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.state.d.ts +2 -2
- package/dist/native/components/IconPicker/IconPicker/IconPicker.state.js +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.d.ts +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.d.ts +1 -1
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js +1 -1
- package/dist/native/components/IconPicker/IconPicker.d.ts +1 -1
- package/dist/native/components/IconPicker/IconPicker.js +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer.d.ts +1 -1
- package/dist/native/components/Input/FieldContainer/FieldContainer.js +1 -1
- package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -1
- package/dist/native/components/Input/FieldContent/FieldContent.d.ts +1 -1
- package/dist/native/components/Input/FieldContent/FieldContent.js +1 -1
- package/dist/native/components/Input/FieldIcons/FieldIcons.d.ts +1 -1
- package/dist/native/components/Input/FieldIcons/FieldIcons.js +1 -1
- package/dist/native/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
- package/dist/native/components/Input/FieldLabel/FieldLabel.d.ts +1 -1
- package/dist/native/components/Input/FieldLabel/FieldLabel.js +1 -1
- package/dist/native/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
- package/dist/native/components/Input/FieldLayout/FieldLayout.d.ts +1 -1
- package/dist/native/components/Input/FieldLayout/FieldLayout.js +1 -1
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.d.ts +1 -1
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/native/components/Input/HelperText/HelperText.d.ts +1 -1
- package/dist/native/components/Input/HelperText/HelperText.js +1 -1
- package/dist/native/components/Input/HelperText/HelperText.props.d.ts +1 -1
- package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +1 -1
- package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.js +1 -1
- package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts +1 -1
- package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.native.js +1 -1
- package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.types.d.ts +1 -1
- package/dist/native/components/Link/Link/Link.props.d.ts +1 -1
- package/dist/native/components/Link/Link/Link.state.d.ts +1 -1
- package/dist/native/components/Link/Link/Link.state.js +1 -1
- package/dist/native/components/Link/Link/Link.view.d.ts +1 -1
- package/dist/native/components/Link/Link/Link.view.js +1 -1
- package/dist/native/components/Link/Link/Link.view.native.d.ts +1 -1
- package/dist/native/components/Link/Link/Link.view.native.js +1 -1
- package/dist/native/components/Link/Link.d.ts +1 -1
- package/dist/native/components/Link/Link.js +1 -1
- package/dist/native/components/Loader/Loader/Loader.props.d.ts +1 -1
- package/dist/native/components/Loader/Loader/Loader.view.d.ts +1 -1
- package/dist/native/components/Loader/Loader/Loader.view.js +1 -1
- package/dist/native/components/Loader/Loader/Loader.view.native.d.ts +1 -1
- package/dist/native/components/Loader/Loader/Loader.view.native.js +1 -1
- package/dist/native/components/Loader/Loader.d.ts +1 -1
- package/dist/native/components/Loader/Loader.js +1 -1
- package/dist/native/components/Markdown/Markdown/Markdown.content.d.ts +2 -2
- package/dist/native/components/Markdown/Markdown/Markdown.content.js +26 -7
- package/dist/native/components/Markdown/Markdown/Markdown.content.js.map +1 -1
- package/dist/native/components/Markdown/Markdown/Markdown.motion.d.ts +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.motion.js +16 -0
- package/dist/native/components/Markdown/Markdown/Markdown.motion.js.map +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.motion.native.d.ts +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.motion.native.js +21 -0
- package/dist/native/components/Markdown/Markdown/Markdown.motion.native.js.map +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.props.d.ts +19 -1
- package/dist/native/components/Markdown/Markdown/Markdown.view.native.d.ts +1 -1
- package/dist/native/components/Markdown/Markdown/Markdown.view.native.js +1 -1
- package/dist/native/components/Markdown/Markdown/useMarkdownTyping.d.ts +6 -0
- package/dist/native/components/Markdown/Markdown/useMarkdownTyping.js +81 -0
- package/dist/native/components/Markdown/Markdown/useMarkdownTyping.js.map +1 -0
- package/dist/native/components/Markdown/Markdown.d.ts +1 -1
- package/dist/native/components/Markdown/Markdown.js +1 -1
- package/dist/native/components/MediaPreview.d.ts +1 -1
- package/dist/native/components/MediaPreview.js +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.props.d.ts +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.state.d.ts +2 -2
- package/dist/native/components/Menubar/Menubar/Menubar.state.js +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.type.d.ts +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.view.d.ts +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.view.js +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.view.native.d.ts +1 -1
- package/dist/native/components/Menubar/Menubar/Menubar.view.native.js +1 -1
- package/dist/native/components/Menubar/Menubar.js +1 -1
- package/dist/native/components/Message/Message/Message.layout.d.ts +1 -1
- package/dist/native/components/Message/Message/Message.layout.js +1 -1
- package/dist/native/components/Message/Message/Message.layout.native.d.ts +1 -1
- package/dist/native/components/Message/Message/Message.layout.native.js +1 -1
- package/dist/native/components/Message/Message/Message.view.d.ts +1 -1
- package/dist/native/components/Message/Message/Message.view.js +1 -1
- package/dist/native/components/Modal/Modal/Modal.layout.d.ts +1 -1
- package/dist/native/components/Modal/Modal/Modal.layout.js +1 -1
- package/dist/native/components/Modal/Modal/Modal.props.d.ts +3 -1
- package/dist/native/components/Modal/Modal/Modal.view.d.ts +1 -1
- package/dist/native/components/Modal/Modal/Modal.view.js +1 -1
- package/dist/native/components/Modal/Modal/Modal.view.native.d.ts +1 -1
- package/dist/native/components/Modal/Modal/Modal.view.native.js +1 -1
- package/dist/native/components/Modal/Modal.js +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +2 -2
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.js +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.js +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.d.ts +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.js +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu.js +1 -1
- package/dist/native/components/OTPInput/OTPInput/OTPInput.state.d.ts +7 -7
- package/dist/native/components/OTPInput/OTPInput/OTPInput.state.js +1 -1
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.d.ts +1 -1
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.js +1 -1
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.d.ts +1 -1
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.js +1 -1
- package/dist/native/components/OTPInput/OTPInput.d.ts +1 -1
- package/dist/native/components/OTPInput/OTPInput.js +1 -1
- package/dist/native/components/PageLayout/PageLayout.d.ts +1 -1
- package/dist/native/components/PageLayout/PageLayout.js +1 -1
- package/dist/native/components/PageLayout/PageLayout.types.d.ts +1 -1
- package/dist/native/components/Pagination/Pagination/Pagination.state.js +1 -1
- package/dist/native/components/Pagination/Pagination/Pagination.view.d.ts +1 -1
- package/dist/native/components/Pagination/Pagination/Pagination.view.js +1 -1
- package/dist/native/components/Pagination/Pagination/Pagination.view.native.d.ts +1 -1
- package/dist/native/components/Pagination/Pagination/Pagination.view.native.js +1 -1
- package/dist/native/components/Pagination/Pagination.d.ts +1 -1
- package/dist/native/components/Pagination/Pagination.js +1 -1
- package/dist/native/components/Portal/Portal.d.ts +1 -1
- package/dist/native/components/Portal/Portal.js +1 -1
- package/dist/native/components/Portal/Portal.native.d.ts +1 -1
- package/dist/native/components/Portal/Portal.native.js +1 -1
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +1 -1
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.js +1 -1
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.d.ts +1 -1
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.js +1 -1
- package/dist/native/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/native/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.props.d.ts +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.state.d.ts +2 -2
- package/dist/native/components/Resizable/Resizable/Resizable.state.js +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.view.d.ts +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.view.js +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.view.native.d.ts +1 -1
- package/dist/native/components/Resizable/Resizable/Resizable.view.native.js +1 -1
- package/dist/native/components/Resizable/Resizable.js +1 -1
- package/dist/native/components/Router/Router.d.ts +1 -1
- package/dist/native/components/Router/Router.js +1 -1
- package/dist/native/components/Router/Router.match.d.ts +1 -1
- package/dist/native/components/Router/Router.match.js +1 -1
- package/dist/native/components/Router/Router.native.d.ts +1 -1
- package/dist/native/components/Router/Router.native.js +1 -1
- package/dist/native/components/Router/Router.types.d.ts +1 -1
- package/dist/native/components/Separator/Separator/Separator.view.d.ts +1 -1
- package/dist/native/components/Separator/Separator/Separator.view.js +1 -1
- package/dist/native/components/Separator/Separator/Separator.view.native.d.ts +1 -1
- package/dist/native/components/Separator/Separator/Separator.view.native.js +1 -1
- package/dist/native/components/Separator/Separator.d.ts +1 -1
- package/dist/native/components/Separator/Separator.js +1 -1
- package/dist/native/components/ShareButton/ShareButton/ShareButton.props.d.ts +1 -1
- package/dist/native/components/ShareButton/ShareButton/ShareButton.state.js +1 -1
- package/dist/native/components/ShareButton/ShareButton/ShareButton.state.native.js +1 -1
- package/dist/native/components/ShareButton/ShareButton/ShareButton.view.d.ts +1 -1
- package/dist/native/components/ShareButton/ShareButton/ShareButton.view.js +1 -1
- package/dist/native/components/ShareButton/ShareButton.d.ts +1 -1
- package/dist/native/components/ShareButton/ShareButton.js +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.props.d.ts +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.state.js +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.d.ts +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.js +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.d.ts +1 -1
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.js +1 -1
- package/dist/native/components/Sidebar/Sidebar.js +1 -1
- package/dist/native/components/Slider/Slider/Slider.state.d.ts +1 -1
- package/dist/native/components/Slider/Slider/Slider.state.js +1 -1
- package/dist/native/components/Slider/Slider/Slider.view.d.ts +1 -1
- package/dist/native/components/Slider/Slider/Slider.view.js +1 -1
- package/dist/native/components/Slider/Slider/Slider.view.native.d.ts +1 -1
- package/dist/native/components/Slider/Slider/Slider.view.native.js +1 -1
- package/dist/native/components/Slider/Slider.d.ts +1 -1
- package/dist/native/components/Slider/Slider.js +1 -1
- package/dist/native/components/SplashScreen/SplashScreen.d.ts +1 -1
- package/dist/native/components/SplashScreen/SplashScreen.js +1 -1
- package/dist/native/components/SplashScreen/SplashScreen.types.d.ts +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.js +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator.js +1 -1
- package/dist/native/components/Table/Table/Table.context.d.ts +1 -1
- package/dist/native/components/Table/Table/Table.context.js +1 -1
- package/dist/native/components/Table/Table/Table.props.d.ts +1 -1
- package/dist/native/components/Table/Table/Table.state.d.ts +1 -1
- package/dist/native/components/Table/Table/Table.state.js +1 -1
- package/dist/native/components/Table/Table/Table.view.d.ts +1 -1
- package/dist/native/components/Table/Table/Table.view.js +1 -1
- package/dist/native/components/Table/Table/TableScroll.d.ts +1 -1
- package/dist/native/components/Table/Table/TableScroll.js +1 -1
- package/dist/native/components/Table/Table/TableScroll.native.d.ts +1 -1
- package/dist/native/components/Table/Table/TableScroll.native.js +1 -1
- package/dist/native/components/Table/Table.d.ts +1 -1
- package/dist/native/components/Table/Table.js +1 -1
- package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/TabHeader.js +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.state.js +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.js +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +1 -1
- package/dist/native/components/Tabs/Tabs.d.ts +1 -1
- package/dist/native/components/Tabs/Tabs.js +1 -1
- package/dist/native/components/TextArea/TextArea.d.ts +1 -1
- package/dist/native/components/TextArea/TextArea.js +1 -1
- package/dist/native/components/TextArea/TextArea.native.d.ts +1 -1
- package/dist/native/components/TextArea/TextArea.native.js +1 -1
- package/dist/native/components/Title/Title/SlideEffect.d.ts +1 -1
- package/dist/native/components/Title/Title/SlideEffect.js +1 -1
- package/dist/native/components/Title/Title/SlideEffect.native.d.ts +1 -1
- package/dist/native/components/Title/Title/SlideEffect.native.js +1 -1
- package/dist/native/components/Title/Title/Title.state.d.ts +1 -1
- package/dist/native/components/Title/Title/Title.state.js +1 -1
- package/dist/native/components/Title/Title/Title.view.d.ts +1 -1
- package/dist/native/components/Title/Title/Title.view.js +1 -1
- package/dist/native/components/Title/Title/Title.view.native.d.ts +1 -1
- package/dist/native/components/Title/Title/Title.view.native.js +1 -1
- package/dist/native/components/Title/Title/TypewriterEffect.d.ts +1 -1
- package/dist/native/components/Title/Title/TypewriterEffect.js +1 -1
- package/dist/native/components/Title/Title/TypewriterEffect.native.d.ts +1 -1
- package/dist/native/components/Title/Title/TypewriterEffect.native.js +1 -1
- package/dist/native/components/Title/Title.d.ts +1 -1
- package/dist/native/components/Title/Title.js +1 -1
- package/dist/native/components/Toast/Toast/Toast.view.d.ts +1 -1
- package/dist/native/components/Toast/Toast/Toast.view.js +1 -1
- package/dist/native/components/Toast/Toast/Toast.view.native.d.ts +1 -1
- package/dist/native/components/Toast/Toast/Toast.view.native.js +1 -1
- package/dist/native/components/Toast/Toast.d.ts +1 -1
- package/dist/native/components/Toast/Toast.js +1 -1
- package/dist/native/components/Toggle/Toggle/Toggle.state.d.ts +2 -2
- package/dist/native/components/Toggle/Toggle/Toggle.state.js +1 -1
- package/dist/native/components/Toggle/Toggle/Toggle.view.d.ts +1 -1
- package/dist/native/components/Toggle/Toggle/Toggle.view.js +1 -1
- package/dist/native/components/Toggle/Toggle/Toggle.view.native.d.ts +1 -1
- package/dist/native/components/Toggle/Toggle/Toggle.view.native.js +1 -1
- package/dist/native/components/Toggle/Toggle.d.ts +1 -1
- package/dist/native/components/Toggle/Toggle.js +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.js +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.js +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup.d.ts +1 -1
- package/dist/native/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.props.d.ts +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.state.d.ts +2 -2
- package/dist/native/components/Tooltip/Tooltip/Tooltip.state.js +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.d.ts +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.js +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.d.ts +1 -1
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.js +1 -1
- package/dist/native/components/Tooltip/Tooltip.js +1 -1
- package/dist/native/components/Uploader/Uploader/Uploader.state.d.ts +1 -1
- package/dist/native/components/Uploader/Uploader/Uploader.state.js +1 -1
- package/dist/native/components/Uploader/Uploader/Uploader.view.d.ts +1 -1
- package/dist/native/components/Uploader/Uploader/Uploader.view.js +1 -1
- package/dist/native/components/Uploader/Uploader.d.ts +1 -1
- package/dist/native/components/Uploader/Uploader.js +1 -1
- package/dist/native/components/index.d.ts +1 -0
- package/dist/native/components/index.js +1 -0
- package/dist/native/components/index.js.map +1 -1
- package/dist/native/design-system/DesignSystemProvider.d.ts +3 -1
- package/dist/native/design-system/DesignSystemProvider.js +3 -3
- package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
- package/dist/native/pages/designSystem.page.d.ts +1 -1
- package/dist/native/pages/designSystem.page.js +1 -1
- package/dist/robots.txt +7 -2
- package/dist/web.cjs.js +52 -40
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +10653 -10005
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.js +45 -33
- package/dist/web.umd.js.map +1 -1
- package/docs/README.md +81 -3
- package/docs/components/BlockEditor.mdx +32 -1
- package/docs/components/Markdown.mdx +77 -16
- package/docs/guides/accessibility.mdx +51 -0
- package/docs/guides/ai-assistants.mdx +43 -0
- package/docs/guides/animation.mdx +58 -0
- package/docs/guides/core.mdx +68 -0
- package/docs/guides/forms.mdx +79 -0
- package/docs/guides/hooks.mdx +92 -0
- package/docs/guides/installation.mdx +96 -0
- package/docs/guides/overview.mdx +53 -0
- package/docs/guides/providers.mdx +51 -0
- package/docs/guides/quick-start.mdx +71 -0
- package/docs/guides/react-native.mdx +53 -0
- package/docs/guides/responsive.mdx +65 -0
- package/docs/guides/styling.mdx +115 -0
- package/docs/guides/theming.mdx +70 -0
- package/docs/guides/troubleshooting.mdx +45 -0
- package/docs/seo-geo.md +53 -0
- package/package.json +8 -1
package/docs/README.md
CHANGED
|
@@ -4,9 +4,74 @@ Welcome to the comprehensive documentation for `@app-studio/components` — a
|
|
|
4
4
|
cross-platform component library that ships a web build and a React Native
|
|
5
5
|
build with the same public API.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Website guides
|
|
8
|
+
|
|
9
|
+
The documentation website starts at `/docs`. Guides live in `docs/guides`;
|
|
10
|
+
component references use the TypeScript API and compiled examples. The sidebar and component
|
|
11
|
+
browser are defined by `src/pages/docs/docs.config.ts` and the existing component
|
|
12
|
+
routes. `/docs/components` links references to their available example pages.
|
|
13
|
+
|
|
14
|
+
### Getting started
|
|
15
|
+
|
|
16
|
+
- [Introduction](./guides/overview.mdx)
|
|
17
|
+
- [Installation](./guides/installation.mdx)
|
|
18
|
+
- [Quick start](./guides/quick-start.mdx)
|
|
19
|
+
- [React Native setup](./guides/react-native.mdx)
|
|
20
|
+
|
|
21
|
+
### Foundations
|
|
22
|
+
|
|
23
|
+
- [App Studio foundations](./guides/core.mdx)
|
|
24
|
+
- [Styling and composition](./guides/styling.mdx)
|
|
25
|
+
- [Providers](./guides/providers.mdx)
|
|
26
|
+
- [Colors and theming](./guides/theming.mdx)
|
|
27
|
+
- [Responsive layouts](./guides/responsive.mdx)
|
|
28
|
+
|
|
29
|
+
### Implementation guides
|
|
30
|
+
|
|
31
|
+
- [Animation](./guides/animation.mdx)
|
|
32
|
+
- [Hooks](./guides/hooks.mdx)
|
|
33
|
+
- [Forms and validation](./guides/forms.mdx)
|
|
34
|
+
- [Accessibility](./guides/accessibility.mdx)
|
|
35
|
+
- [Troubleshooting](./guides/troubleshooting.mdx)
|
|
36
|
+
|
|
37
|
+
Each component reference includes its import, interactive examples with complete
|
|
38
|
+
copyable code, searchable props, required markers, implementation defaults, and
|
|
39
|
+
compound component APIs. Shared style props link to the foundations guides.
|
|
40
|
+
|
|
41
|
+
The **Playground** mode edits one component instance in a real example. It offers
|
|
42
|
+
boolean, enum, text, number, and common styling controls, plus JSON object editors
|
|
43
|
+
for style objects. Preview and copied code share the same prop overrides; state
|
|
44
|
+
and callbacks remain in the original example. Invalid values keep the last valid
|
|
45
|
+
preview and code. Reset restores the original props.
|
|
46
|
+
|
|
47
|
+
### Maintaining component references
|
|
48
|
+
|
|
49
|
+
Run `npm run docs:api` after changing public props or examples. This generates
|
|
50
|
+
`src/pages/docs/component-api.json` and the lightweight reference-name list from
|
|
51
|
+
the current TypeScript declarations. The website start and production build run
|
|
52
|
+
it automatically. `npm run docs:api:check` checks that the committed data matches
|
|
53
|
+
the source.
|
|
54
|
+
|
|
55
|
+
Focused documentation examples live in `src/pages/docs/examples`. Other examples
|
|
56
|
+
are reused from each component's `examples` folder. Previews execute the compiled
|
|
57
|
+
source; copyable code uses published imports. Modules that are not package
|
|
58
|
+
exports are explicitly identified as repository modules.
|
|
59
|
+
|
|
60
|
+
An optional `Component.playground.tsx` provides a focused playground seed when the
|
|
61
|
+
regular example demonstrates a container or an imperative API. The generator
|
|
62
|
+
extracts editable controls and source ranges from TypeScript; it never evaluates
|
|
63
|
+
user-supplied expressions. Runtime imports are limited to the packages already
|
|
64
|
+
used by these documentation examples.
|
|
65
|
+
|
|
66
|
+
The generator includes the public props, callable compound parts, and a selection
|
|
67
|
+
of common inherited styling props. It does not infer dynamic defaults. The
|
|
68
|
+
original MDX files in `docs/components` remain available as source material and
|
|
69
|
+
for older supplemental URLs; they no longer supply the main component pages.
|
|
70
|
+
|
|
71
|
+
## Maintainer and platform references
|
|
8
72
|
|
|
9
73
|
### Core Documentation
|
|
74
|
+
|
|
10
75
|
- **[Getting Started](./getting-started/introduction.md)** — Quick introduction and setup (web + RN)
|
|
11
76
|
- **[React Native Guide](./getting-started/react-native.md)** — RN peer deps, compatibility matrix, Form/Grid contracts, Reanimated, Metro/tsc resolution
|
|
12
77
|
- **[Component Development](./component-development/guide.md)** — Building and contributing components (including `.native.tsx` siblings)
|
|
@@ -15,6 +80,7 @@ build with the same public API.
|
|
|
15
80
|
- **[Generating a Design-System Config](./design-system/design-system.md)** — Step-by-step recipe (for agents) to author a new brand config that works in light + dark
|
|
16
81
|
|
|
17
82
|
### Specialized Documentation
|
|
83
|
+
|
|
18
84
|
- **[ADK Components](../README-ADK.md)** — Agent Development Kit integration
|
|
19
85
|
- **[Components Reference](./components.md)** — Summary of all component APIs
|
|
20
86
|
- **[Detailed Components](./components/)** — Per-component pages
|
|
@@ -22,23 +88,35 @@ build with the same public API.
|
|
|
22
88
|
- **[Contributing](./contributing/documentation.md)** — Contribution guidelines
|
|
23
89
|
|
|
24
90
|
### Related packages
|
|
91
|
+
|
|
25
92
|
- **[`app-studio`](../../app-studio/docs/README.md)** — The styling/theme/animation primitive this library is built on (its `Animation.md` and `Native.md` cover the cross-platform fundamentals)
|
|
26
93
|
- **[`app-studio-rn-demo`](../../app-studio-rn-demo/README.md)** — Working RN sandbox app that consumes `@app-studio/components`
|
|
27
94
|
|
|
28
95
|
## 🚀 Quick Navigation
|
|
29
96
|
|
|
30
97
|
### For New Users
|
|
31
|
-
|
|
98
|
+
|
|
99
|
+
Start with [Installation](./guides/installation.mdx), then follow the
|
|
100
|
+
[Quick start](./guides/quick-start.mdx).
|
|
32
101
|
|
|
33
102
|
### For Developers
|
|
103
|
+
|
|
34
104
|
Refer to the [Component Development Guide](./component-development/guide.md) for building and customizing components.
|
|
35
105
|
|
|
36
106
|
### For ADK Integration
|
|
107
|
+
|
|
37
108
|
Check the [ADK Components documentation](../README-ADK.md) for agent-specific functionality.
|
|
38
109
|
|
|
39
110
|
## Documentation Tools
|
|
40
111
|
|
|
41
|
-
|
|
112
|
+
The website's component reference is generated locally without an API key:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
npm run docs:api
|
|
116
|
+
npm run docs:api:check
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The older MDX generation tools are retained for source material:
|
|
42
120
|
|
|
43
121
|
- **MDX**: Component documentation is written in MDX format, allowing for interactive examples
|
|
44
122
|
- **bot-doc**: Automated documentation generation tool that creates component documentation
|
|
@@ -18,7 +18,7 @@ export const DocumentEditor = () => {
|
|
|
18
18
|
|
|
19
19
|
Use `defaultValue` for an uncontrolled editor. `onChange` receives the Markdown string. Loading a different controlled `value` clears undo history and invalidates pending AI proposals; echoing the emitted value keeps the cursor and history.
|
|
20
20
|
|
|
21
|
-
To display this value without editing controls and with activatable links, use `<Markdown value={markdown} />`. See [Markdown](./Markdown.mdx) for
|
|
21
|
+
To display this value without editing controls and with activatable links, use `<Markdown value={markdown} />`. See [Markdown](./Markdown.mdx) for display syntax, native navigation and source fallback. Read-only rendering supports additional syntax; that does not enable visual editing of it.
|
|
22
22
|
|
|
23
23
|
## Blocks and editing
|
|
24
24
|
|
|
@@ -85,6 +85,33 @@ export const SimulatedAIEditor = () => (
|
|
|
85
85
|
|
|
86
86
|
The example is simulated and sends no network request. Your application supplies `generate(prompt, fragment, scope)`, returning `Promise<string>`; scope is `selection` or `section` (the whole editor). The library previews the result and requires Apply before changing the document. Errors, cancellation, empty responses and stale proposals preserve the current text. Without `generate`, AI actions are hidden.
|
|
87
87
|
|
|
88
|
+
On web, document and selection AI use the same anchored, opaque popover as link editing, including source mode. The insertion/selection target stays frozen while the prompt has focus. The popover follows scrolling and resizing and reclamps when loading, errors or a proposal change its size. Escape or Discard restores the original selection; clicking outside dismisses without stealing focus. Apply keeps the selection produced by its undoable edit. Native retains the ActionSheet.
|
|
89
|
+
|
|
90
|
+
The primary `/blockeditor` and `/markdown` catalog editors supply the same explicitly simulated callback. The document AI action is in the main toolbar; selection AI appears after selecting text (or in the source toolbar). To connect a real LLM, supply `generate` from your application's authenticated service and return only its proposed Markdown. Provider configuration, credentials, requests and authorization belong to the application; this component has no provider settings or hidden network calls.
|
|
91
|
+
|
|
92
|
+
## Images, video and optional upload
|
|
93
|
+
|
|
94
|
+
The media toolbar action opens an anchored panel on web and an ActionSheet on native. Choose image or video, a URL and a description. Images insert ``; videos insert a standalone `[description](url "video")` paragraph. The panel explains before insertion that media uses source editing. Existing source, including code/table selections, is retained; syntax inserted inside code remains literal code. There is no atomic media editing surface.
|
|
95
|
+
|
|
96
|
+
URLs work without an upload callback. To offer file selection on web, supply:
|
|
97
|
+
|
|
98
|
+
```tsx
|
|
99
|
+
<BlockEditor
|
|
100
|
+
value={markdown}
|
|
101
|
+
onChange={setMarkdown}
|
|
102
|
+
uploadMedia={async (file, { signal }) => {
|
|
103
|
+
// Your authenticated storage service; return a durable http(s) or relative URL.
|
|
104
|
+
return applicationUpload(file, { signal }); // { url, type: 'image' | 'video' }
|
|
105
|
+
}}
|
|
106
|
+
/>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
`EditorMediaFile` is a web `File` or a native `NativeMediaDescriptor` (`uri`, `name`, MIME `type`, optional `size`). `EditorMediaResult` contains `url` and `type: 'image' | 'video'`. These types are exported. On native, provide both `uploadMedia` and `pickMedia: () => Promise<EditorMediaFile | null>` using your application's real picker; `null` cancels normally. Without a picker the native upload button is hidden, and URL insertion remains available. No picker, storage vendor or runtime dependency is bundled.
|
|
110
|
+
|
|
111
|
+
One selected image/video is uploaded at a time. Loading, Cancel, error and manual Retry are visible; a retry calls the callback again. A valid success inserts once at the selection captured before the panel opened, as one undoable change. Editing, external content replacement, locking, closing and unmounting invalidate the pending operation. Cancellation aborts its signal and ignores any late result. Echoing the same controlled content does not invalidate it. Rejected MIME types, invalid destinations and failures preserve the document. The application must enforce file/content limits and storage permissions; a client MIME label is not a security boundary. No placeholder, blob URL or selected file bytes are persisted by this component.
|
|
112
|
+
|
|
113
|
+
The catalog uses a real user file selection with a **simulated upload callback**: selected bytes are never sent or stored. It waits briefly and inserts a fixed example image or video URL, regardless of the selected file's content. This demonstrates the callback and cancellation, not durable storage.
|
|
114
|
+
|
|
88
115
|
## React Native
|
|
89
116
|
|
|
90
117
|
The same component and Markdown contract work on React Native. Inactive blocks render visually; the active block uses a native multiline input showing its Markdown markers. Menus and AI proposals open in an ActionSheet. Selection formatting operates inside the active input. Enter in prose uses the shared split command; Backspace at the start of the active Markdown input merges with the preceding block. Code and table inputs retain their source editing behavior. No DOM, browser editor or WebView is required.
|
|
@@ -104,3 +131,7 @@ The updated Cmd+A/C/X/V/Z/Shift+Z flow, formatting across blocks, floating toolb
|
|
|
104
131
|
Chrome interactions were checked for typing, accents, formatting, history, block dragging, keyboard commands, AI preview/application and quick reactions. Firefox, Safari, iOS and Android were not verified in real browsers or devices. Real IME and native cursor/keyboard behavior still need platform validation.
|
|
105
132
|
|
|
106
133
|
The live-gap behavior has DOM regression tests, including variable block heights and drag-image capture timing. Its latest real drag validation was interrupted when the host Mac locked; Chrome, Firefox and Safari gesture validation remains pending for this behavior.
|
|
134
|
+
|
|
135
|
+
QA on 2026-10-16 added a bounded media/AI popover check in Chrome 155.0.8059.80 through CUA on the local catalog at port 3340, using runtime `0.11.9` package `8c9e4033…`. Media and AI selection, AI prompt/proposal, Apply/Undo, Escape and outside dismissal passed. Scroll and resize to 640 × 600 retained viewport clamping and the opaque bordered surface with its shadow. No console errors were observed during this pass. The targeted campaigns passed 203 library tests and 15 Startup tests; the typing example campaign passed 26/26. Local JPEG/GIF evidence is under Startup's ignored `reports/scenarios/markdown-components-chrome/` directory (24-frame GIF, 5.28 s, 1512 × 948).
|
|
136
|
+
|
|
137
|
+
These checks used simulated AI/upload callbacks and do not validate durable storage or the OS file picker. The fresh native Lightpanda best/worst attempts timed out at `open-media-panel`; its driver lacks upload support and did not recognize `figcaption`, so that evidence remains partial rather than passed. This check did not revalidate drag gestures or real IME. Firefox, Safari, iOS and Android remain unverified for this increment; reduced motion retains existing unit coverage and was not emulated in Chrome.
|
|
@@ -9,7 +9,9 @@ import { Markdown } from '@app-studio/components';
|
|
|
9
9
|
export const Document = () => (
|
|
10
10
|
<Markdown
|
|
11
11
|
label="Notes du projet"
|
|
12
|
-
value={
|
|
12
|
+
value={
|
|
13
|
+
'# Mon document\n\nUn texte **en gras**, avec un [lien](https://example.com).'
|
|
14
|
+
}
|
|
13
15
|
/>
|
|
14
16
|
);
|
|
15
17
|
```
|
|
@@ -38,11 +40,11 @@ L'exemple du catalogue est accessible sur `/markdown` et relie l'éditeur à son
|
|
|
38
40
|
|
|
39
41
|
## Syntaxe prise en charge
|
|
40
42
|
|
|
41
|
-
Le rendu couvre les paragraphes, titres de niveaux 1 à
|
|
43
|
+
Le rendu couvre les paragraphes, titres de niveaux 1 à 6, séparateurs horizontaux, images, listes de tâches, listes à puces et numérotées avec indentation, citations, blocs de code délimités et tableaux à séparateurs `|`. Les tableaux conservent l'alignement de leurs colonnes et défilent horizontalement lorsqu'ils dépassent la largeur disponible.
|
|
42
44
|
|
|
43
|
-
Le formatage en ligne comprend gras, italique, barré, code, liens et les extensions de l'éditeur : souligné avec `<u>…</u>` et saut de ligne avec `<br>`. Ces deux extensions sont interprétées comme du formatage connu ; aucun HTML fourni n'est injecté dans le DOM. Le code utilise une police monospace, sans exécution ni moteur de coloration.
|
|
45
|
+
Le formatage en ligne comprend gras, italique, barré, code, liens avec destination parenthésée équilibrée et titre optionnel, sauts de ligne Markdown (deux espaces ou antislash en fin de ligne), et les extensions de l'éditeur : souligné avec `<u>…</u>` et saut de ligne avec `<br>`. Ces deux extensions sont interprétées comme du formatage connu ; aucun HTML fourni n'est injecté dans le DOM. Le code utilise une police monospace, sans exécution ni moteur de coloration.
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
La lecture couvre davantage de syntaxes que l'édition visuelle. `BlockEditor` conserve son mode source pour les images, tâches, titres 4–6 et séparateurs afin de ne pas perdre leur syntaxe pendant une transaction. Le composant n'implémente pas tout CommonMark ou MDX. Frontmatter, liens par référence, notes de bas de page, HTML/MDX et constructions de blocs imbriquées non prises en charge provoquent un affichage du **document entier en texte source**. Le message visible explique ce choix. La chaîne originale, y compris ses retours à la ligne, est conservée dans cet affichage ; aucune expression MDX, balise HTML ni URL dangereuse n'est exécutée.
|
|
46
48
|
|
|
47
49
|
Personnalisez le message avec `labels.sourceFallback` :
|
|
48
50
|
|
|
@@ -53,7 +55,10 @@ import { Markdown } from '@app-studio/components';
|
|
|
53
55
|
export const PreservedSource = () => (
|
|
54
56
|
<Markdown
|
|
55
57
|
value={'<CustomComponent value={42} />'}
|
|
56
|
-
labels={{
|
|
58
|
+
labels={{
|
|
59
|
+
sourceFallback:
|
|
60
|
+
'Syntaxe non prise en charge : affichage du texte source.',
|
|
61
|
+
}}
|
|
57
62
|
/>
|
|
58
63
|
);
|
|
59
64
|
```
|
|
@@ -62,7 +67,7 @@ export const PreservedSource = () => (
|
|
|
62
67
|
|
|
63
68
|
Seuls les liens `http:`, `https:`, `mailto:`, `tel:` et les adresses relatives sont acceptés. Sur le web, ils sont des liens normaux, accessibles au clavier avec un focus visible. Sur React Native, les liens sont des textes pressables et s'ouvrent avec `Linking.openURL`. Si la plateforme refuse l'ouverture, le document reste affiché.
|
|
64
69
|
|
|
65
|
-
`onLinkPress(url)` remplace la navigation par défaut. Utilisez-le notamment pour relier les adresses relatives à la navigation de votre application native, ou pour gérer vous-même les erreurs d'ouverture. Le callback n'est appelé qu'à l'activation du lien, une fois par activation.
|
|
70
|
+
`onLinkPress(url)` remplace la navigation au clic par défaut. Utilisez-le notamment pour relier les adresses relatives à la navigation de votre application native, ou pour gérer vous-même les erreurs d'ouverture. Le callback n'est appelé qu'à l'activation du lien, une fois par activation.
|
|
66
71
|
|
|
67
72
|
```tsx
|
|
68
73
|
import React from 'react';
|
|
@@ -71,20 +76,74 @@ import { Markdown } from '@app-studio/components';
|
|
|
71
76
|
export const RoutedDocument = () => (
|
|
72
77
|
<Markdown
|
|
73
78
|
value={'[Ouvrir les notes](/notes)'}
|
|
74
|
-
onLinkPress={(url) =>
|
|
79
|
+
onLinkPress={(url) =>
|
|
80
|
+
console.log('Navigation gérée par l’application', url)
|
|
81
|
+
}
|
|
75
82
|
/>
|
|
76
83
|
);
|
|
77
84
|
```
|
|
78
85
|
|
|
86
|
+
`renderLink(url, children)` permet de remplacer entièrement un lien par du contenu applicatif. Retournez `undefined` pour le rendu sûr par défaut, ou `children` pour supprimer toute navigation, y compris le clic central et le menu contextuel. Les URL de référence avec un schéma personnalisé peuvent être rendues par ce callback après validation par l’application ; elles ne naviguent jamais par défaut. Les schémas exécutables ne sont jamais transmis au callback.
|
|
87
|
+
|
|
88
|
+
## Images
|
|
89
|
+
|
|
90
|
+
Les images utilisent leur texte alternatif et une URL http(s) ou relative. Les protocoles `data:`, `javascript:`, `file:` et les autres schémas non HTTP sont refusés. Une image refusée ou en erreur affiche son texte alternatif (ou sa destination si ce texte est vide). `allowImages={false}` affiche ce même texte sans charger de ressource ; utile pour un aperçu de contenu non fiable. Aucun SVG ou HTML n'est injecté comme balisage.
|
|
91
|
+
|
|
92
|
+
Le web utilise un chargement différé et une largeur maximale de 100 %. Le rendu natif utilise une image contenue dans une zone de 240 × 160, y compris dans le texte ou les listes.
|
|
93
|
+
|
|
94
|
+
## Vidéos
|
|
95
|
+
|
|
96
|
+
Une vidéo utilise un paragraphe autonome : `[Description](https://example.com/clip.mp4 "video")`. Le titre exact `"video"` sert de marqueur portable ; dans un texte en ligne, une liste ou un tableau, ce lien reste un lien normal. Les liens vidéo ne sont pas reconnus automatiquement selon leur extension. Aucun HTML, iframe ou lecteur externe n'est exécuté.
|
|
97
|
+
|
|
98
|
+
Sur le web, le lecteur utilise les contrôles natifs, `playsInline` et `preload="none"`, sans lecture automatique, avec une largeur adaptée au document et une légende visible. Une erreur ou une adresse refusée affiche la description, ou l'adresse si elle est vide. Seules les URL http(s) et relatives sûres sont acceptées, comme pour les images.
|
|
99
|
+
|
|
100
|
+
Sur React Native, fournissez `renderVideo(url, caption)` pour votre lecteur applicatif. Sans ce callback (ou s'il retourne `undefined`), la vidéo reste un vrai lien accessible utilisant `onLinkPress` ou `Linking.openURL`. La bibliothèque n'ajoute pas de dépendance vidéo native.
|
|
101
|
+
|
|
102
|
+
`allowVideos={false}` affiche seulement la description, sans lecteur, chargement, callback de rendu ou navigation. Pour un aperçu totalement inerte, combinez `allowVideos={false}`, `allowImages={false}` et `renderLink={(_url, children) => children}`. Un `onLinkPress` vide seul ne supprime pas les destinations des liens web.
|
|
103
|
+
|
|
104
|
+
`BlockEditor` conserve ces vidéos en édition source afin d'éviter des transactions visuelles qui perdraient leur syntaxe.
|
|
105
|
+
|
|
106
|
+
## Typing et streaming
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
<Markdown
|
|
110
|
+
value={content}
|
|
111
|
+
typing={{ charsPerTick: 3, intervalMs: 16 }}
|
|
112
|
+
isStreaming={requestIsActive}
|
|
113
|
+
onTypingComplete={handleCompleted}
|
|
114
|
+
/>
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
`typing` vaut `false` par défaut ; `true` utilise trois graphèmes toutes les 16 ms. Une valeur qui s’allonge reprend après le dernier graphème affiché, même après une pause réseau. Une valeur remplacée recommence l’animation. Pendant le flux, le dernier graphème attend le chunk suivant ou la fin pour ne pas couper un accent combiné ou une séquence emoji encore incomplète. `isStreaming` maintient le curseur pendant l’attente et retarde la complétion jusqu’à la fin du flux et du rattrapage. Le callback final n'est pas répété par de simples rendus React. Un bloc de code dont la clôture n'est pas encore arrivée reste du code ; les blocs précédents restent rendus.
|
|
118
|
+
|
|
119
|
+
La préférence système de réduction des animations affiche immédiatement le texte. `Intl.Segmenter` évite de couper un emoji composé ou une lettre accentuée ; sans cette API, le composant affiche le texte immédiatement, sans animation de découpage. Les timers et abonnements sont libérés au démontage.
|
|
120
|
+
|
|
121
|
+
Pour conserver une politique applicative de défilement ou de curseur, utilisez le même hook exporté et rendez `displayedText` avec un `Markdown` sans `typing` :
|
|
122
|
+
|
|
123
|
+
```tsx
|
|
124
|
+
const { displayedText, isTyping } = useMarkdownTyping(content, {
|
|
125
|
+
typing: true,
|
|
126
|
+
isStreaming: requestIsActive,
|
|
127
|
+
onTypingComplete: handleCompleted,
|
|
128
|
+
});
|
|
129
|
+
```
|
|
130
|
+
|
|
79
131
|
## Props et styles
|
|
80
132
|
|
|
81
|
-
| Prop
|
|
82
|
-
|
|
|
83
|
-
| `value: string`
|
|
84
|
-
| `label?: string`
|
|
85
|
-
| `onLinkPress?: (url: string) => void`
|
|
86
|
-
| `
|
|
87
|
-
| `
|
|
133
|
+
| Prop | Description |
|
|
134
|
+
| -------------------------------------------------------------------- | ----------------------------------------------------------- |
|
|
135
|
+
| `value: string` | Document Markdown à afficher. |
|
|
136
|
+
| `label?: string` | Nom accessible du document. |
|
|
137
|
+
| `onLinkPress?: (url: string) => void` | Navigation fournie par l'application. |
|
|
138
|
+
| `renderLink?: (url, children) => ReactNode` | Remplacement applicatif du lien, sans navigation implicite. |
|
|
139
|
+
| `allowImages?: boolean` | Charger les images sûres ; `true` par défaut. |
|
|
140
|
+
| `allowVideos?: boolean` | Charger les vidéos sûres ; `false` garde leur description sans navigation. |
|
|
141
|
+
| `renderVideo?: (url, caption) => ReactNode` | Lecteur applicatif optionnel ; `undefined` conserve le rendu par défaut. |
|
|
142
|
+
| `typing?: boolean \| { charsPerTick?: number; intervalMs?: number }` | Révélation progressive optionnelle. |
|
|
143
|
+
| `isStreaming?: boolean` | Attente de contenu supplémentaire. |
|
|
144
|
+
| `onTypingComplete?: () => void` | Fin du flux et du rattrapage. |
|
|
145
|
+
| `labels?: { sourceFallback?: string }` | Message de repli en texte source. |
|
|
146
|
+
| `views` | Styles `container`, `block`, `source` et `notice`. |
|
|
88
147
|
|
|
89
148
|
Les props de vue App Studio s'appliquent au conteneur. `MarkdownProps` est exporté depuis `@app-studio/components`. Le modèle de blocs reste interne.
|
|
90
149
|
|
|
@@ -94,6 +153,8 @@ Sur React Native, le rendu utilise les primitives App Studio, sans WebView. Le c
|
|
|
94
153
|
|
|
95
154
|
Les tests ciblés couvrent le rendu web sans édition, les mises à jour de props, l'isolation entre composants, le code inerte, les tableaux, l'indentation, les liens sûrs, le repli en source et les accents/emojis. Les tests de l'adaptateur natif utilisent des hôtes simulés et vérifient les textes en ligne, la police et les callbacks de navigation ; ils ne remplacent pas une vérification sur appareil.
|
|
96
155
|
|
|
97
|
-
|
|
156
|
+
QA du 2026-10-16 : les campagnes ciblées sont vertes avec 203 tests de bibliothèque et 15 tests Startup ; la campagne de l'exemple typing passe 26/26. La preuve porte sur le runtime `0.11.9`, paquet `8c9e4033…`, et la source incluant la démo typing `bd7c4b…`.
|
|
157
|
+
|
|
158
|
+
Dans Chrome 155.0.8059.80, via CUA sur le catalogue local au port 3340, la première section « Démo typing » de `/markdown` a été observée partiellement révélée puis terminée. « Rejouer le typing », les formats, les accents et l'emoji famille avec ZWJ passent. La lecture vidéo réelle passe aussi : `readyState=4`, temps de lecture de 0,015 à 5,042 s, dimensions 960 × 540. Aucune erreur console n'a été observée pendant ce passage. Les preuves locales JPEG et GIF se trouvent dans le répertoire Startup ignoré `reports/scenarios/markdown-components-chrome/` ; le GIF contient 24 images sur 5,28 s en 1512 × 948.
|
|
98
159
|
|
|
99
|
-
|
|
160
|
+
La preuve du pilote Lightpanda natif reste partielle, sans résultat de succès : les nouveaux parcours best/worst expirent à `open-media-panel`, le pilote ne prend pas en charge l'upload et `figcaption` n'est pas reconnu. Firefox, Safari, iOS et Android restent non vérifiés, ainsi que le vrai IME et le sélecteur de fichiers du système. La réduction des animations est couverte par les tests unitaires existants, sans émulation dans ce passage Chrome. Les démonstrations IA et upload utilisent des callbacks simulés ; elles ne valident aucun stockage durable.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Accessibility
|
|
2
|
+
|
|
3
|
+
Components are a starting point. The accessibility of your product also depends on composition, labels, content, styling overrides, and platform behavior.
|
|
4
|
+
|
|
5
|
+
## Give controls a clear name
|
|
6
|
+
|
|
7
|
+
Use visible labels for fields and meaningful text for actions. An icon-only button needs an accessible name. Avoid using a placeholder as the only field label.
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { Vertical } from 'app-studio';
|
|
12
|
+
import { TextField, Button } from '@app-studio/components';
|
|
13
|
+
|
|
14
|
+
export function LabeledControls() {
|
|
15
|
+
return (
|
|
16
|
+
<Vertical gap={16}>
|
|
17
|
+
<TextField
|
|
18
|
+
label="Project name"
|
|
19
|
+
placeholder="For example, Design system"
|
|
20
|
+
/>
|
|
21
|
+
<Button ariaLabel="Create project">Create project</Button>
|
|
22
|
+
</Vertical>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Preserve semantics and keyboard behavior
|
|
28
|
+
|
|
29
|
+
Use buttons for actions and links for navigation. When using primitives on web, choose the appropriate `as` element. Keep a visible focus indicator and do not recreate a button with a clickable generic container.
|
|
30
|
+
|
|
31
|
+
Check Tab order, Enter and Space activation, Escape behavior for overlays, and focus return after a dialog closes. Test each component's supported keyboard behavior before composing a new interaction.
|
|
32
|
+
|
|
33
|
+
## Communicate state and errors
|
|
34
|
+
|
|
35
|
+
Make disabled, selected, loading, success, and error states understandable without color alone. Associate error text with the corresponding field. Announce relevant asynchronous results without moving focus unnecessarily.
|
|
36
|
+
|
|
37
|
+
Do not add ARIA roles that conflict with a control's native semantics. The appropriate API differs between the web and native implementations.
|
|
38
|
+
|
|
39
|
+
## Check colors and motion
|
|
40
|
+
|
|
41
|
+
Verify contrast in light and dark mode and after applying theme or view overrides. Ensure focus indicators remain visible against the actual surface. Respect reduced motion as described in [Animation](/docs/animation).
|
|
42
|
+
|
|
43
|
+
## Test the composed experience
|
|
44
|
+
|
|
45
|
+
1. Complete the main task using only a keyboard.
|
|
46
|
+
2. Check names, roles, state, and reading order with a screen reader.
|
|
47
|
+
3. Enlarge text and test narrow layouts without losing content or controls.
|
|
48
|
+
4. Test invalid and loading states, not only the successful path.
|
|
49
|
+
5. Repeat platform-specific checks on a real native target when sharing a screen.
|
|
50
|
+
|
|
51
|
+
Automated checks can catch some problems. They do not establish full conformance or replace testing your product's real workflows.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# App Studio with AI & coding assistants
|
|
2
|
+
|
|
3
|
+
App Studio publishes the same documentation for people and coding assistants. Use the [documentation index](/llms.txt) to find a topic, then fetch its Markdown page for the actual API and examples. These files are regenerated with the website so the two formats stay aligned.
|
|
4
|
+
|
|
5
|
+
## Choose the right package
|
|
6
|
+
|
|
7
|
+
- **`app-studio`** is the styling framework. Import `View`, `Horizontal`, `Vertical`, `Text`, `ThemeProvider`, and `ResponsiveProvider` from this package. Install it on its own when building your own component system.
|
|
8
|
+
- **`@app-studio/components`** provides ready-made controls built on the framework. Install both packages when using these controls. Check the component's Import section: repository-only modules are explicitly identified.
|
|
9
|
+
- Web and React Native use dedicated builds. Shared imports do not guarantee identical platform support; check [React Native setup](/docs/react-native) and the component reference.
|
|
10
|
+
|
|
11
|
+
## Give your assistant the documentation
|
|
12
|
+
|
|
13
|
+
Start with [llms.txt](/llms.txt), a compact index of the framework, setup guides, and component references. Every public page has a Markdown alternative: for example, [installation.md](/docs/installation.md) and [Button.md](/docs/Button.md). The page's HTML head also links to this alternative.
|
|
14
|
+
|
|
15
|
+
The [complete Markdown export](/llms-full.txt) combines the public pages in one file. It is larger; fetch individual pages when your assistant only needs one API or setup step.
|
|
16
|
+
|
|
17
|
+
Use this starting prompt with a coding assistant that can fetch URLs:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
Read https://app-studio-6167b.web.app/llms.txt.
|
|
21
|
+
Use its installation, quick-start, styling, and relevant component references.
|
|
22
|
+
Build a React screen with App Studio using the documented imports and callbacks.
|
|
23
|
+
Check required props, provider setup, peer dependencies, and platform limitations.
|
|
24
|
+
Link the reference pages you used and identify anything the docs do not establish.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
If the assistant cannot fetch websites, paste the relevant Markdown page into its context. In an existing repository, include your installed package versions and target platform so the assistant can compare the documentation with your local types.
|
|
28
|
+
|
|
29
|
+
## Check generated code
|
|
30
|
+
|
|
31
|
+
1. Follow [Installation](/docs/installation) before adding controls. Keep existing compatible peers rather than forcing an installation.
|
|
32
|
+
2. Mount `ThemeProvider` when using `theme-*` and `color-*` tokens. Use `ResponsiveProvider` for named responsive rules.
|
|
33
|
+
3. Use the props documented for the actual component. Required flags, literal defaults, and compound parts are listed in the reference; defaults can be overridden by your design system.
|
|
34
|
+
4. Controlled input callbacks receive values: `TextField` returns a string, while `Checkbox` and `Switch` return booleans. Keep that value in React or form state.
|
|
35
|
+
5. Try the generated result in the component playground and run your application's type checks, keyboard checks, and platform tests. A code example does not establish support for every browser or native platform.
|
|
36
|
+
|
|
37
|
+
Continue with [Quick start](/docs/quick-start), [Styling & composition](/docs/styling), and [Accessibility](/docs/accessibility).
|
|
38
|
+
|
|
39
|
+
## Verify source and licensing
|
|
40
|
+
|
|
41
|
+
The [framework repository](https://github.com/rize-network/app-studio) and [component repository](https://github.com/rize-network/app-studio-components) provide the implementation behind the docs. Component references link to their source declarations. Check the `LICENSE` included with the version you adopt; the two packages have separate terms.
|
|
42
|
+
|
|
43
|
+
These exports make documentation easier to retrieve. They do not guarantee that a search engine or assistant will index, recommend, or cite the project.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Animation
|
|
2
|
+
|
|
3
|
+
Use motion to explain a change or draw attention to new content. Keep important content and controls usable without animation.
|
|
4
|
+
|
|
5
|
+
## Add an animation preset
|
|
6
|
+
|
|
7
|
+
Import `Animation` from `app-studio` and pass a preset to `animate`:
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { View, Text, Animation } from 'app-studio';
|
|
12
|
+
import { Button } from '@app-studio/components';
|
|
13
|
+
|
|
14
|
+
export function MotionExample() {
|
|
15
|
+
const [version, setVersion] = React.useState(0);
|
|
16
|
+
return (
|
|
17
|
+
<View gap={16} display="flex" flexDirection="column">
|
|
18
|
+
<View
|
|
19
|
+
key={version}
|
|
20
|
+
className="app-motion"
|
|
21
|
+
padding={24}
|
|
22
|
+
borderRadius={12}
|
|
23
|
+
backgroundColor="color-violet-50"
|
|
24
|
+
animate={Animation.fadeIn({ duration: '0.4s' })}
|
|
25
|
+
>
|
|
26
|
+
<Text color="color-violet-900">New content, gently introduced.</Text>
|
|
27
|
+
</View>
|
|
28
|
+
<Button variant="outline" onClick={() => setVersion(version + 1)}>
|
|
29
|
+
Replay
|
|
30
|
+
</Button>
|
|
31
|
+
</View>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The React key remounts the animated content for this demonstration. Do not remount an entire form or screen merely to replay motion; that can reset user state.
|
|
37
|
+
|
|
38
|
+
## Respect reduced motion
|
|
39
|
+
|
|
40
|
+
On web, add a reduced-motion rule for the region your app animates:
|
|
41
|
+
|
|
42
|
+
```css
|
|
43
|
+
@media (prefers-reduced-motion: reduce) {
|
|
44
|
+
.app-motion,
|
|
45
|
+
.app-motion * {
|
|
46
|
+
animation: none !important;
|
|
47
|
+
transition: none !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Do not make completion, navigation, or access to information depend on an animation finishing. Check your native app's reduced-motion behavior separately.
|
|
53
|
+
|
|
54
|
+
## Native setup
|
|
55
|
+
|
|
56
|
+
Web presets use CSS keyframes. Native presets use the optional `react-native-reanimated` peer. Without it, animation props are ignored. Follow the peer's platform setup, including the configuration required by your installed version.
|
|
57
|
+
|
|
58
|
+
See [native setup](/docs/react-native) and the [animation reference](https://github.com/rize-network/app-studio/blob/main/docs/Animation.md) for supported presets and options.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# App Studio foundations
|
|
2
|
+
|
|
3
|
+
`app-studio` is the framework underneath `@app-studio/components`. It provides a common way to describe layout and styling in React and React Native.
|
|
4
|
+
|
|
5
|
+
## Layout primitives
|
|
6
|
+
|
|
7
|
+
- `View` is a general-purpose container.
|
|
8
|
+
- `Vertical` stacks children in a column.
|
|
9
|
+
- `Horizontal` places children in a row.
|
|
10
|
+
- `Center` centers its children.
|
|
11
|
+
- `Text` renders text with typography and color props.
|
|
12
|
+
- `Grid` uses CSS Grid on web and a fixed-column Flexbox mapping on native.
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import { Vertical, Horizontal, Text } from 'app-studio';
|
|
17
|
+
|
|
18
|
+
export function ProjectSummary() {
|
|
19
|
+
return (
|
|
20
|
+
<Vertical
|
|
21
|
+
gap={16}
|
|
22
|
+
padding={24}
|
|
23
|
+
backgroundColor="color-blue-50"
|
|
24
|
+
borderRadius={12}
|
|
25
|
+
>
|
|
26
|
+
<Text fontSize={22} fontWeight="bold">
|
|
27
|
+
Project overview
|
|
28
|
+
</Text>
|
|
29
|
+
<Horizontal gap={12} alignItems="center">
|
|
30
|
+
<Text color="theme-primary">Ready to build</Text>
|
|
31
|
+
<Text color="color-gray-600">React + Native</Text>
|
|
32
|
+
</Horizontal>
|
|
33
|
+
</Vertical>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Style props
|
|
39
|
+
|
|
40
|
+
Pass familiar properties such as `padding`, `gap`, `borderRadius`, and `backgroundColor` directly to a primitive. Numbers represent pixels on web and native layout units on React Native.
|
|
41
|
+
|
|
42
|
+
On web, use semantic elements through `as`, for example `Text as="h2"` or `View as="section"`. Native accessibility semantics need platform-specific props and behavior; browser tags are not native accessibility roles.
|
|
43
|
+
|
|
44
|
+
## Providers and tokens
|
|
45
|
+
|
|
46
|
+
`ThemeProvider` resolves color tokens. `ResponsiveProvider` configures named devices and breakpoints. Keep them near the root so screens share the same foundation.
|
|
47
|
+
|
|
48
|
+
- `theme-primary` expresses a semantic role you configure.
|
|
49
|
+
- `color-blue-900` selects a palette entry.
|
|
50
|
+
- `media={{ mobile: { padding: 16 } }}` changes styles for a configured device.
|
|
51
|
+
|
|
52
|
+
Use [Colors & theming](/docs/theming) and [Responsive layouts](/docs/responsive) for practical examples.
|
|
53
|
+
|
|
54
|
+
## Composition stays in React
|
|
55
|
+
|
|
56
|
+
Extract reusable components, pass props and children, and use hooks as you would in a React app. Routing, application state, data fetching, and validation stay with your chosen tools.
|
|
57
|
+
|
|
58
|
+
The ready-made library adds props such as `variant`, `size`, and `views`. See [Styling & composition](/docs/styling) before creating wrappers around every control.
|
|
59
|
+
|
|
60
|
+
## What changes between platforms
|
|
61
|
+
|
|
62
|
+
Package exports select separate web and native implementations. Many props and conventions are shared, but browser selectors, form semantics, navigation, and CSS Grid do not map one-to-one.
|
|
63
|
+
|
|
64
|
+
Read [React Native](/docs/react-native) before assuming a web example can be shared unchanged.
|
|
65
|
+
|
|
66
|
+
## Further reference
|
|
67
|
+
|
|
68
|
+
The framework repository has detailed references for [primitives](https://github.com/rize-network/app-studio/blob/main/docs/Components.md), [providers](https://github.com/rize-network/app-studio/blob/main/docs/Providers.md), and [hooks](https://github.com/rize-network/app-studio/blob/main/docs/Hooks.md).
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Forms & validation
|
|
2
|
+
|
|
3
|
+
Choose controlled inputs for a small interaction or Formik wrappers for a larger form. Your application owns validation, submission, loading, and server errors.
|
|
4
|
+
|
|
5
|
+
## Use value-first callbacks
|
|
6
|
+
|
|
7
|
+
`TextField` calls `onChange` with a string. `Checkbox` and `Switch` call it with a boolean. Their callbacks do not receive DOM change events.
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import { Vertical } from 'app-studio';
|
|
12
|
+
import { TextField, Checkbox } from '@app-studio/components';
|
|
13
|
+
|
|
14
|
+
export function ControlledFields() {
|
|
15
|
+
const [name, setName] = React.useState('');
|
|
16
|
+
const [updates, setUpdates] = React.useState(false);
|
|
17
|
+
return (
|
|
18
|
+
<Vertical gap={16}>
|
|
19
|
+
<TextField label="Project name" value={name} onChange={setName} />
|
|
20
|
+
<Checkbox
|
|
21
|
+
label="Receive project updates"
|
|
22
|
+
isChecked={updates}
|
|
23
|
+
onChange={setUpdates}
|
|
24
|
+
/>
|
|
25
|
+
</Vertical>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Connect Formik
|
|
31
|
+
|
|
32
|
+
Formik is a web peer dependency of the component library. Its named wrappers connect field names to form state. This example validates a required value and displays a local confirmation; it does not call an API.
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import React from 'react';
|
|
36
|
+
import { Formik } from 'formik';
|
|
37
|
+
import { Vertical, Text } from 'app-studio';
|
|
38
|
+
import { FormikForm, FormikTextField, Button } from '@app-studio/components';
|
|
39
|
+
|
|
40
|
+
export function ProjectForm() {
|
|
41
|
+
const [message, setMessage] = React.useState('');
|
|
42
|
+
return (
|
|
43
|
+
<Formik
|
|
44
|
+
initialValues={{ name: '' }}
|
|
45
|
+
validate={(values) =>
|
|
46
|
+
values.name.trim() ? {} : { name: 'Enter a project name.' }
|
|
47
|
+
}
|
|
48
|
+
onSubmit={(values, { setSubmitting }) => {
|
|
49
|
+
setMessage(`Ready: ${values.name.trim()}`);
|
|
50
|
+
setSubmitting(false);
|
|
51
|
+
}}
|
|
52
|
+
>
|
|
53
|
+
{({ isSubmitting }) => (
|
|
54
|
+
<FormikForm>
|
|
55
|
+
<Vertical gap={16}>
|
|
56
|
+
<FormikTextField name="name" label="Project name" />
|
|
57
|
+
<Button type="submit" isLoading={isSubmitting}>
|
|
58
|
+
Check project
|
|
59
|
+
</Button>
|
|
60
|
+
<Text role="status">{message}</Text>
|
|
61
|
+
</Vertical>
|
|
62
|
+
</FormikForm>
|
|
63
|
+
)}
|
|
64
|
+
</Formik>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
For a real asynchronous request, return or await the request in `onSubmit`. Keep submitted data until the save is confirmed, surface failures, and prevent duplicate submissions. Local validation does not replace server validation.
|
|
70
|
+
|
|
71
|
+
## Labels, errors, and focus
|
|
72
|
+
|
|
73
|
+
Use a visible label for every field. Keep error text close to its input and programmatically associated with it. After validation fails, help the user reach the first invalid field without losing their values.
|
|
74
|
+
|
|
75
|
+
Check keyboard submission as well as pointer interaction. Avoid using placeholder text as the only label. See [Accessibility](/docs/accessibility).
|
|
76
|
+
|
|
77
|
+
## Native forms
|
|
78
|
+
|
|
79
|
+
Native does not have browser form semantics. Wire submission, return keys, focus, and validation explicitly. See [React Native](/docs/react-native) before sharing a form screen.
|