@app-studio/components 0.11.8 → 0.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +470 -416
- 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 +1 -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 +1 -1
- package/dist/native/design-system/DesignSystemProvider.js +1 -1
- package/dist/native/pages/designSystem.page.d.ts +1 -1
- package/dist/native/pages/designSystem.page.js +1 -1
- package/dist/web.cjs.js +52 -40
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +10648 -10002
- 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/components/BlockEditor.mdx +32 -1
- package/docs/components/Markdown.mdx +77 -16
- package/package.json +1 -1
|
@@ -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.
|