@app-studio/components 0.10.17
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/LICENSE +448 -0
- package/README.md +236 -0
- package/dist/assets/apple-logo.png +0 -0
- package/dist/assets/maskable_icon.png +0 -0
- package/dist/assets/orange.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/files/media/Accordion.mdx +333 -0
- package/dist/files/media/Alert.mdx +353 -0
- package/dist/files/media/AspectRatio.mdx +64 -0
- package/dist/files/media/AudioInput.mdx +78 -0
- package/dist/files/media/AudioWaveform.mdx +9 -0
- package/dist/files/media/Avatar.mdx +301 -0
- package/dist/files/media/Background.mdx +610 -0
- package/dist/files/media/Badge.mdx +503 -0
- package/dist/files/media/Button.mdx +688 -0
- package/dist/files/media/Card.mdx +560 -0
- package/dist/files/media/Carousel.mdx +605 -0
- package/dist/files/media/Chart.mdx +871 -0
- package/dist/files/media/ChatInput.mdx +540 -0
- package/dist/files/media/ChatWidget.mdx +403 -0
- package/dist/files/media/Checkbox.mdx +463 -0
- package/dist/files/media/ColorInput.mdx +217 -0
- package/dist/files/media/ColorPicker.mdx +259 -0
- package/dist/files/media/ComboBox.mdx +376 -0
- package/dist/files/media/Command.mdx +496 -0
- package/dist/files/media/ContextMenu.mdx +411 -0
- package/dist/files/media/CookieConsent.mdx +263 -0
- package/dist/files/media/CountryPicker.mdx +349 -0
- package/dist/files/media/DatePicker.mdx +217 -0
- package/dist/files/media/DragAndDrop.mdx +34 -0
- package/dist/files/media/Drawer.mdx +233 -0
- package/dist/files/media/DropZone.mdx +9 -0
- package/dist/files/media/DropdownMenu.mdx +403 -0
- package/dist/files/media/EmojiPicker.mdx +314 -0
- package/dist/files/media/Gradient.mdx +604 -0
- package/dist/files/media/HoverCard.mdx +144 -0
- package/dist/files/media/IconPicker.mdx +9 -0
- package/dist/files/media/Label.mdx +9 -0
- package/dist/files/media/Link.mdx +142 -0
- package/dist/files/media/Loader.mdx +161 -0
- package/dist/files/media/Menubar.mdx +496 -0
- package/dist/files/media/Message.mdx +299 -0
- package/dist/files/media/Modal.mdx +795 -0
- package/dist/files/media/NavigationMenu.mdx +728 -0
- package/dist/files/media/OTPInput.mdx +450 -0
- package/dist/files/media/Pagination.mdx +356 -0
- package/dist/files/media/ProgressBar.mdx +119 -0
- package/dist/files/media/Radio.mdx +314 -0
- package/dist/files/media/RadioGroup.mdx +9 -0
- package/dist/files/media/Resizable.mdx +873 -0
- package/dist/files/media/Select.mdx +689 -0
- package/dist/files/media/Selector.mdx +9 -0
- package/dist/files/media/Separator.mdx +741 -0
- package/dist/files/media/ShareButton.mdx +29 -0
- package/dist/files/media/Sidebar.mdx +1237 -0
- package/dist/files/media/Slider.mdx +513 -0
- package/dist/files/media/StatusIndicator.mdx +43 -0
- package/dist/files/media/Switch.mdx +521 -0
- package/dist/files/media/Table.mdx +827 -0
- package/dist/files/media/Tabs.mdx +524 -0
- package/dist/files/media/TagInput.mdx +372 -0
- package/dist/files/media/TextArea.mdx +724 -0
- package/dist/files/media/TextField.mdx +830 -0
- package/dist/files/media/Title.mdx +1081 -0
- package/dist/files/media/Toast.mdx +802 -0
- package/dist/files/media/Toggle.mdx +159 -0
- package/dist/files/media/ToggleGroup.mdx +180 -0
- package/dist/files/media/Tooltip.mdx +307 -0
- package/dist/files/media/Uploader.mdx +9 -0
- package/dist/index.d.ts +4551 -0
- package/dist/manifest.json +22 -0
- package/dist/native/components/Accordion/Accordion/Accordion.props.d.ts +50 -0
- package/dist/native/components/Accordion/Accordion/Accordion.props.js +2 -0
- package/dist/native/components/Accordion/Accordion/Accordion.props.js.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.state.d.ts +9 -0
- package/dist/native/components/Accordion/Accordion/Accordion.state.js +83 -0
- package/dist/native/components/Accordion/Accordion/Accordion.state.js.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.style.d.ts +6 -0
- package/dist/native/components/Accordion/Accordion/Accordion.style.js +54 -0
- package/dist/native/components/Accordion/Accordion/Accordion.style.js.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.type.d.ts +20 -0
- package/dist/native/components/Accordion/Accordion/Accordion.type.js +2 -0
- package/dist/native/components/Accordion/Accordion/Accordion.type.js.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.d.ts +32 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.js +156 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.js.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.d.ts +32 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.js +100 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.js.map +1 -0
- package/dist/native/components/Accordion/Accordion.d.ts +2 -0
- package/dist/native/components/Accordion/Accordion.js +38 -0
- package/dist/native/components/Accordion/Accordion.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.props.d.ts +14 -0
- package/dist/native/components/Alert/Alert/Alert.props.js +2 -0
- package/dist/native/components/Alert/Alert/Alert.props.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.state.d.ts +5 -0
- package/dist/native/components/Alert/Alert/Alert.state.js +9 -0
- package/dist/native/components/Alert/Alert/Alert.state.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.style.d.ts +28 -0
- package/dist/native/components/Alert/Alert/Alert.style.js +98 -0
- package/dist/native/components/Alert/Alert/Alert.style.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.type.d.ts +8 -0
- package/dist/native/components/Alert/Alert/Alert.type.js +2 -0
- package/dist/native/components/Alert/Alert/Alert.type.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.view.d.ts +11 -0
- package/dist/native/components/Alert/Alert/Alert.view.js +68 -0
- package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -0
- package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +3 -0
- package/dist/native/components/Alert/Alert/Alert.view.native.js +22 -0
- package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -0
- package/dist/native/components/Alert/Alert.d.ts +3 -0
- package/dist/native/components/Alert/Alert.js +11 -0
- package/dist/native/components/Alert/Alert.js.map +1 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +9 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.props.js +2 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.props.js.map +1 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +3 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.js +15 -0
- package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.js.map +1 -0
- package/dist/native/components/AspectRatio/AspectRatio.d.ts +3 -0
- package/dist/native/components/AspectRatio/AspectRatio.js +11 -0
- package/dist/native/components/AspectRatio/AspectRatio.js.map +1 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +18 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.js +111 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.js.map +1 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup.d.ts +2 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup.js +3 -0
- package/dist/native/components/AttachmentGroup/AttachmentGroup.js.map +1 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.props.d.ts +18 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.props.js +2 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.props.js.map +1 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.state.d.ts +15 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.state.js +36 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.state.js.map +1 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.d.ts +4 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js +150 -0
- package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js.map +1 -0
- package/dist/native/components/AudioInput/AudioInput.d.ts +4 -0
- package/dist/native/components/AudioInput/AudioInput.js +10 -0
- package/dist/native/components/AudioInput/AudioInput.js.map +1 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +3 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.js +46 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.js.map +1 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.props.d.ts +9 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.props.js +2 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.props.js.map +1 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +4 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.js +28 -0
- package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.js.map +1 -0
- package/dist/native/components/AudioInput/useAudioRecording.d.ts +13 -0
- package/dist/native/components/AudioInput/useAudioRecording.js +232 -0
- package/dist/native/components/AudioInput/useAudioRecording.js.map +1 -0
- package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +13 -0
- package/dist/native/components/Avatar/Avatar/Avatar.props.js +2 -0
- package/dist/native/components/Avatar/Avatar/Avatar.props.js.map +1 -0
- package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +4 -0
- package/dist/native/components/Avatar/Avatar/Avatar.state.js +8 -0
- package/dist/native/components/Avatar/Avatar/Avatar.state.js.map +1 -0
- package/dist/native/components/Avatar/Avatar/Avatar.style.d.ts +24 -0
- package/dist/native/components/Avatar/Avatar/Avatar.style.js +44 -0
- package/dist/native/components/Avatar/Avatar/Avatar.style.js.map +1 -0
- package/dist/native/components/Avatar/Avatar/Avatar.type.d.ts +7 -0
- package/dist/native/components/Avatar/Avatar/Avatar.type.js +2 -0
- package/dist/native/components/Avatar/Avatar/Avatar.type.js.map +1 -0
- package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +9 -0
- package/dist/native/components/Avatar/Avatar/Avatar.view.js +29 -0
- package/dist/native/components/Avatar/Avatar/Avatar.view.js.map +1 -0
- package/dist/native/components/Avatar/Avatar.d.ts +3 -0
- package/dist/native/components/Avatar/Avatar.js +19 -0
- package/dist/native/components/Avatar/Avatar.js.map +1 -0
- package/dist/native/components/Background/Background/Background.props.d.ts +98 -0
- package/dist/native/components/Background/Background/Background.props.js +2 -0
- package/dist/native/components/Background/Background/Background.props.js.map +1 -0
- package/dist/native/components/Background/Background/Background.style.d.ts +24 -0
- package/dist/native/components/Background/Background/Background.style.js +125 -0
- package/dist/native/components/Background/Background/Background.style.js.map +1 -0
- package/dist/native/components/Background/Background/Background.type.d.ts +28 -0
- package/dist/native/components/Background/Background/Background.type.js +2 -0
- package/dist/native/components/Background/Background/Background.type.js.map +1 -0
- package/dist/native/components/Background/Background/Background.view.d.ts +18 -0
- package/dist/native/components/Background/Background/Background.view.js +365 -0
- package/dist/native/components/Background/Background/Background.view.js.map +1 -0
- package/dist/native/components/Background/Background/Background.view.native.d.ts +18 -0
- package/dist/native/components/Background/Background/Background.view.native.js +79 -0
- package/dist/native/components/Background/Background/Background.view.native.js.map +1 -0
- package/dist/native/components/Background/Background.d.ts +15 -0
- package/dist/native/components/Background/Background.js +20 -0
- package/dist/native/components/Background/Background.js.map +1 -0
- package/dist/native/components/Background/index.d.ts +3 -0
- package/dist/native/components/Background/index.js +3 -0
- package/dist/native/components/Background/index.js.map +1 -0
- package/dist/native/components/Badge/Badge/Badge.props.d.ts +21 -0
- package/dist/native/components/Badge/Badge/Badge.props.js +2 -0
- package/dist/native/components/Badge/Badge/Badge.props.js.map +1 -0
- package/dist/native/components/Badge/Badge/Badge.style.d.ts +38 -0
- package/dist/native/components/Badge/Badge/Badge.style.js +240 -0
- package/dist/native/components/Badge/Badge/Badge.style.js.map +1 -0
- package/dist/native/components/Badge/Badge/Badge.type.d.ts +13 -0
- package/dist/native/components/Badge/Badge/Badge.type.js +2 -0
- package/dist/native/components/Badge/Badge/Badge.type.js.map +1 -0
- package/dist/native/components/Badge/Badge/Badge.view.d.ts +12 -0
- package/dist/native/components/Badge/Badge/Badge.view.js +115 -0
- package/dist/native/components/Badge/Badge/Badge.view.js.map +1 -0
- package/dist/native/components/Badge/Badge.d.ts +3 -0
- package/dist/native/components/Badge/Badge.js +9 -0
- package/dist/native/components/Badge/Badge.js.map +1 -0
- package/dist/native/components/Button/Button/Button.props.d.ts +49 -0
- package/dist/native/components/Button/Button/Button.props.js +2 -0
- package/dist/native/components/Button/Button/Button.props.js.map +1 -0
- package/dist/native/components/Button/Button/Button.state.d.ts +5 -0
- package/dist/native/components/Button/Button/Button.state.js +10 -0
- package/dist/native/components/Button/Button/Button.state.js.map +1 -0
- package/dist/native/components/Button/Button/Button.style.d.ts +33 -0
- package/dist/native/components/Button/Button/Button.style.js +256 -0
- package/dist/native/components/Button/Button/Button.style.js.map +1 -0
- package/dist/native/components/Button/Button/Button.view.d.ts +9 -0
- package/dist/native/components/Button/Button/Button.view.js +245 -0
- package/dist/native/components/Button/Button/Button.view.js.map +1 -0
- package/dist/native/components/Button/Button/Button.view.native.d.ts +11 -0
- package/dist/native/components/Button/Button/Button.view.native.js +73 -0
- package/dist/native/components/Button/Button/Button.view.native.js.map +1 -0
- package/dist/native/components/Button/Button.d.ts +3 -0
- package/dist/native/components/Button/Button.js +13 -0
- package/dist/native/components/Button/Button.js.map +1 -0
- package/dist/native/components/Card/Card/Card.context.d.ts +6 -0
- package/dist/native/components/Card/Card/Card.context.js +7 -0
- package/dist/native/components/Card/Card/Card.context.js.map +1 -0
- package/dist/native/components/Card/Card/Card.props.d.ts +30 -0
- package/dist/native/components/Card/Card/Card.props.js +2 -0
- package/dist/native/components/Card/Card/Card.props.js.map +1 -0
- package/dist/native/components/Card/Card/Card.state.d.ts +4 -0
- package/dist/native/components/Card/Card/Card.state.js +7 -0
- package/dist/native/components/Card/Card/Card.state.js.map +1 -0
- package/dist/native/components/Card/Card/Card.style.d.ts +6 -0
- package/dist/native/components/Card/Card/Card.style.js +90 -0
- package/dist/native/components/Card/Card/Card.style.js.map +1 -0
- package/dist/native/components/Card/Card/Card.type.d.ts +10 -0
- package/dist/native/components/Card/Card/Card.type.js +2 -0
- package/dist/native/components/Card/Card/Card.type.js.map +1 -0
- package/dist/native/components/Card/Card/Card.view.d.ts +6 -0
- package/dist/native/components/Card/Card/Card.view.js +118 -0
- package/dist/native/components/Card/Card/Card.view.js.map +1 -0
- package/dist/native/components/Card/Card.d.ts +2 -0
- package/dist/native/components/Card/Card.js +13 -0
- package/dist/native/components/Card/Card.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.context.d.ts +3 -0
- package/dist/native/components/Carousel/Carousel/Carousel.context.js +13 -0
- package/dist/native/components/Carousel/Carousel/Carousel.context.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.props.d.ts +51 -0
- package/dist/native/components/Carousel/Carousel/Carousel.props.js +2 -0
- package/dist/native/components/Carousel/Carousel/Carousel.props.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
- package/dist/native/components/Carousel/Carousel/Carousel.state.js +170 -0
- package/dist/native/components/Carousel/Carousel/Carousel.state.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
- package/dist/native/components/Carousel/Carousel/Carousel.style.js +107 -0
- package/dist/native/components/Carousel/Carousel/Carousel.style.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
- package/dist/native/components/Carousel/Carousel/Carousel.type.js +2 -0
- package/dist/native/components/Carousel/Carousel/Carousel.type.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.js +173 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.js.map +1 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.native.d.ts +8 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.native.js +153 -0
- package/dist/native/components/Carousel/Carousel/Carousel.view.native.js.map +1 -0
- package/dist/native/components/Carousel/Carousel.d.ts +2 -0
- package/dist/native/components/Carousel/Carousel.js +13 -0
- package/dist/native/components/Carousel/Carousel.js.map +1 -0
- package/dist/native/components/Chart/Chart/BarChart.d.ts +15 -0
- package/dist/native/components/Chart/Chart/BarChart.js +144 -0
- package/dist/native/components/Chart/Chart/BarChart.js.map +1 -0
- package/dist/native/components/Chart/Chart/Chart.props.d.ts +28 -0
- package/dist/native/components/Chart/Chart/Chart.props.js +2 -0
- package/dist/native/components/Chart/Chart/Chart.props.js.map +1 -0
- package/dist/native/components/Chart/Chart/Chart.state.d.ts +40 -0
- package/dist/native/components/Chart/Chart/Chart.state.js +102 -0
- package/dist/native/components/Chart/Chart/Chart.state.js.map +1 -0
- package/dist/native/components/Chart/Chart/Chart.style.d.ts +20 -0
- package/dist/native/components/Chart/Chart/Chart.style.js +155 -0
- package/dist/native/components/Chart/Chart/Chart.style.js.map +1 -0
- package/dist/native/components/Chart/Chart/Chart.type.d.ts +36 -0
- package/dist/native/components/Chart/Chart/Chart.type.js +2 -0
- package/dist/native/components/Chart/Chart/Chart.type.js.map +1 -0
- package/dist/native/components/Chart/Chart/Chart.view.d.ts +3 -0
- package/dist/native/components/Chart/Chart/Chart.view.js +122 -0
- package/dist/native/components/Chart/Chart/Chart.view.js.map +1 -0
- package/dist/native/components/Chart/Chart/ChartColors.d.ts +13 -0
- package/dist/native/components/Chart/Chart/ChartColors.js +27 -0
- package/dist/native/components/Chart/Chart/ChartColors.js.map +1 -0
- package/dist/native/components/Chart/Chart/ChartTooltip.d.ts +14 -0
- package/dist/native/components/Chart/Chart/ChartTooltip.js +75 -0
- package/dist/native/components/Chart/Chart/ChartTooltip.js.map +1 -0
- package/dist/native/components/Chart/Chart/LineChart.d.ts +15 -0
- package/dist/native/components/Chart/Chart/LineChart.js +187 -0
- package/dist/native/components/Chart/Chart/LineChart.js.map +1 -0
- package/dist/native/components/Chart/Chart/PieChart.d.ts +15 -0
- package/dist/native/components/Chart/Chart/PieChart.js +222 -0
- package/dist/native/components/Chart/Chart/PieChart.js.map +1 -0
- package/dist/native/components/Chart/Chart.d.ts +3 -0
- package/dist/native/components/Chart/Chart.js +8 -0
- package/dist/native/components/Chart/Chart.js.map +1 -0
- package/dist/native/components/ChatInput/AttachmentGroup.d.ts +18 -0
- package/dist/native/components/ChatInput/AttachmentGroup.js +93 -0
- package/dist/native/components/ChatInput/AttachmentGroup.js.map +1 -0
- package/dist/native/components/ChatInput/AudioRecorder.d.ts +10 -0
- package/dist/native/components/ChatInput/AudioRecorder.js +52 -0
- package/dist/native/components/ChatInput/AudioRecorder.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.props.d.ts +317 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.props.js +2 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.props.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.state.d.ts +43 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.state.js +227 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.state.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.style.d.ts +164 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.style.js +398 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.style.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.type.d.ts +56 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.type.js +2 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.type.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.view.d.ts +4 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.view.js +186 -0
- package/dist/native/components/ChatInput/ChatInput/ChatInput.view.js.map +1 -0
- package/dist/native/components/ChatInput/ChatInput.d.ts +3 -0
- package/dist/native/components/ChatInput/ChatInput.js +10 -0
- package/dist/native/components/ChatInput/ChatInput.js.map +1 -0
- package/dist/native/components/ChatInput/ChatUploader.d.ts +20 -0
- package/dist/native/components/ChatInput/ChatUploader.js +64 -0
- package/dist/native/components/ChatInput/ChatUploader.js.map +1 -0
- package/dist/native/components/ChatInput/EditableInput.d.ts +38 -0
- package/dist/native/components/ChatInput/EditableInput.js +351 -0
- package/dist/native/components/ChatInput/EditableInput.js.map +1 -0
- package/dist/native/components/ChatInput/GuideTip.d.ts +12 -0
- package/dist/native/components/ChatInput/GuideTip.js +21 -0
- package/dist/native/components/ChatInput/GuideTip.js.map +1 -0
- package/dist/native/components/ChatInput/MessageInput.d.ts +36 -0
- package/dist/native/components/ChatInput/MessageInput.js +65 -0
- package/dist/native/components/ChatInput/MessageInput.js.map +1 -0
- package/dist/native/components/ChatInput/PromptExamples.d.ts +13 -0
- package/dist/native/components/ChatInput/PromptExamples.js +22 -0
- package/dist/native/components/ChatInput/PromptExamples.js.map +1 -0
- package/dist/native/components/ChatInput/index.d.ts +7 -0
- package/dist/native/components/ChatInput/index.js +15 -0
- package/dist/native/components/ChatInput/index.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.props.d.ts +32 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.props.js +2 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.props.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +8 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.js +46 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +81 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.style.js +155 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.style.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.type.d.ts +47 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.type.js +2 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.type.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +4 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.js +227 -0
- package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.js.map +1 -0
- package/dist/native/components/ChatWidget/ChatWidget.d.ts +4 -0
- package/dist/native/components/ChatWidget/ChatWidget.js +11 -0
- package/dist/native/components/ChatWidget/ChatWidget.js.map +1 -0
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +14 -0
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.js +131 -0
- package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.js.map +1 -0
- package/dist/native/components/ChatWidget/Widget/index.d.ts +2 -0
- package/dist/native/components/ChatWidget/Widget/index.js +3 -0
- package/dist/native/components/ChatWidget/Widget/index.js.map +1 -0
- package/dist/native/components/ChatWidget/Widget/useContextSelector.d.ts +22 -0
- package/dist/native/components/ChatWidget/Widget/useContextSelector.js +121 -0
- package/dist/native/components/ChatWidget/Widget/useContextSelector.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.props.d.ts +44 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.props.js +2 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.props.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +14 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.js +102 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.style.d.ts +19 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.style.js +128 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.style.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.type.d.ts +34 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.type.js +2 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.type.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +4 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js +110 -0
- package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js.map +1 -0
- package/dist/native/components/ColorPicker/ColorPicker.d.ts +3 -0
- package/dist/native/components/ColorPicker/ColorPicker.js +10 -0
- package/dist/native/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/native/components/Command/Command/Command.props.d.ts +66 -0
- package/dist/native/components/Command/Command/Command.props.js +2 -0
- package/dist/native/components/Command/Command/Command.props.js.map +1 -0
- package/dist/native/components/Command/Command/Command.state.d.ts +17 -0
- package/dist/native/components/Command/Command/Command.state.js +99 -0
- package/dist/native/components/Command/Command/Command.state.js.map +1 -0
- package/dist/native/components/Command/Command/Command.style.d.ts +19 -0
- package/dist/native/components/Command/Command/Command.style.js +154 -0
- package/dist/native/components/Command/Command/Command.style.js.map +1 -0
- package/dist/native/components/Command/Command/Command.type.d.ts +42 -0
- package/dist/native/components/Command/Command/Command.type.js +2 -0
- package/dist/native/components/Command/Command/Command.type.js.map +1 -0
- package/dist/native/components/Command/Command/Command.view.d.ts +31 -0
- package/dist/native/components/Command/Command/Command.view.js +140 -0
- package/dist/native/components/Command/Command/Command.view.js.map +1 -0
- package/dist/native/components/Command/Command.d.ts +2 -0
- package/dist/native/components/Command/Command.js +21 -0
- package/dist/native/components/Command/Command.js.map +1 -0
- package/dist/native/components/Command/index.d.ts +1 -0
- package/dist/native/components/Command/index.js +3 -0
- package/dist/native/components/Command/index.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +71 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.props.js +2 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.props.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +27 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.js +74 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.style.d.ts +16 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.style.js +50 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.style.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +52 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.type.js +2 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.type.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +23 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.js +221 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.d.ts +23 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.js +120 -0
- package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.js.map +1 -0
- package/dist/native/components/ContextMenu/ContextMenu.d.ts +2 -0
- package/dist/native/components/ContextMenu/ContextMenu.js +41 -0
- package/dist/native/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.props.d.ts +15 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.props.js +2 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.props.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +7 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.js +39 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +65 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.style.js +89 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.style.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +10 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.type.js +2 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.type.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +3 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.js +59 -0
- package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.js.map +1 -0
- package/dist/native/components/CookieConsent/CookieConsent.d.ts +3 -0
- package/dist/native/components/CookieConsent/CookieConsent.js +8 -0
- package/dist/native/components/CookieConsent/CookieConsent.js.map +1 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +18 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.props.js +2 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.props.js.map +1 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +8 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.js +79 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.js.map +1 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +3 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.js +11 -0
- package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.js.map +1 -0
- package/dist/native/components/DragAndDrop/DragAndDrop.d.ts +4 -0
- package/dist/native/components/DragAndDrop/DragAndDrop.js +10 -0
- package/dist/native/components/DragAndDrop/DragAndDrop.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.layout.d.ts +3 -0
- package/dist/native/components/Drawer/Drawer/Drawer.layout.js +51 -0
- package/dist/native/components/Drawer/Drawer/Drawer.layout.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.props.d.ts +51 -0
- package/dist/native/components/Drawer/Drawer/Drawer.props.js +2 -0
- package/dist/native/components/Drawer/Drawer/Drawer.props.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.store.d.ts +19 -0
- package/dist/native/components/Drawer/Drawer/Drawer.store.js +64 -0
- package/dist/native/components/Drawer/Drawer/Drawer.store.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.style.d.ts +4 -0
- package/dist/native/components/Drawer/Drawer/Drawer.style.js +49 -0
- package/dist/native/components/Drawer/Drawer/Drawer.style.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.d.ts +7 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.js +95 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.js.map +1 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.native.d.ts +14 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.native.js +73 -0
- package/dist/native/components/Drawer/Drawer/Drawer.view.native.js.map +1 -0
- package/dist/native/components/Drawer/Drawer.d.ts +3 -0
- package/dist/native/components/Drawer/Drawer.js +20 -0
- package/dist/native/components/Drawer/Drawer.js.map +1 -0
- package/dist/native/components/DropZone/DropZone/DropZone.props.d.ts +25 -0
- package/dist/native/components/DropZone/DropZone/DropZone.props.js +2 -0
- package/dist/native/components/DropZone/DropZone/DropZone.props.js.map +1 -0
- package/dist/native/components/DropZone/DropZone/DropZone.state.d.ts +2 -0
- package/dist/native/components/DropZone/DropZone/DropZone.state.js +99 -0
- package/dist/native/components/DropZone/DropZone/DropZone.state.js.map +1 -0
- package/dist/native/components/DropZone/DropZone/DropZone.view.d.ts +3 -0
- package/dist/native/components/DropZone/DropZone/DropZone.view.js +47 -0
- package/dist/native/components/DropZone/DropZone/DropZone.view.js.map +1 -0
- package/dist/native/components/DropZone/DropZone.d.ts +3 -0
- package/dist/native/components/DropZone/DropZone.js +9 -0
- package/dist/native/components/DropZone/DropZone.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +51 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.props.js +2 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.props.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +6 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.js +43 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.style.d.ts +17 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.style.js +84 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.style.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +35 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.type.js +2 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.type.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +20 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.js +192 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.d.ts +20 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.js +77 -0
- package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.js.map +1 -0
- package/dist/native/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/dist/native/components/DropdownMenu/DropdownMenu.js +25 -0
- package/dist/native/components/DropdownMenu/DropdownMenu.js.map +1 -0
- package/dist/native/components/EditComponent/EditComponent.d.ts +14 -0
- package/dist/native/components/EditComponent/EditComponent.js +185 -0
- package/dist/native/components/EditComponent/EditComponent.js.map +1 -0
- package/dist/native/components/EditComponent/EditPanel.d.ts +7 -0
- package/dist/native/components/EditComponent/EditPanel.js +72 -0
- package/dist/native/components/EditComponent/EditPanel.js.map +1 -0
- package/dist/native/components/EditComponent/EditToolbar.d.ts +16 -0
- package/dist/native/components/EditComponent/EditToolbar.js +26 -0
- package/dist/native/components/EditComponent/EditToolbar.js.map +1 -0
- package/dist/native/components/EditComponent/index.d.ts +3 -0
- package/dist/native/components/EditComponent/index.js +4 -0
- package/dist/native/components/EditComponent/index.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.d.ts +47 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.js +2 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.props.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +17 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js +143 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.d.ts +18 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.js +2371 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.style.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.type.d.ts +28 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.type.js +2 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.type.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +4 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js +113 -0
- package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js.map +1 -0
- package/dist/native/components/EmojiPicker/EmojiPicker.d.ts +3 -0
- package/dist/native/components/EmojiPicker/EmojiPicker.js +10 -0
- package/dist/native/components/EmojiPicker/EmojiPicker.js.map +1 -0
- package/dist/native/components/File/File.d.ts +14 -0
- package/dist/native/components/File/File.js +18 -0
- package/dist/native/components/File/File.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +32 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.js +2 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +8 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +12 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +89 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js +125 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +10 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +128 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.d.ts +12 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +80 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox.d.ts +6 -0
- package/dist/native/components/Form/Checkbox/Checkbox.js +14 -0
- package/dist/native/components/Form/Checkbox/Checkbox.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +54 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.props.js +2 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.props.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +19 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.js +120 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.style.d.ts +16 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.style.js +150 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.style.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +36 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.type.js +2 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.type.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +4 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js +114 -0
- package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js.map +1 -0
- package/dist/native/components/Form/ColorInput/ColorInput.d.ts +3 -0
- package/dist/native/components/Form/ColorInput/ColorInput.js +10 -0
- package/dist/native/components/Form/ColorInput/ColorInput.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +8 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.js +5 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +39 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.js +2 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +2 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.js +15 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.state.d.ts +2 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.state.js +33 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.state.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.d.ts +116 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.js +170 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.style.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.type.d.ts +11 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.type.js +2 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.type.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +4 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js +228 -0
- package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js.map +1 -0
- package/dist/native/components/Form/ComboBox/ComboBox.d.ts +3 -0
- package/dist/native/components/Form/ComboBox/ComboBox.js +26 -0
- package/dist/native/components/Form/ComboBox/ComboBox.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +48 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.props.js +2 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.props.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +15 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.js +23 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.style.d.ts +3 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.style.js +17 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.style.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +5 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js +109 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker.d.ts +3 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker.js +14 -0
- package/dist/native/components/Form/CountryPicker/CountryPicker.js.map +1 -0
- package/dist/native/components/Form/CountryPicker/countries.json +1453 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +95 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.props.js +2 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.props.js.map +1 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +9 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +16 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js.map +1 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.style.d.ts +3 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.style.js +15 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.style.js.map +1 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +4 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js +64 -0
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js.map +1 -0
- package/dist/native/components/Form/DatePicker/DatePicker.d.ts +6 -0
- package/dist/native/components/Form/DatePicker/DatePicker.js +12 -0
- package/dist/native/components/Form/DatePicker/DatePicker.js.map +1 -0
- package/dist/native/components/Form/Form.d.ts +12 -0
- package/dist/native/components/Form/Form.js +13 -0
- package/dist/native/components/Form/Form.js.map +1 -0
- package/dist/native/components/Form/Label/Label/Label.props.d.ts +17 -0
- package/dist/native/components/Form/Label/Label/Label.props.js +2 -0
- package/dist/native/components/Form/Label/Label/Label.props.js.map +1 -0
- package/dist/native/components/Form/Label/Label/Label.style.d.ts +2 -0
- package/dist/native/components/Form/Label/Label/Label.style.js +36 -0
- package/dist/native/components/Form/Label/Label/Label.style.js.map +1 -0
- package/dist/native/components/Form/Label/Label/Label.type.d.ts +3 -0
- package/dist/native/components/Form/Label/Label/Label.type.js +2 -0
- package/dist/native/components/Form/Label/Label/Label.type.js.map +1 -0
- package/dist/native/components/Form/Label/Label/Label.view.d.ts +4 -0
- package/dist/native/components/Form/Label/Label/Label.view.js +31 -0
- package/dist/native/components/Form/Label/Label/Label.view.js.map +1 -0
- package/dist/native/components/Form/Label/Label/Label.view.native.d.ts +12 -0
- package/dist/native/components/Form/Label/Label/Label.view.native.js +24 -0
- package/dist/native/components/Form/Label/Label/Label.view.native.js.map +1 -0
- package/dist/native/components/Form/Label/Label.d.ts +3 -0
- package/dist/native/components/Form/Label/Label.js +12 -0
- package/dist/native/components/Form/Label/Label.js.map +1 -0
- package/dist/native/components/Form/Password/Password/Password.props.d.ts +37 -0
- package/dist/native/components/Form/Password/Password/Password.props.js +2 -0
- package/dist/native/components/Form/Password/Password/Password.props.js.map +1 -0
- package/dist/native/components/Form/Password/Password/Password.state.d.ts +1736 -0
- package/dist/native/components/Form/Password/Password/Password.state.js +8 -0
- package/dist/native/components/Form/Password/Password/Password.state.js.map +1 -0
- package/dist/native/components/Form/Password/Password.d.ts +6 -0
- package/dist/native/components/Form/Password/Password.js +20 -0
- package/dist/native/components/Form/Password/Password.js.map +1 -0
- package/dist/native/components/Form/Password/example/Default.d.ts +2 -0
- package/dist/native/components/Form/Password/example/Default.js +4 -0
- package/dist/native/components/Form/Password/example/Default.js.map +1 -0
- package/dist/native/components/Form/Password/example/DisabledInput.d.ts +2 -0
- package/dist/native/components/Form/Password/example/DisabledInput.js +6 -0
- package/dist/native/components/Form/Password/example/DisabledInput.js.map +1 -0
- package/dist/native/components/Form/Password/example/ErrorInput.d.ts +2 -0
- package/dist/native/components/Form/Password/example/ErrorInput.js +44 -0
- package/dist/native/components/Form/Password/example/ErrorInput.js.map +1 -0
- package/dist/native/components/Form/Password/example/HelperText.d.ts +2 -0
- package/dist/native/components/Form/Password/example/HelperText.js +43 -0
- package/dist/native/components/Form/Password/example/HelperText.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio/Radio.props.d.ts +30 -0
- package/dist/native/components/Form/Radio/Radio/Radio.props.js +2 -0
- package/dist/native/components/Form/Radio/Radio/Radio.props.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio/Radio.state.d.ts +8 -0
- package/dist/native/components/Form/Radio/Radio/Radio.state.js +18 -0
- package/dist/native/components/Form/Radio/Radio/Radio.state.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio/Radio.style.d.ts +68 -0
- package/dist/native/components/Form/Radio/Radio/Radio.style.js +98 -0
- package/dist/native/components/Form/Radio/Radio/Radio.style.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.d.ts +4 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.js +142 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.d.ts +11 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.js +86 -0
- package/dist/native/components/Form/Radio/Radio/Radio.view.native.js.map +1 -0
- package/dist/native/components/Form/Radio/Radio.d.ts +3 -0
- package/dist/native/components/Form/Radio/Radio.js +12 -0
- package/dist/native/components/Form/Radio/Radio.js.map +1 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +22 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.props.js +2 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.props.js.map +1 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +5 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.state.js +23 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.state.js.map +1 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +4 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js +42 -0
- package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js.map +1 -0
- package/dist/native/components/Form/Radio/RadioGroup.d.ts +3 -0
- package/dist/native/components/Form/Radio/RadioGroup.js +13 -0
- package/dist/native/components/Form/Radio/RadioGroup.js.map +1 -0
- package/dist/native/components/Form/Radio/index.d.ts +2 -0
- package/dist/native/components/Form/Radio/index.js +5 -0
- package/dist/native/components/Form/Radio/index.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.props.d.ts +78 -0
- package/dist/native/components/Form/Select/Select/Select.props.js +2 -0
- package/dist/native/components/Form/Select/Select/Select.props.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.state.d.ts +19 -0
- package/dist/native/components/Form/Select/Select/Select.state.js +46 -0
- package/dist/native/components/Form/Select/Select/Select.state.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.style.d.ts +90 -0
- package/dist/native/components/Form/Select/Select/Select.style.js +127 -0
- package/dist/native/components/Form/Select/Select/Select.style.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.view.d.ts +10 -0
- package/dist/native/components/Form/Select/Select/Select.view.js +335 -0
- package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -0
- package/dist/native/components/Form/Select/Select/Select.view.native.d.ts +21 -0
- package/dist/native/components/Form/Select/Select/Select.view.native.js +167 -0
- package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -0
- package/dist/native/components/Form/Select/Select.d.ts +3 -0
- package/dist/native/components/Form/Select/Select.js +25 -0
- package/dist/native/components/Form/Select/Select.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector/Selector.props.d.ts +68 -0
- package/dist/native/components/Form/Selector/Selector/Selector.props.js +2 -0
- package/dist/native/components/Form/Selector/Selector/Selector.props.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector/Selector.state.d.ts +19 -0
- package/dist/native/components/Form/Selector/Selector/Selector.state.js +36 -0
- package/dist/native/components/Form/Selector/Selector/Selector.state.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector/Selector.style.d.ts +6 -0
- package/dist/native/components/Form/Selector/Selector/Selector.style.js +48 -0
- package/dist/native/components/Form/Selector/Selector/Selector.style.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector/Selector.view.d.ts +4 -0
- package/dist/native/components/Form/Selector/Selector/Selector.view.js +35 -0
- package/dist/native/components/Form/Selector/Selector/Selector.view.js.map +1 -0
- package/dist/native/components/Form/Selector/Selector.d.ts +3 -0
- package/dist/native/components/Form/Selector/Selector.js +20 -0
- package/dist/native/components/Form/Selector/Selector.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch/Switch.props.d.ts +28 -0
- package/dist/native/components/Form/Switch/Switch/Switch.props.js +2 -0
- package/dist/native/components/Form/Switch/Switch/Switch.props.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch/Switch.state.d.ts +10 -0
- package/dist/native/components/Form/Switch/Switch/Switch.state.js +24 -0
- package/dist/native/components/Form/Switch/Switch/Switch.state.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch/Switch.style.d.ts +76 -0
- package/dist/native/components/Form/Switch/Switch/Switch.style.js +137 -0
- package/dist/native/components/Form/Switch/Switch/Switch.style.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.d.ts +10 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.js +113 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.d.ts +15 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +48 -0
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.js.map +1 -0
- package/dist/native/components/Form/Switch/Switch.d.ts +3 -0
- package/dist/native/components/Form/Switch/Switch.js +15 -0
- package/dist/native/components/Form/Switch/Switch.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.props.d.ts +59 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.props.js +2 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.props.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.state.d.ts +19 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.state.js +158 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.state.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.type.d.ts +25 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.type.js +2 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.type.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.d.ts +4 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js +84 -0
- package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput/index.d.ts +4 -0
- package/dist/native/components/Form/TagInput/TagInput/index.js +9 -0
- package/dist/native/components/Form/TagInput/TagInput/index.js.map +1 -0
- package/dist/native/components/Form/TagInput/TagInput.d.ts +3 -0
- package/dist/native/components/Form/TagInput/TagInput.js +11 -0
- package/dist/native/components/Form/TagInput/TagInput.js.map +1 -0
- package/dist/native/components/Form/TagInput/index.d.ts +2 -0
- package/dist/native/components/Form/TagInput/index.js +3 -0
- package/dist/native/components/Form/TagInput/index.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.props.d.ts +46 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.props.js +2 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.props.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.state.d.ts +11 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.state.js +28 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.state.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.type.d.ts +13 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.type.js +2 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.type.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.d.ts +10 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.js +144 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.d.ts +12 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.js +81 -0
- package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.js.map +1 -0
- package/dist/native/components/Form/TextArea/TextArea.d.ts +3 -0
- package/dist/native/components/Form/TextArea/TextArea.js +15 -0
- package/dist/native/components/Form/TextArea/TextArea.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +46 -0
- package/dist/native/components/Form/TextField/TextField/TextField.props.js +2 -0
- package/dist/native/components/Form/TextField/TextField/TextField.props.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.state.d.ts +11 -0
- package/dist/native/components/Form/TextField/TextField/TextField.state.js +30 -0
- package/dist/native/components/Form/TextField/TextField/TextField.state.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.d.ts +10 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.js +166 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.d.ts +14 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +100 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -0
- package/dist/native/components/Form/TextField/TextField.d.ts +3 -0
- package/dist/native/components/Form/TextField/TextField.js +14 -0
- package/dist/native/components/Form/TextField/TextField.js.map +1 -0
- package/dist/native/components/Formik/AttachmentPreview.d.ts +19 -0
- package/dist/native/components/Formik/AttachmentPreview.js +62 -0
- package/dist/native/components/Formik/AttachmentPreview.js.map +1 -0
- package/dist/native/components/Formik/Formik.ChatInput.d.ts +12 -0
- package/dist/native/components/Formik/Formik.ChatInput.js +46 -0
- package/dist/native/components/Formik/Formik.ChatInput.js.map +1 -0
- package/dist/native/components/Formik/Formik.Checkbox.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Checkbox.js +15 -0
- package/dist/native/components/Formik/Formik.Checkbox.js.map +1 -0
- package/dist/native/components/Formik/Formik.ColorInput.d.ts +6 -0
- package/dist/native/components/Formik/Formik.ColorInput.js +14 -0
- package/dist/native/components/Formik/Formik.ColorInput.js.map +1 -0
- package/dist/native/components/Formik/Formik.ComboBox.d.ts +6 -0
- package/dist/native/components/Formik/Formik.ComboBox.js +34 -0
- package/dist/native/components/Formik/Formik.ComboBox.js.map +1 -0
- package/dist/native/components/Formik/Formik.CountryPicker.d.ts +6 -0
- package/dist/native/components/Formik/Formik.CountryPicker.js +14 -0
- package/dist/native/components/Formik/Formik.CountryPicker.js.map +1 -0
- package/dist/native/components/Formik/Formik.DatePicker.d.ts +6 -0
- package/dist/native/components/Formik/Formik.DatePicker.js +14 -0
- package/dist/native/components/Formik/Formik.DatePicker.js.map +1 -0
- package/dist/native/components/Formik/Formik.EmojiPicker.d.ts +6 -0
- package/dist/native/components/Formik/Formik.EmojiPicker.js +25 -0
- package/dist/native/components/Formik/Formik.EmojiPicker.js.map +1 -0
- package/dist/native/components/Formik/Formik.Form.d.ts +26 -0
- package/dist/native/components/Formik/Formik.Form.js +69 -0
- package/dist/native/components/Formik/Formik.Form.js.map +1 -0
- package/dist/native/components/Formik/Formik.Hook.d.ts +1 -0
- package/dist/native/components/Formik/Formik.Hook.js +70 -0
- package/dist/native/components/Formik/Formik.Hook.js.map +1 -0
- package/dist/native/components/Formik/Formik.IconPicker.d.ts +6 -0
- package/dist/native/components/Formik/Formik.IconPicker.js +24 -0
- package/dist/native/components/Formik/Formik.IconPicker.js.map +1 -0
- package/dist/native/components/Formik/Formik.OTPInput.d.ts +8 -0
- package/dist/native/components/Formik/Formik.OTPInput.js +45 -0
- package/dist/native/components/Formik/Formik.OTPInput.js.map +1 -0
- package/dist/native/components/Formik/Formik.Password.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Password.js +22 -0
- package/dist/native/components/Formik/Formik.Password.js.map +1 -0
- package/dist/native/components/Formik/Formik.Radio.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Radio.js +15 -0
- package/dist/native/components/Formik/Formik.Radio.js.map +1 -0
- package/dist/native/components/Formik/Formik.Select.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Select.js +15 -0
- package/dist/native/components/Formik/Formik.Select.js.map +1 -0
- package/dist/native/components/Formik/Formik.Selector.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Selector.js +15 -0
- package/dist/native/components/Formik/Formik.Selector.js.map +1 -0
- package/dist/native/components/Formik/Formik.Slider.d.ts +7 -0
- package/dist/native/components/Formik/Formik.Slider.js +27 -0
- package/dist/native/components/Formik/Formik.Slider.js.map +1 -0
- package/dist/native/components/Formik/Formik.Switch.d.ts +3 -0
- package/dist/native/components/Formik/Formik.Switch.js +11 -0
- package/dist/native/components/Formik/Formik.Switch.js.map +1 -0
- package/dist/native/components/Formik/Formik.TagInput.d.ts +9 -0
- package/dist/native/components/Formik/Formik.TagInput.js +46 -0
- package/dist/native/components/Formik/Formik.TagInput.js.map +1 -0
- package/dist/native/components/Formik/Formik.TextArea.d.ts +6 -0
- package/dist/native/components/Formik/Formik.TextArea.js +14 -0
- package/dist/native/components/Formik/Formik.TextArea.js.map +1 -0
- package/dist/native/components/Formik/Formik.TextField.d.ts +6 -0
- package/dist/native/components/Formik/Formik.TextField.js +14 -0
- package/dist/native/components/Formik/Formik.TextField.js.map +1 -0
- package/dist/native/components/Formik/Formik.Toggle.d.ts +6 -0
- package/dist/native/components/Formik/Formik.Toggle.js +26 -0
- package/dist/native/components/Formik/Formik.Toggle.js.map +1 -0
- package/dist/native/components/Formik/Formik.ToggleGroup.d.ts +6 -0
- package/dist/native/components/Formik/Formik.ToggleGroup.js +26 -0
- package/dist/native/components/Formik/Formik.ToggleGroup.js.map +1 -0
- package/dist/native/components/Formik/Formik.Uploader.d.ts +38 -0
- package/dist/native/components/Formik/Formik.Uploader.js +70 -0
- package/dist/native/components/Formik/Formik.Uploader.js.map +1 -0
- package/dist/native/components/Formik/index.d.ts +23 -0
- package/dist/native/components/Formik/index.js +24 -0
- package/dist/native/components/Formik/index.js.map +1 -0
- package/dist/native/components/Gradient/Gradient/Gradient.props.d.ts +15 -0
- package/dist/native/components/Gradient/Gradient/Gradient.props.js +2 -0
- package/dist/native/components/Gradient/Gradient/Gradient.props.js.map +1 -0
- package/dist/native/components/Gradient/Gradient/Gradient.style.d.ts +55 -0
- package/dist/native/components/Gradient/Gradient/Gradient.style.js +114 -0
- package/dist/native/components/Gradient/Gradient/Gradient.style.js.map +1 -0
- package/dist/native/components/Gradient/Gradient/Gradient.type.d.ts +13 -0
- package/dist/native/components/Gradient/Gradient/Gradient.type.js +2 -0
- package/dist/native/components/Gradient/Gradient/Gradient.type.js.map +1 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.d.ts +3 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.js +46 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.js.map +1 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.native.d.ts +13 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.native.js +109 -0
- package/dist/native/components/Gradient/Gradient/Gradient.view.native.js.map +1 -0
- package/dist/native/components/Gradient/Gradient.d.ts +3 -0
- package/dist/native/components/Gradient/Gradient.js +7 -0
- package/dist/native/components/Gradient/Gradient.js.map +1 -0
- package/dist/native/components/Gradient/index.d.ts +1 -0
- package/dist/native/components/Gradient/index.js +3 -0
- package/dist/native/components/Gradient/index.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.props.d.ts +33 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.props.js +2 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.props.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.state.d.ts +11 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.state.js +58 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.state.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.style.d.ts +5 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.style.js +126 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.style.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.type.d.ts +12 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.type.js +2 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.type.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.d.ts +10 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.js +145 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.d.ts +10 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.js +50 -0
- package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.js.map +1 -0
- package/dist/native/components/HoverCard/HoverCard.d.ts +2 -0
- package/dist/native/components/HoverCard/HoverCard.js +17 -0
- package/dist/native/components/HoverCard/HoverCard.js.map +1 -0
- package/dist/native/components/Icon/Icon.d.ts +110 -0
- package/dist/native/components/Icon/Icon.js +178 -0
- package/dist/native/components/Icon/Icon.js.map +1 -0
- package/dist/native/components/Icon/Icon.native.d.ts +118 -0
- package/dist/native/components/Icon/Icon.native.js +160 -0
- package/dist/native/components/Icon/Icon.native.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.constants.d.ts +2 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.constants.js +1670 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.constants.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.props.d.ts +37 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.props.js +2 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.props.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.state.d.ts +14 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.state.js +87 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.state.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.style.d.ts +13 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.style.js +126 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.style.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.type.d.ts +14 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.type.js +2 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.type.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.d.ts +4 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js +78 -0
- package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js.map +1 -0
- package/dist/native/components/IconPicker/IconPicker.d.ts +3 -0
- package/dist/native/components/IconPicker/IconPicker.js +10 -0
- package/dist/native/components/IconPicker/IconPicker.js.map +1 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +22 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.js +2 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.js.map +1 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer.d.ts +9 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer.js +23 -0
- package/dist/native/components/Input/FieldContainer/FieldContainer.js.map +1 -0
- package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +70 -0
- package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.js +2 -0
- package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.js.map +1 -0
- package/dist/native/components/Input/FieldContent/FieldContent.d.ts +9 -0
- package/dist/native/components/Input/FieldContent/FieldContent.js +25 -0
- package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons/FieldIcons.props.d.ts +3 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons/FieldIcons.props.js +2 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons/FieldIcons.props.js.map +1 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons.d.ts +3 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons.js +6 -0
- package/dist/native/components/Input/FieldIcons/FieldIcons.js.map +1 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +31 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel/FieldLabel.props.js +2 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel/FieldLabel.props.js.map +1 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel.d.ts +9 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel.js +13 -0
- package/dist/native/components/Input/FieldLabel/FieldLabel.js.map +1 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +25 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout/FieldLayout.props.js +2 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout/FieldLayout.props.js.map +1 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout.d.ts +3 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout.js +7 -0
- package/dist/native/components/Input/FieldLayout/FieldLayout.js.map +1 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.d.ts +9 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.js +12 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.js.map +1 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.props.d.ts +3 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.props.js +2 -0
- package/dist/native/components/Input/FieldWrapper/FieldWrapper.props.js.map +1 -0
- package/dist/native/components/Input/HelperText/HelperText.d.ts +9 -0
- package/dist/native/components/Input/HelperText/HelperText.js +12 -0
- package/dist/native/components/Input/HelperText/HelperText.js.map +1 -0
- package/dist/native/components/Input/HelperText/HelperText.props.d.ts +17 -0
- package/dist/native/components/Input/HelperText/HelperText.props.js +2 -0
- package/dist/native/components/Input/HelperText/HelperText.props.js.map +1 -0
- package/dist/native/components/Input/Input.style.d.ts +62 -0
- package/dist/native/components/Input/Input.style.js +130 -0
- package/dist/native/components/Input/Input.style.js.map +1 -0
- package/dist/native/components/Input/Input.type.d.ts +13 -0
- package/dist/native/components/Input/Input.type.js +2 -0
- package/dist/native/components/Input/Input.type.js.map +1 -0
- package/dist/native/components/Input/index.d.ts +7 -0
- package/dist/native/components/Input/index.js +8 -0
- package/dist/native/components/Input/index.js.map +1 -0
- package/dist/native/components/Link/Link/Link.props.d.ts +15 -0
- package/dist/native/components/Link/Link/Link.props.js +2 -0
- package/dist/native/components/Link/Link/Link.props.js.map +1 -0
- package/dist/native/components/Link/Link/Link.state.d.ts +4 -0
- package/dist/native/components/Link/Link/Link.state.js +7 -0
- package/dist/native/components/Link/Link/Link.state.js.map +1 -0
- package/dist/native/components/Link/Link/Link.style.d.ts +7 -0
- package/dist/native/components/Link/Link/Link.style.js +29 -0
- package/dist/native/components/Link/Link/Link.style.js.map +1 -0
- package/dist/native/components/Link/Link/Link.view.d.ts +4 -0
- package/dist/native/components/Link/Link/Link.view.js +33 -0
- package/dist/native/components/Link/Link/Link.view.js.map +1 -0
- package/dist/native/components/Link/Link/Link.view.native.d.ts +11 -0
- package/dist/native/components/Link/Link/Link.view.native.js +33 -0
- package/dist/native/components/Link/Link/Link.view.native.js.map +1 -0
- package/dist/native/components/Link/Link.d.ts +3 -0
- package/dist/native/components/Link/Link.js +10 -0
- package/dist/native/components/Link/Link.js.map +1 -0
- package/dist/native/components/Loader/Loader/Loader.props.d.ts +27 -0
- package/dist/native/components/Loader/Loader/Loader.props.js +2 -0
- package/dist/native/components/Loader/Loader/Loader.props.js.map +1 -0
- package/dist/native/components/Loader/Loader/Loader.style.d.ts +4 -0
- package/dist/native/components/Loader/Loader/Loader.style.js +21 -0
- package/dist/native/components/Loader/Loader/Loader.style.js.map +1 -0
- package/dist/native/components/Loader/Loader/Loader.view.d.ts +11 -0
- package/dist/native/components/Loader/Loader/Loader.view.js +87 -0
- package/dist/native/components/Loader/Loader/Loader.view.js.map +1 -0
- package/dist/native/components/Loader/Loader/Loader.view.native.d.ts +18 -0
- package/dist/native/components/Loader/Loader/Loader.view.native.js +106 -0
- package/dist/native/components/Loader/Loader/Loader.view.native.js.map +1 -0
- package/dist/native/components/Loader/Loader.d.ts +3 -0
- package/dist/native/components/Loader/Loader.js +12 -0
- package/dist/native/components/Loader/Loader.js.map +1 -0
- package/dist/native/components/MediaPreview.d.ts +14 -0
- package/dist/native/components/MediaPreview.js +30 -0
- package/dist/native/components/MediaPreview.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.props.d.ts +71 -0
- package/dist/native/components/Menubar/Menubar/Menubar.props.js +2 -0
- package/dist/native/components/Menubar/Menubar/Menubar.props.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.state.d.ts +8 -0
- package/dist/native/components/Menubar/Menubar/Menubar.state.js +43 -0
- package/dist/native/components/Menubar/Menubar/Menubar.state.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
- package/dist/native/components/Menubar/Menubar/Menubar.style.js +70 -0
- package/dist/native/components/Menubar/Menubar/Menubar.style.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.type.d.ts +36 -0
- package/dist/native/components/Menubar/Menubar/Menubar.type.js +2 -0
- package/dist/native/components/Menubar/Menubar/Menubar.type.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.d.ts +22 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.js +242 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.js.map +1 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.native.d.ts +22 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.native.js +105 -0
- package/dist/native/components/Menubar/Menubar/Menubar.view.native.js.map +1 -0
- package/dist/native/components/Menubar/Menubar.d.ts +2 -0
- package/dist/native/components/Menubar/Menubar.js +30 -0
- package/dist/native/components/Menubar/Menubar.js.map +1 -0
- package/dist/native/components/Menubar/index.d.ts +1 -0
- package/dist/native/components/Menubar/index.js +3 -0
- package/dist/native/components/Menubar/index.js.map +1 -0
- package/dist/native/components/Message/Message/Message.layout.d.ts +3 -0
- package/dist/native/components/Message/Message/Message.layout.js +32 -0
- package/dist/native/components/Message/Message/Message.layout.js.map +1 -0
- package/dist/native/components/Message/Message/Message.props.d.ts +39 -0
- package/dist/native/components/Message/Message/Message.props.js +2 -0
- package/dist/native/components/Message/Message/Message.props.js.map +1 -0
- package/dist/native/components/Message/Message/Message.store.d.ts +5 -0
- package/dist/native/components/Message/Message/Message.store.js +37 -0
- package/dist/native/components/Message/Message/Message.store.js.map +1 -0
- package/dist/native/components/Message/Message/Message.style.d.ts +5 -0
- package/dist/native/components/Message/Message/Message.style.js +82 -0
- package/dist/native/components/Message/Message/Message.style.js.map +1 -0
- package/dist/native/components/Message/Message/Message.type.d.ts +48 -0
- package/dist/native/components/Message/Message/Message.type.js +2 -0
- package/dist/native/components/Message/Message/Message.type.js.map +1 -0
- package/dist/native/components/Message/Message/Message.view.d.ts +3 -0
- package/dist/native/components/Message/Message/Message.view.js +69 -0
- package/dist/native/components/Message/Message/Message.view.js.map +1 -0
- package/dist/native/components/Message/Message.d.ts +5 -0
- package/dist/native/components/Message/Message.js +4 -0
- package/dist/native/components/Message/Message.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.layout.d.ts +3 -0
- package/dist/native/components/Modal/Modal/Modal.layout.js +43 -0
- package/dist/native/components/Modal/Modal/Modal.layout.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.props.d.ts +88 -0
- package/dist/native/components/Modal/Modal/Modal.props.js +2 -0
- package/dist/native/components/Modal/Modal/Modal.props.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.store.d.ts +19 -0
- package/dist/native/components/Modal/Modal/Modal.store.js +60 -0
- package/dist/native/components/Modal/Modal/Modal.store.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.style.d.ts +33 -0
- package/dist/native/components/Modal/Modal/Modal.style.js +77 -0
- package/dist/native/components/Modal/Modal/Modal.style.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.view.d.ts +21 -0
- package/dist/native/components/Modal/Modal/Modal.view.js +86 -0
- package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -0
- package/dist/native/components/Modal/Modal/Modal.view.native.d.ts +29 -0
- package/dist/native/components/Modal/Modal/Modal.view.native.js +62 -0
- package/dist/native/components/Modal/Modal/Modal.view.native.js.map +1 -0
- package/dist/native/components/Modal/Modal.d.ts +3 -0
- package/dist/native/components/Modal/Modal.js +13 -0
- package/dist/native/components/Modal/Modal.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +68 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.props.js +2 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.props.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +8 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.js +30 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +32 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.style.js +117 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.style.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +35 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.type.js +2 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.type.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +26 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.js +295 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.d.ts +26 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.js +146 -0
- package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.js.map +1 -0
- package/dist/native/components/NavigationMenu/NavigationMenu.d.ts +2 -0
- package/dist/native/components/NavigationMenu/NavigationMenu.js +31 -0
- package/dist/native/components/NavigationMenu/NavigationMenu.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.props.d.ts +44 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.props.js +2 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.props.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.state.d.ts +23 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.state.js +260 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.state.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.type.d.ts +9 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.type.js +2 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.type.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.d.ts +29 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.js +191 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.d.ts +29 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.js +49 -0
- package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
- package/dist/native/components/OTPInput/OTPInput/sync-timeouts.js +12 -0
- package/dist/native/components/OTPInput/OTPInput/sync-timeouts.js.map +1 -0
- package/dist/native/components/OTPInput/OTPInput.d.ts +3 -0
- package/dist/native/components/OTPInput/OTPInput.js +12 -0
- package/dist/native/components/OTPInput/OTPInput.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.props.d.ts +19 -0
- package/dist/native/components/Pagination/Pagination/Pagination.props.js +2 -0
- package/dist/native/components/Pagination/Pagination/Pagination.props.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
- package/dist/native/components/Pagination/Pagination/Pagination.state.js +40 -0
- package/dist/native/components/Pagination/Pagination/Pagination.state.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
- package/dist/native/components/Pagination/Pagination/Pagination.style.js +111 -0
- package/dist/native/components/Pagination/Pagination/Pagination.style.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
- package/dist/native/components/Pagination/Pagination/Pagination.type.js +2 -0
- package/dist/native/components/Pagination/Pagination/Pagination.type.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.js +72 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.js.map +1 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.native.d.ts +3 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.native.js +47 -0
- package/dist/native/components/Pagination/Pagination/Pagination.view.native.js.map +1 -0
- package/dist/native/components/Pagination/Pagination.d.ts +3 -0
- package/dist/native/components/Pagination/Pagination.js +10 -0
- package/dist/native/components/Pagination/Pagination.js.map +1 -0
- package/dist/native/components/Pagination/index.d.ts +1 -0
- package/dist/native/components/Pagination/index.js +3 -0
- package/dist/native/components/Pagination/index.js.map +1 -0
- package/dist/native/components/Portal/Portal.d.ts +7 -0
- package/dist/native/components/Portal/Portal.js +32 -0
- package/dist/native/components/Portal/Portal.js.map +1 -0
- package/dist/native/components/Portal/Portal.native.d.ts +13 -0
- package/dist/native/components/Portal/Portal.native.js +10 -0
- package/dist/native/components/Portal/Portal.native.js.map +1 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +24 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.props.js +2 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.props.js.map +1 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.js +112 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.js.map +1 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.d.ts +9 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.js +64 -0
- package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.js.map +1 -0
- package/dist/native/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/dist/native/components/ProgressBar/ProgressBar.js +11 -0
- package/dist/native/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.props.d.ts +52 -0
- package/dist/native/components/Resizable/Resizable/Resizable.props.js +2 -0
- package/dist/native/components/Resizable/Resizable/Resizable.props.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.state.d.ts +16 -0
- package/dist/native/components/Resizable/Resizable/Resizable.state.js +318 -0
- package/dist/native/components/Resizable/Resizable/Resizable.state.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.style.d.ts +7 -0
- package/dist/native/components/Resizable/Resizable/Resizable.style.js +81 -0
- package/dist/native/components/Resizable/Resizable/Resizable.style.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.type.d.ts +44 -0
- package/dist/native/components/Resizable/Resizable/Resizable.type.js +2 -0
- package/dist/native/components/Resizable/Resizable/Resizable.type.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.js +145 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.js.map +1 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.native.d.ts +13 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.native.js +98 -0
- package/dist/native/components/Resizable/Resizable/Resizable.view.native.js.map +1 -0
- package/dist/native/components/Resizable/Resizable.d.ts +2 -0
- package/dist/native/components/Resizable/Resizable.js +31 -0
- package/dist/native/components/Resizable/Resizable.js.map +1 -0
- package/dist/native/components/Resizable/index.d.ts +1 -0
- package/dist/native/components/Resizable/index.js +3 -0
- package/dist/native/components/Resizable/index.js.map +1 -0
- package/dist/native/components/Separator/Separator/Separator.props.d.ts +12 -0
- package/dist/native/components/Separator/Separator/Separator.props.js +2 -0
- package/dist/native/components/Separator/Separator/Separator.props.js.map +1 -0
- package/dist/native/components/Separator/Separator/Separator.style.d.ts +23 -0
- package/dist/native/components/Separator/Separator/Separator.style.js +46 -0
- package/dist/native/components/Separator/Separator/Separator.style.js.map +1 -0
- package/dist/native/components/Separator/Separator/Separator.type.d.ts +8 -0
- package/dist/native/components/Separator/Separator/Separator.type.js +2 -0
- package/dist/native/components/Separator/Separator/Separator.type.js.map +1 -0
- package/dist/native/components/Separator/Separator/Separator.view.d.ts +3 -0
- package/dist/native/components/Separator/Separator/Separator.view.js +42 -0
- package/dist/native/components/Separator/Separator/Separator.view.js.map +1 -0
- package/dist/native/components/Separator/Separator/Separator.view.native.d.ts +3 -0
- package/dist/native/components/Separator/Separator/Separator.view.native.js +30 -0
- package/dist/native/components/Separator/Separator/Separator.view.native.js.map +1 -0
- package/dist/native/components/Separator/Separator.d.ts +4 -0
- package/dist/native/components/Separator/Separator.js +11 -0
- package/dist/native/components/Separator/Separator.js.map +1 -0
- package/dist/native/components/Separator/index.d.ts +1 -0
- package/dist/native/components/Separator/index.js +3 -0
- package/dist/native/components/Separator/index.js.map +1 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.props.d.ts +19 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.props.js +2 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.props.js.map +1 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.state.d.ts +6 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.state.js +90 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.state.js.map +1 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.view.d.ts +4 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.view.js +49 -0
- package/dist/native/components/ShareButton/ShareButton/ShareButton.view.js.map +1 -0
- package/dist/native/components/ShareButton/ShareButton.d.ts +3 -0
- package/dist/native/components/ShareButton/ShareButton.js +11 -0
- package/dist/native/components/ShareButton/ShareButton.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.props.d.ts +54 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.props.js +2 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.props.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.state.js +44 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.state.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.style.d.ts +13 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.style.js +106 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.style.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.type.js +2 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.type.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.js +95 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.d.ts +21 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.js +82 -0
- package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.js.map +1 -0
- package/dist/native/components/Sidebar/Sidebar.d.ts +2 -0
- package/dist/native/components/Sidebar/Sidebar.js +27 -0
- package/dist/native/components/Sidebar/Sidebar.js.map +1 -0
- package/dist/native/components/Sidebar/index.d.ts +1 -0
- package/dist/native/components/Sidebar/index.js +3 -0
- package/dist/native/components/Sidebar/index.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.props.d.ts +36 -0
- package/dist/native/components/Slider/Slider/Slider.props.js +2 -0
- package/dist/native/components/Slider/Slider/Slider.props.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.state.d.ts +14 -0
- package/dist/native/components/Slider/Slider/Slider.state.js +146 -0
- package/dist/native/components/Slider/Slider/Slider.state.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.style.d.ts +15 -0
- package/dist/native/components/Slider/Slider/Slider.style.js +127 -0
- package/dist/native/components/Slider/Slider/Slider.style.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.type.d.ts +18 -0
- package/dist/native/components/Slider/Slider/Slider.type.js +2 -0
- package/dist/native/components/Slider/Slider/Slider.type.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.view.d.ts +3 -0
- package/dist/native/components/Slider/Slider/Slider.view.js +144 -0
- package/dist/native/components/Slider/Slider/Slider.view.js.map +1 -0
- package/dist/native/components/Slider/Slider/Slider.view.native.d.ts +3 -0
- package/dist/native/components/Slider/Slider/Slider.view.native.js +40 -0
- package/dist/native/components/Slider/Slider/Slider.view.native.js.map +1 -0
- package/dist/native/components/Slider/Slider.d.ts +3 -0
- package/dist/native/components/Slider/Slider.js +12 -0
- package/dist/native/components/Slider/Slider.js.map +1 -0
- package/dist/native/components/Slider/index.d.ts +1 -0
- package/dist/native/components/Slider/index.js +3 -0
- package/dist/native/components/Slider/index.js.map +1 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +12 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.props.js +2 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.props.js.map +1 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.style.js +32 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.style.js.map +1 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.type.js +2 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.type.js.map +1 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.js +30 -0
- package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.js.map +1 -0
- package/dist/native/components/StatusIndicator/StatusIndicator.d.ts +3 -0
- package/dist/native/components/StatusIndicator/StatusIndicator.js +9 -0
- package/dist/native/components/StatusIndicator/StatusIndicator.js.map +1 -0
- package/dist/native/components/Table/Table/Table.context.d.ts +23 -0
- package/dist/native/components/Table/Table/Table.context.js +15 -0
- package/dist/native/components/Table/Table/Table.context.js.map +1 -0
- package/dist/native/components/Table/Table/Table.props.d.ts +24 -0
- package/dist/native/components/Table/Table/Table.props.js +2 -0
- package/dist/native/components/Table/Table/Table.props.js.map +1 -0
- package/dist/native/components/Table/Table/Table.state.d.ts +5 -0
- package/dist/native/components/Table/Table/Table.state.js +6 -0
- package/dist/native/components/Table/Table/Table.state.js.map +1 -0
- package/dist/native/components/Table/Table/Table.style.d.ts +32 -0
- package/dist/native/components/Table/Table/Table.style.js +176 -0
- package/dist/native/components/Table/Table/Table.style.js.map +1 -0
- package/dist/native/components/Table/Table/Table.type.d.ts +19 -0
- package/dist/native/components/Table/Table/Table.type.js +2 -0
- package/dist/native/components/Table/Table/Table.type.js.map +1 -0
- package/dist/native/components/Table/Table/Table.view.d.ts +20 -0
- package/dist/native/components/Table/Table/Table.view.js +70 -0
- package/dist/native/components/Table/Table/Table.view.js.map +1 -0
- package/dist/native/components/Table/Table.d.ts +16 -0
- package/dist/native/components/Table/Table.js +23 -0
- package/dist/native/components/Table/Table.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +22 -0
- package/dist/native/components/Tabs/Tabs/TabHeader.js +56 -0
- package/dist/native/components/Tabs/Tabs/TabHeader.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +98 -0
- package/dist/native/components/Tabs/Tabs/Tabs.props.js +2 -0
- package/dist/native/components/Tabs/Tabs/Tabs.props.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.state.d.ts +22 -0
- package/dist/native/components/Tabs/Tabs/Tabs.state.js +88 -0
- package/dist/native/components/Tabs/Tabs/Tabs.state.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.d.ts +12 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.js +230 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.d.ts +9 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +151 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -0
- package/dist/native/components/Tabs/Tabs.d.ts +10 -0
- package/dist/native/components/Tabs/Tabs.js +53 -0
- package/dist/native/components/Tabs/Tabs.js.map +1 -0
- package/dist/native/components/TextArea/TextArea.d.ts +22 -0
- package/dist/native/components/TextArea/TextArea.js +31 -0
- package/dist/native/components/TextArea/TextArea.js.map +1 -0
- package/dist/native/components/Title/Title/SlideEffect.d.ts +16 -0
- package/dist/native/components/Title/Title/SlideEffect.js +195 -0
- package/dist/native/components/Title/Title/SlideEffect.js.map +1 -0
- package/dist/native/components/Title/Title/SlideEffect.native.d.ts +26 -0
- package/dist/native/components/Title/Title/SlideEffect.native.js +127 -0
- package/dist/native/components/Title/Title/SlideEffect.native.js.map +1 -0
- package/dist/native/components/Title/Title/Title.props.d.ts +28 -0
- package/dist/native/components/Title/Title/Title.props.js +2 -0
- package/dist/native/components/Title/Title/Title.props.js.map +1 -0
- package/dist/native/components/Title/Title/Title.state.d.ts +10 -0
- package/dist/native/components/Title/Title/Title.state.js +52 -0
- package/dist/native/components/Title/Title/Title.state.js.map +1 -0
- package/dist/native/components/Title/Title/Title.style.d.ts +29 -0
- package/dist/native/components/Title/Title/Title.style.js +85 -0
- package/dist/native/components/Title/Title/Title.style.js.map +1 -0
- package/dist/native/components/Title/Title/Title.type.d.ts +8 -0
- package/dist/native/components/Title/Title/Title.type.js +2 -0
- package/dist/native/components/Title/Title/Title.type.js.map +1 -0
- package/dist/native/components/Title/Title/Title.view.d.ts +4 -0
- package/dist/native/components/Title/Title/Title.view.js +154 -0
- package/dist/native/components/Title/Title/Title.view.js.map +1 -0
- package/dist/native/components/Title/Title/Title.view.native.d.ts +18 -0
- package/dist/native/components/Title/Title/Title.view.native.js +129 -0
- package/dist/native/components/Title/Title/Title.view.native.js.map +1 -0
- package/dist/native/components/Title/Title/TypewriterEffect.d.ts +15 -0
- package/dist/native/components/Title/Title/TypewriterEffect.js +86 -0
- package/dist/native/components/Title/Title/TypewriterEffect.js.map +1 -0
- package/dist/native/components/Title/Title/TypewriterEffect.native.d.ts +22 -0
- package/dist/native/components/Title/Title/TypewriterEffect.native.js +80 -0
- package/dist/native/components/Title/Title/TypewriterEffect.native.js.map +1 -0
- package/dist/native/components/Title/Title.d.ts +3 -0
- package/dist/native/components/Title/Title.js +8 -0
- package/dist/native/components/Title/Title.js.map +1 -0
- package/dist/native/components/Title/index.d.ts +1 -0
- package/dist/native/components/Title/index.js +3 -0
- package/dist/native/components/Title/index.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.hook.d.ts +10 -0
- package/dist/native/components/Toast/Toast/Toast.hook.js +21 -0
- package/dist/native/components/Toast/Toast/Toast.hook.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.props.d.ts +34 -0
- package/dist/native/components/Toast/Toast/Toast.props.js +2 -0
- package/dist/native/components/Toast/Toast/Toast.props.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.store.d.ts +10 -0
- package/dist/native/components/Toast/Toast/Toast.store.js +113 -0
- package/dist/native/components/Toast/Toast/Toast.store.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.style.d.ts +17 -0
- package/dist/native/components/Toast/Toast/Toast.style.js +103 -0
- package/dist/native/components/Toast/Toast/Toast.style.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.type.d.ts +53 -0
- package/dist/native/components/Toast/Toast/Toast.type.js +2 -0
- package/dist/native/components/Toast/Toast/Toast.type.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.view.d.ts +4 -0
- package/dist/native/components/Toast/Toast/Toast.view.js +100 -0
- package/dist/native/components/Toast/Toast/Toast.view.js.map +1 -0
- package/dist/native/components/Toast/Toast/Toast.view.native.d.ts +4 -0
- package/dist/native/components/Toast/Toast/Toast.view.native.js +63 -0
- package/dist/native/components/Toast/Toast/Toast.view.native.js.map +1 -0
- package/dist/native/components/Toast/Toast.d.ts +23 -0
- package/dist/native/components/Toast/Toast.js +21 -0
- package/dist/native/components/Toast/Toast.js.map +1 -0
- package/dist/native/components/Toast/index.d.ts +1 -0
- package/dist/native/components/Toast/index.js +3 -0
- package/dist/native/components/Toast/index.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.props.d.ts +17 -0
- package/dist/native/components/Toggle/Toggle/Toggle.props.js +2 -0
- package/dist/native/components/Toggle/Toggle/Toggle.props.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.state.d.ts +6 -0
- package/dist/native/components/Toggle/Toggle/Toggle.state.js +11 -0
- package/dist/native/components/Toggle/Toggle/Toggle.state.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.style.d.ts +8 -0
- package/dist/native/components/Toggle/Toggle/Toggle.style.js +58 -0
- package/dist/native/components/Toggle/Toggle/Toggle.style.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.type.d.ts +2 -0
- package/dist/native/components/Toggle/Toggle/Toggle.type.js +2 -0
- package/dist/native/components/Toggle/Toggle/Toggle.type.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.d.ts +12 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.js +52 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.js.map +1 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.native.d.ts +12 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.native.js +37 -0
- package/dist/native/components/Toggle/Toggle/Toggle.view.native.js.map +1 -0
- package/dist/native/components/Toggle/Toggle.d.ts +3 -0
- package/dist/native/components/Toggle/Toggle.js +20 -0
- package/dist/native/components/Toggle/Toggle.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +19 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.props.js +2 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.props.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +4 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.js +7 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.style.d.ts +2 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.style.js +6 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.style.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.type.d.ts +9 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.type.js +2 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.type.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +3 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.js +40 -0
- package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.js.map +1 -0
- package/dist/native/components/ToggleGroup/ToggleGroup.d.ts +3 -0
- package/dist/native/components/ToggleGroup/ToggleGroup.js +20 -0
- package/dist/native/components/ToggleGroup/ToggleGroup.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.props.d.ts +38 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.props.js +2 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.props.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.state.d.ts +17 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.state.js +76 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.state.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.style.d.ts +7 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.style.js +162 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.style.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.type.d.ts +20 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.type.js +2 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.type.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.d.ts +21 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.js +170 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.d.ts +21 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.js +53 -0
- package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.js.map +1 -0
- package/dist/native/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/native/components/Tooltip/Tooltip.js +21 -0
- package/dist/native/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/native/components/Tooltip/index.d.ts +1 -0
- package/dist/native/components/Tooltip/index.js +3 -0
- package/dist/native/components/Tooltip/index.js.map +1 -0
- package/dist/native/components/Uploader/Uploader/Uploader.props.d.ts +61 -0
- package/dist/native/components/Uploader/Uploader/Uploader.props.js +2 -0
- package/dist/native/components/Uploader/Uploader/Uploader.props.js.map +1 -0
- package/dist/native/components/Uploader/Uploader/Uploader.state.d.ts +14 -0
- package/dist/native/components/Uploader/Uploader/Uploader.state.js +114 -0
- package/dist/native/components/Uploader/Uploader/Uploader.state.js.map +1 -0
- package/dist/native/components/Uploader/Uploader/Uploader.view.d.ts +3 -0
- package/dist/native/components/Uploader/Uploader/Uploader.view.js +72 -0
- package/dist/native/components/Uploader/Uploader/Uploader.view.js.map +1 -0
- package/dist/native/components/Uploader/Uploader.d.ts +3 -0
- package/dist/native/components/Uploader/Uploader.js +35 -0
- package/dist/native/components/Uploader/Uploader.js.map +1 -0
- package/dist/native/components/index.d.ts +125 -0
- package/dist/native/components/index.js +126 -0
- package/dist/native/components/index.js.map +1 -0
- package/dist/native/design-system/DesignSystemProvider.d.ts +12 -0
- package/dist/native/design-system/DesignSystemProvider.js +39 -0
- package/dist/native/design-system/DesignSystemProvider.js.map +1 -0
- package/dist/native/design-system/configs/airbnb.json +724 -0
- package/dist/native/design-system/configs/apple.json +742 -0
- package/dist/native/design-system/configs/coinbase.json +735 -0
- package/dist/native/design-system/configs/figma.json +721 -0
- package/dist/native/design-system/configs/index.d.ts +21 -0
- package/dist/native/design-system/configs/index.js +35 -0
- package/dist/native/design-system/configs/index.js.map +1 -0
- package/dist/native/design-system/configs/linear.json +714 -0
- package/dist/native/design-system/configs/nike.json +742 -0
- package/dist/native/design-system/configs/notion.json +847 -0
- package/dist/native/design-system/configs/revolut.json +807 -0
- package/dist/native/design-system/configs/shopify.json +710 -0
- package/dist/native/design-system/configs/spacex.json +619 -0
- package/dist/native/design-system/configs/spotify.json +710 -0
- package/dist/native/design-system/configs/stripe.json +777 -0
- package/dist/native/design-system/configs/tesla.json +669 -0
- package/dist/native/design-system/configs/uber.json +725 -0
- package/dist/native/design-system/configs/vercel.json +737 -0
- package/dist/native/design-system/index.d.ts +4 -0
- package/dist/native/design-system/index.js +5 -0
- package/dist/native/design-system/index.js.map +1 -0
- package/dist/native/design-system/types.d.ts +82 -0
- package/dist/native/design-system/types.js +2 -0
- package/dist/native/design-system/types.js.map +1 -0
- package/dist/native/design-system/utils.d.ts +5 -0
- package/dist/native/design-system/utils.js +61 -0
- package/dist/native/design-system/utils.js.map +1 -0
- package/dist/native/pages/designSystem.page.d.ts +7 -0
- package/dist/native/pages/designSystem.page.js +2235 -0
- package/dist/native/pages/designSystem.page.js.map +1 -0
- package/dist/native/utils/elevation.d.ts +3 -0
- package/dist/native/utils/elevation.js +2 -0
- package/dist/native/utils/elevation.js.map +1 -0
- package/dist/native/utils/generateId.d.ts +5 -0
- package/dist/native/utils/generateId.js +8 -0
- package/dist/native/utils/generateId.js.map +1 -0
- package/dist/native/utils/id.d.ts +6 -0
- package/dist/native/utils/id.js +7 -0
- package/dist/native/utils/id.js.map +1 -0
- package/dist/orange.webp +0 -0
- package/dist/robots.txt +3 -0
- package/dist/web.cjs.js +36 -0
- package/dist/web.cjs.js.map +1 -0
- package/dist/web.esm.js +43415 -0
- package/dist/web.esm.js.map +1 -0
- package/dist/web.umd.js +36 -0
- package/dist/web.umd.js.map +1 -0
- package/docs/README.md +67 -0
- package/docs/api-integration.md +801 -0
- package/docs/app-studio/Animation.md +241 -0
- package/docs/app-studio/Components.md +192 -0
- package/docs/app-studio/Design.md +121 -0
- package/docs/app-studio/Events.md +296 -0
- package/docs/app-studio/Hooks.md +469 -0
- package/docs/app-studio/Providers.md +186 -0
- package/docs/app-studio/README.md +781 -0
- package/docs/app-studio/Responsive.md +135 -0
- package/docs/app-studio/Theming.md +489 -0
- package/docs/app-studio.md +302 -0
- package/docs/component-development/guide.md +546 -0
- package/docs/components/Accordion.mdx +111 -0
- package/docs/components/Alert.mdx +72 -0
- package/docs/components/AspectRatio.mdx +57 -0
- package/docs/components/AttachmentGroup.md +45 -0
- package/docs/components/AudioInput.mdx +43 -0
- package/docs/components/Avatar.mdx +60 -0
- package/docs/components/Background.mdx +144 -0
- package/docs/components/Badge.mdx +190 -0
- package/docs/components/Button.mdx +243 -0
- package/docs/components/Card.mdx +298 -0
- package/docs/components/Carousel.mdx +184 -0
- package/docs/components/Center.mdx +474 -0
- package/docs/components/Chart.mdx +136 -0
- package/docs/components/ChatWidget.mdx +106 -0
- package/docs/components/Checkbox.mdx +64 -0
- package/docs/components/ColorInput.mdx +209 -0
- package/docs/components/ColorPicker.mdx +452 -0
- package/docs/components/ComboBox.mdx +366 -0
- package/docs/components/Command.mdx +204 -0
- package/docs/components/ContextMenu.mdx +95 -0
- package/docs/components/CookieConsent.mdx +53 -0
- package/docs/components/CountryPicker.mdx +123 -0
- package/docs/components/DatePicker.mdx +77 -0
- package/docs/components/DragAndDrop.mdx +355 -0
- package/docs/components/Drawer.mdx +573 -0
- package/docs/components/DropZone.md +82 -0
- package/docs/components/DropdownMenu.mdx +87 -0
- package/docs/components/EditComponent.mdx +76 -0
- package/docs/components/EmojiPicker.mdx +84 -0
- package/docs/components/File.mdx +134 -0
- package/docs/components/Form.mdx +681 -0
- package/docs/components/Formik.mdx +890 -0
- package/docs/components/Gradient.mdx +448 -0
- package/docs/components/Horizontal.mdx +39 -0
- package/docs/components/HoverCard.mdx +72 -0
- package/docs/components/Icon.mdx +306 -0
- package/docs/components/IconPicker.mdx +106 -0
- package/docs/components/Label.mdx +438 -0
- package/docs/components/Link.mdx +75 -0
- package/docs/components/Loader.mdx +344 -0
- package/docs/components/Menubar.mdx +128 -0
- package/docs/components/Message.mdx +256 -0
- package/docs/components/Modal.mdx +409 -0
- package/docs/components/NavigationMenu.mdx +165 -0
- package/docs/components/OTPInput.mdx +194 -0
- package/docs/components/Pagination.mdx +494 -0
- package/docs/components/Password.mdx +121 -0
- package/docs/components/ProgressBar.mdx +143 -0
- package/docs/components/Resizable.mdx +149 -0
- package/docs/components/Select.mdx +126 -0
- package/docs/components/Selector.mdx +78 -0
- package/docs/components/Separator.mdx +34 -0
- package/docs/components/ShareButton.mdx +29 -0
- package/docs/components/Sidebar.mdx +86 -0
- package/docs/components/Slider.mdx +146 -0
- package/docs/components/StatusIndicator.mdx +373 -0
- package/docs/components/Switch.mdx +62 -0
- package/docs/components/Table.mdx +329 -0
- package/docs/components/Tabs.mdx +112 -0
- package/docs/components/TagInput.mdx +528 -0
- package/docs/components/Text.mdx +163 -0
- package/docs/components/TextArea.mdx +136 -0
- package/docs/components/TextField.mdx +225 -0
- package/docs/components/Title.mdx +183 -0
- package/docs/components/Toast.mdx +88 -0
- package/docs/components/Toggle.mdx +129 -0
- package/docs/components/ToggleGroup.mdx +144 -0
- package/docs/components/Tooltip.mdx +554 -0
- package/docs/components/Uploader.mdx +280 -0
- package/docs/components/Vertical.mdx +566 -0
- package/docs/components.md +299 -0
- package/docs/contributing/documentation.md +153 -0
- package/docs/conventions.md +536 -0
- package/docs/design-system/component-library.md +894 -0
- package/docs/design-system/theming.md +336 -0
- package/docs/documentation-system.md +233 -0
- package/docs/getting-started/component-usage.md +211 -0
- package/docs/getting-started/introduction.md +136 -0
- package/docs/getting-started/react-native.md +243 -0
- package/docs/tutorials/README.md +51 -0
- package/docs/tutorials/basic/creating-a-simple-form.md +566 -0
- package/package.json +258 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.style.js","sourceRoot":"","sources":["../../../../../../src/components/Form/Select/Select/Select.style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAA4B;IAC5C,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IACrC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IACrC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IACrC,EAAE,EAAE,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,eAAe,EAAE,eAAe;KACjC;IACD,WAAW,EAAE;QACX,eAAe,EAAE,gBAAgB;KAClC;IACD,QAAQ,EAAE;QACR,eAAe,EAAE,gBAAgB;KAClC;IACD,mBAAmB,EAAE;QACnB,eAAe,EAAE,gBAAgB;KAClC;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE;QACJ,SAAS,EAAE,gBAAgB;QAC3B,UAAU,EAAE,sBAAsB;KACnC;IACD,MAAM,EAAE;QACN,SAAS,EAAE,cAAc;QACzB,UAAU,EAAE,sBAAsB;KACnC;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAc;IACnC,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,CAAC,EAAE,YAAY;IAC7B,eAAe,EAAE,gBAAgB;IACjC,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,gBAAgB;IACvB,UAAU,EAAE,uBAAuB;CACpC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,cAAc,EAAE,MAAe;IAC/B,cAAc,EAAE,iCAAiC;CAClD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MultiSelectProps, SelectViewProps } from './Select.props';
|
|
3
|
+
/**
|
|
4
|
+
* MultiSelect Component
|
|
5
|
+
*
|
|
6
|
+
* Renders a selected option in a multi-select component
|
|
7
|
+
*/
|
|
8
|
+
export declare const MultiSelect: React.FC<MultiSelectProps>;
|
|
9
|
+
declare const SelectView: React.FC<SelectViewProps>;
|
|
10
|
+
export default SelectView;
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import React, { useCallback, useRef } from 'react';
|
|
2
|
+
import { Portal } from '../../../Portal/Portal';
|
|
3
|
+
import { Element, useElementPosition } from 'app-studio';
|
|
4
|
+
import { Typography } from 'app-studio';
|
|
5
|
+
import { Horizontal } from 'app-studio';
|
|
6
|
+
import { Text } from 'app-studio';
|
|
7
|
+
import { FieldContainer } from '../../../Input/FieldContainer/FieldContainer';
|
|
8
|
+
import { FieldContent } from '../../../Input/FieldContent/FieldContent';
|
|
9
|
+
import { FieldIcons } from '../../../Input/FieldIcons/FieldIcons';
|
|
10
|
+
import { FieldLabel } from '../../../Input/FieldLabel/FieldLabel';
|
|
11
|
+
import { FieldWrapper } from '../../../Input/FieldWrapper/FieldWrapper';
|
|
12
|
+
import { ChevronIcon, CloseIcon } from '../../../Icon/Icon';
|
|
13
|
+
import { IconSizes, dropdownStyles, dropdownAnimation, optionStyles, optionStateStyles, chevronAnimation, chipStyles, scrollbarStyles, } from './Select.style';
|
|
14
|
+
const withoutFieldShellView = (views) => {
|
|
15
|
+
if (!views)
|
|
16
|
+
return {};
|
|
17
|
+
const { container, content, ...layoutViews } = views;
|
|
18
|
+
return layoutViews;
|
|
19
|
+
};
|
|
20
|
+
const fieldSizeStyles = {
|
|
21
|
+
xs: {
|
|
22
|
+
minHeight: 24,
|
|
23
|
+
shellPaddingY: 6,
|
|
24
|
+
shellPaddingX: 10,
|
|
25
|
+
},
|
|
26
|
+
sm: {
|
|
27
|
+
minHeight: 32,
|
|
28
|
+
shellPaddingY: 8,
|
|
29
|
+
shellPaddingX: 10,
|
|
30
|
+
},
|
|
31
|
+
md: {
|
|
32
|
+
minHeight: 40,
|
|
33
|
+
shellPaddingY: 10,
|
|
34
|
+
shellPaddingX: 12,
|
|
35
|
+
},
|
|
36
|
+
lg: {
|
|
37
|
+
minHeight: 48,
|
|
38
|
+
shellPaddingY: 12,
|
|
39
|
+
shellPaddingX: 14,
|
|
40
|
+
},
|
|
41
|
+
xl: {
|
|
42
|
+
minHeight: 56,
|
|
43
|
+
shellPaddingY: 14,
|
|
44
|
+
shellPaddingX: 16,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Item Component
|
|
49
|
+
*
|
|
50
|
+
* Renders an individual option item in the select dropdown
|
|
51
|
+
*/
|
|
52
|
+
const Item = ({ isHovered, setIsHovered = () => { }, option, size = 'md', callback = () => { }, style, isSelected = false, ...props }) => {
|
|
53
|
+
// Handles the click event on an option
|
|
54
|
+
const handleOptionClick = (e, option) => {
|
|
55
|
+
e.stopPropagation();
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
if (typeof callback === 'function') {
|
|
58
|
+
callback(option);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
// Toggles the hover state on the item
|
|
62
|
+
const handleHover = () => setIsHovered(!isHovered);
|
|
63
|
+
// Get background color based on state priority
|
|
64
|
+
const getStateStyle = () => {
|
|
65
|
+
if (isSelected && isHovered)
|
|
66
|
+
return optionStateStyles.selectedHighlighted;
|
|
67
|
+
if (isSelected)
|
|
68
|
+
return optionStateStyles.selected;
|
|
69
|
+
if (isHovered)
|
|
70
|
+
return optionStateStyles.highlighted;
|
|
71
|
+
return optionStateStyles.default;
|
|
72
|
+
};
|
|
73
|
+
return (<Element as="li"
|
|
74
|
+
// Layout - improved touch targets
|
|
75
|
+
display="flex" alignItems="center" justifyContent="space-between" listStyleType="none"
|
|
76
|
+
// Apply option styles from design tokens
|
|
77
|
+
{...optionStyles} {...getStateStyle()}
|
|
78
|
+
// Event handlers
|
|
79
|
+
onMouseEnter={handleHover} onMouseLeave={handleHover} onClick={(e) => handleOptionClick(e, option.value)}
|
|
80
|
+
// Apply custom props
|
|
81
|
+
{...props}>
|
|
82
|
+
<Text fontSize={Typography.fontSizes[size]} fontWeight={isSelected ? '500' : '400'} lineHeight="14px" color={isSelected ? 'color-gray-900' : 'color-gray-700'} {...style}>
|
|
83
|
+
{option.label}
|
|
84
|
+
</Text>
|
|
85
|
+
{/* Selected indicator */}
|
|
86
|
+
{isSelected && (<Element as="span" color="theme-primary" fontSize="14px" marginLeft={8} display="flex" alignItems="center">
|
|
87
|
+
✓
|
|
88
|
+
</Element>)}
|
|
89
|
+
</Element>);
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* SelectBox Component
|
|
93
|
+
*
|
|
94
|
+
* Renders the main select box with selected value(s)
|
|
95
|
+
*/
|
|
96
|
+
const SelectBox = ({ size = 'md', views = { field: {}, text: {} }, value, isDisabled, placeholder, removeOption = () => { }, options, }) => {
|
|
97
|
+
const fieldView = views?.field || {};
|
|
98
|
+
const textView = views?.text || {};
|
|
99
|
+
/**
|
|
100
|
+
* Styles for the select field
|
|
101
|
+
*/
|
|
102
|
+
const fieldStyles = {
|
|
103
|
+
// Layout properties
|
|
104
|
+
margin: 0,
|
|
105
|
+
width: '95%',
|
|
106
|
+
height: '100%',
|
|
107
|
+
border: 'none',
|
|
108
|
+
paddingVertical: 4, // 3 × 4px grid
|
|
109
|
+
paddingHorizontal: 0,
|
|
110
|
+
// Typography properties
|
|
111
|
+
fontSize: Typography.fontSizes[size],
|
|
112
|
+
fontWeight: '400', // Regular weight
|
|
113
|
+
lineHeight: '20px',
|
|
114
|
+
letterSpacing: '-0.01em', // Slight negative tracking for modern look
|
|
115
|
+
// Visual properties
|
|
116
|
+
color: isDisabled ? 'color-gray-400' : 'color-gray-900',
|
|
117
|
+
// State properties
|
|
118
|
+
cursor: isDisabled ? 'not-allowed' : 'pointer',
|
|
119
|
+
// Animation
|
|
120
|
+
transition: 'all 0.2s ease-in-out',
|
|
121
|
+
// Apply custom styles
|
|
122
|
+
...fieldView,
|
|
123
|
+
...textView,
|
|
124
|
+
style: {
|
|
125
|
+
backgroundColor: 'transparent',
|
|
126
|
+
...fieldView.style,
|
|
127
|
+
...textView.style,
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
const option = options.length > 0 && options.find((option) => option.value === value);
|
|
131
|
+
return (<Text {...fieldStyles}>
|
|
132
|
+
{/* Check if value is an empty string or if value is an array but with no items, then show placeholder */}
|
|
133
|
+
{(value === '' || (Array.isArray(value) && value.length === 0)) &&
|
|
134
|
+
!!placeholder ? (placeholder) : (<>
|
|
135
|
+
{/* If value is a string, use the option label or value */}
|
|
136
|
+
{typeof value === 'string' ? ((option && option.label) ?? value) : // If value is an array and not empty, render MultiSelect options
|
|
137
|
+
Array.isArray(value) && value.length > 0 ? (<Horizontal gap={6}>
|
|
138
|
+
{value.map((option) => (<MultiSelect key={option} option={option} removeOption={removeOption}/>))}
|
|
139
|
+
</Horizontal>) : (
|
|
140
|
+
// Handle any other types of value (including objects or unexpected values)
|
|
141
|
+
<span>{value}</span>)}
|
|
142
|
+
</>)}
|
|
143
|
+
</Text>);
|
|
144
|
+
};
|
|
145
|
+
const HiddenSelect = ({ id, name, value, onChange, isMulti = false, isDisabled = false, isReadOnly = false, options = [], ...props }) => {
|
|
146
|
+
const handleChange = (event) => {
|
|
147
|
+
if (onChange)
|
|
148
|
+
onChange(event);
|
|
149
|
+
};
|
|
150
|
+
return (<Element id={id} name={name} as="select" opacity={0} width={1} height={1} overflow="hidden" position="absolute" pointerEvents="none" tabIndex={-1} aria-hidden="true" value={value} disabled={isDisabled} readOnly={isReadOnly} onChange={handleChange} multiple={isMulti} {...props}>
|
|
151
|
+
{options.length > 0 &&
|
|
152
|
+
options.map((option) => {
|
|
153
|
+
return (<option key={option.value} value={option.value}>
|
|
154
|
+
{option.label}
|
|
155
|
+
</option>);
|
|
156
|
+
})}
|
|
157
|
+
</Element>);
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* DropDown Component
|
|
161
|
+
*
|
|
162
|
+
* Renders the dropdown list of options for the select component
|
|
163
|
+
*/
|
|
164
|
+
const DropDown = ({ size, views = {}, options, callback = () => { }, highlightedIndex, setHighlightedIndex = () => { }, selectedValue, }) => {
|
|
165
|
+
const handleCallback = (option) => callback(option);
|
|
166
|
+
// Check if an option is selected
|
|
167
|
+
const isOptionSelected = (optionValue) => {
|
|
168
|
+
if (Array.isArray(selectedValue)) {
|
|
169
|
+
return selectedValue.includes(optionValue);
|
|
170
|
+
}
|
|
171
|
+
return selectedValue === optionValue;
|
|
172
|
+
};
|
|
173
|
+
return (<Element as="ul" role="listbox" display="flex" flexDirection="column" margin={0} padding="4px" {...dropdownStyles} style={scrollbarStyles} {...views?.dropDown}>
|
|
174
|
+
{options &&
|
|
175
|
+
options.length > 0 &&
|
|
176
|
+
options.map((option, index) => (<Item key={option.value} size={size} style={views['text']} option={option} callback={handleCallback} isSelected={isOptionSelected(option.value)} isHovered={index === highlightedIndex} setIsHovered={() => { }} onMouseEnter={() => setHighlightedIndex(index)}/>))}
|
|
177
|
+
</Element>);
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* MultiSelect Component
|
|
181
|
+
*
|
|
182
|
+
* Renders a selected option in a multi-select component
|
|
183
|
+
*/
|
|
184
|
+
export const MultiSelect = ({ option, size = 'md', removeOption = () => { }, ...props }) => {
|
|
185
|
+
const handleClick = () => removeOption(option);
|
|
186
|
+
return (<Horizontal gap={6} alignItems="center" onClick={(event) => event.stopPropagation()} {...chipStyles} _hover={{
|
|
187
|
+
backgroundColor: 'color-gray-200',
|
|
188
|
+
}} {...props}>
|
|
189
|
+
<Text fontSize={Typography.fontSizes[size]} fontWeight="500" color="color-gray-700">
|
|
190
|
+
{option}
|
|
191
|
+
</Text>
|
|
192
|
+
|
|
193
|
+
<CloseIcon role="close-button" color="color-gray-500" widthHeight={IconSizes[size]} onClick={handleClick} cursor="pointer" transition="all 0.2s ease-in-out" _hover={{
|
|
194
|
+
color: 'color-gray-700',
|
|
195
|
+
}}/>
|
|
196
|
+
</Horizontal>);
|
|
197
|
+
};
|
|
198
|
+
const SelectView = ({ id, name, label, value, placeholder, helperText, hide = false, error = false, isMulti = false, isFocused = false, isHovered = false, isDisabled = false, isReadOnly = false, options = [], shadow = {}, size = 'md', shape = 'default', variant = 'default', views = {
|
|
199
|
+
text: {},
|
|
200
|
+
icon: {},
|
|
201
|
+
dropDown: {},
|
|
202
|
+
selectBox: {},
|
|
203
|
+
label: {},
|
|
204
|
+
helperText: {},
|
|
205
|
+
}, onChange = () => { }, setHide = () => { }, setValue = () => { }, setIsHovered = () => { }, setIsFocused = () => { }, setHighlightedIndex, highlightedIndex, isScrollable, ...props }) => {
|
|
206
|
+
const { ref: triggerRef, relation, updateRelation, } = useElementPosition({
|
|
207
|
+
trackChanges: true,
|
|
208
|
+
trackOnScroll: true,
|
|
209
|
+
trackOnResize: true,
|
|
210
|
+
throttleMs: 10,
|
|
211
|
+
});
|
|
212
|
+
const dropdownRef = useRef(null);
|
|
213
|
+
// Get optimal positioning style based on available space
|
|
214
|
+
// Get optimal positioning style based on available space
|
|
215
|
+
const getDropdownStyle = () => {
|
|
216
|
+
if (!triggerRef.current)
|
|
217
|
+
return {};
|
|
218
|
+
const rect = triggerRef.current.getBoundingClientRect();
|
|
219
|
+
const baseStyle = {
|
|
220
|
+
position: 'fixed',
|
|
221
|
+
left: rect.left,
|
|
222
|
+
width: rect.width,
|
|
223
|
+
zIndex: 10000,
|
|
224
|
+
};
|
|
225
|
+
// Use relation to determine vertical placement if available, otherwise default to bottom
|
|
226
|
+
const isTop = relation?.space?.vertical === 'top';
|
|
227
|
+
if (isTop) {
|
|
228
|
+
return {
|
|
229
|
+
...baseStyle,
|
|
230
|
+
bottom: window.innerHeight - rect.top + 8, // 8px gap
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
return {
|
|
235
|
+
...baseStyle,
|
|
236
|
+
top: rect.bottom + 8, // 8px gap
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
// close when *any* other select opens
|
|
241
|
+
React.useEffect(() => {
|
|
242
|
+
const handleCloseAll = () => setHide(true);
|
|
243
|
+
document.addEventListener('closeAllSelects', handleCloseAll);
|
|
244
|
+
return () => document.removeEventListener('closeAllSelects', handleCloseAll);
|
|
245
|
+
}, [setHide]);
|
|
246
|
+
// Add a global click handler to close the dropdown when clicking outside
|
|
247
|
+
React.useEffect(() => {
|
|
248
|
+
const handleGlobalClick = (e) => {
|
|
249
|
+
const target = e.target;
|
|
250
|
+
// Only close if clicking outside of this specific select component
|
|
251
|
+
if (!target.closest(`#${id}`) && !hide) {
|
|
252
|
+
setHide(true);
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
document.addEventListener('click', handleGlobalClick);
|
|
256
|
+
return () => {
|
|
257
|
+
document.removeEventListener('click', handleGlobalClick);
|
|
258
|
+
};
|
|
259
|
+
}, [id, hide, setHide]);
|
|
260
|
+
const handleHover = () => setIsHovered(!isHovered);
|
|
261
|
+
const handleFocus = () => setIsFocused(true);
|
|
262
|
+
const handleClick = (event) => {
|
|
263
|
+
// tell all other selects to close
|
|
264
|
+
document.dispatchEvent(new Event('closeAllSelects'));
|
|
265
|
+
if (event && event.stopPropagation)
|
|
266
|
+
event.stopPropagation();
|
|
267
|
+
// Toggle dropdown visibility
|
|
268
|
+
const newHideState = !hide;
|
|
269
|
+
setHide(newHideState);
|
|
270
|
+
setIsFocused(!newHideState); // Set focus state based on dropdown visibility
|
|
271
|
+
};
|
|
272
|
+
const handleCallback = useCallback((option) => {
|
|
273
|
+
// Close dropdown after selection
|
|
274
|
+
setHide(true);
|
|
275
|
+
// Tell all other selects to close
|
|
276
|
+
document.dispatchEvent(new Event('closeAllSelects'));
|
|
277
|
+
// Update value based on multi-select or single-select mode
|
|
278
|
+
if (isMulti && Array.isArray(value)) {
|
|
279
|
+
if (!value.includes(option)) {
|
|
280
|
+
const newValue = [...value, option];
|
|
281
|
+
setValue(newValue);
|
|
282
|
+
if (onChange)
|
|
283
|
+
onChange(option);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
setValue(option);
|
|
288
|
+
if (onChange)
|
|
289
|
+
onChange(option);
|
|
290
|
+
}
|
|
291
|
+
// Set focus to indicate selection
|
|
292
|
+
setIsFocused(true);
|
|
293
|
+
}, [isMulti, value, setHide, setValue, onChange, setIsFocused]);
|
|
294
|
+
const handleRemoveOption = (valueOption) => {
|
|
295
|
+
if (Array.isArray(value) && value.includes(valueOption)) {
|
|
296
|
+
const newValue = value.filter((option) => option !== valueOption);
|
|
297
|
+
setValue(newValue.length === 0 ? [] : newValue);
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
const showLabel = !!label;
|
|
301
|
+
const layoutViews = withoutFieldShellView(views);
|
|
302
|
+
return (<FieldContainer ref={triggerRef} position="relative" width="100%" display="inline-block" id={id} role="SelectBox" helperText={helperText} error={error} views={layoutViews} onClick={(e) => {
|
|
303
|
+
// Stop propagation to prevent clicks from bubbling up
|
|
304
|
+
e.stopPropagation();
|
|
305
|
+
// Only handle click if not disabled or readonly
|
|
306
|
+
if (!(isDisabled || isReadOnly)) {
|
|
307
|
+
handleClick(e);
|
|
308
|
+
}
|
|
309
|
+
}}>
|
|
310
|
+
<FieldContent label={label} size={size} error={error} shape={shape} views={views} shadow={shadow} variant={variant} value={value} color={'theme-primary'} isHovered={isHovered} isDisabled={isDisabled} isReadOnly={isReadOnly} isFocused={isFocused} showLabel={showLabel} minHeight={`${fieldSizeStyles[size].minHeight}px`} paddingTop={fieldSizeStyles[size].shellPaddingY} paddingBottom={fieldSizeStyles[size].shellPaddingY} paddingLeft={fieldSizeStyles[size].shellPaddingX} paddingRight={fieldSizeStyles[size].shellPaddingX} onMouseEnter={handleHover} onMouseLeave={handleHover} position="relative" {...views?.content}>
|
|
311
|
+
<FieldWrapper>
|
|
312
|
+
{showLabel && (<FieldLabel htmlFor={id} color={'theme-primary'} error={error} {...views?.label}>
|
|
313
|
+
{label}
|
|
314
|
+
</FieldLabel>)}
|
|
315
|
+
<HiddenSelect id={id} name={name} options={options} onChange={onChange} value={value} isDisabled={isDisabled} isReadOnly={isReadOnly} isMulti={isMulti} onFocus={handleFocus} {...props}/>
|
|
316
|
+
<SelectBox options={options} size={size} views={views} value={value} isDisabled={isDisabled} placeholder={placeholder} removeOption={handleRemoveOption}/>
|
|
317
|
+
</FieldWrapper>
|
|
318
|
+
<FieldIcons>
|
|
319
|
+
{!isReadOnly && !isDisabled && (<Element display="flex" alignItems="center" justifyContent="center" style={hide ? chevronAnimation.closed : chevronAnimation.open}>
|
|
320
|
+
<ChevronIcon color="inherit" widthHeight={IconSizes[size]} style={views.icon} orientation="down"/>
|
|
321
|
+
</Element>)}
|
|
322
|
+
</FieldIcons>
|
|
323
|
+
{!hide && options.length > 0 && (<Portal>
|
|
324
|
+
<Element ref={dropdownRef} onClick={(e) => e.stopPropagation()} style={{
|
|
325
|
+
...getDropdownStyle(),
|
|
326
|
+
...dropdownAnimation.enter,
|
|
327
|
+
}}>
|
|
328
|
+
<DropDown size={size} views={views} options={options} callback={handleCallback} highlightedIndex={highlightedIndex} setHighlightedIndex={setHighlightedIndex} selectedValue={value}/>
|
|
329
|
+
</Element>
|
|
330
|
+
</Portal>)}
|
|
331
|
+
</FieldContent>
|
|
332
|
+
</FieldContainer>);
|
|
333
|
+
};
|
|
334
|
+
export default SelectView;
|
|
335
|
+
//# sourceMappingURL=Select.view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.view.js","sourceRoot":"","sources":["../../../../../../src/components/Form/Select/Select/Select.view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;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C,IAAI,CAAC,CACX,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,QAAQ,CAAC,CAAC,cAAc,CAAC,CACzB,gBAAgB,CAAC,CAAC,gBAAgB,CAAC,CACnC,mBAAmB,CAAC,CAAC,mBAAmB,CAAC,CACzC,aAAa,CAAC,CAAC,KAAK,CAAC,EAEzB;YAAA,EAAE,OAAO,CACX;UAAA,EAAE,MAAM,CAAC,CACV,CACH;MAAA,EAAE,YAAY,CAChB;IAAA,EAAE,cAAc,CAAC,CAClB,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select View Component (React Native)
|
|
3
|
+
*
|
|
4
|
+
* RN counterpart of Select.view.tsx. There is no native <select> on RN, so
|
|
5
|
+
* we simulate it with a pressable field that opens a React Native <Modal/>
|
|
6
|
+
* containing a scrollable list of options. Drops web-only concepts:
|
|
7
|
+
* - <select>/<option> HTML elements
|
|
8
|
+
* - HiddenSelect (no need to keep an a11y twin on RN)
|
|
9
|
+
* - Portal + getBoundingClientRect-based dropdown positioning
|
|
10
|
+
* (position: fixed, window.innerHeight, etc.)
|
|
11
|
+
* - document.addEventListener / closeAllSelects custom event
|
|
12
|
+
* - cursor, hover transitions, chevron rotation transitions
|
|
13
|
+
*
|
|
14
|
+
* Notable simplification: the dropdown becomes a centered modal rather than
|
|
15
|
+
* a popover anchored to the trigger.
|
|
16
|
+
*/
|
|
17
|
+
import React from 'react';
|
|
18
|
+
import { MultiSelectProps, SelectViewProps } from './Select.props';
|
|
19
|
+
export declare const MultiSelect: React.FC<MultiSelectProps>;
|
|
20
|
+
declare const SelectView: React.FC<SelectViewProps>;
|
|
21
|
+
export default SelectView;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select View Component (React Native)
|
|
3
|
+
*
|
|
4
|
+
* RN counterpart of Select.view.tsx. There is no native <select> on RN, so
|
|
5
|
+
* we simulate it with a pressable field that opens a React Native <Modal/>
|
|
6
|
+
* containing a scrollable list of options. Drops web-only concepts:
|
|
7
|
+
* - <select>/<option> HTML elements
|
|
8
|
+
* - HiddenSelect (no need to keep an a11y twin on RN)
|
|
9
|
+
* - Portal + getBoundingClientRect-based dropdown positioning
|
|
10
|
+
* (position: fixed, window.innerHeight, etc.)
|
|
11
|
+
* - document.addEventListener / closeAllSelects custom event
|
|
12
|
+
* - cursor, hover transitions, chevron rotation transitions
|
|
13
|
+
*
|
|
14
|
+
* Notable simplification: the dropdown becomes a centered modal rather than
|
|
15
|
+
* a popover anchored to the trigger.
|
|
16
|
+
*/
|
|
17
|
+
import React from 'react';
|
|
18
|
+
import { Modal as RNModal, Pressable, ScrollView, TouchableWithoutFeedback, } from 'react-native';
|
|
19
|
+
import { Typography, Horizontal, Text, View, Vertical } from 'app-studio';
|
|
20
|
+
import { FieldContainer } from '../../../Input/FieldContainer/FieldContainer';
|
|
21
|
+
import { FieldContent } from '../../../Input/FieldContent/FieldContent';
|
|
22
|
+
import { FieldIcons } from '../../../Input/FieldIcons/FieldIcons';
|
|
23
|
+
import { FieldLabel } from '../../../Input/FieldLabel/FieldLabel';
|
|
24
|
+
import { FieldWrapper } from '../../../Input/FieldWrapper/FieldWrapper';
|
|
25
|
+
import { ChevronIcon, CloseIcon } from '../../../Icon/Icon';
|
|
26
|
+
import { IconSizes, optionStyles, optionStateStyles, chipStyles, } from './Select.style';
|
|
27
|
+
const withoutFieldShellView = (views) => {
|
|
28
|
+
if (!views)
|
|
29
|
+
return {};
|
|
30
|
+
const { container, content, ...layoutViews } = views;
|
|
31
|
+
return layoutViews;
|
|
32
|
+
};
|
|
33
|
+
const fieldSizeStyles = {
|
|
34
|
+
xs: { minHeight: 24, shellPaddingY: 6, shellPaddingX: 10 },
|
|
35
|
+
sm: { minHeight: 32, shellPaddingY: 8, shellPaddingX: 10 },
|
|
36
|
+
md: { minHeight: 40, shellPaddingY: 10, shellPaddingX: 12 },
|
|
37
|
+
lg: { minHeight: 48, shellPaddingY: 12, shellPaddingX: 14 },
|
|
38
|
+
xl: { minHeight: 56, shellPaddingY: 14, shellPaddingX: 16 },
|
|
39
|
+
};
|
|
40
|
+
const SelectBox = ({ size = 'md', views = { field: {}, text: {} }, value, isDisabled, placeholder, removeOption = () => { }, options, }) => {
|
|
41
|
+
const fieldView = views?.field || {};
|
|
42
|
+
const textView = views?.text || {};
|
|
43
|
+
const fieldStyles = {
|
|
44
|
+
width: '95%',
|
|
45
|
+
paddingVertical: 4,
|
|
46
|
+
fontSize: Typography.fontSizes[size],
|
|
47
|
+
fontWeight: '400',
|
|
48
|
+
lineHeight: 20,
|
|
49
|
+
color: isDisabled ? 'color-gray-400' : 'color-gray-900',
|
|
50
|
+
...fieldView,
|
|
51
|
+
...textView,
|
|
52
|
+
};
|
|
53
|
+
const option = options.length > 0 && options.find((option) => option.value === value);
|
|
54
|
+
const isEmpty = value === '' || (Array.isArray(value) && value.length === 0);
|
|
55
|
+
return (<Text {...fieldStyles}>
|
|
56
|
+
{isEmpty && !!placeholder
|
|
57
|
+
? placeholder
|
|
58
|
+
: typeof value === 'string'
|
|
59
|
+
? (option && option.label) ?? value
|
|
60
|
+
: Array.isArray(value) && value.length > 0
|
|
61
|
+
? (<Horizontal gap={6}>
|
|
62
|
+
{value.map((opt) => (<MultiSelect key={opt} option={opt} removeOption={removeOption}/>))}
|
|
63
|
+
</Horizontal>)
|
|
64
|
+
: String(value ?? '')}
|
|
65
|
+
</Text>);
|
|
66
|
+
};
|
|
67
|
+
export const MultiSelect = ({ option, size = 'md', removeOption = () => { }, ...props }) => {
|
|
68
|
+
const handlePress = () => removeOption(option);
|
|
69
|
+
return (<Horizontal gap={6} alignItems="center" {...chipStyles} {...props}>
|
|
70
|
+
<Text fontSize={Typography.fontSizes[size]} fontWeight="500" color="color-gray-700">
|
|
71
|
+
{option}
|
|
72
|
+
</Text>
|
|
73
|
+
<View onPress={handlePress}>
|
|
74
|
+
<CloseIcon color="color-gray-500" widthHeight={IconSizes[size]}/>
|
|
75
|
+
</View>
|
|
76
|
+
</Horizontal>);
|
|
77
|
+
};
|
|
78
|
+
const SelectView = ({ id, name, label, value, placeholder, helperText, hide = false, error = false, isMulti = false, isFocused = false, isHovered = false, isDisabled = false, isReadOnly = false, options = [], shadow = {}, size = 'md', shape = 'default', variant = 'default', views = {
|
|
79
|
+
text: {},
|
|
80
|
+
icon: {},
|
|
81
|
+
dropDown: {},
|
|
82
|
+
selectBox: {},
|
|
83
|
+
label: {},
|
|
84
|
+
helperText: {},
|
|
85
|
+
}, onChange = () => { }, setHide = () => { }, setValue = () => { }, setIsHovered = () => { }, setIsFocused = () => { }, setHighlightedIndex, highlightedIndex, isScrollable: _isScrollable, ...props }) => {
|
|
86
|
+
const handlePressTrigger = () => {
|
|
87
|
+
if (isDisabled || isReadOnly)
|
|
88
|
+
return;
|
|
89
|
+
const newHideState = !hide;
|
|
90
|
+
setHide(newHideState);
|
|
91
|
+
setIsFocused(!newHideState);
|
|
92
|
+
};
|
|
93
|
+
const handleSelect = (optionValue) => {
|
|
94
|
+
if (isMulti && Array.isArray(value)) {
|
|
95
|
+
if (!value.includes(optionValue)) {
|
|
96
|
+
const newValue = [...value, optionValue];
|
|
97
|
+
setValue(newValue);
|
|
98
|
+
if (onChange)
|
|
99
|
+
onChange(optionValue);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
setValue(optionValue);
|
|
104
|
+
if (onChange)
|
|
105
|
+
onChange(optionValue);
|
|
106
|
+
}
|
|
107
|
+
if (!isMulti)
|
|
108
|
+
setHide(true);
|
|
109
|
+
};
|
|
110
|
+
const handleRemoveOption = (valueOption) => {
|
|
111
|
+
if (Array.isArray(value) && value.includes(valueOption)) {
|
|
112
|
+
const newValue = value.filter((option) => option !== valueOption);
|
|
113
|
+
setValue(newValue.length === 0 ? [] : newValue);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const isOptionSelected = (optionValue) => {
|
|
117
|
+
if (Array.isArray(value))
|
|
118
|
+
return value.includes(optionValue);
|
|
119
|
+
return value === optionValue;
|
|
120
|
+
};
|
|
121
|
+
const showLabel = !!label;
|
|
122
|
+
const layoutViews = withoutFieldShellView(views);
|
|
123
|
+
return (<FieldContainer width="100%" id={id} helperText={helperText} error={error} views={layoutViews} onPress={handlePressTrigger}>
|
|
124
|
+
<FieldContent label={label} size={size} error={error} shape={shape} views={views} shadow={shadow} variant={variant} value={value} color={'theme-primary'} isHovered={isHovered} isDisabled={isDisabled} isReadOnly={isReadOnly} isFocused={isFocused} showLabel={showLabel} minHeight={fieldSizeStyles[size].minHeight} paddingTop={fieldSizeStyles[size].shellPaddingY} paddingBottom={fieldSizeStyles[size].shellPaddingY} paddingLeft={fieldSizeStyles[size].shellPaddingX} paddingRight={fieldSizeStyles[size].shellPaddingX} {...views?.content}>
|
|
125
|
+
<FieldWrapper>
|
|
126
|
+
{showLabel && (<FieldLabel color={'theme-primary'} error={error} {...views?.label}>
|
|
127
|
+
{label}
|
|
128
|
+
</FieldLabel>)}
|
|
129
|
+
<SelectBox options={options} size={size} views={views} value={value} isDisabled={isDisabled} placeholder={placeholder} removeOption={handleRemoveOption}/>
|
|
130
|
+
</FieldWrapper>
|
|
131
|
+
<FieldIcons>
|
|
132
|
+
{!isReadOnly && !isDisabled && (<ChevronIcon color="inherit" widthHeight={IconSizes[size]} orientation={hide ? 'down' : 'up'}/>)}
|
|
133
|
+
</FieldIcons>
|
|
134
|
+
</FieldContent>
|
|
135
|
+
|
|
136
|
+
<RNModal visible={!hide && options.length > 0} transparent animationType="fade" onRequestClose={() => setHide(true)}>
|
|
137
|
+
<TouchableWithoutFeedback onPress={() => setHide(true)}>
|
|
138
|
+
<View flex={1} backgroundColor="color-blackAlpha-500" justifyContent="center" alignItems="center" paddingHorizontal={24}>
|
|
139
|
+
<TouchableWithoutFeedback>
|
|
140
|
+
<Vertical width="100%" maxWidth={400} maxHeight={400} backgroundColor="color-white" borderRadius={12} paddingVertical={8} paddingHorizontal={4} shadowColor="rgba(0, 0, 0, 0.15)" shadowOffset={{ width: 0, height: 4 }} shadowOpacity={1} shadowRadius={16} elevation={5} {...views?.dropDown}>
|
|
141
|
+
<ScrollView>
|
|
142
|
+
{options.map((option, index) => {
|
|
143
|
+
const selected = isOptionSelected(option.value);
|
|
144
|
+
const stateStyle = selected
|
|
145
|
+
? optionStateStyles.selected
|
|
146
|
+
: optionStateStyles.default;
|
|
147
|
+
return (<Pressable key={option.value} onPress={() => handleSelect(option.value)}>
|
|
148
|
+
<Horizontal alignItems="center" justifyContent="space-between" {...optionStyles} {...stateStyle}>
|
|
149
|
+
<Text fontSize={Typography.fontSizes[size]} fontWeight={selected ? '500' : '400'} color={selected ? 'color-gray-900' : 'color-gray-700'} {...views?.text}>
|
|
150
|
+
{option.label}
|
|
151
|
+
</Text>
|
|
152
|
+
{selected && (<Text color="theme-primary" fontSize={14}>
|
|
153
|
+
{'✓'}
|
|
154
|
+
</Text>)}
|
|
155
|
+
</Horizontal>
|
|
156
|
+
</Pressable>);
|
|
157
|
+
})}
|
|
158
|
+
</ScrollView>
|
|
159
|
+
</Vertical>
|
|
160
|
+
</TouchableWithoutFeedback>
|
|
161
|
+
</View>
|
|
162
|
+
</TouchableWithoutFeedback>
|
|
163
|
+
</RNModal>
|
|
164
|
+
</FieldContainer>);
|
|
165
|
+
};
|
|
166
|
+
export default SelectView;
|
|
167
|
+
//# sourceMappingURL=Select.view.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.view.native.js","sourceRoot":"","sources":["../../../../../../src/components/Form/Select/Select/Select.view.native.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,KAAK,IAAI,OAAO,EAChB,SAAS,EACT,UAAU,EACV,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAC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C,CAAC,KAAK,CAAC,CACrC,KAAK,CAAC,CACJ,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAChC,CAAC,CACD,IAAK,KAAa,EAAE,IAAI,CAAC,CAEzB;4BAAA,CAAC,MAAM,CAAC,KAAK,CACf;0BAAA,EAAE,IAAI,CACN;0BAAA,CAAC,QAAQ,IAAI,CACX,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CACvC;8BAAA,CAAC,GAAG,CACN;4BAAA,EAAE,IAAI,CAAC,CACR,CACH;wBAAA,EAAE,UAAU,CACd;sBAAA,EAAE,SAAS,CAAC,CACb,CAAC;QACJ,CAAC,CAAC,CACJ;gBAAA,EAAE,UAAU,CACd;cAAA,EAAE,QAAQ,CACZ;YAAA,EAAE,wBAAwB,CAC5B;UAAA,EAAE,IAAI,CACR;QAAA,EAAE,wBAAwB,CAC5B;MAAA,EAAE,OAAO,CACX;IAAA,EAAE,cAAc,CAAC,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useSelectState } from './Select/Select.state';
|
|
3
|
+
import SelectView from './Select/Select.view';
|
|
4
|
+
import { useMergedDesignSystemComponentProps } from '../../../design-system';
|
|
5
|
+
// Defines a functional component named 'SelectComponent', which is expected to receive 'SelectProps' as properties.
|
|
6
|
+
const SelectComponent = (props) => {
|
|
7
|
+
const mergedProps = useMergedDesignSystemComponentProps('select', props);
|
|
8
|
+
// Ensure options is always an array
|
|
9
|
+
const safeProps = {
|
|
10
|
+
...mergedProps,
|
|
11
|
+
options: mergedProps.options || [],
|
|
12
|
+
};
|
|
13
|
+
// Invokes the 'useSelectState' hook with props to obtain stateful logic for the Select component.
|
|
14
|
+
const selectStates = useSelectState(safeProps);
|
|
15
|
+
// Renders the 'SelectView' component, passing along any states controlled by 'useSelectState' and all properties passed to 'SelectComponent'.
|
|
16
|
+
return (<SelectView {...selectStates} {...safeProps} onClick={(e) => {
|
|
17
|
+
// Stop propagation to prevent the global click handler from closing other dropdowns
|
|
18
|
+
e.stopPropagation();
|
|
19
|
+
if (mergedProps.onClick)
|
|
20
|
+
mergedProps.onClick(e);
|
|
21
|
+
}}/>);
|
|
22
|
+
};
|
|
23
|
+
// Exports 'SelectComponent' as 'Select', making it available for import in other parts of the application.
|
|
24
|
+
export const Select = SelectComponent;
|
|
25
|
+
//# sourceMappingURL=Select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../../../src/components/Form/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAExE,oHAAoH;AACpH,MAAM,eAAe,GAA0B,CAAC,KAAK,EAAE,EAAE;IACvD,MAAM,WAAW,GAAG,mCAAmC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IACzE,oCAAoC;IACpC,MAAM,SAAS,GAAG;QAChB,GAAG,WAAW;QACd,OAAO,EAAE,WAAW,CAAC,OAAO,IAAI,EAAE;KACnC,CAAC;IAEF,kGAAkG;IAClG,MAAM,YAAY,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC;IAE/C,8IAA8I;IAC9I,OAAO,CACL,CAAC,UAAU,CACT,IAAI,YAAY,CAAC,CACjB,IAAI,SAAS,CAAC,CACd,OAAO,CAAC,CAAC,CAAC,CAAmC,EAAE,EAAE;YAC/C,oFAAoF;YACpF,CAAC,CAAC,eAAe,EAAE,CAAC;YACpB,IAAI,WAAW,CAAC,OAAO;gBAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClD,CAAC,CAAC,EACF,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,2GAA2G;AAC3G,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC"}
|