@app-studio/components 0.11.6 → 0.11.7
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-drag-and-drop.md +61 -0
- package/dist/files/media/BlockEditor.mdx +84 -0
- package/dist/files/media/Button.mdx +1 -1
- package/dist/files/media/Checkbox.mdx +1 -1
- package/dist/files/media/ColorInput.mdx +1 -1
- package/dist/files/media/ColorPicker.mdx +1 -1
- package/dist/files/media/CountryPicker.mdx +1 -1
- package/dist/files/media/DatePicker.mdx +1 -1
- package/dist/files/media/EmojiPicker.mdx +22 -1
- package/dist/files/media/Markdown.mdx +99 -0
- package/dist/files/media/OTPInput.mdx +2 -2
- package/dist/files/media/Select.mdx +1 -1
- package/dist/files/media/Switch.mdx +2 -2
- package/dist/files/media/TextArea.mdx +8 -8
- package/dist/files/media/TextField.mdx +9 -9
- package/dist/index.d.ts +649 -511
- 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 +16 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js +193 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +13 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js +117 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +8 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.js +224 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +16 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js +298 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +46 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js +496 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +74 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js +51 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +13 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js +23 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +114 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js +349 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +6 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js +492 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.d.ts +6 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js +119 -0
- package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js.map +1 -0
- package/dist/native/components/BlockEditor/BlockEditor.d.ts +3 -0
- package/dist/native/components/BlockEditor/BlockEditor.js +8 -0
- package/dist/native/components/BlockEditor/BlockEditor.js.map +1 -0
- 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 +2 -2
- package/dist/native/components/ChatInput/MessageInput.js.map +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 +2 -2
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.js.map +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.data.d.ts +3 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.data.js +3011 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.data.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.d.ts +30 -2
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.js +18 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.js.map +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +24 -3
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js +147 -113
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js.map +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.d.ts +2 -2
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.js +1 -2211
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.js.map +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +1 -1
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js +160 -90
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js.map +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 +61 -85
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.js.map +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 +3 -5
- package/dist/native/components/Form/Password/example/ErrorInput.js.map +1 -1
- package/dist/native/components/Form/Password/example/HelperText.d.ts +1 -1
- package/dist/native/components/Form/Password/example/HelperText.js +2 -4
- package/dist/native/components/Form/Password/example/HelperText.js.map +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 +3 -3
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.js.map +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 +2 -3
- package/dist/native/components/Formik/Formik.EmojiPicker.js.map +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 +6 -0
- package/dist/native/components/Markdown/Markdown/Markdown.content.js +29 -0
- package/dist/native/components/Markdown/Markdown/Markdown.content.js.map +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.props.d.ts +16 -0
- package/dist/native/components/Markdown/Markdown/Markdown.props.js +2 -0
- package/dist/native/components/Markdown/Markdown/Markdown.props.js.map +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.d.ts +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.js +2 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.js.map +1 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.native.d.ts +3 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.native.js +8 -0
- package/dist/native/components/Markdown/Markdown/Markdown.view.native.js.map +1 -0
- package/dist/native/components/Markdown/Markdown.d.ts +3 -0
- package/dist/native/components/Markdown/Markdown.js +4 -0
- package/dist/native/components/Markdown/Markdown.js.map +1 -0
- 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 +7 -0
- package/dist/native/components/index.js +5 -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 +43 -11
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.js +13797 -10688
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.js +43 -11
- package/dist/web.umd.js.map +1 -1
- package/docs/app-studio/README.md +1 -1
- package/docs/components/BlockEditor-drag-and-drop.md +61 -0
- package/docs/components/BlockEditor.mdx +84 -0
- package/docs/components/ColorInput.mdx +1 -1
- package/docs/components/EmojiPicker.mdx +20 -0
- package/docs/components/Form.mdx +5 -5
- package/docs/components/Formik.mdx +23 -23
- package/docs/components/Markdown.mdx +99 -0
- package/docs/components/OTPInput.mdx +1 -1
- package/docs/components/TagInput.mdx +1 -1
- package/docs/components/TextArea.mdx +2 -2
- package/docs/components/TextField.mdx +3 -3
- package/docs/getting-started/component-usage.md +2 -2
- package/docs/getting-started/react-native.md +13 -2
- package/docs/tutorials/basic/creating-a-simple-form.md +4 -4
- package/package.json +1 -2
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../node_modules/@types/react';
|
|
2
2
|
import { ScrollView } from 'react-native';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { TextField } from '../../Form/TextField/TextField';
|
|
6
|
-
import { ChevronIcon } from '../../Icon/Icon';
|
|
3
|
+
import { Horizontal, Text, View } from 'app-studio';
|
|
4
|
+
import { Sizes, Shapes, Variants, CategoryLabels } from './EmojiPicker.style';
|
|
7
5
|
import { ActionSheet } from '../../ActionSheet/ActionSheet';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
// sheet (ActionSheet) — the default native overlay behaviour. Category tabs are
|
|
11
|
-
// a horizontal scroller; the search handler tolerates a plain string.
|
|
12
|
-
const EmojiPickerView = ({ id, name, label, placeholder = 'Select an emoji', helperText, views = {}, size = 'md', shape = 'default', variant = 'default', error = false, isDisabled = false, isReadOnly = false, showSearch = true, showCategories = true, showRecentEmojis = true, enabledCategories = [
|
|
6
|
+
import { TextField } from '../../Form/TextField/TextField';
|
|
7
|
+
const EmojiPickerView = ({ id, name: _name, label, placeholder, helperText, views = {}, size = 'md', shape = 'default', variant = 'default', error = false, isDisabled = false, isReadOnly = false, showSearch = true, showCategories = true, showRecentEmojis = true, enabledCategories = [
|
|
13
8
|
'recent',
|
|
14
9
|
'smileys',
|
|
15
10
|
'people',
|
|
@@ -20,86 +15,67 @@ const EmojiPickerView = ({ id, name, label, placeholder = 'Select an emoji', hel
|
|
|
20
15
|
'objects',
|
|
21
16
|
'symbols',
|
|
22
17
|
'flags',
|
|
23
|
-
], isOpen, selectedEmoji, recentEmojis, searchQuery, activeCategory, filteredEmojis, handleToggle, handleEmojiSelect, handleSearchChange, handleCategoryChange, handleClose, triggerRef, dropdownRef, onChange, onOpen, onClose, onEmojiSelect, customEmojis, closeOnSelect, maxRecentEmojis, value, defaultValue, ...props }) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
...Variants[variant],
|
|
33
|
-
...(error && { borderColor: 'color-red-500' }),
|
|
34
|
-
...(isDisabled && { opacity: 0.6 }),
|
|
35
|
-
...views?.trigger,
|
|
36
|
-
};
|
|
37
|
-
const emojiGridStyles = {
|
|
38
|
-
flexDirection: 'row',
|
|
39
|
-
flexWrap: 'wrap',
|
|
40
|
-
justifyContent: 'flex-start',
|
|
41
|
-
gap: 8,
|
|
42
|
-
paddingVertical: 4,
|
|
43
|
-
...views?.emojiGrid,
|
|
44
|
-
};
|
|
45
|
-
const availableCategories = enabledCategories.filter((category) => {
|
|
46
|
-
if (category === 'recent') {
|
|
47
|
-
return showRecentEmojis && recentEmojis.length > 0;
|
|
48
|
-
}
|
|
49
|
-
return true;
|
|
50
|
-
});
|
|
51
|
-
const sheetHeader = showSearch || showCategories ? (<View paddingHorizontal={16} paddingBottom={8}>
|
|
52
|
-
{showSearch && (<View paddingBottom={showCategories ? 10 : 0} {...views?.searchInput}>
|
|
53
|
-
<TextField placeholder="Search emojis..." value={searchQuery} onChange={handleSearchChange} size="sm" isAutoFocus={false} autoFocus={false}/>
|
|
54
|
-
</View>)}
|
|
55
|
-
{showCategories && (<ScrollView horizontal showsHorizontalScrollIndicator={false} keyboardShouldPersistTaps="handled">
|
|
56
|
-
<Horizontal gap={6} paddingBottom={4} {...views?.categoryTabs}>
|
|
57
|
-
{availableCategories.map((category) => (<View key={category} minWidth={40} minHeight={36} paddingHorizontal={10} alignItems="center" justifyContent="center" borderRadius={999} backgroundColor={activeCategory === category
|
|
58
|
-
? 'color-blue-50'
|
|
59
|
-
: 'color-gray-100'} onPress={() => handleCategoryChange(category)} onClick={() => handleCategoryChange(category)} {...views?.categoryTab}>
|
|
60
|
-
<Text fontSize={18} color={activeCategory === category
|
|
61
|
-
? 'theme-primary'
|
|
62
|
-
: 'color-gray-700'}>
|
|
63
|
-
{CategoryLabels[category]}
|
|
64
|
-
</Text>
|
|
65
|
-
</View>))}
|
|
66
|
-
</Horizontal>
|
|
67
|
-
</ScrollView>)}
|
|
68
|
-
</View>) : undefined;
|
|
69
|
-
return (<View id={id} {...containerStyles} {...props}>
|
|
70
|
-
{label && (<Text fontSize={size === 'xs' ? '12px' : size === 'sm' ? '14px' : '16px'} fontWeight="500" color="color-gray-700" marginBottom="4px" {...views?.label}>
|
|
18
|
+
], isOpen, selectedEmoji, recentEmojis, searchQuery, activeCategory, filteredEmojis, handleToggle, handleEmojiSelect, handleSearchChange, handleCategoryChange, handleClose, triggerRef, dropdownRef, mode = 'picker', trigger, quickEmojis: _quick, selectedEmojis = [], expanded, setExpanded, quickEmojiData, text, labels: _labels, onChange: _change, onOpen: _open, onClose: _close, onEmojiSelect: _select, customEmojis: _custom, closeOnSelect: _closeOnSelect, maxRecentEmojis: _max, value: _value, defaultValue: _default, ...props }) => {
|
|
19
|
+
const emojiButton = (emoji) => (<View key={emoji.emoji} accessibilityRole="button" accessibilityLabel={emoji.name} accessibilityState={{
|
|
20
|
+
disabled: isDisabled || isReadOnly,
|
|
21
|
+
selected: selectedEmojis.includes(emoji.emoji),
|
|
22
|
+
}} minWidth={44} minHeight={44} borderRadius={8} alignItems="center" justifyContent="center" backgroundColor={selectedEmojis.includes(emoji.emoji) ? 'color-blue-50' : 'transparent'} {...views.emoji} onPress={isDisabled || isReadOnly ? undefined : () => handleEmojiSelect(emoji)}>
|
|
23
|
+
<Text fontSize={24}>{emoji.emoji}</Text>
|
|
24
|
+
</View>);
|
|
25
|
+
return (<View id={id} {...views.container} {...props}>
|
|
26
|
+
{label && (<Text marginBottom={4} {...views.label}>
|
|
71
27
|
{label}
|
|
72
28
|
</Text>)}
|
|
73
|
-
<View ref={triggerRef}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
{
|
|
29
|
+
<View ref={triggerRef} accessibilityRole="button" accessibilityLabel={props['aria-label'] ||
|
|
30
|
+
label ||
|
|
31
|
+
(mode === 'reaction' ? text.reaction : text.select)} accessibilityState={{
|
|
32
|
+
disabled: isDisabled || isReadOnly,
|
|
33
|
+
expanded: isOpen,
|
|
34
|
+
}} minHeight={44} alignItems="center" justifyContent="center" {...Sizes[size]} {...Shapes[shape]} {...Variants[variant]} {...views.trigger} onPress={isDisabled || isReadOnly ? undefined : handleToggle}>
|
|
35
|
+
{trigger !== undefined ? (typeof trigger === 'string' ? (<Text>{trigger}</Text>) : (trigger)) : (<Text>
|
|
36
|
+
{mode === 'reaction'
|
|
37
|
+
? '☺ +'
|
|
38
|
+
: selectedEmoji || placeholder || text.select}
|
|
39
|
+
</Text>)}
|
|
80
40
|
</View>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
?
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{searchQuery
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
41
|
+
<ActionSheet isOpen={isOpen} onClose={handleClose} title={label || (mode === 'reaction' ? text.reaction : text.select)} maxHeight="82%" showCancel views={{ sheet: views.dropdown }}>
|
|
42
|
+
<View ref={dropdownRef} padding={12}>
|
|
43
|
+
{mode === 'reaction' && (<Horizontal gap={2} flexWrap="wrap">
|
|
44
|
+
{quickEmojiData.map(emojiButton)}
|
|
45
|
+
<View accessibilityRole="button" accessibilityLabel={text.more} accessibilityState={{ disabled: isDisabled || isReadOnly }} minWidth={44} minHeight={44} onPress={isDisabled || isReadOnly
|
|
46
|
+
? undefined
|
|
47
|
+
: () => setExpanded(!expanded)}>
|
|
48
|
+
<Text fontSize={24}>+</Text>
|
|
49
|
+
</View>
|
|
50
|
+
</Horizontal>)}
|
|
51
|
+
{expanded && (<>
|
|
52
|
+
{showSearch && (<View marginBottom={8} {...views.searchInput}>
|
|
53
|
+
<TextField value={searchQuery} onChange={handleSearchChange} placeholder={text.search} aria-label={text.search} isDisabled={isDisabled || isReadOnly}/>
|
|
54
|
+
</View>)}
|
|
55
|
+
{showCategories && (<ScrollView horizontal keyboardShouldPersistTaps="handled">
|
|
56
|
+
<Horizontal gap={4} {...views.categoryTabs}>
|
|
57
|
+
{enabledCategories
|
|
58
|
+
.filter((category) => category !== 'recent' ||
|
|
59
|
+
(showRecentEmojis && recentEmojis.length))
|
|
60
|
+
.map((category) => (<View key={category} accessibilityRole="tab" accessibilityLabel={text[category]} accessibilityState={{
|
|
61
|
+
selected: category === activeCategory,
|
|
62
|
+
}} minWidth={44} minHeight={44} alignItems="center" justifyContent="center" borderRadius={8} backgroundColor={category === activeCategory
|
|
63
|
+
? 'color-blue-50'
|
|
64
|
+
: 'transparent'} {...views.categoryTab} onPress={isDisabled || isReadOnly
|
|
65
|
+
? undefined
|
|
66
|
+
: () => handleCategoryChange(category)}>
|
|
67
|
+
<Text fontSize={20}>{CategoryLabels[category]}</Text>
|
|
68
|
+
</View>))}
|
|
69
|
+
</Horizontal>
|
|
70
|
+
</ScrollView>)}
|
|
71
|
+
<View flexDirection="row" flexWrap="wrap" gap={4} {...views.emojiGrid}>
|
|
72
|
+
{filteredEmojis.map(emojiButton)}
|
|
73
|
+
{!filteredEmojis.length && (<Text>{searchQuery ? text.empty : text.categoryEmpty}</Text>)}
|
|
74
|
+
</View>
|
|
75
|
+
</>)}
|
|
99
76
|
</View>
|
|
100
77
|
</ActionSheet>
|
|
101
|
-
|
|
102
|
-
{helperText && (<Text color={error ? 'color-red-500' : 'color-gray-600'} marginTop="4px" {...views?.helperText}>
|
|
78
|
+
{helperText && (<Text color={error ? 'theme-error' : 'theme-muted'} {...views.helperText}>
|
|
103
79
|
{helperText}
|
|
104
80
|
</Text>)}
|
|
105
81
|
</View>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiPicker.view.native.js","sourceRoot":"","sources":["../../../../../src/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EmojiPicker.view.native.js","sourceRoot":"","sources":["../../../../../src/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAG3D,MAAM,eAAe,GAAmC,CAAC,EACvD,EAAE,EACF,IAAI,EA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gBAAA,EAAE,UAAU,CAAC,CACd,CACD;cAAA,CAAC,IAAI,CACH,aAAa,CAAC,KAAK,CACnB,QAAQ,CAAC,MAAM,CACf,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,IAAI,KAAK,CAAC,SAAS,CAAC,CAEpB;gBAAA,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,CAChC;gBAAA,CAAC,CAAC,cAAc,CAAC,MAAM,IAAI,CACzB,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC,CAC7D,CACH;cAAA,EAAE,IAAI,CACR;YAAA,GAAG,CACJ,CACH;QAAA,EAAE,IAAI,CACR;MAAA,EAAE,WAAW,CACb;MAAA,CAAC,UAAU,IAAI,CACb,CAAC,IAAI,CACH,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAC7C,IAAI,KAAK,CAAC,UAAU,CAAC,CAErB;UAAA,CAAC,UAAU,CACb;QAAA,EAAE,IAAI,CAAC,CACR,CACH;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../node_modules/@types/react';
|
|
2
2
|
import { useEmojiPickerState } from './EmojiPicker/EmojiPicker.state';
|
|
3
3
|
import EmojiPickerView from './EmojiPicker/EmojiPicker.view';
|
|
4
4
|
// Defines the main EmojiPicker functional component, serving as the top-level orchestrator that integrates state management with the presentation layer to render the emoji picker UI.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../node_modules/@types/react';
|
|
2
2
|
import { useTheme, Image, View } from 'app-studio';
|
|
3
3
|
export const FileSVG = ({ src, color, views, themeMode: elementMode, ...props }) => {
|
|
4
4
|
const { getColor, themeMode } = useTheme();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
export const useCheckboxState = ({ defaultIsSelected = false, }) => {
|
|
3
3
|
const [isHovered, setIsHovered] = React.useState(false);
|
|
4
4
|
const [isSelected, setIsSelected] = React.useState(defaultIsSelected);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Renders a checkbox with various styles and states
|
|
5
5
|
* according to the design guidelines.
|
|
6
6
|
*/
|
|
7
|
-
import React from 'react';
|
|
7
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
8
8
|
import { CheckboxViewProps } from './Checkbox.props';
|
|
9
9
|
declare const CheckboxView: React.FC<CheckboxViewProps>;
|
|
10
10
|
export default CheckboxView;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Renders a checkbox with various styles and states
|
|
5
5
|
* according to the design guidelines.
|
|
6
6
|
*/
|
|
7
|
-
import React from 'react';
|
|
7
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
8
8
|
import { Typography } from 'app-studio';
|
|
9
9
|
import { Center, Input } from 'app-studio';
|
|
10
10
|
import { Label } from '../../../Form/Label/Label';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* checked (or MinusIcon when indeterminate). Drops web-only concepts: cursor,
|
|
7
7
|
* transitions, _hover (we use isHovered state only via onPress feedback).
|
|
8
8
|
*/
|
|
9
|
-
import React from 'react';
|
|
9
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
10
10
|
import { CheckboxViewProps } from './Checkbox.props';
|
|
11
11
|
declare const CheckboxView: React.FC<CheckboxViewProps>;
|
|
12
12
|
export default CheckboxView;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* checked (or MinusIcon when indeterminate). Drops web-only concepts: cursor,
|
|
7
7
|
* transitions, _hover (we use isHovered state only via onPress feedback).
|
|
8
8
|
*/
|
|
9
|
-
import React from 'react';
|
|
9
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
10
10
|
import { Typography } from 'app-studio';
|
|
11
11
|
import { Center, View } from 'app-studio';
|
|
12
12
|
import { TickIcon, MinusIcon } from '../../../Icon/Icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../node_modules/@types/react';
|
|
2
2
|
import { useCheckboxState } from './Checkbox/Checkbox.state';
|
|
3
3
|
import CheckboxView from './Checkbox/Checkbox.view';
|
|
4
4
|
import { useMergedDesignSystemComponentProps } from '../../../design-system';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { InputProps, Shadow, ViewProps } from 'app-studio';
|
|
3
3
|
import { Elevation } from '../../../../utils/elevation';
|
|
4
4
|
import { Shape, Size, ColorInputStyles, Variant, PredefinedColor, ColorFormat } from './ColorInput.type';
|
|
@@ -11,9 +11,9 @@ export declare const useColorInputState: (props: ColorInputProps) => {
|
|
|
11
11
|
handleCustomColorChange: (color: string) => void;
|
|
12
12
|
handleCustomColorSubmit: () => void;
|
|
13
13
|
handleClose: () => void;
|
|
14
|
-
setIsFocused: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
15
|
-
setIsHovered: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
setIsFocused: import("../../../../../../node_modules/@types/react").Dispatch<import("../../../../../../node_modules/@types/react").SetStateAction<boolean>>;
|
|
15
|
+
setIsHovered: import("../../../../../../node_modules/@types/react").Dispatch<import("../../../../../../node_modules/@types/react").SetStateAction<boolean>>;
|
|
16
16
|
setValue: (newValue: string) => void;
|
|
17
|
-
triggerRef: import("react").RefObject<HTMLDivElement | null>;
|
|
18
|
-
dropdownRef: import("react").RefObject<HTMLDivElement | null>;
|
|
17
|
+
triggerRef: import("../../../../../../node_modules/@types/react").RefObject<HTMLDivElement | null>;
|
|
18
|
+
dropdownRef: import("../../../../../../node_modules/@types/react").RefObject<HTMLDivElement | null>;
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState, useRef, useEffect, useCallback } from 'react';
|
|
1
|
+
import { useState, useRef, useEffect, useCallback } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { formatColor } from './colorFormat';
|
|
3
3
|
// This file defines the useColorInputState custom hook, centralizing all state management and core logic for the ColorInput component, including dropdown visibility, color selection, custom color input, recent color persistence via localStorage, and external event handling.
|
|
4
4
|
export const useColorInputState = (props) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { Element, View, Vertical, Horizontal, Text, useTheme, } from 'app-studio';
|
|
3
3
|
import { formatColor } from './colorFormat';
|
|
4
4
|
import { DefaultColorInputStyles, Sizes, Shapes, Variants, DefaultColorPalette, } from './ColorInput.style';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { View, Horizontal, Vertical, Text } from 'app-studio';
|
|
3
3
|
import { DefaultColorInputStyles, Sizes, Shapes, Variants, DefaultColorPalette, } from './ColorInput.style';
|
|
4
4
|
import { TextField } from '../../TextField/TextField';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../node_modules/@types/react';
|
|
2
2
|
import { useColorInputState } from './ColorInput/ColorInput.state';
|
|
3
3
|
import ColorInputView from './ColorInput/ColorInput.view';
|
|
4
4
|
// This file defines the main ColorInput component, orchestrating its properties, state management logic, and presentation view to create a complete and functional color input field.
|
|
@@ -4,5 +4,5 @@ interface ComboBoxContextType {
|
|
|
4
4
|
};
|
|
5
5
|
toggleDropdown: (id: string) => void;
|
|
6
6
|
}
|
|
7
|
-
declare const ComboBoxContext: import("react").Context<ComboBoxContextType>;
|
|
7
|
+
declare const ComboBoxContext: import("../../../../../../node_modules/@types/react").Context<ComboBoxContextType>;
|
|
8
8
|
export default ComboBoxContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext } from 'react';
|
|
1
|
+
import { createContext } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
// Creates the context for ComboBox with a default value enforcing non-null
|
|
3
3
|
const ComboBoxContext = createContext(null);
|
|
4
4
|
export default ComboBoxContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
1
|
+
import { ReactNode, Dispatch, SetStateAction } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { ComboBoxStyles } from './ComboBox.type';
|
|
3
3
|
import { Size } from './ComboBox.style';
|
|
4
4
|
import { InputProps } from 'app-studio';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
export declare const ComboBoxProvider: ({ children }: any) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
1
|
+
import React, { useState } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import ComboBoxContext from './ComboBox.context';
|
|
3
3
|
// Defines a provider component for ComboBox, using a render prop pattern to pass down the context to children.
|
|
4
4
|
export const ComboBoxProvider = ({ children }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useState } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
// Defines the useComboBoxState hook with parameters for the list of items and optional placeholder texts.
|
|
3
3
|
export const useComboBoxState = (items, placeholder, searchPlaceholder) => {
|
|
4
4
|
// State hook for filtered items with initial state set to the items passed to the hook.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, useRef, useState } from 'react';
|
|
1
|
+
import React, { useEffect, useRef, useState } from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { Portal } from '../../../Portal/Portal';
|
|
3
3
|
import { View, Horizontal, Vertical, useElementPosition } from 'app-studio';
|
|
4
4
|
import { Text } from 'app-studio';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* surface (search, single/multi select, chips, ticks) but renders the options
|
|
8
8
|
* in the shared ActionSheet used by native select/menu/picker surfaces.
|
|
9
9
|
*/
|
|
10
|
-
import React from 'react';
|
|
10
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
11
11
|
import { ComboBoxViewProps } from './ComboBox.props';
|
|
12
12
|
declare const ComboBoxView: React.FC<ComboBoxViewProps>;
|
|
13
13
|
export default ComboBoxView;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* surface (search, single/multi select, chips, ticks) but renders the options
|
|
8
8
|
* in the shared ActionSheet used by native select/menu/picker surfaces.
|
|
9
9
|
*/
|
|
10
|
-
import React from 'react';
|
|
10
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
11
11
|
import { View, Horizontal, Vertical, Text } from 'app-studio';
|
|
12
12
|
import TextField from '../../../Form/TextField/TextField/TextField.view';
|
|
13
13
|
import { ActionSheet } from '../../../ActionSheet/ActionSheet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../node_modules/@types/react';
|
|
2
2
|
import { useComboBoxState } from './ComboBox/ComboBox.state';
|
|
3
3
|
import ComboBoxView from './ComboBox/ComboBox.view';
|
|
4
4
|
// Defines the ComboBoxComponent functional component with ComboBoxProps
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { CountryPickerProps } from './CountryPicker.props';
|
|
3
3
|
import { Country } from './CountryPicker.type';
|
|
4
4
|
export declare const useCountryPickerState: ({ placeholder }: CountryPickerProps) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import countryList from '../countries.json';
|
|
3
3
|
// Defines a custom hook for managing the CountryPicker component's state, including options from a country list, selected value, and UI states for hiding, focus, and hover.
|
|
4
4
|
export const useCountryPickerState = ({ placeholder }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { CountryPickerViewProps, DropDownItemProps, CountryPickerDropDownProps } from './CountryPicker.props';
|
|
3
3
|
export declare const DropDownItem: React.FC<DropDownItemProps>;
|
|
4
4
|
export declare const DropDown: React.FC<CountryPickerDropDownProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { Element, Input, Typography, useTheme } from 'app-studio';
|
|
3
3
|
import { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper, } from '../../../Input';
|
|
4
4
|
import countryList from '../countries.json';
|
package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { Input, Typography, useTheme } from 'app-studio';
|
|
3
3
|
import { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper, } from '../../../Input';
|
|
4
4
|
import { ActionSheet } from '../../../ActionSheet/ActionSheet';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../node_modules/@types/react';
|
|
2
2
|
// Uses the custom hook 'useCountryPickerState' to manage state specific to the CountryPicker component.
|
|
3
3
|
import { useCountryPickerState } from './CountryPicker/CountryPicker.state';
|
|
4
4
|
import { CountryPickerView } from './CountryPicker/CountryPicker.view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { DatePickerProps } from './DatePicker.props';
|
|
3
3
|
export declare const useDatePickerState: ({ value, defaultValue, }?: Pick<DatePickerProps, "value" | "defaultValue">) => {
|
|
4
4
|
date: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React from '../../../../../../node_modules/@types/react';
|
|
2
2
|
import { Input, Typography, useTheme } from 'app-studio';
|
|
3
3
|
import { FieldContainer } from '../../../Input/FieldContainer/FieldContainer';
|
|
4
4
|
import { FieldContent } from '../../../Input/FieldContent/FieldContent';
|