@app-studio/components 0.11.7 → 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/files/media/BlockEditor.mdx +42 -20
- 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 +104 -15
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +4 -2
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js +59 -13
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +2 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.js +69 -46
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.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 +106 -7
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +15 -3
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js +113 -18
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.d.ts +6 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.js +198 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.js.map +1 -0
- 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 +64 -13
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +46 -11
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js +273 -9
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js.map +1 -1
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.d.ts +8 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.js +177 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.js.map +1 -0
- 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 +64 -63
- 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 +40 -7
- 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 +56 -32
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +9250 -8133
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.js +55 -31
- package/dist/web.umd.js.map +1 -1
- package/docs/components/BlockEditor.mdx +74 -21
- package/docs/components/Markdown.mdx +77 -16
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, useRef } from '
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
2
|
import { Platform } from 'react-native';
|
|
3
3
|
import { Horizontal, Text, Vertical, View } from 'app-studio';
|
|
4
4
|
import { Button } from '../../Button/Button';
|
|
@@ -9,7 +9,7 @@ import { BlockEditorControls, BlockEditorPanels } from './BlockEditor.controls';
|
|
|
9
9
|
import { blockKinds } from './BlockEditor.model';
|
|
10
10
|
const codeFontFamily = Platform.OS === 'ios' ? 'Menlo' : 'monospace';
|
|
11
11
|
export function BlockEditorView({ state: s, ...props }) {
|
|
12
|
-
const { value: _value, defaultValue: _default, onChange: _change, generate: _generate, onSave: _save, label = s.labels.document, isDisabled, isReadOnly, labels: _labels, views = {}, status, ...containerProps } = props;
|
|
12
|
+
const { value: _value, defaultValue: _default, onChange: _change, generate: _generate, uploadMedia: _uploadMedia, pickMedia: _pickMedia, onSave: _save, label = s.labels.document, isDisabled, isReadOnly, labels: _labels, views = {}, status, ...containerProps } = props;
|
|
13
13
|
const inputs = useRef({});
|
|
14
14
|
const localSelection = useRef({ start: 0, end: 0 });
|
|
15
15
|
useEffect(() => {
|
|
@@ -61,11 +61,40 @@ export function BlockEditorView({ state: s, ...props }) {
|
|
|
61
61
|
...views.source,
|
|
62
62
|
},
|
|
63
63
|
}}/>) : (s.document.blocks.map((block, index) => (<Vertical key={block.id} gap={8} {...views.block}>
|
|
64
|
-
{s.activeId === block.id && !isReadOnly ? (<TextArea label={s.labels[block.kind]} value={block.raw} variant="none" isAutoFocus isDisabled={isDisabled} {...selectionProps(block.start, block.id)}
|
|
64
|
+
{s.activeId === block.id && !isReadOnly ? (<TextArea label={s.labels[block.kind]} value={block.raw} variant="none" isAutoFocus isDisabled={isDisabled} {...selectionProps(block.start, block.id)} onKeyPress={(event) => {
|
|
65
|
+
if (event.nativeEvent.key === 'Backspace' &&
|
|
66
|
+
localSelection.current.start === 0 &&
|
|
67
|
+
localSelection.current.end === 0)
|
|
68
|
+
s.mergeBackward(block.id);
|
|
69
|
+
}} onChange={(text) => {
|
|
65
70
|
if (text === '/' && !block.raw.trim()) {
|
|
66
71
|
s.setCommandId(block.id);
|
|
67
72
|
return;
|
|
68
73
|
}
|
|
74
|
+
if (block.kind !== 'codeBlock' &&
|
|
75
|
+
block.kind !== 'table' &&
|
|
76
|
+
text !== block.raw) {
|
|
77
|
+
let start = 0;
|
|
78
|
+
while (start < Math.min(text.length, block.raw.length) &&
|
|
79
|
+
text[start] === block.raw[start])
|
|
80
|
+
start++;
|
|
81
|
+
let end = block.raw.length;
|
|
82
|
+
let nextEnd = text.length;
|
|
83
|
+
while (end > start &&
|
|
84
|
+
nextEnd > start &&
|
|
85
|
+
block.raw[end - 1] === text[nextEnd - 1]) {
|
|
86
|
+
end--;
|
|
87
|
+
nextEnd--;
|
|
88
|
+
}
|
|
89
|
+
if (text.slice(start, nextEnd) === '\n') {
|
|
90
|
+
s.capture({
|
|
91
|
+
start: block.start + start,
|
|
92
|
+
end: block.start + end,
|
|
93
|
+
});
|
|
94
|
+
if (s.breakBlock())
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
69
98
|
s.editBlock(block, text, localSelection.current);
|
|
70
99
|
}} views={{
|
|
71
100
|
container: { borderWidth: 0 },
|
|
@@ -107,11 +136,15 @@ export function BlockEditorView({ state: s, ...props }) {
|
|
|
107
136
|
if (s.commandId)
|
|
108
137
|
s.transform(s.commandId, kind);
|
|
109
138
|
}}/>
|
|
110
|
-
<ActionSheet isOpen={!!s.ai || s.linkOpen} title={s.ai ? s.labels.aiPanel : s.labels.link} onClose={() => {
|
|
111
|
-
s.
|
|
112
|
-
|
|
139
|
+
<ActionSheet isOpen={!!s.ai || s.linkOpen || !!s.media} title={s.media ? s.labels.media : s.ai ? s.labels.aiPanel : s.labels.link} onClose={() => {
|
|
140
|
+
if (s.linkOpen)
|
|
141
|
+
s.closeLink();
|
|
142
|
+
if (s.ai)
|
|
143
|
+
s.closeAi();
|
|
144
|
+
if (s.media)
|
|
145
|
+
s.closeMedia();
|
|
113
146
|
}} maxHeight="85%">
|
|
114
|
-
<BlockEditorPanels state={s} views={views}/>
|
|
147
|
+
<BlockEditorPanels state={s} views={views} uploadEnabled={!!props.uploadMedia && !!props.pickMedia}/>
|
|
115
148
|
</ActionSheet>
|
|
116
149
|
{status}
|
|
117
150
|
</Vertical>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockEditor.view.native.js","sourceRoot":"","sources":["../../../../../src/components/BlockEditor/BlockEditor/BlockEditor.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,S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H;UAAA,EAAE,QAAQ,CAAC,CACZ,CAAC,CACH,CACD;MAAA,CAAC,CAAC,UAAU,IAAI,CACd,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,UAAU,EAAG,CAC3D,CACD;MAAA,CAAC,WAAW,CACV,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CACnC,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CACxB,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CACvB,KAAK,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC/B,EAAE,EAAE,IAAI;YACR,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;SACtB,CAAC,CAAC,CAAC,CACJ,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE;YACjB,IAAI,CAAC,CAAC,SAAS;gBACb,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,IAAmC,CAAC,CAAC;QAClE,CAAC,CAAC,EAEJ;MAAA,CAAC,WAAW,CACV,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"BlockEditor.view.native.js","sourceRoot":"","sources":["../../../../../src/components/BlockEditor/BlockEditor/BlockEditor.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AA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C,CAAC,EAAE;gBAAE,CAAC,CAAC,OAAO,EAAE,CAAC;YACtB,IAAI,CAAC,CAAC,KAAK;gBAAE,CAAC,CAAC,UAAU,EAAE,CAAC;QAC9B,CAAC,CAAC,CACF,SAAS,CAAC,KAAK,CAEf;QAAA,CAAC,iBAAiB,CAChB,KAAK,CAAC,CAAC,CAAC,CAAC,CACT,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,EAE5D;MAAA,EAAE,WAAW,CACb;MAAA,CAAC,MAAM,CACT;IAAA,EAAE,QAAQ,CAAC,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ButtonProps as $ButtonProps, Shadow, ViewProps } from 'app-studio';
|
|
3
3
|
import { Elevation } from '../../../utils/elevation';
|
|
4
4
|
import { IconPosition, Shape, Size, Variant, Animation, LoaderPosition } from './Button.type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export const useButtonState = () => {
|
|
3
3
|
const [isHovered, setIsHovered] = React.useState(false);
|
|
4
4
|
// This custom react hook 'useButtonState' is defined for managing the state of a button, especially for hover interactions.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* - Chooses a **main color** with priority: `backgroundColor` → `color` → `theme-primary`.
|
|
4
4
|
* - Uses `getButtonVariants` to derive base/hover/active styles per variant.
|
|
5
5
|
*/
|
|
6
|
-
import React from '
|
|
6
|
+
import React from 'react';
|
|
7
7
|
import { ButtonProps } from './Button.props';
|
|
8
8
|
declare const ButtonView: React.NamedExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
9
9
|
export default ButtonView;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* - Chooses a **main color** with priority: `backgroundColor` → `color` → `theme-primary`.
|
|
4
4
|
* - Uses `getButtonVariants` to derive base/hover/active styles per variant.
|
|
5
5
|
*/
|
|
6
|
-
import React, { useMemo } from '
|
|
6
|
+
import React, { useMemo } from 'react';
|
|
7
7
|
import { Element, Horizontal, Vertical, View } from 'app-studio';
|
|
8
8
|
import { Link } from '../../Link/Link';
|
|
9
9
|
import { Loader } from '../../Loader/Loader';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - Uses app-studio's <Element/> (renders a Pressable when onPress is set).
|
|
6
6
|
* - Preserves the public API surface of the web ButtonView.
|
|
7
7
|
*/
|
|
8
|
-
import React from '
|
|
8
|
+
import React from 'react';
|
|
9
9
|
import { ButtonProps } from './Button.props';
|
|
10
10
|
declare const ButtonView: React.NamedExoticComponent<ButtonProps & React.RefAttributes<any>>;
|
|
11
11
|
export default ButtonView;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* - Uses app-studio's <Element/> (renders a Pressable when onPress is set).
|
|
6
6
|
* - Preserves the public API surface of the web ButtonView.
|
|
7
7
|
*/
|
|
8
|
-
import React, { useMemo } from '
|
|
8
|
+
import React, { useMemo } from 'react';
|
|
9
9
|
import { Element, Horizontal, Vertical, View, Text } from 'app-studio';
|
|
10
10
|
import { Link } from '../../Link/Link';
|
|
11
11
|
import { Loader } from '../../Loader/Loader';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
// Importing TypeScript type for button properties to ensure the component receives the correct props.
|
|
3
3
|
import ButtonView from './Button/Button.view';
|
|
4
4
|
import { useHover } from 'app-studio';
|
|
@@ -2,5 +2,5 @@ import { CardStyles } from './Card.type';
|
|
|
2
2
|
export interface CardContextValue {
|
|
3
3
|
styles?: CardStyles;
|
|
4
4
|
}
|
|
5
|
-
export declare const CardContext: import("
|
|
5
|
+
export declare const CardContext: import("react").Context<CardContextValue>;
|
|
6
6
|
export declare const useCardContext: () => CardContextValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, useContext } from '
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
2
|
// This file establishes the React Context for the Card component, facilitating global access to shared properties like styling across its children, and provides a custom hook for convenient context consumption.
|
|
3
3
|
export const CardContext = createContext({});
|
|
4
4
|
export const useCardContext = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const useCardState: () => {
|
|
2
2
|
isHovered: boolean;
|
|
3
|
-
setIsHovered: import("
|
|
3
|
+
setIsHovered: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState } from '
|
|
1
|
+
import { useState } from 'react';
|
|
2
2
|
// Manages the local state for the Card component, specifically tracking its hover status using a custom React hook.
|
|
3
3
|
export const useCardState = () => {
|
|
4
4
|
const [isHovered, setIsHovered] = useState(false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CardProps, CardHeaderProps, CardContentProps, CardFooterProps } from './Card.props';
|
|
3
3
|
export declare const CardHeader: React.FC<CardHeaderProps>;
|
|
4
4
|
export declare const CardContent: React.FC<CardContentProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from '
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, useTheme } from 'app-studio';
|
|
3
3
|
import { Vertical } from 'app-studio';
|
|
4
4
|
import { CardShapes, CardSizes, getCardVariants, getDefaultCardStyles, } from './Card.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CardView, CardHeader, CardContent, CardFooter, } from './Card/Card.view';
|
|
3
3
|
import { useMergedDesignSystemComponentProps } from '../../design-system';
|
|
4
4
|
// This file defines and exports the main `Card` component, which serves as a wrapper for its sub-components like `Card.Header`, `Card.Content`, and `Card.Footer`, enabling a compound component pattern for flexible content structuring.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CarouselContextValue } from './Carousel.type';
|
|
2
|
-
export declare const CarouselContext: import("
|
|
2
|
+
export declare const CarouselContext: import("react").Context<CarouselContextValue | null>;
|
|
3
3
|
export declare const useCarouselContext: () => CarouselContextValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, useContext } from '
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
2
|
// Initializes the React Context for Carousel data, allowing child components to consume its value.
|
|
3
3
|
export const CarouselContext = createContext(null);
|
|
4
4
|
// Defines a custom hook to provide convenient access to the CarouselContext, simplifying data retrieval.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState, useEffect, useCallback, useRef, useMemo } from '
|
|
1
|
+
import { useState, useEffect, useCallback, useRef, useMemo } from 'react';
|
|
2
2
|
import { generateId } from '../../../utils/id';
|
|
3
3
|
export const useCarouselState = ({ defaultActiveIndex = 0, activeIndex: controlledActiveIndex, onChange, autoPlay = false, autoPlayInterval = 3000, pauseOnHover = true, infinite = true, totalSlides: initialTotalSlides, stepIndices, }) => {
|
|
4
4
|
const slideCountRef = useRef(initialTotalSlides || 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CarouselProps, CarouselSlideProps, CarouselContentProps, CarouselItemProps, CarouselPreviousProps, CarouselNextProps } from './Carousel.props';
|
|
3
3
|
export declare const CarouselSlide: React.FC<CarouselSlideProps>;
|
|
4
4
|
export declare const CarouselPreviousComponent: React.FC<CarouselPreviousProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useEffect, useRef } from '
|
|
1
|
+
import React, { useMemo, useEffect, useRef } from 'react';
|
|
2
2
|
import { View } from 'app-studio';
|
|
3
3
|
import { Horizontal } from 'app-studio';
|
|
4
4
|
import { Button } from '../../Button/Button';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CarouselProps, CarouselSlideProps, CarouselContentProps, CarouselItemProps, CarouselPreviousProps, CarouselNextProps } from './Carousel.props';
|
|
3
3
|
export declare const CarouselSlide: React.FC<CarouselSlideProps>;
|
|
4
4
|
export declare const CarouselPreviousComponent: React.FC<CarouselPreviousProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useEffect, useRef } from '
|
|
1
|
+
import React, { useMemo, useEffect, useRef } from 'react';
|
|
2
2
|
import { Animated, Easing } from 'react-native';
|
|
3
3
|
import { View, Horizontal, Text } from 'app-studio';
|
|
4
4
|
import { Button } from '../../Button/Button';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CarouselView, CarouselSlide, CarouselContentComponent, CarouselItemComponent, CarouselPreviousComponent, CarouselNextComponent, } from './Carousel/Carousel.view';
|
|
3
3
|
// This file defines the main Carousel compound component, which acts as the primary interface and assembler for its associated sub-components such as Slide, Content, Item, Previous, and Next.
|
|
4
4
|
const CarouselComponent = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from '
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, useTheme } from 'app-studio';
|
|
3
3
|
import { Text } from 'app-studio';
|
|
4
4
|
import { BarStyles, AxisStyles, AxisLabelStyles, GridStyles, } from './Chart.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from '
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, Vertical, Horizontal, Text, useTheme } from 'app-studio';
|
|
3
3
|
export const BarChart = ({ data, height, animationProgress, onBarClick, views, }) => {
|
|
4
4
|
const { getColor } = useTheme();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from '
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { ChartData, ChartDataPoint } from './Chart.type';
|
|
3
3
|
export interface ChartStateProps {
|
|
4
4
|
data?: ChartData;
|
|
@@ -15,7 +15,7 @@ export declare const useChartState: ({ data, dataPoints, animated, animationDura
|
|
|
15
15
|
y: number;
|
|
16
16
|
content: ReactNode;
|
|
17
17
|
};
|
|
18
|
-
containerRef: import("
|
|
18
|
+
containerRef: import("react").RefObject<HTMLDivElement | null>;
|
|
19
19
|
processedData: () => {
|
|
20
20
|
color: string;
|
|
21
21
|
hidden: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState, useEffect, useRef, useCallback } from '
|
|
1
|
+
import { useState, useEffect, useRef, useCallback } from 'react';
|
|
2
2
|
import { DEFAULT_COLORS } from './Chart.style';
|
|
3
3
|
// This file defines the `ChartStateProps` interface and implements the `useChartState` custom hook. This hook centralizes all state management and derived logic for the Chart component, including animation progress, tooltip visibility and positioning, data processing, and user interaction handlers for series toggling, offering a comprehensive and reusable state layer.
|
|
4
4
|
export const useChartState = ({ data, dataPoints, animated = true, animationDuration = 500, showTooltips = true, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, useRef, useState } from '
|
|
1
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
2
2
|
import { View } from 'app-studio';
|
|
3
3
|
import { TooltipStyles } from './Chart.style';
|
|
4
4
|
// The ChartTooltip component displays a customizable tooltip at specified coordinates, adjusting its position to stay within the viewport.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from '
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, useTheme } from 'app-studio';
|
|
3
3
|
import { Text } from 'app-studio';
|
|
4
4
|
import { LineStyles, PointStyles, AxisStyles, AxisLabelStyles, GridStyles, } from './Chart.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from '
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, Vertical, Horizontal, Text, useTheme } from 'app-studio';
|
|
3
3
|
export const LineChart = ({ data, height, animationProgress, onPointClick, views, }) => {
|
|
4
4
|
const { getColor } = useTheme();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useRef, useEffect } from '
|
|
1
|
+
import React, { useMemo, useRef, useEffect } from 'react';
|
|
2
2
|
import { useTheme, useElementPosition, View } from 'app-studio';
|
|
3
3
|
import { Text } from 'app-studio';
|
|
4
4
|
import { PieSliceStyles, DEFAULT_COLORS } from './Chart.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useCallback, useMemo } from '
|
|
1
|
+
import React, { useCallback, useMemo } from 'react';
|
|
2
2
|
import { View, Vertical, Horizontal, Text, useTheme } from 'app-studio';
|
|
3
3
|
import { DEFAULT_COLORS } from './Chart.style';
|
|
4
4
|
let Svg = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ChartView } from './Chart/Chart.view';
|
|
3
3
|
// This file defines the main Chart component, which serves as a simple wrapper that renders the ChartView component, passing all received props directly to it.
|
|
4
4
|
const ChartComponent = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useCallback } from '
|
|
1
|
+
import React, { useCallback } from 'react';
|
|
2
2
|
import { Vertical, View, Image, Center, Button, Horizontal } from 'app-studio';
|
|
3
3
|
import { FileIcon, AudioIcon } from '../Icon/Icon';
|
|
4
4
|
import { HoverCard } from '../HoverCard/HoverCard';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useCallback, useEffect } from '
|
|
1
|
+
import React, { useCallback, useEffect } from 'react';
|
|
2
2
|
import { Horizontal, View } from 'app-studio';
|
|
3
3
|
import { MicrophoneIcon, StopIcon } from '../Icon/Icon';
|
|
4
4
|
import { AudioWaveform } from '../AudioInput/AudioWaveform/AudioWaveform';
|
|
@@ -18,21 +18,21 @@ export declare const useChatInputState: (props: UseChatInputStateProps) => {
|
|
|
18
18
|
handleChange: (newValue: string) => void;
|
|
19
19
|
setValue: (newValue: string) => void;
|
|
20
20
|
handleSubmit: (e: React.FormEvent) => void;
|
|
21
|
-
editableRef: import("
|
|
22
|
-
fileInputRef: import("
|
|
23
|
-
hiddenInputRef: import("
|
|
21
|
+
editableRef: import("react").RefObject<HTMLDivElement | null>;
|
|
22
|
+
fileInputRef: import("react").RefObject<HTMLInputElement | null>;
|
|
23
|
+
hiddenInputRef: import("react").RefObject<HTMLTextAreaElement | null>;
|
|
24
24
|
isUploading: boolean;
|
|
25
25
|
uploadProgress: number;
|
|
26
26
|
isDraggingOver: boolean;
|
|
27
27
|
uploadedFiles: File[];
|
|
28
28
|
pendingFiles: File[];
|
|
29
29
|
removeUploadedFile: (index: number) => void;
|
|
30
|
-
setPendingFiles: import("
|
|
31
|
-
setUploadedFiles: import("
|
|
32
|
-
setIsUploading: import("
|
|
30
|
+
setPendingFiles: import("react").Dispatch<import("react").SetStateAction<File[]>>;
|
|
31
|
+
setUploadedFiles: import("react").Dispatch<import("react").SetStateAction<File[]>>;
|
|
32
|
+
setIsUploading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
33
33
|
startUpload: (files: File[]) => void;
|
|
34
34
|
selectedModel: string;
|
|
35
|
-
handleModelChange: import("
|
|
35
|
+
handleModelChange: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
36
36
|
modelOptions: ModelOption[];
|
|
37
37
|
subscriptionStatus: string;
|
|
38
38
|
canAccessModel: (_model: string) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useCallback, useMemo } from '
|
|
1
|
+
import React, { useCallback, useMemo } from 'react';
|
|
2
2
|
import { Horizontal, Text, View, useTheme } from 'app-studio';
|
|
3
3
|
import { DefaultChatInputStyles, Shapes, Sizes, Variants, } from './ChatInput.style';
|
|
4
4
|
import { AttachmentGroup } from '../AttachmentGroup';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from '
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ChatInputHandle, ChatInputProps } from './ChatInput/ChatInput.props';
|
|
3
3
|
export declare const ChatInput: React.ForwardRefExoticComponent<ChatInputProps & React.RefAttributes<ChatInputHandle>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file defines the main ChatInput functional component. It uses `forwardRef` to enable ref forwarding, integrates a custom state management hook (`useChatInputState`) for its logic, and delegates the actual rendering to a separate `ChatInputView` component, thereby separating concerns.
|
|
2
|
-
import React, { forwardRef, useImperativeHandle } from '
|
|
2
|
+
import React, { forwardRef, useImperativeHandle } from 'react';
|
|
3
3
|
import { useChatInputState } from './ChatInput/ChatInput.state';
|
|
4
4
|
import ChatInputView from './ChatInput/ChatInput.view';
|
|
5
5
|
export const ChatInput = forwardRef((rawProps, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { forwardRef, useEffect } from '
|
|
1
|
+
import React, { forwardRef, useEffect } from 'react';
|
|
2
2
|
import { Button, Horizontal } from 'app-studio';
|
|
3
3
|
import { useUpload } from '../Uploader/Uploader/Uploader.state';
|
|
4
4
|
import { AttachmentIcon, LoadingSpinnerIcon } from '../Icon/Icon';
|