@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,2235 @@
|
|
|
1
|
+
import React, { useMemo, useState } from 'react';
|
|
2
|
+
import { Horizontal, Text, Vertical, View } from 'app-studio';
|
|
3
|
+
import { Accordion, Alert, Avatar, Badge, Button, Card, Checkbox, DesignSystemProvider, Loader, NavigationMenu, ProgressBar, Select, Separator, Slider, StatusIndicator, Switch, Table, Tabs, TextArea, TextField, designSystemConfigList, designSystemConfigs, Tooltip, HoverCard, Toggle, ToggleGroup, ColorPicker, Pagination, ShareButton, Link, Title, AspectRatio, Carousel, OTPInput, } from '../components';
|
|
4
|
+
import { Radio } from '../components/Form/Radio/Radio';
|
|
5
|
+
import { Helmet } from 'react-helmet-async';
|
|
6
|
+
const brandTitleStyles = {
|
|
7
|
+
airbnb: {
|
|
8
|
+
highlightStyle: 'background',
|
|
9
|
+
fontWeight: 700,
|
|
10
|
+
letterSpacing: '-0.02em',
|
|
11
|
+
},
|
|
12
|
+
apple: {
|
|
13
|
+
highlightStyle: 'solid',
|
|
14
|
+
fontWeight: 600,
|
|
15
|
+
letterSpacing: '-0.03em',
|
|
16
|
+
},
|
|
17
|
+
coinbase: {
|
|
18
|
+
highlightStyle: 'solid',
|
|
19
|
+
fontWeight: 600,
|
|
20
|
+
letterSpacing: '-0.02em',
|
|
21
|
+
},
|
|
22
|
+
figma: {
|
|
23
|
+
highlightStyle: 'underline',
|
|
24
|
+
fontWeight: 600,
|
|
25
|
+
letterSpacing: '-0.01em',
|
|
26
|
+
highlightFontWeight: 700,
|
|
27
|
+
},
|
|
28
|
+
linear: {
|
|
29
|
+
highlightStyle: 'gradient',
|
|
30
|
+
fontWeight: 600,
|
|
31
|
+
letterSpacing: '-0.03em',
|
|
32
|
+
},
|
|
33
|
+
nike: {
|
|
34
|
+
highlightStyle: 'underline',
|
|
35
|
+
fontWeight: 800,
|
|
36
|
+
letterSpacing: '0.02em',
|
|
37
|
+
textTransform: 'uppercase',
|
|
38
|
+
highlightFontStyle: 'italic',
|
|
39
|
+
highlightFontWeight: 900,
|
|
40
|
+
},
|
|
41
|
+
notion: {
|
|
42
|
+
highlightStyle: 'underline',
|
|
43
|
+
fontWeight: 600,
|
|
44
|
+
letterSpacing: '-0.01em',
|
|
45
|
+
highlightFontStyle: 'italic',
|
|
46
|
+
},
|
|
47
|
+
revolut: {
|
|
48
|
+
highlightStyle: 'gradient',
|
|
49
|
+
fontWeight: 700,
|
|
50
|
+
letterSpacing: '-0.03em',
|
|
51
|
+
},
|
|
52
|
+
shopify: {
|
|
53
|
+
highlightStyle: 'background',
|
|
54
|
+
fontWeight: 700,
|
|
55
|
+
letterSpacing: '-0.02em',
|
|
56
|
+
},
|
|
57
|
+
spacex: {
|
|
58
|
+
highlightStyle: 'glow',
|
|
59
|
+
fontWeight: 700,
|
|
60
|
+
letterSpacing: '0.04em',
|
|
61
|
+
textTransform: 'uppercase',
|
|
62
|
+
highlightLetterSpacing: '0.06em',
|
|
63
|
+
},
|
|
64
|
+
spotify: {
|
|
65
|
+
highlightStyle: 'background',
|
|
66
|
+
fontWeight: 800,
|
|
67
|
+
letterSpacing: '-0.03em',
|
|
68
|
+
},
|
|
69
|
+
stripe: {
|
|
70
|
+
highlightStyle: 'gradient',
|
|
71
|
+
fontWeight: 700,
|
|
72
|
+
letterSpacing: '-0.03em',
|
|
73
|
+
},
|
|
74
|
+
tesla: {
|
|
75
|
+
highlightStyle: 'solid',
|
|
76
|
+
fontWeight: 500,
|
|
77
|
+
letterSpacing: '-0.01em',
|
|
78
|
+
textTransform: 'uppercase',
|
|
79
|
+
},
|
|
80
|
+
uber: {
|
|
81
|
+
highlightStyle: 'underline',
|
|
82
|
+
fontWeight: 700,
|
|
83
|
+
letterSpacing: '-0.02em',
|
|
84
|
+
},
|
|
85
|
+
vercel: {
|
|
86
|
+
highlightStyle: 'outline',
|
|
87
|
+
fontWeight: 700,
|
|
88
|
+
letterSpacing: '-0.04em',
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
const defaultBrandTitleStyle = {
|
|
92
|
+
highlightStyle: 'background',
|
|
93
|
+
fontWeight: 700,
|
|
94
|
+
letterSpacing: '-0.02em',
|
|
95
|
+
};
|
|
96
|
+
const getBrandTitleStyle = (config) => brandTitleStyles[config.metadata.id] ?? defaultBrandTitleStyle;
|
|
97
|
+
const getLightPalette = (config) => {
|
|
98
|
+
const isDark = config.metadata.defaultAppearance === 'dark';
|
|
99
|
+
if (!isDark)
|
|
100
|
+
return { ...config.theme, appearance: 'light' };
|
|
101
|
+
return {
|
|
102
|
+
...config.theme,
|
|
103
|
+
canvas: '#ffffff',
|
|
104
|
+
surface: '#f5f5f5',
|
|
105
|
+
text: '#1a1a1a',
|
|
106
|
+
muted: 'rgba(0,0,0,0.6)',
|
|
107
|
+
border: 'rgba(0,0,0,0.1)',
|
|
108
|
+
appearance: 'light',
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
const getDarkPalette = (config) => {
|
|
112
|
+
const isDark = config.metadata.defaultAppearance === 'dark';
|
|
113
|
+
if (isDark)
|
|
114
|
+
return { ...config.theme, appearance: 'dark' };
|
|
115
|
+
return {
|
|
116
|
+
...config.theme,
|
|
117
|
+
canvas: '#0d0d0d',
|
|
118
|
+
surface: '#1a1a1a',
|
|
119
|
+
text: '#ffffff',
|
|
120
|
+
muted: 'rgba(255,255,255,0.62)',
|
|
121
|
+
border: 'rgba(255,255,255,0.14)',
|
|
122
|
+
appearance: 'dark',
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
const PaletteFrame = ({ palette, label, children, }) => (<Vertical gap={10} flex="1 1 320px" minWidth={0}>
|
|
126
|
+
<Horizontal gap={8} alignItems="center">
|
|
127
|
+
<View width={10} height={10} borderRadius={9999} backgroundColor={palette.appearance === 'dark' ? '#111111' : '#ffffff'} borderWidth={1} borderStyle="solid" borderColor="rgba(0,0,0,0.15)"/>
|
|
128
|
+
<Text fontSize={11} fontWeight="700" letterSpacing="0.08em" textTransform="uppercase">
|
|
129
|
+
{label}
|
|
130
|
+
</Text>
|
|
131
|
+
</Horizontal>
|
|
132
|
+
<View padding={20} borderRadius={16} borderWidth={1} borderStyle="solid" style={{
|
|
133
|
+
backgroundColor: palette.canvas,
|
|
134
|
+
borderColor: palette.border,
|
|
135
|
+
color: palette.text,
|
|
136
|
+
}}>
|
|
137
|
+
{children}
|
|
138
|
+
</View>
|
|
139
|
+
</Vertical>);
|
|
140
|
+
const defaultPersonality = {
|
|
141
|
+
cornerStyle: 'soft',
|
|
142
|
+
typeWeight: 'bold',
|
|
143
|
+
typeCase: 'normal',
|
|
144
|
+
typeStyle: 'normal',
|
|
145
|
+
letterSpacing: '-0.01em',
|
|
146
|
+
accentTreatment: 'flat',
|
|
147
|
+
signatureMotif: '●',
|
|
148
|
+
density: 'comfortable',
|
|
149
|
+
surfaceTone: 'paper',
|
|
150
|
+
cardRadius: 12,
|
|
151
|
+
pillRadius: 9999,
|
|
152
|
+
badgeRadius: 6,
|
|
153
|
+
voice: 'neutral',
|
|
154
|
+
};
|
|
155
|
+
const getPersonality = (config) => config.personality || defaultPersonality;
|
|
156
|
+
const personalityFontWeight = (p, bump = 'normal') => {
|
|
157
|
+
const base = {
|
|
158
|
+
light: 300,
|
|
159
|
+
regular: 400,
|
|
160
|
+
bold: 700,
|
|
161
|
+
black: 800,
|
|
162
|
+
};
|
|
163
|
+
let w = base[p.typeWeight];
|
|
164
|
+
if (bump === 'light')
|
|
165
|
+
w = Math.max(300, w - 200);
|
|
166
|
+
if (bump === 'heavy')
|
|
167
|
+
w = Math.min(900, w + 100);
|
|
168
|
+
return w;
|
|
169
|
+
};
|
|
170
|
+
const personalityDensityScale = (p) => {
|
|
171
|
+
switch (p.density) {
|
|
172
|
+
case 'tight':
|
|
173
|
+
return { padding: 16, gap: 10, large: 20 };
|
|
174
|
+
case 'spacious':
|
|
175
|
+
return { padding: 28, gap: 18, large: 36 };
|
|
176
|
+
case 'comfortable':
|
|
177
|
+
default:
|
|
178
|
+
return { padding: 22, gap: 14, large: 28 };
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
const personalityTextTransform = (p) => p.typeCase === 'uppercase' ? 'uppercase' : 'none';
|
|
182
|
+
const personalitySurfaceStyle = (p, palette) => {
|
|
183
|
+
switch (p.surfaceTone) {
|
|
184
|
+
case 'glass':
|
|
185
|
+
return {
|
|
186
|
+
backgroundColor: palette.appearance === 'dark'
|
|
187
|
+
? 'rgba(255,255,255,0.04)'
|
|
188
|
+
: 'rgba(255,255,255,0.65)',
|
|
189
|
+
backdropFilter: 'blur(14px)',
|
|
190
|
+
};
|
|
191
|
+
case 'mono':
|
|
192
|
+
return {
|
|
193
|
+
backgroundColor: palette.appearance === 'dark' ? '#0a0a0a' : palette.surface,
|
|
194
|
+
};
|
|
195
|
+
case 'matte':
|
|
196
|
+
return {
|
|
197
|
+
backgroundColor: palette.appearance === 'dark' ? '#181818' : '#f4f4f4',
|
|
198
|
+
};
|
|
199
|
+
case 'paper':
|
|
200
|
+
default:
|
|
201
|
+
return { backgroundColor: palette.surface };
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
const personalityAccentBackground = (p, palette) => {
|
|
205
|
+
switch (p.accentTreatment) {
|
|
206
|
+
case 'gradient':
|
|
207
|
+
return `linear-gradient(135deg, ${palette.primary} 0%, ${palette.secondary || palette.primary} 100%)`;
|
|
208
|
+
case 'glow':
|
|
209
|
+
return palette.primary;
|
|
210
|
+
case 'stripe':
|
|
211
|
+
return `repeating-linear-gradient(45deg, ${palette.primary} 0 8px, ${palette.secondary || palette.primary} 8px 16px)`;
|
|
212
|
+
case 'halftone':
|
|
213
|
+
return `radial-gradient(circle at 30% 30%, ${palette.primary} 0%, ${palette.secondary || palette.primary} 70%)`;
|
|
214
|
+
case 'flat':
|
|
215
|
+
default:
|
|
216
|
+
return palette.primary;
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
const personalityAccentShadow = (p, palette) => {
|
|
220
|
+
if (p.accentTreatment === 'glow') {
|
|
221
|
+
return `0 0 24px ${palette.primary}66, 0 0 4px ${palette.primary}`;
|
|
222
|
+
}
|
|
223
|
+
return undefined;
|
|
224
|
+
};
|
|
225
|
+
const personalityHeadingStyle = (p) => ({
|
|
226
|
+
letterSpacing: p.letterSpacing,
|
|
227
|
+
textTransform: personalityTextTransform(p),
|
|
228
|
+
fontStyle: p.typeStyle,
|
|
229
|
+
fontWeight: personalityFontWeight(p, 'heavy'),
|
|
230
|
+
});
|
|
231
|
+
const personalityLabelStyle = (p) => ({
|
|
232
|
+
letterSpacing: p.typeCase === 'uppercase' ? '0.12em' : '0.06em',
|
|
233
|
+
textTransform: 'uppercase',
|
|
234
|
+
fontStyle: p.typeStyle,
|
|
235
|
+
fontWeight: personalityFontWeight(p, 'normal'),
|
|
236
|
+
});
|
|
237
|
+
const readContainerRadius = (config, name) => {
|
|
238
|
+
const cfg = config.components?.[name];
|
|
239
|
+
return cfg?.views?.container?.borderRadius;
|
|
240
|
+
};
|
|
241
|
+
const getElevationLevels = (config) => {
|
|
242
|
+
const raw = config.tokens.rawCssVars || {};
|
|
243
|
+
const borderColor = config.theme.border;
|
|
244
|
+
const surfaceColor = config.theme.surface;
|
|
245
|
+
const focusColor = config.theme.primary;
|
|
246
|
+
const ring = raw['shadow-ring'] || `rgba(0,0,0,0.08) 0px 0px 0px 1px`;
|
|
247
|
+
const ringLight = raw['shadow-ring-light'] || `${borderColor} 0px 0px 0px 1px`;
|
|
248
|
+
const card = raw['shadow-card'] ||
|
|
249
|
+
`rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px 0px, ${surfaceColor} 0px 0px 0px 1px`;
|
|
250
|
+
const cardFull = raw['shadow-card-full'] ||
|
|
251
|
+
`rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px 0px, rgba(0,0,0,0.04) 0px 8px 8px -8px, ${surfaceColor} 0px 0px 0px 1px`;
|
|
252
|
+
return [
|
|
253
|
+
{
|
|
254
|
+
name: 'Level 0',
|
|
255
|
+
label: 'Flat',
|
|
256
|
+
description: 'No shadow',
|
|
257
|
+
shadow: 'none',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: 'Level 1',
|
|
261
|
+
label: 'Ring',
|
|
262
|
+
description: 'Shadow-as-border',
|
|
263
|
+
shadow: ring,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: 'Level 1b',
|
|
267
|
+
label: 'Light Ring',
|
|
268
|
+
description: 'Lighter ring',
|
|
269
|
+
shadow: ringLight,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'Level 2',
|
|
273
|
+
label: 'Card',
|
|
274
|
+
description: 'Ring + subtle lift',
|
|
275
|
+
shadow: card,
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'Level 3',
|
|
279
|
+
label: 'Full Card',
|
|
280
|
+
description: 'Ring + lift + ambient + glow',
|
|
281
|
+
shadow: cardFull,
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'Focus',
|
|
285
|
+
label: 'Accessibility ring',
|
|
286
|
+
description: 'Focus state — 2px ring',
|
|
287
|
+
shadow: `0 0 0 2px ${focusColor}`,
|
|
288
|
+
},
|
|
289
|
+
];
|
|
290
|
+
};
|
|
291
|
+
const componentRadius = (config, name) => {
|
|
292
|
+
const fallbackChain = {
|
|
293
|
+
accordion: ['accordion', 'card', 'alert'],
|
|
294
|
+
tabs: ['tabs', 'button'],
|
|
295
|
+
panel: ['card', 'alert'],
|
|
296
|
+
};
|
|
297
|
+
const chain = fallbackChain[name] ?? [name];
|
|
298
|
+
for (const candidate of chain) {
|
|
299
|
+
const value = readContainerRadius(config, candidate);
|
|
300
|
+
if (value !== undefined)
|
|
301
|
+
return value;
|
|
302
|
+
}
|
|
303
|
+
return '12px';
|
|
304
|
+
};
|
|
305
|
+
const TabIconHeader = ({ glyph, badge }) => (<View position="relative" display="inline-flex">
|
|
306
|
+
<View width={32} height={32} borderRadius="50%" display="inline-flex" alignItems="center" justifyContent="center" style={{
|
|
307
|
+
backgroundColor: 'rgba(0,0,0,0.06)',
|
|
308
|
+
fontSize: 18,
|
|
309
|
+
lineHeight: '20px',
|
|
310
|
+
}}>
|
|
311
|
+
{glyph}
|
|
312
|
+
</View>
|
|
313
|
+
{badge ? (<View position="absolute" top={-10} right={-18} paddingHorizontal={6} paddingVertical={2} borderRadius={9999} style={{
|
|
314
|
+
backgroundColor: '#ffffff',
|
|
315
|
+
color: '#222222',
|
|
316
|
+
fontSize: 9,
|
|
317
|
+
fontWeight: 700,
|
|
318
|
+
letterSpacing: '0.04em',
|
|
319
|
+
boxShadow: '0 1px 3px rgba(0,0,0,0.18)',
|
|
320
|
+
}}>
|
|
321
|
+
{badge}
|
|
322
|
+
</View>) : null}
|
|
323
|
+
</View>);
|
|
324
|
+
const sampleTabs = [
|
|
325
|
+
{
|
|
326
|
+
title: 'Homes',
|
|
327
|
+
value: 'homes',
|
|
328
|
+
icon: <TabIconHeader glyph="🏠"/>,
|
|
329
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
330
|
+
Tokens, inputs, and feedback components share the active config.
|
|
331
|
+
</Text>),
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
title: 'Experiences',
|
|
335
|
+
value: 'experiences',
|
|
336
|
+
icon: <TabIconHeader glyph="🎈" badge="NEW"/>,
|
|
337
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
338
|
+
Explicit props still override the config defaults.
|
|
339
|
+
</Text>),
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
title: 'Services',
|
|
343
|
+
value: 'services',
|
|
344
|
+
icon: <TabIconHeader glyph="🛎️" badge="NEW"/>,
|
|
345
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
346
|
+
Each tab carries an icon. Active tab uses the theme primary underline.
|
|
347
|
+
</Text>),
|
|
348
|
+
},
|
|
349
|
+
];
|
|
350
|
+
const tableColumns = [
|
|
351
|
+
{ title: 'Token', field: 'token' },
|
|
352
|
+
{ title: 'Value', field: 'value' },
|
|
353
|
+
{ title: 'Role', field: 'role' },
|
|
354
|
+
];
|
|
355
|
+
const navigationItems = [
|
|
356
|
+
{ id: 'overview', label: 'Overview', href: '#' },
|
|
357
|
+
{ id: 'components', label: 'Components', href: '#' },
|
|
358
|
+
{ id: 'tokens', label: 'Tokens', href: '#' },
|
|
359
|
+
];
|
|
360
|
+
const Swatch = ({ color, name, role, border, }) => (<View borderWidth={1} borderStyle="solid" borderRadius={8} overflow="hidden" minWidth={0} borderColor={border}>
|
|
361
|
+
<View height={76} backgroundColor={color}/>
|
|
362
|
+
<Vertical gap={4} padding={12}>
|
|
363
|
+
<Text fontSize={13} lineHeight="18px" fontWeight="700">
|
|
364
|
+
{name}
|
|
365
|
+
</Text>
|
|
366
|
+
<Text fontSize={12} lineHeight="16px" opacity={0.7}>
|
|
367
|
+
{color}
|
|
368
|
+
</Text>
|
|
369
|
+
<Text fontSize={12} lineHeight="16px" opacity={0.72}>
|
|
370
|
+
{role}
|
|
371
|
+
</Text>
|
|
372
|
+
</Vertical>
|
|
373
|
+
</View>);
|
|
374
|
+
const Section = ({ title, children, config, }) => (<Vertical gap={18} padding={24} borderWidth={1} borderStyle="solid" borderRadius={12} style={{
|
|
375
|
+
backgroundColor: config.theme.canvas,
|
|
376
|
+
borderColor: config.theme.border,
|
|
377
|
+
}}>
|
|
378
|
+
<Text fontSize={18} lineHeight="24px" fontWeight="700" color={config.theme.text}>
|
|
379
|
+
{title}
|
|
380
|
+
</Text>
|
|
381
|
+
{children}
|
|
382
|
+
</Vertical>);
|
|
383
|
+
const HeroSection = ({ config }) => {
|
|
384
|
+
const t = getBrandTitleStyle(config);
|
|
385
|
+
const highlightTextColor = t.highlightStyle === 'background'
|
|
386
|
+
? config.theme.onPrimary
|
|
387
|
+
: config.theme.primary;
|
|
388
|
+
return (<View width="100%" borderRadius={20} overflow="hidden" borderWidth={1} borderStyle="solid" borderColor={config.theme.border} style={{
|
|
389
|
+
backgroundColor: config.theme.surface,
|
|
390
|
+
}}>
|
|
391
|
+
<Horizontal width="100%" flexWrap="wrap" alignItems="stretch" gap={0}>
|
|
392
|
+
<Vertical flex="1 1 360px" minWidth={0} padding={36} gap={20} justifyContent="center">
|
|
393
|
+
<Badge variant="outline" content={`${config.metadata.label} hero`}/>
|
|
394
|
+
|
|
395
|
+
<Title key={`${config.metadata.id}-${t.highlightStyle}`} size="xl" responsive highlightText="design system" highlightStyle={t.highlightStyle} highlightColor={config.theme.primary} highlightSecondaryColor={t.highlightStyle === 'gradient'
|
|
396
|
+
? config.theme.secondary
|
|
397
|
+
: config.theme.onPrimary} views={{
|
|
398
|
+
container: { color: config.theme.text },
|
|
399
|
+
text: {
|
|
400
|
+
color: config.theme.text,
|
|
401
|
+
fontFamily: config.tokens.typography.fontFamily,
|
|
402
|
+
fontWeight: t.fontWeight,
|
|
403
|
+
style: {
|
|
404
|
+
letterSpacing: t.letterSpacing,
|
|
405
|
+
fontStyle: t.fontStyle ?? 'normal',
|
|
406
|
+
textTransform: t.textTransform ?? 'none',
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
highlight: {
|
|
410
|
+
color: highlightTextColor,
|
|
411
|
+
fontWeight: t.highlightFontWeight ?? t.fontWeight,
|
|
412
|
+
style: {
|
|
413
|
+
fontStyle: t.highlightFontStyle ?? t.fontStyle ?? 'normal',
|
|
414
|
+
letterSpacing: t.highlightLetterSpacing ?? t.letterSpacing,
|
|
415
|
+
textTransform: t.textTransform ?? 'none',
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
}}>
|
|
419
|
+
Build a beautiful design system in minutes
|
|
420
|
+
</Title>
|
|
421
|
+
|
|
422
|
+
<Text color={config.theme.muted} fontFamily={config.tokens.typography.fontFamily} style={{ fontSize: 16, lineHeight: '24px', maxWidth: 520 }}>
|
|
423
|
+
Each brand defines its own highlight treatment —{' '}
|
|
424
|
+
<Text as="span" color={config.theme.primary} fontWeight="700">
|
|
425
|
+
{t.highlightStyle}
|
|
426
|
+
</Text>{' '}
|
|
427
|
+
with weight{' '}
|
|
428
|
+
<Text as="span" fontWeight="700">
|
|
429
|
+
{t.fontWeight}
|
|
430
|
+
</Text>
|
|
431
|
+
{t.highlightFontStyle === 'italic' || t.fontStyle === 'italic'
|
|
432
|
+
? ', italic'
|
|
433
|
+
: ''}
|
|
434
|
+
{t.textTransform === 'uppercase' ? ', uppercase' : ''}.
|
|
435
|
+
</Text>
|
|
436
|
+
|
|
437
|
+
<Horizontal gap={12} flexWrap="wrap">
|
|
438
|
+
<Button colorScheme="primary" size="md">
|
|
439
|
+
Get started
|
|
440
|
+
</Button>
|
|
441
|
+
<Button variant="outline" colorScheme="primary" size="md">
|
|
442
|
+
View docs
|
|
443
|
+
</Button>
|
|
444
|
+
</Horizontal>
|
|
445
|
+
</Vertical>
|
|
446
|
+
|
|
447
|
+
<View flex="1 1 320px" minWidth={0} minHeight={260} position="relative" overflow="hidden" style={{
|
|
448
|
+
backgroundImage: `linear-gradient(135deg, ${config.theme.primary}, ${config.theme.secondary || config.theme.primary})`,
|
|
449
|
+
}}>
|
|
450
|
+
<View position="absolute" top="50%" left="50%" width={180} height={180} borderRadius={9999} style={{
|
|
451
|
+
transform: 'translate(-50%, -50%)',
|
|
452
|
+
backgroundColor: 'rgba(255,255,255,0.18)',
|
|
453
|
+
filter: 'blur(40px)',
|
|
454
|
+
}}/>
|
|
455
|
+
<Vertical width="100%" height="100%" minHeight={260} padding={32} justifyContent="flex-end" alignItems="flex-start" gap={12}>
|
|
456
|
+
<Text fontWeight="700" fontFamily={config.tokens.typography.fontFamily} style={{
|
|
457
|
+
color: config.theme.onPrimary,
|
|
458
|
+
fontSize: 13,
|
|
459
|
+
letterSpacing: '0.08em',
|
|
460
|
+
textTransform: 'uppercase',
|
|
461
|
+
}}>
|
|
462
|
+
{config.metadata.label}
|
|
463
|
+
</Text>
|
|
464
|
+
<Text fontWeight="700" fontFamily={config.tokens.typography.fontFamily} style={{
|
|
465
|
+
color: config.theme.onPrimary,
|
|
466
|
+
fontSize: 28,
|
|
467
|
+
lineHeight: '32px',
|
|
468
|
+
letterSpacing: '-0.02em',
|
|
469
|
+
}}>
|
|
470
|
+
{config.theme.primary}
|
|
471
|
+
</Text>
|
|
472
|
+
</Vertical>
|
|
473
|
+
</View>
|
|
474
|
+
</Horizontal>
|
|
475
|
+
</View>);
|
|
476
|
+
};
|
|
477
|
+
const FoundationPreview = ({ config }) => {
|
|
478
|
+
const tableData = config.tokens.colors.slice(0, 5).map((color) => ({
|
|
479
|
+
token: color.name,
|
|
480
|
+
value: color.value,
|
|
481
|
+
role: color.role,
|
|
482
|
+
}));
|
|
483
|
+
return (<Vertical gap={24}>
|
|
484
|
+
<Section title="Color" config={config}>
|
|
485
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(150px, 1fr))" gap={12}>
|
|
486
|
+
{config.tokens.colors.slice(0, 12).map((color) => (<Swatch key={color.name} color={color.value} name={color.name} role={color.role} text={config.theme.text} border={config.theme.border}/>))}
|
|
487
|
+
</View>
|
|
488
|
+
</Section>
|
|
489
|
+
|
|
490
|
+
<Section title="Typography" config={config}>
|
|
491
|
+
<Vertical gap={24}>
|
|
492
|
+
<Vertical gap={4}>
|
|
493
|
+
<Text fontFamily={config.tokens.typography.fontFamily} fontSize={48} lineHeight="1.0" fontWeight="700" letterSpacing="0.96px" textTransform="uppercase">
|
|
494
|
+
Making Life Multiplanetary
|
|
495
|
+
</Text>
|
|
496
|
+
<Text fontSize={10} color={config.theme.muted}>
|
|
497
|
+
Display — 48px / Bold / 1.00 / Uppercase
|
|
498
|
+
</Text>
|
|
499
|
+
</Vertical>
|
|
500
|
+
|
|
501
|
+
<Vertical gap={4}>
|
|
502
|
+
<Text fontFamily={config.tokens.typography.fontFamily} fontSize={16} lineHeight="1.7" fontWeight="400">
|
|
503
|
+
SpaceX designs, manufactures and launches advanced rockets and
|
|
504
|
+
spacecraft. The company was founded to revolutionize space
|
|
505
|
+
technology.
|
|
506
|
+
</Text>
|
|
507
|
+
<Text fontSize={10} color={config.theme.muted}>
|
|
508
|
+
Body — 16px / 400 / 1.70
|
|
509
|
+
</Text>
|
|
510
|
+
</Vertical>
|
|
511
|
+
|
|
512
|
+
<Vertical gap={4}>
|
|
513
|
+
<Text fontFamily={config.tokens.typography.fontFamily} fontSize={13} lineHeight="0.94" fontWeight="700" letterSpacing="1.17px" textTransform="uppercase">
|
|
514
|
+
Falcon 9 · Starship · Dragon
|
|
515
|
+
</Text>
|
|
516
|
+
<Text fontSize={10} color={config.theme.muted}>
|
|
517
|
+
Nav Bold — 13px / 700 / 0.94 / Uppercase
|
|
518
|
+
</Text>
|
|
519
|
+
</Vertical>
|
|
520
|
+
|
|
521
|
+
<Vertical gap={4}>
|
|
522
|
+
<Text fontFamily={config.tokens.typography.fontFamily} fontSize={12} lineHeight="1.0" fontWeight="400" letterSpacing="1px" textTransform="uppercase">
|
|
523
|
+
Mission Overview
|
|
524
|
+
</Text>
|
|
525
|
+
<Text fontSize={10} color={config.theme.muted}>
|
|
526
|
+
Caption — 12px / 400 / 1.00 / Uppercase
|
|
527
|
+
</Text>
|
|
528
|
+
</Vertical>
|
|
529
|
+
|
|
530
|
+
<Vertical gap={4}>
|
|
531
|
+
<Text fontFamily={config.tokens.typography.fontFamily} fontSize={10} lineHeight="0.94" fontWeight="400" letterSpacing="1px" textTransform="uppercase">
|
|
532
|
+
Launch Date: 2026-04-15
|
|
533
|
+
</Text>
|
|
534
|
+
<Text fontSize={10} color={config.theme.muted}>
|
|
535
|
+
Micro — 10px / 400 / 0.94 / Uppercase
|
|
536
|
+
</Text>
|
|
537
|
+
</Vertical>
|
|
538
|
+
|
|
539
|
+
<Horizontal gap={10} flexWrap="wrap" marginTop={12}>
|
|
540
|
+
{config.tokens.typography.fontSizes.map((size) => (<Badge key={size} variant="outline" content={size}/>))}
|
|
541
|
+
</Horizontal>
|
|
542
|
+
</Vertical>
|
|
543
|
+
</Section>
|
|
544
|
+
|
|
545
|
+
<Section title="Spacing, Radius, Shadow" config={config}>
|
|
546
|
+
<Vertical gap={18}>
|
|
547
|
+
<Horizontal gap={12} flexWrap="wrap" alignItems="flex-end">
|
|
548
|
+
{config.tokens.spacing.slice(0, 10).map((space) => (<Vertical key={space} gap={8} alignItems="center">
|
|
549
|
+
<View width={space} minWidth={4} height={24} borderRadius={2} backgroundColor={config.theme.primary}/>
|
|
550
|
+
<Text fontSize={11} color={config.theme.muted}>
|
|
551
|
+
{space}
|
|
552
|
+
</Text>
|
|
553
|
+
</Vertical>))}
|
|
554
|
+
</Horizontal>
|
|
555
|
+
|
|
556
|
+
<Horizontal gap={12} flexWrap="wrap">
|
|
557
|
+
{config.tokens.radii.slice(0, 6).map((radius) => (<Vertical key={radius} gap={8} alignItems="center">
|
|
558
|
+
<View width={64} height={64} borderRadius={radius} borderWidth={1} borderStyle="solid" backgroundColor={config.theme.surface} borderColor={config.theme.border}/>
|
|
559
|
+
<Text fontSize={11} color={config.theme.muted}>
|
|
560
|
+
{radius}
|
|
561
|
+
</Text>
|
|
562
|
+
</Vertical>))}
|
|
563
|
+
</Horizontal>
|
|
564
|
+
|
|
565
|
+
<View width="100%" maxWidth="100%" overflowX="auto" style={{
|
|
566
|
+
WebkitOverflowScrolling: 'touch',
|
|
567
|
+
color: config.theme.text,
|
|
568
|
+
}}>
|
|
569
|
+
<Table views={config.components?.table?.views}>
|
|
570
|
+
<Table.Template caption="First extracted color tokens" columns={tableColumns} data={tableData}/>
|
|
571
|
+
</Table>
|
|
572
|
+
</View>
|
|
573
|
+
</Vertical>
|
|
574
|
+
</Section>
|
|
575
|
+
</Vertical>);
|
|
576
|
+
};
|
|
577
|
+
const PricingCardSample = ({ palette }) => (<Card width="min(100%, 420px)" views={{
|
|
578
|
+
container: {
|
|
579
|
+
backgroundColor: palette.surface,
|
|
580
|
+
color: palette.text,
|
|
581
|
+
borderWidth: 1,
|
|
582
|
+
borderStyle: 'solid',
|
|
583
|
+
borderColor: palette.border,
|
|
584
|
+
},
|
|
585
|
+
header: { color: palette.text, borderColor: palette.border },
|
|
586
|
+
content: { color: palette.text },
|
|
587
|
+
footer: { borderColor: palette.border },
|
|
588
|
+
}}>
|
|
589
|
+
<Card.Header>
|
|
590
|
+
<Horizontal alignItems="center" justifyContent="space-between" gap={12} flexWrap="wrap">
|
|
591
|
+
<Horizontal alignItems="baseline" gap={6}>
|
|
592
|
+
<Text fontSize={24} fontWeight="800" color={palette.text}>
|
|
593
|
+
$182
|
|
594
|
+
</Text>
|
|
595
|
+
<Text fontSize={14} color={palette.muted}>
|
|
596
|
+
night
|
|
597
|
+
</Text>
|
|
598
|
+
</Horizontal>
|
|
599
|
+
<Badge variant="filled" content="Best value"/>
|
|
600
|
+
</Horizontal>
|
|
601
|
+
</Card.Header>
|
|
602
|
+
<Card.Content>
|
|
603
|
+
<Vertical gap={12}>
|
|
604
|
+
<Horizontal gap={0} borderRadius={10} borderWidth={1} borderStyle="solid" borderColor={palette.border} overflow="hidden">
|
|
605
|
+
<Vertical flex={1} padding={10} gap={2} borderRightWidth={1} borderRightStyle="solid" borderColor={palette.border}>
|
|
606
|
+
<Text fontSize={10} fontWeight="700" letterSpacing="0.06em" color={palette.text}>
|
|
607
|
+
CHECK-IN
|
|
608
|
+
</Text>
|
|
609
|
+
<Text fontSize={14} color={palette.text}>
|
|
610
|
+
Mar 12, 2026
|
|
611
|
+
</Text>
|
|
612
|
+
</Vertical>
|
|
613
|
+
<Vertical flex={1} padding={10} gap={2}>
|
|
614
|
+
<Text fontSize={10} fontWeight="700" letterSpacing="0.06em" color={palette.text}>
|
|
615
|
+
CHECKOUT
|
|
616
|
+
</Text>
|
|
617
|
+
<Text fontSize={14} color={palette.text}>
|
|
618
|
+
Mar 18, 2026
|
|
619
|
+
</Text>
|
|
620
|
+
</Vertical>
|
|
621
|
+
</Horizontal>
|
|
622
|
+
<Vertical padding={10} gap={2} borderRadius={10} borderWidth={1} borderStyle="solid" borderColor={palette.border}>
|
|
623
|
+
<Text fontSize={10} fontWeight="700" letterSpacing="0.06em" color={palette.text}>
|
|
624
|
+
GUESTS
|
|
625
|
+
</Text>
|
|
626
|
+
<Text fontSize={14} color={palette.text}>
|
|
627
|
+
2 adults
|
|
628
|
+
</Text>
|
|
629
|
+
</Vertical>
|
|
630
|
+
<Button isFilled size="lg">
|
|
631
|
+
Reserve
|
|
632
|
+
</Button>
|
|
633
|
+
<Separator />
|
|
634
|
+
<Vertical gap={6}>
|
|
635
|
+
<Horizontal justifyContent="space-between">
|
|
636
|
+
<Text fontSize={14} color={palette.text}>
|
|
637
|
+
$182 × 6 nights
|
|
638
|
+
</Text>
|
|
639
|
+
<Text fontSize={14} color={palette.text}>
|
|
640
|
+
$1,092
|
|
641
|
+
</Text>
|
|
642
|
+
</Horizontal>
|
|
643
|
+
<Horizontal justifyContent="space-between">
|
|
644
|
+
<Text fontSize={14} color={palette.text}>
|
|
645
|
+
Cleaning fee
|
|
646
|
+
</Text>
|
|
647
|
+
<Text fontSize={14} color={palette.text}>
|
|
648
|
+
$48
|
|
649
|
+
</Text>
|
|
650
|
+
</Horizontal>
|
|
651
|
+
<Horizontal justifyContent="space-between">
|
|
652
|
+
<Text fontSize={14} color={palette.text}>
|
|
653
|
+
Service fee
|
|
654
|
+
</Text>
|
|
655
|
+
<Text fontSize={14} color={palette.text}>
|
|
656
|
+
$165
|
|
657
|
+
</Text>
|
|
658
|
+
</Horizontal>
|
|
659
|
+
</Vertical>
|
|
660
|
+
<Separator />
|
|
661
|
+
<Horizontal justifyContent="space-between">
|
|
662
|
+
<Text fontSize={15} fontWeight="700" color={palette.text}>
|
|
663
|
+
Total before taxes
|
|
664
|
+
</Text>
|
|
665
|
+
<Text fontSize={15} fontWeight="700" color={palette.text}>
|
|
666
|
+
$1,305
|
|
667
|
+
</Text>
|
|
668
|
+
</Horizontal>
|
|
669
|
+
</Vertical>
|
|
670
|
+
</Card.Content>
|
|
671
|
+
</Card>);
|
|
672
|
+
const tierPricingPlans = [
|
|
673
|
+
{
|
|
674
|
+
name: 'Starter',
|
|
675
|
+
tagline: 'For solo makers shipping their first project.',
|
|
676
|
+
price: '$0',
|
|
677
|
+
period: '/ month',
|
|
678
|
+
features: ['1 workspace', 'Up to 3 projects', 'Community support'],
|
|
679
|
+
ctaLabel: 'Get started',
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
name: 'Pro',
|
|
683
|
+
tagline: 'For growing teams that need more room to build.',
|
|
684
|
+
price: '$24',
|
|
685
|
+
period: '/ month',
|
|
686
|
+
features: [
|
|
687
|
+
'Unlimited projects',
|
|
688
|
+
'Advanced analytics',
|
|
689
|
+
'Priority email support',
|
|
690
|
+
'Custom domains',
|
|
691
|
+
],
|
|
692
|
+
ctaLabel: 'Start free trial',
|
|
693
|
+
featured: true,
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: 'Enterprise',
|
|
697
|
+
tagline: 'For organizations with security and scale needs.',
|
|
698
|
+
price: 'Custom',
|
|
699
|
+
period: '',
|
|
700
|
+
features: [
|
|
701
|
+
'SSO & SCIM',
|
|
702
|
+
'Audit logs',
|
|
703
|
+
'Dedicated success manager',
|
|
704
|
+
'99.99% uptime SLA',
|
|
705
|
+
],
|
|
706
|
+
ctaLabel: 'Contact sales',
|
|
707
|
+
},
|
|
708
|
+
];
|
|
709
|
+
const TierPricingCardSample = ({ palette, tier, personality, }) => {
|
|
710
|
+
const density = personalityDensityScale(personality);
|
|
711
|
+
const surface = personalitySurfaceStyle(personality, palette);
|
|
712
|
+
const featuredBg = personalityAccentBackground(personality, palette);
|
|
713
|
+
const featuredShadow = personalityAccentShadow(personality, palette);
|
|
714
|
+
return (<View width="min(100%, 280px)" borderRadius={personality.cardRadius} overflow="hidden" borderWidth={tier.featured ? 0 : 1} borderStyle="solid" style={{
|
|
715
|
+
...(tier.featured
|
|
716
|
+
? { background: featuredBg, boxShadow: featuredShadow }
|
|
717
|
+
: surface),
|
|
718
|
+
borderColor: palette.border,
|
|
719
|
+
color: tier.featured ? palette.onPrimary : palette.text,
|
|
720
|
+
}}>
|
|
721
|
+
<Vertical gap={density.gap} padding={density.padding}>
|
|
722
|
+
<Vertical gap={6}>
|
|
723
|
+
<Horizontal alignItems="center" justifyContent="space-between">
|
|
724
|
+
<Text fontSize={13} color={tier.featured ? palette.onPrimary : palette.text} style={personalityLabelStyle(personality)}>
|
|
725
|
+
{tier.name}
|
|
726
|
+
</Text>
|
|
727
|
+
{tier.featured ? (<View paddingHorizontal={10} paddingVertical={4} borderRadius={personality.badgeRadius} backgroundColor="rgba(255,255,255,0.22)">
|
|
728
|
+
<Horizontal gap={4} alignItems="center">
|
|
729
|
+
<Text fontSize={11} color={palette.onPrimary} style={{ lineHeight: 1 }}>
|
|
730
|
+
{personality.signatureMotif}
|
|
731
|
+
</Text>
|
|
732
|
+
<Text fontSize={10} color={palette.onPrimary} style={personalityLabelStyle(personality)}>
|
|
733
|
+
{personality.voice.includes('mission')
|
|
734
|
+
? 'PRIORITY'
|
|
735
|
+
: 'POPULAR'}
|
|
736
|
+
</Text>
|
|
737
|
+
</Horizontal>
|
|
738
|
+
</View>) : null}
|
|
739
|
+
</Horizontal>
|
|
740
|
+
<Text fontSize={13} lineHeight="18px" color={tier.featured ? 'rgba(255,255,255,0.85)' : palette.muted} style={{ fontStyle: personality.typeStyle }}>
|
|
741
|
+
{tier.tagline}
|
|
742
|
+
</Text>
|
|
743
|
+
</Vertical>
|
|
744
|
+
<Horizontal alignItems="baseline" gap={4}>
|
|
745
|
+
<Text fontSize={density.large + 8} color={tier.featured ? palette.onPrimary : palette.text} style={personalityHeadingStyle(personality)}>
|
|
746
|
+
{tier.price}
|
|
747
|
+
</Text>
|
|
748
|
+
{tier.period ? (<Text fontSize={14} color={tier.featured ? 'rgba(255,255,255,0.85)' : palette.muted} style={{ fontStyle: personality.typeStyle }}>
|
|
749
|
+
{tier.period}
|
|
750
|
+
</Text>) : null}
|
|
751
|
+
</Horizontal>
|
|
752
|
+
<Vertical gap={8}>
|
|
753
|
+
{tier.features.map((feature) => (<Horizontal key={feature} gap={8} alignItems="center">
|
|
754
|
+
<View width={18} height={18} borderRadius={personality.cornerStyle === 'sharp' ? 2 : 9999} backgroundColor={tier.featured ? 'rgba(255,255,255,0.22)' : palette.primary} alignItems="center" justifyContent="center" style={{ display: 'flex', flexShrink: 0 }}>
|
|
755
|
+
<Text fontSize={11} color={palette.onPrimary} style={{
|
|
756
|
+
lineHeight: 1,
|
|
757
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
758
|
+
}}>
|
|
759
|
+
{personality.cornerStyle === 'sharp' ? '+' : '✓'}
|
|
760
|
+
</Text>
|
|
761
|
+
</View>
|
|
762
|
+
<Text fontSize={13} color={tier.featured ? palette.onPrimary : palette.text} style={{
|
|
763
|
+
textTransform: personality.typeCase === 'uppercase' ? 'uppercase' : 'none',
|
|
764
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.04em' : 'normal',
|
|
765
|
+
fontStyle: personality.typeStyle,
|
|
766
|
+
}}>
|
|
767
|
+
{feature}
|
|
768
|
+
</Text>
|
|
769
|
+
</Horizontal>))}
|
|
770
|
+
</Vertical>
|
|
771
|
+
<View alignSelf="stretch" paddingHorizontal={20} paddingVertical={12} borderRadius={personality.pillRadius} alignItems="center" justifyContent="center" style={{
|
|
772
|
+
display: 'flex',
|
|
773
|
+
cursor: 'pointer',
|
|
774
|
+
backgroundColor: tier.featured
|
|
775
|
+
? 'rgba(255,255,255,0.95)'
|
|
776
|
+
: palette.text,
|
|
777
|
+
}}>
|
|
778
|
+
<Text fontSize={14} color={tier.featured ? palette.text : palette.canvas} style={{
|
|
779
|
+
...personalityLabelStyle(personality),
|
|
780
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.08em' : '0.02em',
|
|
781
|
+
}}>
|
|
782
|
+
{tier.ctaLabel}
|
|
783
|
+
</Text>
|
|
784
|
+
</View>
|
|
785
|
+
</Vertical>
|
|
786
|
+
</View>);
|
|
787
|
+
};
|
|
788
|
+
const ProductPricingCardSample = ({ palette, personality, }) => {
|
|
789
|
+
const density = personalityDensityScale(personality);
|
|
790
|
+
const surface = personalitySurfaceStyle(personality, palette);
|
|
791
|
+
const productName = personality.voice.includes('athletic') ||
|
|
792
|
+
personality.voice.includes('motion')
|
|
793
|
+
? 'Aero Runner GT'
|
|
794
|
+
: personality.voice.includes('mission') ||
|
|
795
|
+
personality.voice.includes('futurist')
|
|
796
|
+
? 'Module-04 Insulated Jacket'
|
|
797
|
+
: 'Linen Throw Pillow';
|
|
798
|
+
const productMeta = personality.voice.includes('athletic') ||
|
|
799
|
+
personality.voice.includes('motion')
|
|
800
|
+
? 'Court Black · Mens'
|
|
801
|
+
: personality.voice.includes('mission') ||
|
|
802
|
+
personality.voice.includes('futurist')
|
|
803
|
+
? 'Carbon · Standard fit'
|
|
804
|
+
: 'Stonewashed · Sand';
|
|
805
|
+
return (<View width="min(100%, 320px)" borderRadius={personality.cardRadius} overflow="hidden" borderWidth={1} borderStyle="solid" style={{ ...surface, borderColor: palette.border, color: palette.text }}>
|
|
806
|
+
<Vertical gap={density.gap} padding={density.padding}>
|
|
807
|
+
<View height={120} borderRadius={personality.cardRadius} style={{
|
|
808
|
+
background: personality.accentTreatment === 'gradient'
|
|
809
|
+
? `linear-gradient(135deg, ${palette.primary}33 0%, ${palette.secondary || palette.primary}33 100%)`
|
|
810
|
+
: palette.appearance === 'dark'
|
|
811
|
+
? 'rgba(255,255,255,0.06)'
|
|
812
|
+
: 'rgba(0,0,0,0.04)',
|
|
813
|
+
}}/>
|
|
814
|
+
<Vertical gap={4}>
|
|
815
|
+
<Horizontal alignItems="center" justifyContent="space-between">
|
|
816
|
+
<Text fontSize={15} color={palette.text} style={personalityHeadingStyle(personality)}>
|
|
817
|
+
{productName}
|
|
818
|
+
</Text>
|
|
819
|
+
<View paddingHorizontal={10} paddingVertical={3} borderRadius={personality.badgeRadius} style={{
|
|
820
|
+
backgroundColor: palette.appearance === 'dark'
|
|
821
|
+
? 'rgba(255,255,255,0.08)'
|
|
822
|
+
: 'rgba(0,0,0,0.06)',
|
|
823
|
+
}}>
|
|
824
|
+
<Text fontSize={10} color={palette.text} style={personalityLabelStyle(personality)}>
|
|
825
|
+
IN STOCK
|
|
826
|
+
</Text>
|
|
827
|
+
</View>
|
|
828
|
+
</Horizontal>
|
|
829
|
+
<Text fontSize={12} color={palette.muted} style={{
|
|
830
|
+
fontStyle: personality.typeStyle,
|
|
831
|
+
textTransform: personality.typeCase === 'uppercase' ? 'uppercase' : 'none',
|
|
832
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.04em' : 'normal',
|
|
833
|
+
}}>
|
|
834
|
+
{productMeta}
|
|
835
|
+
</Text>
|
|
836
|
+
</Vertical>
|
|
837
|
+
<Horizontal alignItems="baseline" justifyContent="space-between">
|
|
838
|
+
<Horizontal alignItems="baseline" gap={6}>
|
|
839
|
+
<Text fontSize={24} color={palette.text} style={personalityHeadingStyle(personality)}>
|
|
840
|
+
$42
|
|
841
|
+
</Text>
|
|
842
|
+
<Text fontSize={13} color={palette.muted} style={{ textDecoration: 'line-through' }}>
|
|
843
|
+
$56
|
|
844
|
+
</Text>
|
|
845
|
+
</Horizontal>
|
|
846
|
+
<Text fontSize={12} color={palette.success || palette.muted} style={personalityLabelStyle(personality)}>
|
|
847
|
+
FREE SHIPPING
|
|
848
|
+
</Text>
|
|
849
|
+
</Horizontal>
|
|
850
|
+
<View alignSelf="stretch" paddingHorizontal={20} paddingVertical={12} borderRadius={personality.pillRadius} alignItems="center" justifyContent="center" style={{
|
|
851
|
+
display: 'flex',
|
|
852
|
+
cursor: 'pointer',
|
|
853
|
+
background: personalityAccentBackground(personality, palette),
|
|
854
|
+
boxShadow: personalityAccentShadow(personality, palette),
|
|
855
|
+
}}>
|
|
856
|
+
<Text fontSize={14} color={palette.onPrimary} style={{
|
|
857
|
+
...personalityLabelStyle(personality),
|
|
858
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.08em' : '0.02em',
|
|
859
|
+
}}>
|
|
860
|
+
Add to cart
|
|
861
|
+
</Text>
|
|
862
|
+
</View>
|
|
863
|
+
</Vertical>
|
|
864
|
+
</View>);
|
|
865
|
+
};
|
|
866
|
+
const FeaturedPricingCardSample = ({ palette, personality, }) => {
|
|
867
|
+
const density = personalityDensityScale(personality);
|
|
868
|
+
const surface = personalitySurfaceStyle(personality, palette);
|
|
869
|
+
const motif = personality.signatureMotif;
|
|
870
|
+
const favoriteIcon = personality.voice.includes('athletic')
|
|
871
|
+
? '★'
|
|
872
|
+
: personality.voice.includes('mission') ||
|
|
873
|
+
personality.voice.includes('futurist')
|
|
874
|
+
? '◉'
|
|
875
|
+
: '♥';
|
|
876
|
+
const productName = personality.voice.includes('athletic')
|
|
877
|
+
? 'Velocity AirFlow 7'
|
|
878
|
+
: personality.voice.includes('mission') ||
|
|
879
|
+
personality.voice.includes('futurist')
|
|
880
|
+
? 'Sentinel Pro Headset'
|
|
881
|
+
: personality.voice.includes('refined')
|
|
882
|
+
? 'Pulse Studio Monitor'
|
|
883
|
+
: 'Aurora Wireless Headphones';
|
|
884
|
+
const productMeta = personality.voice.includes('athletic')
|
|
885
|
+
? 'Lightweight knit · 280g'
|
|
886
|
+
: personality.voice.includes('mission') ||
|
|
887
|
+
personality.voice.includes('futurist')
|
|
888
|
+
? 'Mil-spec audio · 60h endurance'
|
|
889
|
+
: 'Active noise cancelling · 40h battery';
|
|
890
|
+
const bestSellerLabel = personality.voice.includes('mission')
|
|
891
|
+
? 'MISSION PICK'
|
|
892
|
+
: personality.voice.includes('athletic')
|
|
893
|
+
? 'TEAM PICK'
|
|
894
|
+
: personality.voice.includes('futurist')
|
|
895
|
+
? 'SIGNATURE'
|
|
896
|
+
: 'BEST SELLER';
|
|
897
|
+
return (<View position="relative" width="min(100%, 320px)">
|
|
898
|
+
<View position="absolute" top={-10} left={16} paddingHorizontal={12} paddingVertical={6} borderRadius={personality.badgeRadius} zIndex={2} style={{
|
|
899
|
+
background: personalityAccentBackground(personality, palette),
|
|
900
|
+
boxShadow: personalityAccentShadow(personality, palette) ||
|
|
901
|
+
(palette.appearance === 'dark'
|
|
902
|
+
? '0 6px 14px rgba(0,0,0,0.5)'
|
|
903
|
+
: '0 6px 14px rgba(0,0,0,0.12)'),
|
|
904
|
+
}}>
|
|
905
|
+
<Horizontal gap={6} alignItems="center">
|
|
906
|
+
<Text fontSize={11} color={palette.onPrimary} style={{
|
|
907
|
+
lineHeight: 1,
|
|
908
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
909
|
+
}}>
|
|
910
|
+
{motif}
|
|
911
|
+
</Text>
|
|
912
|
+
<Text fontSize={10} color={palette.onPrimary} style={personalityLabelStyle(personality)}>
|
|
913
|
+
{bestSellerLabel}
|
|
914
|
+
</Text>
|
|
915
|
+
</Horizontal>
|
|
916
|
+
</View>
|
|
917
|
+
<View position="absolute" top={12} right={12} width={36} height={36} borderRadius={personality.cornerStyle === 'sharp' ? 4 : 9999} borderWidth={1} borderStyle="solid" zIndex={2} alignItems="center" justifyContent="center" style={{
|
|
918
|
+
display: 'flex',
|
|
919
|
+
cursor: 'pointer',
|
|
920
|
+
backgroundColor: palette.appearance === 'dark'
|
|
921
|
+
? 'rgba(0,0,0,0.45)'
|
|
922
|
+
: 'rgba(255,255,255,0.92)',
|
|
923
|
+
borderColor: palette.border,
|
|
924
|
+
backdropFilter: 'blur(6px)',
|
|
925
|
+
}}>
|
|
926
|
+
<Text fontSize={16} color={favoriteIcon === '♥'
|
|
927
|
+
? palette.error || palette.primary
|
|
928
|
+
: palette.primary} style={{ lineHeight: 1 }}>
|
|
929
|
+
{favoriteIcon}
|
|
930
|
+
</Text>
|
|
931
|
+
</View>
|
|
932
|
+
<View width="100%" borderRadius={personality.cardRadius} overflow="hidden" borderWidth={1} borderStyle="solid" style={{ ...surface, borderColor: palette.border, color: palette.text }}>
|
|
933
|
+
<Vertical gap={density.gap} padding={density.padding}>
|
|
934
|
+
<View height={140} borderRadius={personality.cardRadius} style={{
|
|
935
|
+
background: personality.accentTreatment === 'gradient'
|
|
936
|
+
? `linear-gradient(135deg, ${palette.primary}33 0%, ${palette.secondary || palette.primary}33 100%)`
|
|
937
|
+
: palette.appearance === 'dark'
|
|
938
|
+
? 'rgba(255,255,255,0.06)'
|
|
939
|
+
: 'rgba(0,0,0,0.04)',
|
|
940
|
+
}}/>
|
|
941
|
+
<Vertical gap={6}>
|
|
942
|
+
<Horizontal gap={6} alignItems="center">
|
|
943
|
+
<Text fontSize={13} color={palette.warning || palette.primary} style={{ lineHeight: 1 }}>
|
|
944
|
+
★★★★★
|
|
945
|
+
</Text>
|
|
946
|
+
<Text fontSize={12} color={palette.muted}>
|
|
947
|
+
4.9 · 1,284 reviews
|
|
948
|
+
</Text>
|
|
949
|
+
</Horizontal>
|
|
950
|
+
<Text fontSize={18} color={palette.text} style={personalityHeadingStyle(personality)}>
|
|
951
|
+
{productName}
|
|
952
|
+
</Text>
|
|
953
|
+
<Text fontSize={12} color={palette.muted} style={{
|
|
954
|
+
fontStyle: personality.typeStyle,
|
|
955
|
+
textTransform: personality.typeCase === 'uppercase' ? 'uppercase' : 'none',
|
|
956
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.04em' : 'normal',
|
|
957
|
+
}}>
|
|
958
|
+
{productMeta}
|
|
959
|
+
</Text>
|
|
960
|
+
</Vertical>
|
|
961
|
+
<Horizontal alignItems="baseline" justifyContent="space-between">
|
|
962
|
+
<Horizontal alignItems="baseline" gap={6}>
|
|
963
|
+
<Text fontSize={26} color={palette.text} style={personalityHeadingStyle(personality)}>
|
|
964
|
+
$189
|
|
965
|
+
</Text>
|
|
966
|
+
<Text fontSize={13} color={palette.muted} style={{ textDecoration: 'line-through' }}>
|
|
967
|
+
$249
|
|
968
|
+
</Text>
|
|
969
|
+
</Horizontal>
|
|
970
|
+
<View paddingHorizontal={8} paddingVertical={3} borderRadius={personality.badgeRadius} style={{
|
|
971
|
+
backgroundColor: palette.appearance === 'dark'
|
|
972
|
+
? 'rgba(255,255,255,0.08)'
|
|
973
|
+
: 'rgba(0,0,0,0.06)',
|
|
974
|
+
}}>
|
|
975
|
+
<Text fontSize={10} color={palette.text} style={personalityLabelStyle(personality)}>
|
|
976
|
+
–24%
|
|
977
|
+
</Text>
|
|
978
|
+
</View>
|
|
979
|
+
</Horizontal>
|
|
980
|
+
<Horizontal gap={8}>
|
|
981
|
+
<View flex={1} paddingHorizontal={16} paddingVertical={12} borderRadius={personality.pillRadius} alignItems="center" justifyContent="center" style={{
|
|
982
|
+
display: 'flex',
|
|
983
|
+
cursor: 'pointer',
|
|
984
|
+
background: personalityAccentBackground(personality, palette),
|
|
985
|
+
boxShadow: personalityAccentShadow(personality, palette),
|
|
986
|
+
}}>
|
|
987
|
+
<Text fontSize={13} color={palette.onPrimary} style={{
|
|
988
|
+
...personalityLabelStyle(personality),
|
|
989
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.08em' : '0.02em',
|
|
990
|
+
}}>
|
|
991
|
+
Buy now
|
|
992
|
+
</Text>
|
|
993
|
+
</View>
|
|
994
|
+
<View paddingHorizontal={16} paddingVertical={12} borderRadius={personality.pillRadius} borderWidth={1} borderStyle="solid" alignItems="center" justifyContent="center" style={{
|
|
995
|
+
display: 'flex',
|
|
996
|
+
cursor: 'pointer',
|
|
997
|
+
borderColor: palette.border,
|
|
998
|
+
}}>
|
|
999
|
+
<Text fontSize={13} color={palette.text} style={{
|
|
1000
|
+
...personalityLabelStyle(personality),
|
|
1001
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.08em' : '0.02em',
|
|
1002
|
+
}}>
|
|
1003
|
+
Add to cart
|
|
1004
|
+
</Text>
|
|
1005
|
+
</View>
|
|
1006
|
+
</Horizontal>
|
|
1007
|
+
</Vertical>
|
|
1008
|
+
</View>
|
|
1009
|
+
</View>);
|
|
1010
|
+
};
|
|
1011
|
+
const colorBlockContent = [
|
|
1012
|
+
{
|
|
1013
|
+
slug: 'PRIMARY-TINT',
|
|
1014
|
+
source: 'primary',
|
|
1015
|
+
intensity: 'tint',
|
|
1016
|
+
heading: 'Bring everyone together with systems that scale',
|
|
1017
|
+
body: 'Signature primary ground for systems, FAQ, and the contact form.',
|
|
1018
|
+
cta: 'Get started',
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
slug: 'SECONDARY-TINT',
|
|
1022
|
+
source: 'secondary',
|
|
1023
|
+
intensity: 'tint',
|
|
1024
|
+
heading: 'A faster, more efficient way of working',
|
|
1025
|
+
body: 'Secondary ground for hero moments and supporting narrative.',
|
|
1026
|
+
cta: 'Explore',
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
slug: 'WARNING-TINT',
|
|
1030
|
+
source: 'warning',
|
|
1031
|
+
intensity: 'tint',
|
|
1032
|
+
heading: 'Designed for the way ideas actually move',
|
|
1033
|
+
body: 'Warm tint for product storytelling and brand moments.',
|
|
1034
|
+
cta: 'See the story',
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
slug: 'SUCCESS-TINT',
|
|
1038
|
+
source: 'success',
|
|
1039
|
+
intensity: 'tint',
|
|
1040
|
+
heading: 'Ship with confidence, every single release',
|
|
1041
|
+
body: 'Cool tint for changelogs, releases, and reliability notes.',
|
|
1042
|
+
cta: 'Read changelog',
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
slug: 'ERROR-TINT',
|
|
1046
|
+
source: 'error',
|
|
1047
|
+
intensity: 'tint',
|
|
1048
|
+
heading: 'Built for teams who care about the details',
|
|
1049
|
+
body: 'Saturated tint for community stories and testimonials.',
|
|
1050
|
+
cta: 'Meet the makers',
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
slug: 'INK-INVERTED',
|
|
1054
|
+
source: 'ink',
|
|
1055
|
+
intensity: 'inverted',
|
|
1056
|
+
heading: 'Go deeper. Go further. Go all-in.',
|
|
1057
|
+
body: 'Inverted ground for premium tiers and developer surfaces.',
|
|
1058
|
+
cta: 'Open the docs',
|
|
1059
|
+
},
|
|
1060
|
+
];
|
|
1061
|
+
const hexToRgba = (hex, alpha) => {
|
|
1062
|
+
const normalized = hex.replace('#', '').padEnd(6, '0').slice(0, 6);
|
|
1063
|
+
const r = parseInt(normalized.slice(0, 2), 16);
|
|
1064
|
+
const g = parseInt(normalized.slice(2, 4), 16);
|
|
1065
|
+
const b = parseInt(normalized.slice(4, 6), 16);
|
|
1066
|
+
if ([r, g, b].some(Number.isNaN))
|
|
1067
|
+
return hex;
|
|
1068
|
+
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
1069
|
+
};
|
|
1070
|
+
const isHexColor = (value) => typeof value === 'string' && /^#([0-9a-f]{3}){1,2}$/i.test(value);
|
|
1071
|
+
const tintColor = (color, alpha, appearance) => {
|
|
1072
|
+
if (isHexColor(color))
|
|
1073
|
+
return hexToRgba(color, alpha);
|
|
1074
|
+
if (color.startsWith('rgba') || color.startsWith('rgb')) {
|
|
1075
|
+
return color.replace(/rgba?\(([^)]+)\)/, (_, inside) => {
|
|
1076
|
+
const parts = inside
|
|
1077
|
+
.split(',')
|
|
1078
|
+
.slice(0, 3)
|
|
1079
|
+
.map((s) => s.trim());
|
|
1080
|
+
return `rgba(${parts.join(', ')}, ${alpha})`;
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
return appearance === 'dark'
|
|
1084
|
+
? `rgba(255,255,255,${alpha})`
|
|
1085
|
+
: `rgba(0,0,0,${alpha})`;
|
|
1086
|
+
};
|
|
1087
|
+
const ColorBlockContentCardSample = ({ block, palette, personality, }) => {
|
|
1088
|
+
const density = personalityDensityScale(personality);
|
|
1089
|
+
let background;
|
|
1090
|
+
let ink;
|
|
1091
|
+
if (block.source === 'ink') {
|
|
1092
|
+
// Inverted card: always flips the canvas — dark card with light ink on light
|
|
1093
|
+
// brands, light card with dark ink on dark brands.
|
|
1094
|
+
background = palette.text;
|
|
1095
|
+
ink = palette.canvas;
|
|
1096
|
+
}
|
|
1097
|
+
else {
|
|
1098
|
+
const sourceHex = palette[block.source] || palette.primary;
|
|
1099
|
+
if (block.intensity === 'solid') {
|
|
1100
|
+
background = sourceHex;
|
|
1101
|
+
ink = palette.onPrimary;
|
|
1102
|
+
}
|
|
1103
|
+
else {
|
|
1104
|
+
background = tintColor(sourceHex, 0.32, palette.appearance);
|
|
1105
|
+
ink = palette.appearance === 'dark' ? palette.text : palette.text;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
if (personality.accentTreatment === 'gradient' &&
|
|
1109
|
+
block.intensity === 'tint') {
|
|
1110
|
+
const a = palette[block.source];
|
|
1111
|
+
const b = palette.secondary;
|
|
1112
|
+
if (isHexColor(a) && isHexColor(b)) {
|
|
1113
|
+
background = `linear-gradient(135deg, ${hexToRgba(a, 0.32)} 0%, ${hexToRgba(b, 0.32)} 100%)`;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
if (personality.accentTreatment === 'stripe' && block.intensity === 'tint') {
|
|
1117
|
+
const a = tintColor(palette[block.source], 0.32, palette.appearance);
|
|
1118
|
+
const b = tintColor(palette.secondary, 0.18, palette.appearance);
|
|
1119
|
+
background = `repeating-linear-gradient(135deg, ${a} 0 18px, ${b} 18px 36px)`;
|
|
1120
|
+
}
|
|
1121
|
+
const inkSoft = tintColor(ink, 0.72, palette.appearance);
|
|
1122
|
+
const inkMuted = tintColor(ink, 0.55, palette.appearance);
|
|
1123
|
+
// Button uses the card ink color as its background, and the card background's
|
|
1124
|
+
// counterpart as its text — guarantees contrast on every brand.
|
|
1125
|
+
const buttonBg = ink;
|
|
1126
|
+
const buttonInk = ink === palette.canvas ? palette.text : palette.canvas;
|
|
1127
|
+
return (<View width="min(100%, 460px)" borderRadius={personality.cardRadius * 2} padding={density.large} style={{ background }}>
|
|
1128
|
+
<Vertical gap={density.gap + 6}>
|
|
1129
|
+
<Text fontSize={11} color={inkMuted} style={{
|
|
1130
|
+
...personalityLabelStyle(personality),
|
|
1131
|
+
letterSpacing: '0.12em',
|
|
1132
|
+
fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',
|
|
1133
|
+
}}>
|
|
1134
|
+
{personality.signatureMotif} {block.slug}
|
|
1135
|
+
</Text>
|
|
1136
|
+
<Vertical gap={14}>
|
|
1137
|
+
<Text fontSize={32} lineHeight="36px" color={ink} style={personalityHeadingStyle(personality)}>
|
|
1138
|
+
{block.heading}
|
|
1139
|
+
</Text>
|
|
1140
|
+
<Text fontSize={16} lineHeight="22px" color={inkSoft} style={{ fontStyle: personality.typeStyle }}>
|
|
1141
|
+
{block.body}
|
|
1142
|
+
</Text>
|
|
1143
|
+
</Vertical>
|
|
1144
|
+
<View alignSelf="flex-start" paddingHorizontal={28} paddingVertical={14} borderRadius={personality.pillRadius} style={{ backgroundColor: buttonBg, cursor: 'pointer' }}>
|
|
1145
|
+
<Text fontSize={15} color={buttonInk} style={{
|
|
1146
|
+
...personalityLabelStyle(personality),
|
|
1147
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.08em' : '0.01em',
|
|
1148
|
+
textTransform: personality.typeCase === 'uppercase' ? 'uppercase' : 'none',
|
|
1149
|
+
}}>
|
|
1150
|
+
{block.cta}
|
|
1151
|
+
</Text>
|
|
1152
|
+
</View>
|
|
1153
|
+
</Vertical>
|
|
1154
|
+
</View>);
|
|
1155
|
+
};
|
|
1156
|
+
const contentArticles = [
|
|
1157
|
+
{
|
|
1158
|
+
id: 'design-tokens',
|
|
1159
|
+
badge: 'NEW',
|
|
1160
|
+
badgeTone: 'success',
|
|
1161
|
+
favorite: '♥',
|
|
1162
|
+
category: 'Design systems',
|
|
1163
|
+
title: 'Design tokens that survive a redesign',
|
|
1164
|
+
excerpt: 'Why semantic naming beats raw values — and how to migrate a token set without breaking every consumer.',
|
|
1165
|
+
author: 'Léa Martin',
|
|
1166
|
+
meta: '6 min read · Mar 10',
|
|
1167
|
+
imageTone: 'warm',
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
id: 'shipping-faster',
|
|
1171
|
+
badge: 'FEATURED',
|
|
1172
|
+
badgeTone: 'primary',
|
|
1173
|
+
favorite: '★',
|
|
1174
|
+
category: 'Engineering',
|
|
1175
|
+
title: 'Shipping faster without skipping review',
|
|
1176
|
+
excerpt: 'Three async patterns we use to keep PR cycle time under 24h while still catching the regressions that matter.',
|
|
1177
|
+
author: 'Jordan Reyes',
|
|
1178
|
+
meta: '9 min read · Mar 04',
|
|
1179
|
+
imageTone: 'cool',
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
id: 'a11y-audit',
|
|
1183
|
+
badge: 'TRENDING',
|
|
1184
|
+
badgeTone: 'warning',
|
|
1185
|
+
favorite: '⛉',
|
|
1186
|
+
category: 'Accessibility',
|
|
1187
|
+
title: 'The accessibility audit nobody asked for',
|
|
1188
|
+
excerpt: 'A walkthrough of the 12 issues we found on our own marketing site — and the four-week fix plan that followed.',
|
|
1189
|
+
author: 'Ines Okafor',
|
|
1190
|
+
meta: '12 min read · Feb 27',
|
|
1191
|
+
imageTone: 'mono',
|
|
1192
|
+
},
|
|
1193
|
+
];
|
|
1194
|
+
const ContentCardWithBadgeSample = ({ palette, article, personality, }) => {
|
|
1195
|
+
const density = personalityDensityScale(personality);
|
|
1196
|
+
const surface = personalitySurfaceStyle(personality, palette);
|
|
1197
|
+
const accent = palette[article.badgeTone] || palette.primary;
|
|
1198
|
+
const secondary = palette.secondary || palette.primary;
|
|
1199
|
+
const imageBg = personality.accentTreatment === 'gradient'
|
|
1200
|
+
? `linear-gradient(135deg, ${tintColor(accent, 0.55, palette.appearance)} 0%, ${tintColor(secondary, 0.55, palette.appearance)} 100%)`
|
|
1201
|
+
: personality.accentTreatment === 'stripe'
|
|
1202
|
+
? `repeating-linear-gradient(45deg, ${tintColor(accent, 0.45, palette.appearance)} 0 16px, ${tintColor(secondary, 0.25, palette.appearance)} 16px 32px)`
|
|
1203
|
+
: personality.accentTreatment === 'halftone'
|
|
1204
|
+
? `radial-gradient(circle at 30% 30%, ${tintColor(accent, 0.55, palette.appearance)} 0%, ${tintColor(secondary, 0.35, palette.appearance)} 70%)`
|
|
1205
|
+
: personality.accentTreatment === 'glow'
|
|
1206
|
+
? `radial-gradient(circle at 50% 60%, ${tintColor(accent, 0.45, palette.appearance)} 0%, ${palette.appearance === 'dark' ? '#050505' : '#0a0a0a'} 100%)`
|
|
1207
|
+
: tintColor(accent, 0.32, palette.appearance);
|
|
1208
|
+
const favoriteSymbol = personality.voice.includes('mission') ||
|
|
1209
|
+
personality.voice.includes('futurist')
|
|
1210
|
+
? '◉'
|
|
1211
|
+
: article.favorite;
|
|
1212
|
+
const favoriteColor = favoriteSymbol === '♥'
|
|
1213
|
+
? palette.error || palette.primary
|
|
1214
|
+
: favoriteSymbol === '★'
|
|
1215
|
+
? palette.warning || palette.primary
|
|
1216
|
+
: palette.primary;
|
|
1217
|
+
return (<View width="min(100%, 320px)" borderRadius={personality.cardRadius} overflow="hidden" borderWidth={1} borderStyle="solid" style={{ ...surface, borderColor: palette.border, color: palette.text }}>
|
|
1218
|
+
<Vertical gap={density.gap} padding={density.padding}>
|
|
1219
|
+
<View position="relative" height={160} borderRadius={personality.cardRadius} overflow="hidden" style={{ background: imageBg }}>
|
|
1220
|
+
<View position="absolute" top={12} left={12} paddingHorizontal={10} paddingVertical={4} borderRadius={personality.badgeRadius} style={{
|
|
1221
|
+
background: personalityAccentBackground(personality, {
|
|
1222
|
+
...palette,
|
|
1223
|
+
primary: accent,
|
|
1224
|
+
}),
|
|
1225
|
+
boxShadow: personalityAccentShadow(personality, palette),
|
|
1226
|
+
}}>
|
|
1227
|
+
<Horizontal gap={4} alignItems="center">
|
|
1228
|
+
<Text fontSize={10} color={palette.onPrimary} style={{
|
|
1229
|
+
lineHeight: 1,
|
|
1230
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
1231
|
+
}}>
|
|
1232
|
+
{personality.signatureMotif}
|
|
1233
|
+
</Text>
|
|
1234
|
+
<Text fontSize={10} color={palette.onPrimary} style={personalityLabelStyle(personality)}>
|
|
1235
|
+
{article.badge}
|
|
1236
|
+
</Text>
|
|
1237
|
+
</Horizontal>
|
|
1238
|
+
</View>
|
|
1239
|
+
<View position="absolute" top={10} right={10} width={36} height={36} borderRadius={personality.cornerStyle === 'sharp' ? 4 : 9999} borderWidth={1} borderStyle="solid" alignItems="center" justifyContent="center" style={{
|
|
1240
|
+
display: 'flex',
|
|
1241
|
+
cursor: 'pointer',
|
|
1242
|
+
backgroundColor: palette.appearance === 'dark'
|
|
1243
|
+
? 'rgba(0,0,0,0.45)'
|
|
1244
|
+
: 'rgba(255,255,255,0.92)',
|
|
1245
|
+
borderColor: palette.border,
|
|
1246
|
+
backdropFilter: 'blur(6px)',
|
|
1247
|
+
}}>
|
|
1248
|
+
<Text fontSize={16} color={favoriteColor} style={{ lineHeight: 1 }}>
|
|
1249
|
+
{favoriteSymbol}
|
|
1250
|
+
</Text>
|
|
1251
|
+
</View>
|
|
1252
|
+
</View>
|
|
1253
|
+
<Vertical gap={8}>
|
|
1254
|
+
<Text fontSize={11} color={palette.muted} style={personalityLabelStyle(personality)}>
|
|
1255
|
+
{article.category}
|
|
1256
|
+
</Text>
|
|
1257
|
+
<Text fontSize={18} lineHeight="24px" color={palette.text} style={personalityHeadingStyle(personality)}>
|
|
1258
|
+
{article.title}
|
|
1259
|
+
</Text>
|
|
1260
|
+
<Text fontSize={13} lineHeight="18px" color={palette.muted} style={{ fontStyle: personality.typeStyle }}>
|
|
1261
|
+
{article.excerpt}
|
|
1262
|
+
</Text>
|
|
1263
|
+
</Vertical>
|
|
1264
|
+
<Horizontal gap={10} alignItems="center">
|
|
1265
|
+
<View width={28} height={28} borderRadius={personality.cornerStyle === 'sharp' ? 4 : 9999} style={{
|
|
1266
|
+
backgroundColor: palette.appearance === 'dark'
|
|
1267
|
+
? 'rgba(255,255,255,0.12)'
|
|
1268
|
+
: 'rgba(0,0,0,0.08)',
|
|
1269
|
+
}}/>
|
|
1270
|
+
<Vertical gap={0}>
|
|
1271
|
+
<Text fontSize={12} color={palette.text} style={{
|
|
1272
|
+
fontWeight: personalityFontWeight(personality, 'normal'),
|
|
1273
|
+
fontStyle: personality.typeStyle,
|
|
1274
|
+
}}>
|
|
1275
|
+
{article.author}
|
|
1276
|
+
</Text>
|
|
1277
|
+
<Text fontSize={11} color={palette.muted}>
|
|
1278
|
+
{article.meta}
|
|
1279
|
+
</Text>
|
|
1280
|
+
</Vertical>
|
|
1281
|
+
</Horizontal>
|
|
1282
|
+
</Vertical>
|
|
1283
|
+
</View>);
|
|
1284
|
+
};
|
|
1285
|
+
const BrandSnapshotSample = ({ palette, personality, config, }) => {
|
|
1286
|
+
const motif = personality.signatureMotif;
|
|
1287
|
+
const accent = palette.primary;
|
|
1288
|
+
const accentBg = personalityAccentBackground(personality, palette);
|
|
1289
|
+
const accentShadow = personalityAccentShadow(personality, palette);
|
|
1290
|
+
const brandFont = config.tokens?.typography?.fontFamily ||
|
|
1291
|
+
config.tokens?.rawCssVars?.display ||
|
|
1292
|
+
'inherit';
|
|
1293
|
+
const heroTagline = personality.voice.includes('mission')
|
|
1294
|
+
? 'MAKING LIFE MULTIPLANETARY'
|
|
1295
|
+
: personality.voice.includes('athletic')
|
|
1296
|
+
? 'JUST DO IT'
|
|
1297
|
+
: personality.voice.includes('refined')
|
|
1298
|
+
? 'A new standard in payments'
|
|
1299
|
+
: personality.voice.includes('speed')
|
|
1300
|
+
? 'Built for the makers'
|
|
1301
|
+
: personality.voice.includes('rhythmic')
|
|
1302
|
+
? 'Music for everyone'
|
|
1303
|
+
: personality.voice.includes('thoughtful')
|
|
1304
|
+
? 'The connected workspace'
|
|
1305
|
+
: personality.voice.includes('warm')
|
|
1306
|
+
? 'Belong anywhere'
|
|
1307
|
+
: personality.voice.includes('minimal')
|
|
1308
|
+
? 'Think different'
|
|
1309
|
+
: personality.voice.includes('commerce')
|
|
1310
|
+
? 'The platform commerce is built on'
|
|
1311
|
+
: personality.voice.includes('bold-fintech')
|
|
1312
|
+
? 'Money for the next generation'
|
|
1313
|
+
: personality.voice.includes('trustworthy')
|
|
1314
|
+
? 'The future of money'
|
|
1315
|
+
: personality.voice.includes('playful')
|
|
1316
|
+
? 'Nothing great is made alone'
|
|
1317
|
+
: personality.voice.includes('motion')
|
|
1318
|
+
? 'Get there'
|
|
1319
|
+
: personality.voice.includes('deploy')
|
|
1320
|
+
? 'Develop. Preview. Ship.'
|
|
1321
|
+
: personality.voice.includes('futurist')
|
|
1322
|
+
? 'Accelerating the world to sustainable energy'
|
|
1323
|
+
: `${config.metadata.label}`;
|
|
1324
|
+
const ctaPrimary = personality.typeCase === 'uppercase' ? 'EXPLORE' : 'Get started';
|
|
1325
|
+
const ctaSecondary = personality.typeCase === 'uppercase' ? 'LEARN MORE' : 'Learn more';
|
|
1326
|
+
return (<View width="100%" borderRadius={personality.cardRadius * 2} padding={personality.density === 'spacious'
|
|
1327
|
+
? 56
|
|
1328
|
+
: personality.density === 'tight'
|
|
1329
|
+
? 28
|
|
1330
|
+
: 40} style={{
|
|
1331
|
+
backgroundColor: palette.canvas,
|
|
1332
|
+
color: palette.text,
|
|
1333
|
+
fontFamily: brandFont,
|
|
1334
|
+
position: 'relative',
|
|
1335
|
+
overflow: 'hidden',
|
|
1336
|
+
}}>
|
|
1337
|
+
{personality.accentTreatment === 'glow' && (<View position="absolute" top={-120} right={-80} width={360} height={360} borderRadius={9999} style={{
|
|
1338
|
+
background: `radial-gradient(circle, ${accent}40 0%, transparent 70%)`,
|
|
1339
|
+
pointerEvents: 'none',
|
|
1340
|
+
}}/>)}
|
|
1341
|
+
{personality.accentTreatment === 'halftone' && (<View position="absolute" top={0} right={0} width={300} height={300} style={{
|
|
1342
|
+
background: `radial-gradient(circle at 70% 30%, ${accent}30 0%, transparent 60%)`,
|
|
1343
|
+
pointerEvents: 'none',
|
|
1344
|
+
}}/>)}
|
|
1345
|
+
<Vertical gap={24} style={{ position: 'relative' }}>
|
|
1346
|
+
<Horizontal gap={10} alignItems="center">
|
|
1347
|
+
<View width={32} height={32} borderRadius={personality.cornerStyle === 'pill'
|
|
1348
|
+
? 9999
|
|
1349
|
+
: personality.cornerStyle === 'sharp'
|
|
1350
|
+
? 0
|
|
1351
|
+
: 8} alignItems="center" justifyContent="center" style={{
|
|
1352
|
+
display: 'flex',
|
|
1353
|
+
background: accentBg,
|
|
1354
|
+
boxShadow: accentShadow,
|
|
1355
|
+
}}>
|
|
1356
|
+
<Text fontSize={16} color={palette.onPrimary} style={{
|
|
1357
|
+
lineHeight: 1,
|
|
1358
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
1359
|
+
}}>
|
|
1360
|
+
{motif}
|
|
1361
|
+
</Text>
|
|
1362
|
+
</View>
|
|
1363
|
+
<Text fontSize={13} color={palette.muted} style={{
|
|
1364
|
+
...personalityLabelStyle(personality),
|
|
1365
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.18em' : '0.06em',
|
|
1366
|
+
}}>
|
|
1367
|
+
{config.metadata.label}
|
|
1368
|
+
</Text>
|
|
1369
|
+
</Horizontal>
|
|
1370
|
+
<Text fontSize={personality.density === 'spacious'
|
|
1371
|
+
? 56
|
|
1372
|
+
: personality.density === 'tight'
|
|
1373
|
+
? 40
|
|
1374
|
+
: 48} lineHeight={personality.density === 'spacious'
|
|
1375
|
+
? '60px'
|
|
1376
|
+
: personality.density === 'tight'
|
|
1377
|
+
? '44px'
|
|
1378
|
+
: '52px'} color={palette.text} style={{
|
|
1379
|
+
...personalityHeadingStyle(personality),
|
|
1380
|
+
letterSpacing: personality.typeCase === 'uppercase'
|
|
1381
|
+
? '0.06em'
|
|
1382
|
+
: personality.letterSpacing,
|
|
1383
|
+
maxWidth: 580,
|
|
1384
|
+
fontFamily: brandFont,
|
|
1385
|
+
}}>
|
|
1386
|
+
{heroTagline}
|
|
1387
|
+
</Text>
|
|
1388
|
+
<Horizontal gap={12} flexWrap="wrap" alignItems="center">
|
|
1389
|
+
<View paddingHorizontal={personality.density === 'spacious' ? 32 : 24} paddingVertical={personality.density === 'spacious' ? 16 : 14} borderRadius={personality.pillRadius} style={{
|
|
1390
|
+
display: 'flex',
|
|
1391
|
+
cursor: 'pointer',
|
|
1392
|
+
background: accentBg,
|
|
1393
|
+
boxShadow: accentShadow,
|
|
1394
|
+
}}>
|
|
1395
|
+
<Text fontSize={15} color={palette.onPrimary} style={{
|
|
1396
|
+
...personalityLabelStyle(personality),
|
|
1397
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.14em' : '0.02em',
|
|
1398
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
1399
|
+
fontFamily: brandFont,
|
|
1400
|
+
}}>
|
|
1401
|
+
{ctaPrimary}
|
|
1402
|
+
</Text>
|
|
1403
|
+
</View>
|
|
1404
|
+
<View paddingHorizontal={24} paddingVertical={14} borderRadius={personality.pillRadius} borderWidth={1} borderStyle="solid" style={{
|
|
1405
|
+
display: 'flex',
|
|
1406
|
+
cursor: 'pointer',
|
|
1407
|
+
borderColor: palette.text,
|
|
1408
|
+
}}>
|
|
1409
|
+
<Text fontSize={15} color={palette.text} style={{
|
|
1410
|
+
...personalityLabelStyle(personality),
|
|
1411
|
+
letterSpacing: personality.typeCase === 'uppercase' ? '0.14em' : '0.02em',
|
|
1412
|
+
fontWeight: personalityFontWeight(personality, 'heavy'),
|
|
1413
|
+
fontFamily: brandFont,
|
|
1414
|
+
}}>
|
|
1415
|
+
{ctaSecondary}
|
|
1416
|
+
</Text>
|
|
1417
|
+
</View>
|
|
1418
|
+
</Horizontal>
|
|
1419
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="center" marginTop={8}>
|
|
1420
|
+
{[
|
|
1421
|
+
{ label: 'Primary', value: palette.primary },
|
|
1422
|
+
{ label: 'Surface', value: palette.surface },
|
|
1423
|
+
{ label: 'Text', value: palette.text },
|
|
1424
|
+
{ label: 'Success', value: palette.success },
|
|
1425
|
+
].map((swatch) => (<Horizontal key={swatch.label} gap={8} alignItems="center">
|
|
1426
|
+
<View width={20} height={20} borderRadius={personality.cornerStyle === 'sharp'
|
|
1427
|
+
? 0
|
|
1428
|
+
: personality.cornerStyle === 'pill'
|
|
1429
|
+
? 9999
|
|
1430
|
+
: 4} borderWidth={1} borderStyle="solid" style={{
|
|
1431
|
+
backgroundColor: swatch.value,
|
|
1432
|
+
borderColor: palette.border,
|
|
1433
|
+
}}/>
|
|
1434
|
+
<Vertical gap={0}>
|
|
1435
|
+
<Text fontSize={11} color={palette.muted} style={personalityLabelStyle(personality)}>
|
|
1436
|
+
{swatch.label}
|
|
1437
|
+
</Text>
|
|
1438
|
+
<Text fontSize={11} color={palette.text} style={{
|
|
1439
|
+
fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',
|
|
1440
|
+
}}>
|
|
1441
|
+
{swatch.value}
|
|
1442
|
+
</Text>
|
|
1443
|
+
</Vertical>
|
|
1444
|
+
</Horizontal>))}
|
|
1445
|
+
</Horizontal>
|
|
1446
|
+
</Vertical>
|
|
1447
|
+
</View>);
|
|
1448
|
+
};
|
|
1449
|
+
const CTACardSample = ({ palette, config, }) => (<Vertical gap={20} padding={36} alignItems="center" borderRadius={16} style={{ backgroundColor: palette.surface }}>
|
|
1450
|
+
<Badge variant="outline" content="New release"/>
|
|
1451
|
+
<Vertical gap={8} alignItems="center">
|
|
1452
|
+
<Text fontSize={36} lineHeight="40px" fontWeight="800" textAlign="center" color={palette.text}>
|
|
1453
|
+
{config.metadata.label} Pro
|
|
1454
|
+
</Text>
|
|
1455
|
+
<Text fontSize={18} lineHeight="24px" color={palette.muted} textAlign="center">
|
|
1456
|
+
Pro. Beyond.
|
|
1457
|
+
</Text>
|
|
1458
|
+
</Vertical>
|
|
1459
|
+
<Horizontal gap={12} flexWrap="wrap" justifyContent="center">
|
|
1460
|
+
<Button shape="pill" size="md">
|
|
1461
|
+
Learn more
|
|
1462
|
+
</Button>
|
|
1463
|
+
<Button shape="pill" size="md" variant="outline">
|
|
1464
|
+
Buy
|
|
1465
|
+
</Button>
|
|
1466
|
+
</Horizontal>
|
|
1467
|
+
<View width={220} height={140} borderRadius={20} backgroundColor={palette.appearance === 'dark' ? palette.canvas : palette.text} opacity={0.85}/>
|
|
1468
|
+
</Vertical>);
|
|
1469
|
+
const ProductCardSample = ({ palette, config, }) => (<Card width="min(100%, 320px)" views={{
|
|
1470
|
+
container: {
|
|
1471
|
+
backgroundColor: palette.surface,
|
|
1472
|
+
color: palette.text,
|
|
1473
|
+
borderWidth: 1,
|
|
1474
|
+
borderStyle: 'solid',
|
|
1475
|
+
borderColor: palette.border,
|
|
1476
|
+
},
|
|
1477
|
+
header: { color: palette.text, borderColor: palette.border },
|
|
1478
|
+
content: { color: palette.text },
|
|
1479
|
+
footer: { borderColor: palette.border },
|
|
1480
|
+
}}>
|
|
1481
|
+
<Card.Header>
|
|
1482
|
+
<Horizontal alignItems="center" justifyContent="space-between" gap={12} flexWrap="wrap">
|
|
1483
|
+
<Text color={palette.text} fontWeight="700">
|
|
1484
|
+
{config.metadata.id === 'spacex' ? 'Falcon 9' : 'Product Card'}
|
|
1485
|
+
</Text>
|
|
1486
|
+
<Badge variant="filled" content="New"/>
|
|
1487
|
+
</Horizontal>
|
|
1488
|
+
</Card.Header>
|
|
1489
|
+
<Card.Content>
|
|
1490
|
+
<Text fontSize={14} lineHeight="20px" color={palette.text}>
|
|
1491
|
+
{config.metadata.id === 'spacex'
|
|
1492
|
+
? "The world's first orbital-class reusable rocket. Designed for reliable and safe transport of people and payloads."
|
|
1493
|
+
: 'Card surfaces, borders, typography, and shadows come from the active JSON config.'}
|
|
1494
|
+
</Text>
|
|
1495
|
+
</Card.Content>
|
|
1496
|
+
<Card.Footer>
|
|
1497
|
+
<Button size="sm">
|
|
1498
|
+
{config.metadata.id === 'spacex' ? 'Explore' : 'Review'}
|
|
1499
|
+
</Button>
|
|
1500
|
+
</Card.Footer>
|
|
1501
|
+
</Card>);
|
|
1502
|
+
const ButtonsSample = ({ palette }) => (<Vertical gap={14}>
|
|
1503
|
+
<Horizontal gap={12} flexWrap="wrap" alignItems="center">
|
|
1504
|
+
<Button colorScheme="primary">Primary</Button>
|
|
1505
|
+
<Button colorScheme="secondary">Secondary</Button>
|
|
1506
|
+
<Button colorScheme="black">Black</Button>
|
|
1507
|
+
<Button colorScheme="white">White</Button>
|
|
1508
|
+
</Horizontal>
|
|
1509
|
+
<Horizontal gap={12} flexWrap="wrap" alignItems="center">
|
|
1510
|
+
<Button variant="outline" colorScheme="primary">
|
|
1511
|
+
Primary
|
|
1512
|
+
</Button>
|
|
1513
|
+
<Button variant="outline" colorScheme="secondary">
|
|
1514
|
+
Secondary
|
|
1515
|
+
</Button>
|
|
1516
|
+
<Button variant="outline" colorScheme="black">
|
|
1517
|
+
Black
|
|
1518
|
+
</Button>
|
|
1519
|
+
<Button variant="outline" colorScheme="white">
|
|
1520
|
+
White
|
|
1521
|
+
</Button>
|
|
1522
|
+
</Horizontal>
|
|
1523
|
+
<Horizontal gap={12} flexWrap="wrap" alignItems="center">
|
|
1524
|
+
<Button variant="ghost" views={{ container: { color: palette.text } }}>
|
|
1525
|
+
Ghost
|
|
1526
|
+
</Button>
|
|
1527
|
+
<Button variant="link" views={{ container: { color: palette.primary } }}>
|
|
1528
|
+
Link
|
|
1529
|
+
</Button>
|
|
1530
|
+
<Button isDisabled>Disabled</Button>
|
|
1531
|
+
<Button isLoading>Loading</Button>
|
|
1532
|
+
</Horizontal>
|
|
1533
|
+
</Vertical>);
|
|
1534
|
+
const StatusFeedbackSample = ({ palette, config, }) => (<View style={{ color: palette.text }}>
|
|
1535
|
+
<Vertical gap={14}>
|
|
1536
|
+
<Horizontal gap={10} flexWrap="wrap" alignItems="center">
|
|
1537
|
+
<Badge content="Badge"/>
|
|
1538
|
+
<Badge variant="outline" content="Outline"/>
|
|
1539
|
+
<Badge content="Primary" views={{
|
|
1540
|
+
container: {
|
|
1541
|
+
backgroundColor: palette.primary,
|
|
1542
|
+
color: palette.onPrimary,
|
|
1543
|
+
borderColor: palette.primary,
|
|
1544
|
+
},
|
|
1545
|
+
}}/>
|
|
1546
|
+
<Badge content="Success" views={{
|
|
1547
|
+
container: {
|
|
1548
|
+
backgroundColor: palette.success,
|
|
1549
|
+
color: palette.onPrimary,
|
|
1550
|
+
borderColor: palette.success,
|
|
1551
|
+
},
|
|
1552
|
+
}}/>
|
|
1553
|
+
<Badge content="Warning" views={{
|
|
1554
|
+
container: {
|
|
1555
|
+
backgroundColor: palette.warning,
|
|
1556
|
+
color: palette.onPrimary,
|
|
1557
|
+
borderColor: palette.warning,
|
|
1558
|
+
},
|
|
1559
|
+
}}/>
|
|
1560
|
+
<Badge content="Error" views={{
|
|
1561
|
+
container: {
|
|
1562
|
+
backgroundColor: palette.error,
|
|
1563
|
+
color: palette.onPrimary,
|
|
1564
|
+
borderColor: palette.error,
|
|
1565
|
+
},
|
|
1566
|
+
}}/>
|
|
1567
|
+
</Horizontal>
|
|
1568
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="center">
|
|
1569
|
+
<StatusIndicator status="success" label="Operational"/>
|
|
1570
|
+
<StatusIndicator status="warning" label="Degraded"/>
|
|
1571
|
+
<StatusIndicator status="error" label="Outage"/>
|
|
1572
|
+
<Loader size="sm" loaderColor={config.theme.primary}/>
|
|
1573
|
+
</Horizontal>
|
|
1574
|
+
<Alert title="Heads up" description="Brand styling cascades through every alert." variant="info" views={{
|
|
1575
|
+
container: {
|
|
1576
|
+
backgroundColor: palette.surface,
|
|
1577
|
+
borderColor: palette.border,
|
|
1578
|
+
color: palette.text,
|
|
1579
|
+
},
|
|
1580
|
+
title: { color: palette.text },
|
|
1581
|
+
description: { color: palette.muted },
|
|
1582
|
+
}}/>
|
|
1583
|
+
<ProgressBar value={64} height={10} showLabel color={palette.primary} backgroundColor={palette.border} views={{
|
|
1584
|
+
container: { backgroundColor: palette.border },
|
|
1585
|
+
bar: { backgroundColor: palette.primary },
|
|
1586
|
+
}}/>
|
|
1587
|
+
</Vertical>
|
|
1588
|
+
</View>);
|
|
1589
|
+
const FormsSample = ({ palette, config, mode, }) => {
|
|
1590
|
+
// Only override container surface/border + field text. Labels and helper text
|
|
1591
|
+
// inherit the surrounding ink (via PaletteFrame), with the component's built-in
|
|
1592
|
+
// opacity dimming them naturally on both light and dark.
|
|
1593
|
+
const fieldViews = {
|
|
1594
|
+
container: {
|
|
1595
|
+
backgroundColor: palette.surface,
|
|
1596
|
+
borderColor: palette.border,
|
|
1597
|
+
color: palette.text,
|
|
1598
|
+
},
|
|
1599
|
+
field: { color: palette.text },
|
|
1600
|
+
};
|
|
1601
|
+
return (<View style={{ color: palette.text }}>
|
|
1602
|
+
<Vertical gap={16}>
|
|
1603
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(220px, 1fr))" gap={16} alignItems="start">
|
|
1604
|
+
<TextField size="md" label="Name" placeholder="Ada Lovelace" views={fieldViews}/>
|
|
1605
|
+
<Select id={`forms-${config.metadata.id}-${mode}`} size="md" label="Plan" placeholder="Select plan" options={[
|
|
1606
|
+
{ label: 'Starter', value: 'starter' },
|
|
1607
|
+
{ label: 'Team', value: 'team' },
|
|
1608
|
+
{ label: 'Enterprise', value: 'enterprise' },
|
|
1609
|
+
]} views={{
|
|
1610
|
+
container: fieldViews.container,
|
|
1611
|
+
field: { fontSize: 14, lineHeight: '20px', color: palette.text },
|
|
1612
|
+
text: { fontSize: 14, lineHeight: '20px', color: palette.text },
|
|
1613
|
+
}}/>
|
|
1614
|
+
<TextArea label="Notes" placeholder="Add implementation notes" views={fieldViews}/>
|
|
1615
|
+
</View>
|
|
1616
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="center">
|
|
1617
|
+
<Checkbox label="Email updates" defaultIsSelected/>
|
|
1618
|
+
<Radio label="Standard" value="standard" defaultIsSelected/>
|
|
1619
|
+
<Switch label="Enabled" isChecked/>
|
|
1620
|
+
</Horizontal>
|
|
1621
|
+
</Vertical>
|
|
1622
|
+
</View>);
|
|
1623
|
+
};
|
|
1624
|
+
const ComponentPreview = ({ config }) => {
|
|
1625
|
+
const [page, setPage] = useState(1);
|
|
1626
|
+
const lightPalette = getLightPalette(config);
|
|
1627
|
+
const darkPalette = getDarkPalette(config);
|
|
1628
|
+
const personality = getPersonality(config);
|
|
1629
|
+
return (<Vertical gap={24}>
|
|
1630
|
+
<Section title="Brand Snapshot (Light & Dark)" config={config}>
|
|
1631
|
+
<Vertical gap={20}>
|
|
1632
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1633
|
+
<BrandSnapshotSample palette={lightPalette} personality={personality} config={config}/>
|
|
1634
|
+
</PaletteFrame>
|
|
1635
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1636
|
+
<BrandSnapshotSample palette={darkPalette} personality={personality} config={config}/>
|
|
1637
|
+
</PaletteFrame>
|
|
1638
|
+
</Vertical>
|
|
1639
|
+
</Section>
|
|
1640
|
+
|
|
1641
|
+
<Section title="Buttons — Light & Dark" config={config}>
|
|
1642
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1643
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1644
|
+
<ButtonsSample palette={lightPalette}/>
|
|
1645
|
+
</PaletteFrame>
|
|
1646
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1647
|
+
<ButtonsSample palette={darkPalette}/>
|
|
1648
|
+
</PaletteFrame>
|
|
1649
|
+
</Horizontal>
|
|
1650
|
+
</Section>
|
|
1651
|
+
|
|
1652
|
+
<Section title="Status & Feedback — Light & Dark" config={config}>
|
|
1653
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1654
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1655
|
+
<StatusFeedbackSample palette={lightPalette} config={config}/>
|
|
1656
|
+
</PaletteFrame>
|
|
1657
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1658
|
+
<StatusFeedbackSample palette={darkPalette} config={config}/>
|
|
1659
|
+
</PaletteFrame>
|
|
1660
|
+
</Horizontal>
|
|
1661
|
+
</Section>
|
|
1662
|
+
|
|
1663
|
+
<Section title="Forms — Light & Dark" config={config}>
|
|
1664
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1665
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1666
|
+
<FormsSample palette={lightPalette} config={config} mode="light"/>
|
|
1667
|
+
</PaletteFrame>
|
|
1668
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1669
|
+
<FormsSample palette={darkPalette} config={config} mode="dark"/>
|
|
1670
|
+
</PaletteFrame>
|
|
1671
|
+
</Horizontal>
|
|
1672
|
+
</Section>
|
|
1673
|
+
|
|
1674
|
+
<Section title="Forms (legacy preview)" config={config}>
|
|
1675
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(220px, 1fr))" alignItems="start" gap={16}>
|
|
1676
|
+
<TextField size="md" label="Name" placeholder="Ada Lovelace"/>
|
|
1677
|
+
<Select id={`design-system-select-${config.metadata.id}`} size="md" label="Plan" placeholder="Select plan" options={[
|
|
1678
|
+
{ label: 'Starter', value: 'starter' },
|
|
1679
|
+
{ label: 'Team', value: 'team' },
|
|
1680
|
+
{ label: 'Enterprise', value: 'enterprise' },
|
|
1681
|
+
]} views={{
|
|
1682
|
+
field: { fontSize: 14, lineHeight: '20px' },
|
|
1683
|
+
text: { fontSize: 14, lineHeight: '20px' },
|
|
1684
|
+
}}/>
|
|
1685
|
+
<TextArea label="Notes" placeholder="Add implementation notes"/>
|
|
1686
|
+
<Vertical gap={12}>
|
|
1687
|
+
<Checkbox label="Email updates" defaultIsSelected/>
|
|
1688
|
+
<Radio label="Standard" value="standard" defaultIsSelected/>
|
|
1689
|
+
<Switch label="Enabled" isChecked/>
|
|
1690
|
+
<Slider defaultValue={58} showValue/>
|
|
1691
|
+
<OTPInput length={6} label="Verification Code"/>
|
|
1692
|
+
</Vertical>
|
|
1693
|
+
</View>
|
|
1694
|
+
</Section>
|
|
1695
|
+
|
|
1696
|
+
<Section title="Form States" config={config}>
|
|
1697
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(220px, 1fr))" gap={16} alignItems="start">
|
|
1698
|
+
<TextField size="md" label="Default" placeholder="Type here" helperText="Resting state"/>
|
|
1699
|
+
<TextField size="md" label="Filled" defaultValue="Ada Lovelace" helperText="Has value"/>
|
|
1700
|
+
<TextField size="md" label="With helper" placeholder="user@example.com" helperText="We'll never share your email"/>
|
|
1701
|
+
<TextField size="md" label="Error" defaultValue="invalid@" error="Please enter a valid email"/>
|
|
1702
|
+
<TextField size="md" label="Disabled" isDisabled defaultValue="Cannot edit" helperText="Field locked"/>
|
|
1703
|
+
<TextField size="md" label="Read only" defaultValue="Read-only value" isReadOnly helperText="View only"/>
|
|
1704
|
+
<Select id={`design-system-select-error-${config.metadata.id}`} size="md" label="Select error" placeholder="Pick one" error helperText="Selection required" options={[
|
|
1705
|
+
{ label: 'Option A', value: 'a' },
|
|
1706
|
+
{ label: 'Option B', value: 'b' },
|
|
1707
|
+
]} views={{
|
|
1708
|
+
field: { fontSize: 14, lineHeight: '20px' },
|
|
1709
|
+
text: { fontSize: 14, lineHeight: '20px' },
|
|
1710
|
+
}}/>
|
|
1711
|
+
<Select id={`design-system-select-disabled-${config.metadata.id}`} size="md" label="Select disabled" placeholder="Disabled" isDisabled options={[
|
|
1712
|
+
{ label: 'Option A', value: 'a' },
|
|
1713
|
+
{ label: 'Option B', value: 'b' },
|
|
1714
|
+
]} views={{
|
|
1715
|
+
field: { fontSize: 14, lineHeight: '20px' },
|
|
1716
|
+
text: { fontSize: 14, lineHeight: '20px' },
|
|
1717
|
+
}}/>
|
|
1718
|
+
</View>
|
|
1719
|
+
</Section>
|
|
1720
|
+
|
|
1721
|
+
<Section title="Elevation & Depth" config={config}>
|
|
1722
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(200px, 1fr))" gap={20}>
|
|
1723
|
+
{getElevationLevels(config).map((level) => (<Vertical key={level.name} gap={12}>
|
|
1724
|
+
<View height={120} borderRadius={12} backgroundColor={config.theme.canvas} style={{ boxShadow: level.shadow }}/>
|
|
1725
|
+
<Vertical gap={4}>
|
|
1726
|
+
<Horizontal gap={8} alignItems="baseline" flexWrap="wrap">
|
|
1727
|
+
<Text fontSize={12} fontWeight="700">
|
|
1728
|
+
{level.name}
|
|
1729
|
+
</Text>
|
|
1730
|
+
<Text fontSize={11} fontWeight="600" color={config.theme.primary}>
|
|
1731
|
+
{level.label}
|
|
1732
|
+
</Text>
|
|
1733
|
+
</Horizontal>
|
|
1734
|
+
<Text fontSize={11} color={config.theme.muted}>
|
|
1735
|
+
{level.description}
|
|
1736
|
+
</Text>
|
|
1737
|
+
<Text fontSize={10} color={config.theme.muted} style={{ wordBreak: 'break-word', opacity: 0.8 }}>
|
|
1738
|
+
{level.shadow}
|
|
1739
|
+
</Text>
|
|
1740
|
+
</Vertical>
|
|
1741
|
+
</Vertical>))}
|
|
1742
|
+
</View>
|
|
1743
|
+
</Section>
|
|
1744
|
+
|
|
1745
|
+
<Section title="Color Blocks" config={config}>
|
|
1746
|
+
<View display="grid" gridTemplateColumns="repeat(auto-fit, minmax(160px, 1fr))" gap={12}>
|
|
1747
|
+
{[
|
|
1748
|
+
['primary', 'Primary', config.theme.onPrimary],
|
|
1749
|
+
['secondary', 'Secondary', config.theme.onPrimary],
|
|
1750
|
+
['success', 'Success', '#ffffff'],
|
|
1751
|
+
['warning', 'Warning', '#ffffff'],
|
|
1752
|
+
['error', 'Error', '#ffffff'],
|
|
1753
|
+
['canvas', 'Canvas', config.theme.text],
|
|
1754
|
+
['surface', 'Surface', config.theme.text],
|
|
1755
|
+
['text', 'Text', config.theme.canvas],
|
|
1756
|
+
['muted', 'Muted', config.theme.canvas],
|
|
1757
|
+
['border', 'Border', config.theme.text],
|
|
1758
|
+
['onPrimary', 'On primary', config.theme.text],
|
|
1759
|
+
].map(([key, label, ink]) => {
|
|
1760
|
+
const value = config.theme[key];
|
|
1761
|
+
return (<Vertical key={key} gap={0} borderRadius={12} overflow="hidden" borderWidth={1} borderStyle="solid" borderColor={config.theme.border}>
|
|
1762
|
+
<View height={88} backgroundColor={value}/>
|
|
1763
|
+
<Vertical gap={4} padding={12} backgroundColor={config.theme.surface}>
|
|
1764
|
+
<Text fontSize={13} fontWeight="700">
|
|
1765
|
+
{label}
|
|
1766
|
+
</Text>
|
|
1767
|
+
<Text fontSize={11} color={config.theme.muted}>
|
|
1768
|
+
theme.{key}
|
|
1769
|
+
</Text>
|
|
1770
|
+
<Text fontSize={11} color={config.theme.muted}>
|
|
1771
|
+
{value}
|
|
1772
|
+
</Text>
|
|
1773
|
+
</Vertical>
|
|
1774
|
+
</Vertical>);
|
|
1775
|
+
})}
|
|
1776
|
+
</View>
|
|
1777
|
+
</Section>
|
|
1778
|
+
|
|
1779
|
+
<Section title="Pricing — Booking (Light & Dark)" config={config}>
|
|
1780
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1781
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1782
|
+
<PricingCardSample palette={lightPalette}/>
|
|
1783
|
+
</PaletteFrame>
|
|
1784
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1785
|
+
<PricingCardSample palette={darkPalette}/>
|
|
1786
|
+
</PaletteFrame>
|
|
1787
|
+
</Horizontal>
|
|
1788
|
+
</Section>
|
|
1789
|
+
|
|
1790
|
+
<Section title="Pricing — SaaS Tiers (Light & Dark)" config={config}>
|
|
1791
|
+
<Vertical gap={20}>
|
|
1792
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1793
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="stretch">
|
|
1794
|
+
{tierPricingPlans.map((tier) => (<TierPricingCardSample key={tier.name} palette={lightPalette} tier={tier} personality={personality}/>))}
|
|
1795
|
+
</Horizontal>
|
|
1796
|
+
</PaletteFrame>
|
|
1797
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1798
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="stretch">
|
|
1799
|
+
{tierPricingPlans.map((tier) => (<TierPricingCardSample key={tier.name} palette={darkPalette} tier={tier} personality={personality}/>))}
|
|
1800
|
+
</Horizontal>
|
|
1801
|
+
</PaletteFrame>
|
|
1802
|
+
</Vertical>
|
|
1803
|
+
</Section>
|
|
1804
|
+
|
|
1805
|
+
<Section title="Pricing — Product (Light & Dark)" config={config}>
|
|
1806
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1807
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1808
|
+
<ProductPricingCardSample palette={lightPalette} personality={personality}/>
|
|
1809
|
+
</PaletteFrame>
|
|
1810
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1811
|
+
<ProductPricingCardSample palette={darkPalette} personality={personality}/>
|
|
1812
|
+
</PaletteFrame>
|
|
1813
|
+
</Horizontal>
|
|
1814
|
+
</Section>
|
|
1815
|
+
|
|
1816
|
+
<Section title="Pricing — Featured w/ Badge & Favorite (Light & Dark)" config={config}>
|
|
1817
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1818
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1819
|
+
<FeaturedPricingCardSample palette={lightPalette} personality={personality}/>
|
|
1820
|
+
</PaletteFrame>
|
|
1821
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1822
|
+
<FeaturedPricingCardSample palette={darkPalette} personality={personality}/>
|
|
1823
|
+
</PaletteFrame>
|
|
1824
|
+
</Horizontal>
|
|
1825
|
+
</Section>
|
|
1826
|
+
|
|
1827
|
+
<Section title="Content — Color Block Cards" config={config}>
|
|
1828
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1829
|
+
{colorBlockContent.map((block) => (<ColorBlockContentCardSample key={block.slug} block={block} palette={lightPalette} personality={personality}/>))}
|
|
1830
|
+
</Horizontal>
|
|
1831
|
+
</Section>
|
|
1832
|
+
|
|
1833
|
+
<Section title="Content — Article Cards w/ Badge & Favorite (Light & Dark)" config={config}>
|
|
1834
|
+
<Vertical gap={20}>
|
|
1835
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1836
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="stretch">
|
|
1837
|
+
{contentArticles.map((article) => (<ContentCardWithBadgeSample key={article.id} palette={lightPalette} article={article} personality={personality}/>))}
|
|
1838
|
+
</Horizontal>
|
|
1839
|
+
</PaletteFrame>
|
|
1840
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1841
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="stretch">
|
|
1842
|
+
{contentArticles.map((article) => (<ContentCardWithBadgeSample key={article.id} palette={darkPalette} article={article} personality={personality}/>))}
|
|
1843
|
+
</Horizontal>
|
|
1844
|
+
</PaletteFrame>
|
|
1845
|
+
</Vertical>
|
|
1846
|
+
</Section>
|
|
1847
|
+
|
|
1848
|
+
<Section title="CTA Card — Light & Dark" config={config}>
|
|
1849
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1850
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1851
|
+
<CTACardSample palette={lightPalette} config={config}/>
|
|
1852
|
+
</PaletteFrame>
|
|
1853
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1854
|
+
<CTACardSample palette={darkPalette} config={config}/>
|
|
1855
|
+
</PaletteFrame>
|
|
1856
|
+
</Horizontal>
|
|
1857
|
+
</Section>
|
|
1858
|
+
|
|
1859
|
+
<Section title="Product Card — Light & Dark" config={config}>
|
|
1860
|
+
<Horizontal gap={20} flexWrap="wrap" alignItems="flex-start">
|
|
1861
|
+
<PaletteFrame palette={lightPalette} label="On light surface">
|
|
1862
|
+
<ProductCardSample palette={lightPalette} config={config}/>
|
|
1863
|
+
</PaletteFrame>
|
|
1864
|
+
<PaletteFrame palette={darkPalette} label="On dark surface">
|
|
1865
|
+
<ProductCardSample palette={darkPalette} config={config}/>
|
|
1866
|
+
</PaletteFrame>
|
|
1867
|
+
</Horizontal>
|
|
1868
|
+
</Section>
|
|
1869
|
+
|
|
1870
|
+
<Section title="Content & Layout" config={config}>
|
|
1871
|
+
<Vertical gap={24}>
|
|
1872
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="stretch">
|
|
1873
|
+
<Card width="min(100%, 320px)">
|
|
1874
|
+
<Card.Header>
|
|
1875
|
+
<Horizontal alignItems="center" justifyContent="space-between" gap={12} flexWrap="wrap">
|
|
1876
|
+
<Text fontWeight="700">
|
|
1877
|
+
{config.metadata.id === 'spacex'
|
|
1878
|
+
? 'Falcon 9'
|
|
1879
|
+
: 'Product Card'}
|
|
1880
|
+
</Text>
|
|
1881
|
+
<Badge variant="filled" content="New"/>
|
|
1882
|
+
</Horizontal>
|
|
1883
|
+
</Card.Header>
|
|
1884
|
+
<Card.Content>
|
|
1885
|
+
<Text fontSize={14} lineHeight="20px">
|
|
1886
|
+
{config.metadata.id === 'spacex'
|
|
1887
|
+
? "The world's first orbital-class reusable rocket. Designed for reliable and safe transport of people and payloads."
|
|
1888
|
+
: 'Card surfaces, borders, typography, and shadows come from the active JSON config.'}
|
|
1889
|
+
</Text>
|
|
1890
|
+
</Card.Content>
|
|
1891
|
+
<Card.Footer>
|
|
1892
|
+
<Button size="sm">
|
|
1893
|
+
{config.metadata.id === 'spacex' ? 'Explore' : 'Review'}
|
|
1894
|
+
</Button>
|
|
1895
|
+
</Card.Footer>
|
|
1896
|
+
</Card>
|
|
1897
|
+
|
|
1898
|
+
<Card width="min(100%, 320px)">
|
|
1899
|
+
<Card.Header>
|
|
1900
|
+
<Horizontal gap={12} alignItems="center" justifyContent="space-between" flexWrap="wrap">
|
|
1901
|
+
<Horizontal gap={12} alignItems="center">
|
|
1902
|
+
<Avatar fallback={config.metadata.label.slice(0, 2)}/>
|
|
1903
|
+
<Vertical gap={2}>
|
|
1904
|
+
<Text fontWeight="700">
|
|
1905
|
+
{config.metadata.id === 'spacex'
|
|
1906
|
+
? 'Starship'
|
|
1907
|
+
: config.metadata.label}
|
|
1908
|
+
</Text>
|
|
1909
|
+
<Text fontSize={12} color={config.theme.muted}>
|
|
1910
|
+
{config.metadata.id === 'spacex'
|
|
1911
|
+
? 'Multiplanetary mission'
|
|
1912
|
+
: 'Config-driven preview'}
|
|
1913
|
+
</Text>
|
|
1914
|
+
</Vertical>
|
|
1915
|
+
</Horizontal>
|
|
1916
|
+
<Badge variant="outline" content="Active"/>
|
|
1917
|
+
</Horizontal>
|
|
1918
|
+
</Card.Header>
|
|
1919
|
+
<Card.Content>
|
|
1920
|
+
{config.metadata.id === 'spacex' ? (<Text fontSize={14} lineHeight="20px">
|
|
1921
|
+
The most powerful launch vehicle ever developed. Designed to
|
|
1922
|
+
carry crew and cargo to Mars and beyond.
|
|
1923
|
+
</Text>) : (<Alert variant="info" title="Config active" description="This alert is rendered by the shared component."/>)}
|
|
1924
|
+
</Card.Content>
|
|
1925
|
+
</Card>
|
|
1926
|
+
</Horizontal>
|
|
1927
|
+
|
|
1928
|
+
<HeroSection config={config}/>
|
|
1929
|
+
|
|
1930
|
+
<AspectRatio ratio={16 / 9} borderRadius={12} overflow="hidden">
|
|
1931
|
+
<View width="100%" height="100%" backgroundColor={config.theme.primary}>
|
|
1932
|
+
<Vertical height="100%" alignItems="center" justifyContent="center" gap={8}>
|
|
1933
|
+
<Text fontWeight="700" color={config.theme.onPrimary}>
|
|
1934
|
+
16:9 Aspect Ratio
|
|
1935
|
+
</Text>
|
|
1936
|
+
<Badge content="Config primary color"/>
|
|
1937
|
+
</Vertical>
|
|
1938
|
+
</View>
|
|
1939
|
+
</AspectRatio>
|
|
1940
|
+
|
|
1941
|
+
<Carousel>
|
|
1942
|
+
<Carousel.Content>
|
|
1943
|
+
{[1, 2, 3].map((i) => (<Carousel.Item key={i}>
|
|
1944
|
+
<View height={200} borderRadius={12} alignItems="center" justifyContent="center" backgroundColor={config.theme.surface} borderColor={config.theme.border} borderWidth={1} borderStyle="solid">
|
|
1945
|
+
<Text fontSize={24} fontWeight="700">
|
|
1946
|
+
Slide {i}
|
|
1947
|
+
</Text>
|
|
1948
|
+
</View>
|
|
1949
|
+
</Carousel.Item>))}
|
|
1950
|
+
</Carousel.Content>
|
|
1951
|
+
<Horizontal gap={12} marginTop={12} justifyContent="center">
|
|
1952
|
+
<Carousel.Previous />
|
|
1953
|
+
<Carousel.Next />
|
|
1954
|
+
</Horizontal>
|
|
1955
|
+
</Carousel>
|
|
1956
|
+
</Vertical>
|
|
1957
|
+
</Section>
|
|
1958
|
+
|
|
1959
|
+
<Section title="Navigation & Interactive" config={config}>
|
|
1960
|
+
<Vertical gap={18}>
|
|
1961
|
+
<Vertical gap={20}>
|
|
1962
|
+
<Vertical gap={8}>
|
|
1963
|
+
<Text fontSize={12} fontWeight="700" color={config.theme.muted}>
|
|
1964
|
+
With icons
|
|
1965
|
+
</Text>
|
|
1966
|
+
<Tabs tabs={sampleTabs} defaultValue="homes" views={{
|
|
1967
|
+
tab: { borderRadius: componentRadius(config, 'tabs') },
|
|
1968
|
+
activeTab: { borderRadius: componentRadius(config, 'tabs') },
|
|
1969
|
+
}}/>
|
|
1970
|
+
</Vertical>
|
|
1971
|
+
<Vertical gap={8}>
|
|
1972
|
+
<Text fontSize={12} fontWeight="700" color={config.theme.muted}>
|
|
1973
|
+
Without icons
|
|
1974
|
+
</Text>
|
|
1975
|
+
<Tabs defaultValue="overview" views={{
|
|
1976
|
+
tab: { borderRadius: componentRadius(config, 'tabs') },
|
|
1977
|
+
activeTab: { borderRadius: componentRadius(config, 'tabs') },
|
|
1978
|
+
}} tabs={[
|
|
1979
|
+
{
|
|
1980
|
+
title: 'Overview',
|
|
1981
|
+
value: 'overview',
|
|
1982
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
1983
|
+
Tokens and components share the active config.
|
|
1984
|
+
</Text>),
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
title: 'Usage',
|
|
1988
|
+
value: 'usage',
|
|
1989
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
1990
|
+
Explicit props still override the config defaults.
|
|
1991
|
+
</Text>),
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
title: 'Audit',
|
|
1995
|
+
value: 'audit',
|
|
1996
|
+
content: (<Text fontSize={14} lineHeight="20px">
|
|
1997
|
+
Plain text tabs without icons.
|
|
1998
|
+
</Text>),
|
|
1999
|
+
},
|
|
2000
|
+
]}/>
|
|
2001
|
+
</Vertical>
|
|
2002
|
+
</Vertical>
|
|
2003
|
+
|
|
2004
|
+
<NavigationMenu items={navigationItems} orientation="horizontal" defaultActiveItemId="components"/>
|
|
2005
|
+
|
|
2006
|
+
{(() => {
|
|
2007
|
+
const accordionRadius = componentRadius(config, 'accordion');
|
|
2008
|
+
const flatItem = {
|
|
2009
|
+
borderWidth: 0,
|
|
2010
|
+
borderTopWidth: 0,
|
|
2011
|
+
borderBottomWidth: 0,
|
|
2012
|
+
borderLeftWidth: 0,
|
|
2013
|
+
borderRightWidth: 0,
|
|
2014
|
+
marginBottom: 0,
|
|
2015
|
+
borderRadius: 0,
|
|
2016
|
+
};
|
|
2017
|
+
const flatItemWithSeparator = {
|
|
2018
|
+
...flatItem,
|
|
2019
|
+
borderTopWidth: 1,
|
|
2020
|
+
borderTopStyle: 'solid',
|
|
2021
|
+
borderTopColor: config.theme.border,
|
|
2022
|
+
};
|
|
2023
|
+
return (<Accordion defaultValue="tokens" collapsible shape="rounded" views={{
|
|
2024
|
+
container: {
|
|
2025
|
+
borderRadius: accordionRadius,
|
|
2026
|
+
overflow: 'hidden',
|
|
2027
|
+
borderWidth: 1,
|
|
2028
|
+
borderStyle: 'solid',
|
|
2029
|
+
borderColor: config.theme.border,
|
|
2030
|
+
},
|
|
2031
|
+
}}>
|
|
2032
|
+
<Accordion.Item value="tokens" {...flatItem} views={{
|
|
2033
|
+
item: flatItem,
|
|
2034
|
+
trigger: { borderRadius: 0 },
|
|
2035
|
+
}}>
|
|
2036
|
+
<Accordion.Trigger>Token extraction</Accordion.Trigger>
|
|
2037
|
+
<Accordion.Content>
|
|
2038
|
+
<Text color={config.theme.muted}>
|
|
2039
|
+
{Object.keys(config.tokens.rawCssVars).length} raw CSS
|
|
2040
|
+
variables were extracted from {config.metadata.sourcePath}
|
|
2041
|
+
.
|
|
2042
|
+
</Text>
|
|
2043
|
+
</Accordion.Content>
|
|
2044
|
+
</Accordion.Item>
|
|
2045
|
+
<Accordion.Item value="overrides" {...flatItemWithSeparator} views={{
|
|
2046
|
+
item: flatItemWithSeparator,
|
|
2047
|
+
trigger: { borderRadius: 0 },
|
|
2048
|
+
}}>
|
|
2049
|
+
<Accordion.Trigger>Override behavior</Accordion.Trigger>
|
|
2050
|
+
<Accordion.Content>
|
|
2051
|
+
<Text color={config.theme.muted}>
|
|
2052
|
+
Props passed directly to components override the
|
|
2053
|
+
design-system defaults.
|
|
2054
|
+
</Text>
|
|
2055
|
+
</Accordion.Content>
|
|
2056
|
+
</Accordion.Item>
|
|
2057
|
+
</Accordion>);
|
|
2058
|
+
})()}
|
|
2059
|
+
|
|
2060
|
+
<Separator label="advanced tools"/>
|
|
2061
|
+
|
|
2062
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="center">
|
|
2063
|
+
<Toggle color={config.theme.primary}>Toggle Button</Toggle>
|
|
2064
|
+
|
|
2065
|
+
<ToggleGroup color={config.theme.primary} items={[
|
|
2066
|
+
{ id: 'left', value: 'Left' },
|
|
2067
|
+
{ id: 'center', value: 'Center' },
|
|
2068
|
+
{ id: 'right', value: 'Right' },
|
|
2069
|
+
]}/>
|
|
2070
|
+
|
|
2071
|
+
<Tooltip content="Tooltip message">
|
|
2072
|
+
<Button variant="outline">Hover for Tooltip</Button>
|
|
2073
|
+
</Tooltip>
|
|
2074
|
+
|
|
2075
|
+
<HoverCard>
|
|
2076
|
+
<HoverCard.Trigger>
|
|
2077
|
+
<Button variant="ghost">Hover Card</Button>
|
|
2078
|
+
</HoverCard.Trigger>
|
|
2079
|
+
<HoverCard.Content>
|
|
2080
|
+
<Vertical gap={4} padding={12}>
|
|
2081
|
+
<Text fontWeight="700">Detailed Info</Text>
|
|
2082
|
+
<Text fontSize={12} opacity={0.8}>
|
|
2083
|
+
Hover cards provide more context.
|
|
2084
|
+
</Text>
|
|
2085
|
+
</Vertical>
|
|
2086
|
+
</HoverCard.Content>
|
|
2087
|
+
</HoverCard>
|
|
2088
|
+
|
|
2089
|
+
<ColorPicker value={config.theme.primary}/>
|
|
2090
|
+
<ShareButton shareData={{ url: 'https://example.com', title: 'Example' }}/>
|
|
2091
|
+
<Link to="#">Inline Link component</Link>
|
|
2092
|
+
</Horizontal>
|
|
2093
|
+
|
|
2094
|
+
<Horizontal gap={16} flexWrap="wrap" alignItems="center">
|
|
2095
|
+
<Pagination currentPage={page} totalPages={10} onPageChange={setPage}/>
|
|
2096
|
+
</Horizontal>
|
|
2097
|
+
</Vertical>
|
|
2098
|
+
</Section>
|
|
2099
|
+
</Vertical>);
|
|
2100
|
+
};
|
|
2101
|
+
export const DesignSystem = ({ config }) => {
|
|
2102
|
+
return (<DesignSystemProvider config={config}>
|
|
2103
|
+
<Helmet>
|
|
2104
|
+
{config.metadata.googleFontLinks?.map((link) => (<link key={link} rel="stylesheet" href={link}/>))}
|
|
2105
|
+
</Helmet>
|
|
2106
|
+
<View minHeight="100vh" padding={28} fontFamily={config.tokens.typography.fontFamily} style={{
|
|
2107
|
+
backgroundColor: config.theme.canvas,
|
|
2108
|
+
color: config.theme.text,
|
|
2109
|
+
textTransform: config.metadata.id === 'spacex' ? 'uppercase' : 'none',
|
|
2110
|
+
}}>
|
|
2111
|
+
<Vertical gap={28}>
|
|
2112
|
+
<Vertical gap={12} maxWidth={900}>
|
|
2113
|
+
<Text as="h1" fontSize={44} lineHeight="48px" fontWeight="800" fontFamily={config.tokens.typography.fontFamily}>
|
|
2114
|
+
{config.metadata.label} Design System
|
|
2115
|
+
</Text>
|
|
2116
|
+
<Text fontSize={16} lineHeight="24px" color={config.theme.muted} fontFamily={config.tokens.typography.fontFamily}>
|
|
2117
|
+
Live App Studio components rendered with the {config.metadata.label} config defaults.
|
|
2118
|
+
</Text>
|
|
2119
|
+
</Vertical>
|
|
2120
|
+
|
|
2121
|
+
<Vertical gap={28}>
|
|
2122
|
+
<FoundationPreview config={config}/>
|
|
2123
|
+
<ComponentPreview config={config}/>
|
|
2124
|
+
</Vertical>
|
|
2125
|
+
</Vertical>
|
|
2126
|
+
</View>
|
|
2127
|
+
</DesignSystemProvider>);
|
|
2128
|
+
};
|
|
2129
|
+
const DesignSystemPage = () => {
|
|
2130
|
+
const [activeConfigId, setActiveConfigId] = useState('airbnb');
|
|
2131
|
+
const [viewMode, setViewMode] = useState('components');
|
|
2132
|
+
const activeConfig = designSystemConfigs[activeConfigId];
|
|
2133
|
+
const sourceHref = `/${activeConfig.metadata.sourcePath}`;
|
|
2134
|
+
const groupedConfigs = useMemo(() => designSystemConfigList.map((config) => ({
|
|
2135
|
+
id: config.metadata.id,
|
|
2136
|
+
label: config.metadata.label,
|
|
2137
|
+
appearance: config.metadata.defaultAppearance,
|
|
2138
|
+
})), []);
|
|
2139
|
+
const viewModes = [
|
|
2140
|
+
{ value: 'components', label: 'Components' },
|
|
2141
|
+
{ value: 'source', label: 'Source HTML' },
|
|
2142
|
+
{ value: 'compare', label: 'Compare' },
|
|
2143
|
+
];
|
|
2144
|
+
const renderViewContent = () => {
|
|
2145
|
+
if (viewMode === 'source') {
|
|
2146
|
+
return (<View width="100%" height="100vh" style={{ backgroundColor: activeConfig.theme.canvas }}>
|
|
2147
|
+
<iframe src={sourceHref} title={`${activeConfig.metadata.label} Source`} style={{
|
|
2148
|
+
width: '100%',
|
|
2149
|
+
height: '100%',
|
|
2150
|
+
border: 'none',
|
|
2151
|
+
backgroundColor: '#fff',
|
|
2152
|
+
}}/>
|
|
2153
|
+
</View>);
|
|
2154
|
+
}
|
|
2155
|
+
if (viewMode === 'compare') {
|
|
2156
|
+
return (<Horizontal width="100%" height="100vh" alignItems="stretch" flexWrap="nowrap">
|
|
2157
|
+
<View flex={1} minWidth={0} height="100%" overflow="auto">
|
|
2158
|
+
<DesignSystem key={activeConfigId} config={activeConfig}/>
|
|
2159
|
+
</View>
|
|
2160
|
+
<View flex={1} minWidth={0} height="100%" style={{
|
|
2161
|
+
borderLeft: `1px solid ${activeConfig.theme.border}`,
|
|
2162
|
+
}}>
|
|
2163
|
+
<iframe src={sourceHref} title={`${activeConfig.metadata.label} Source`} style={{
|
|
2164
|
+
width: '100%',
|
|
2165
|
+
height: '100%',
|
|
2166
|
+
border: 'none',
|
|
2167
|
+
backgroundColor: '#fff',
|
|
2168
|
+
}}/>
|
|
2169
|
+
</View>
|
|
2170
|
+
</Horizontal>);
|
|
2171
|
+
}
|
|
2172
|
+
return (<View width="100%" height="100vh" overflow="auto">
|
|
2173
|
+
<DesignSystem key={activeConfigId} config={activeConfig}/>
|
|
2174
|
+
</View>);
|
|
2175
|
+
};
|
|
2176
|
+
return (<Horizontal minHeight="100vh" alignItems="stretch" flexWrap="nowrap" backgroundColor={activeConfig.theme.canvas}>
|
|
2177
|
+
<Vertical width={280} minWidth={240} maxWidth={320} height="100vh" overflow="auto" padding={18} gap={18} backgroundColor={activeConfig.theme.surface} style={{
|
|
2178
|
+
borderRight: `1px solid ${activeConfig.theme.border}`,
|
|
2179
|
+
}}>
|
|
2180
|
+
<Vertical gap={4}>
|
|
2181
|
+
<Text fontSize={18} lineHeight="24px" fontWeight="800">
|
|
2182
|
+
Design Systems
|
|
2183
|
+
</Text>
|
|
2184
|
+
<Text fontSize={12} lineHeight="16px" color={activeConfig.theme.muted}>
|
|
2185
|
+
{groupedConfigs.length} HTML-derived configs
|
|
2186
|
+
</Text>
|
|
2187
|
+
</Vertical>
|
|
2188
|
+
|
|
2189
|
+
<Vertical gap={6}>
|
|
2190
|
+
<Text fontSize={11} fontWeight="700" letterSpacing="0.08em" textTransform="uppercase" color={activeConfig.theme.muted}>
|
|
2191
|
+
View
|
|
2192
|
+
</Text>
|
|
2193
|
+
{viewModes.map((mode) => {
|
|
2194
|
+
const isActive = mode.value === viewMode;
|
|
2195
|
+
return (<Button key={mode.value} variant={isActive ? 'filled' : 'ghost'} isFilled onClick={() => setViewMode(mode.value)} views={{
|
|
2196
|
+
container: {
|
|
2197
|
+
justifyContent: 'flex-start',
|
|
2198
|
+
borderRadius: 8,
|
|
2199
|
+
},
|
|
2200
|
+
}}>
|
|
2201
|
+
{mode.label}
|
|
2202
|
+
</Button>);
|
|
2203
|
+
})}
|
|
2204
|
+
</Vertical>
|
|
2205
|
+
|
|
2206
|
+
<Vertical gap={8}>
|
|
2207
|
+
<Text fontSize={11} fontWeight="700" letterSpacing="0.08em" textTransform="uppercase" color={activeConfig.theme.muted}>
|
|
2208
|
+
Brand
|
|
2209
|
+
</Text>
|
|
2210
|
+
{groupedConfigs.map((item) => {
|
|
2211
|
+
const isActive = item.id === activeConfigId;
|
|
2212
|
+
return (<Button key={item.id} variant={isActive ? 'filled' : 'ghost'} isFilled onClick={() => setActiveConfigId(item.id)} views={{
|
|
2213
|
+
container: {
|
|
2214
|
+
justifyContent: 'space-between',
|
|
2215
|
+
borderRadius: 8,
|
|
2216
|
+
},
|
|
2217
|
+
}}>
|
|
2218
|
+
<Horizontal width="100%" justifyContent="space-between" alignItems="center" gap={12}>
|
|
2219
|
+
<Text as="span">{item.label}</Text>
|
|
2220
|
+
<Text as="span" fontSize={11} opacity={0.72}>
|
|
2221
|
+
{item.appearance}
|
|
2222
|
+
</Text>
|
|
2223
|
+
</Horizontal>
|
|
2224
|
+
</Button>);
|
|
2225
|
+
})}
|
|
2226
|
+
</Vertical>
|
|
2227
|
+
</Vertical>
|
|
2228
|
+
|
|
2229
|
+
<View flex={1} minWidth={0} height="100vh">
|
|
2230
|
+
{renderViewContent()}
|
|
2231
|
+
</View>
|
|
2232
|
+
</Horizontal>);
|
|
2233
|
+
};
|
|
2234
|
+
export default DesignSystemPage;
|
|
2235
|
+
//# sourceMappingURL=designSystem.page.js.map
|