@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,894 @@
|
|
|
1
|
+
# Building a Component Library on top of the Design System
|
|
2
|
+
|
|
3
|
+
This document explains the design-system architecture in [src/design-system/](../../src/design-system/) and shows how to author new components so they automatically pick up brand-specific tokens (colors, typography, spacing, radii, shadows), component-level overrides (variant, size, shape, views), and the brand-personality DNA that drives layout-level decisions.
|
|
4
|
+
|
|
5
|
+
You should be able to drop a component into the library and have it correctly render under any of the 15 shipped brand configs (`airbnb`, `apple`, `coinbase`, `figma`, `linear`, `nike`, `notion`, `revolut`, `shopify`, `spacex`, `spotify`, `stripe`, `tesla`, `uber`, `vercel`) without touching a single config file.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 1. Mental model
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
┌──────────────────────────────────────────────────────────────────┐
|
|
13
|
+
│ DesignSystemProvider │
|
|
14
|
+
│ React context holding a single DesignSystemConfig │
|
|
15
|
+
│ + emits brand CSS variables (--theme-primary, …) on a wrapper │
|
|
16
|
+
└──────────────────────────────────────────────────────────────────┘
|
|
17
|
+
│ │
|
|
18
|
+
▼ ▼
|
|
19
|
+
┌──────────────────────┐ ┌──────────────────────────┐
|
|
20
|
+
│ useDesignSystem() │ │ useMergedDesign... │
|
|
21
|
+
│ → { config, ... } │ │ ComponentProps(name, │
|
|
22
|
+
└──────────────────────┘ │ props) │
|
|
23
|
+
│ → merged props │
|
|
24
|
+
└──────────────────────────┘
|
|
25
|
+
│
|
|
26
|
+
▼
|
|
27
|
+
┌────────────────────────────────┐
|
|
28
|
+
│ ComponentView │
|
|
29
|
+
│ Renders with merged values │
|
|
30
|
+
│ Resolves theme-* tokens via │
|
|
31
|
+
│ CSS variables │
|
|
32
|
+
└────────────────────────────────┘
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
A `DesignSystemConfig` is a plain JSON object with **five** sections (the fifth is new):
|
|
36
|
+
|
|
37
|
+
| Section | Holds |
|
|
38
|
+
|----------------|------------------------------------------------------------------------------------------------|
|
|
39
|
+
| `metadata` | `id`, `label`, `sourcePath`, `defaultAppearance` (`light` / `dark`), optional Google Font links |
|
|
40
|
+
| `theme` | 11 semantic colors: `primary`, `secondary`, `success`, `warning`, `error`, `canvas`, `surface`, `text`, `muted`, `border`, `onPrimary` |
|
|
41
|
+
| `tokens` | Raw extracted material: `rawCssVars`, `colors[]`, `typography`, `spacing[]`, `radii[]`, `shadows[]` |
|
|
42
|
+
| `components` | Per-component defaults: `{ variant, size, shape, color, views: { container, label, ... } }` |
|
|
43
|
+
| `personality` | **New.** Brand DNA: corner style, type weight/case, accent treatment, signature motif, density |
|
|
44
|
+
|
|
45
|
+
A component reads three things at render time:
|
|
46
|
+
1. **Theme tokens** — via `theme-primary`, `theme-canvas`, etc. These are **resolved by app-studio's color resolver**, which the DesignSystemProvider configures with the active brand's `theme` block. Same token, different per-brand value — no per-component branching.
|
|
47
|
+
2. **Component config** — via `useMergedDesignSystemComponentProps(name, props)`, which deep-merges the user's explicit props *over* the active brand's defaults.
|
|
48
|
+
3. **Personality** (optional) — via `config.personality` when a page or component needs layout-level brand cues (e.g., sharp vs pill corners, uppercase tracked headlines, glow accents).
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 2. The provider
|
|
53
|
+
|
|
54
|
+
[src/design-system/DesignSystemProvider.tsx](../../src/design-system/DesignSystemProvider.tsx) exposes:
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
<DesignSystemProvider config={airbnbConfig}> // by config object
|
|
58
|
+
<DesignSystemProvider configId="airbnb"> // by id (looks up in designSystemConfigs)
|
|
59
|
+
<DesignSystemProvider /> // falls back to defaultDesignSystemConfig
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Under the hood the provider:
|
|
63
|
+
1. Stores the active config in React context (so `useDesignSystem()` and `useMergedDesignSystemComponentProps(...)` can reach the active brand).
|
|
64
|
+
2. **Delegates token resolution to app-studio's `<ThemeProvider>`** — it passes `theme={config.theme}` and `mode={config.metadata.defaultAppearance}`, plus `transparentWrapper` so the inner provider doesn't repaint the page. app-studio iterates the theme object and emits one `--theme-<slot>` CSS variable per key (`--theme-primary`, `--theme-canvas`, `--theme-surface`, `--theme-text`, `--theme-muted`, `--theme-border`, `--theme-on-primary`, `--theme-secondary`, `--theme-success`, `--theme-warning`, `--theme-error`, plus any extras you add). When a component requests `theme-primary` (via app-studio's color resolver — `getColor`, `<Element backgroundColor="theme-primary" />`, …), the resolver returns `var(--theme-primary)`, which the browser resolves to the brand's hex.
|
|
65
|
+
3. Sets `data-design-system="<id>"` and `data-appearance="light|dark"` on a `display:contents` child for downstream CSS targeting.
|
|
66
|
+
|
|
67
|
+
That **app-studio handles the resolution end-to-end**: brand `theme` block → `--theme-*` CSS variables → `getColor('theme-primary')` → `var(--theme-primary)` → resolved hex. There is no hand-rolled style injection inside DesignSystemProvider — it's a thin React-context layer plus a single delegation to `<ThemeProvider>`.
|
|
68
|
+
|
|
69
|
+
> **Why the indirection?** Two reasons:
|
|
70
|
+
> 1. The app's root `<ThemeProvider>` (in `providers/index.tsx`) sets the default theme. The DesignSystemProvider nests inside it and overrides `--theme-*` for its subtree only, so the rest of the app keeps its global theme.
|
|
71
|
+
> 2. app-studio's resolver knows how to handle `theme-primary-100` (alpha suffix), `theme-primary` (token reference inside theme objects), and other token shapes uniformly. Reimplementing the resolver per design-system would drift.
|
|
72
|
+
|
|
73
|
+
Hooks:
|
|
74
|
+
|
|
75
|
+
```ts
|
|
76
|
+
useDesignSystem() // → { config, configId, isEnabled }
|
|
77
|
+
useDesignSystemComponentProps(name) // → component config block (variant, size, views, ...)
|
|
78
|
+
useMergedDesignSystemComponentProps(name, props)
|
|
79
|
+
// → props deep-merged with config defaults; explicit props always win
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Switching brand at runtime is just a state update of the `config` (or `configId`) prop. Components below re-render with the new tokens, and the CSS variables on the wrapper update — so theme-token references flip across the entire subtree.
|
|
83
|
+
|
|
84
|
+
> **Pro tip.** When swapping config under a stateful component tree, force-remount with a `key={config.metadata.id}` to flush internal state from useState/useEffect/useRef hooks (e.g., Tabs' active-tab state, Title's `useTitleState`). Otherwise transitive caches can stick to the old brand. The design-system page does exactly this on its `<Showcase>` host.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 3. Config structure in detail
|
|
89
|
+
|
|
90
|
+
### 3.1 `metadata`
|
|
91
|
+
```jsonc
|
|
92
|
+
{
|
|
93
|
+
"id": "airbnb",
|
|
94
|
+
"label": "Airbnb",
|
|
95
|
+
"sourcePath": "design.md/html/airbnb.html",
|
|
96
|
+
"defaultAppearance": "light",
|
|
97
|
+
"googleFontLinks": [
|
|
98
|
+
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
`googleFontLinks` is consumed by `<Helmet>` in the showcase to inject brand-specific web fonts. **Only load fonts you actually reference** in `tokens.typography.fontFamily` — Nike's config used to load `Bebas+Neue` even though the font chain pointed elsewhere. Verify alignment when you add a brand.
|
|
104
|
+
|
|
105
|
+
### 3.2 `theme` (11 semantic colors — the single source of truth)
|
|
106
|
+
```jsonc
|
|
107
|
+
{
|
|
108
|
+
"primary": "#ff385c",
|
|
109
|
+
"secondary": "#222222",
|
|
110
|
+
"success": "#428bff",
|
|
111
|
+
"warning": "#460479",
|
|
112
|
+
"error": "#c13515",
|
|
113
|
+
"canvas": "#ffffff",
|
|
114
|
+
"surface": "#f7f7f7",
|
|
115
|
+
"text": "#222222",
|
|
116
|
+
"muted": "#6a6a6a",
|
|
117
|
+
"border": "#dddddd",
|
|
118
|
+
"onPrimary": "#ffffff"
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`theme` is the **only** place hex values for those eleven roles should live. Everything else — `tokens.colors[]`, `components.*.views`, page-level inline styles — should reference them via `theme-*` token strings. That's the contract: change one hex in `theme.primary` and every button, badge, focus ring, link, and brand snapshot updates across the design-system page.
|
|
123
|
+
|
|
124
|
+
### 3.3 `tokens` (raw extracted material)
|
|
125
|
+
```jsonc
|
|
126
|
+
{
|
|
127
|
+
"rawCssVars": { "--rausch": "#ff385c", "--space-3": "8px", ... },
|
|
128
|
+
"colors": [ { "name": "rausch", "value": "#ff385c", "role": "primary" }, ... ],
|
|
129
|
+
"typography": {
|
|
130
|
+
"fontFamily": "'Inter', system-ui, sans-serif",
|
|
131
|
+
"monoFamily": "ui-monospace, SF Mono, monospace",
|
|
132
|
+
"fontSizes": ["12px","14px","16px","18px","24px","32px","48px"],
|
|
133
|
+
"fontWeights": ["400","500","600","700"],
|
|
134
|
+
"lineHeights": ["1.0","1.2","1.4","1.6"]
|
|
135
|
+
},
|
|
136
|
+
"spacing": ["2px","4px","8px","12px","16px","24px","32px","56px"],
|
|
137
|
+
"radii": ["3px","4px","6px","8px","14px","9999px"],
|
|
138
|
+
"shadows": [ "0 1px 2px rgba(0,0,0,0.04)", "0 4px 12px rgba(0,0,0,0.08)" ]
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Use `tokens.*` for documentation/tooling (color-block grid, elevation gallery) and for per-brand page orchestration. Prefer `theme.*` (via `theme-*` token strings) for the actual component styling that's wired through `views`.
|
|
143
|
+
|
|
144
|
+
Keep `tokens.colors[]` entries with `role: 'primary' | 'secondary' | ...` in sync with `theme.*`. The token-grid table in the design-system page reads from `tokens.colors`, so a mismatch shows up immediately.
|
|
145
|
+
|
|
146
|
+
### 3.4 `components` (per-component defaults)
|
|
147
|
+
```jsonc
|
|
148
|
+
{
|
|
149
|
+
"button": {
|
|
150
|
+
"variant": "filled",
|
|
151
|
+
"size": "md",
|
|
152
|
+
"shape": "rounded",
|
|
153
|
+
"views": {
|
|
154
|
+
"container": {
|
|
155
|
+
"borderRadius": "8px",
|
|
156
|
+
"backgroundColor": "theme-primary",
|
|
157
|
+
"color": "theme-on-primary",
|
|
158
|
+
"fontFamily": "'Inter', system-ui, sans-serif"
|
|
159
|
+
},
|
|
160
|
+
"label": { "fontWeight": 600 }
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
The `views` object mirrors the component's own slot map. Every component that opts into the design system should expose a `views: { slotA, slotB, ... }` API; the config's keys must match those slot names.
|
|
167
|
+
|
|
168
|
+
**All color values inside `components.*.views.*` MUST be theme-token references** (`theme-primary`, `theme-canvas`, etc.), never literal hex. Literal hex couples the component config to one specific brand and won't adapt when the parent context changes appearance (e.g., rendering Airbnb on a faked dark surface in a showcase).
|
|
169
|
+
|
|
170
|
+
> **Critical for variant-bearing components (badge, button, card, etc.):** put values that depend on the **default variant** at the *slot level* (`views.label.fontWeight`), not at the *container level* (`views.container.color`). A container-level `color` cascades into outline/ghost variants and overrides their proper text color — that's the bug that made Airbnb's outline badge render white-on-white. The Badge component now defensively re-applies non-filled variant `color`/`backgroundColor`/`borderColor` after the container spread (see [`Badge.view.tsx`](../../src/components/Badge/Badge/Badge.view.tsx)). New components should follow the same pattern, or simply avoid putting variant-coupled colors on `views.container`. See [§7.1](#71-keep-overrides-variant-safe).
|
|
171
|
+
|
|
172
|
+
### 3.5 `personality` (brand DNA — new section)
|
|
173
|
+
```jsonc
|
|
174
|
+
{
|
|
175
|
+
"cornerStyle": "sharp", // 'sharp' | 'soft' | 'pill'
|
|
176
|
+
"typeWeight": "black", // 'light' | 'regular' | 'bold' | 'black'
|
|
177
|
+
"typeCase": "uppercase", // 'normal' | 'uppercase'
|
|
178
|
+
"typeStyle": "normal", // 'normal' | 'italic'
|
|
179
|
+
"letterSpacing": "0.06em",
|
|
180
|
+
"accentTreatment": "glow", // 'flat' | 'gradient' | 'stripe' | 'glow' | 'halftone'
|
|
181
|
+
"signatureMotif": "⚡",
|
|
182
|
+
"density": "tight", // 'tight' | 'comfortable' | 'spacious'
|
|
183
|
+
"surfaceTone": "mono", // 'paper' | 'glass' | 'matte' | 'mono'
|
|
184
|
+
"cardRadius": 2,
|
|
185
|
+
"pillRadius": 0,
|
|
186
|
+
"badgeRadius": 0,
|
|
187
|
+
"voice": "technical-mission"
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
`personality` lets pages and bespoke showcase components reach for *layout-level* brand cues that don't fit into 11 colors and `views` slots: the corner style of decorative shapes, the type weight of headlines, the texture of an accent stripe behind a hero, the signature motif used in a featured badge, the density of vertical rhythm. The 15 shipped brand configs all carry a `personality` block; the design-system page uses it for the Brand Snapshot, tier-pricing cards, content cards, and color-block sections.
|
|
192
|
+
|
|
193
|
+
The field is **optional**. Components that don't need it can ignore it entirely. Pages that do can pull it via `getPersonality(config)` from the design-system page (which falls back to a `defaultPersonality` if the brand doesn't declare one). See [§5.2](#52-personality-driven-helpers) for the page-level helpers built on top.
|
|
194
|
+
|
|
195
|
+
### 3.6 Uniform schema across configs
|
|
196
|
+
|
|
197
|
+
Every brand config carries the **same set of keys** (the same shape down through `metadata`, `theme`, `tokens.typography`, `components.*.views.*`, and `personality`). The only intentionally per-brand bucket is `tokens.rawCssVars`, which stores each brand's extracted CSS variables and is by definition non-uniform.
|
|
198
|
+
|
|
199
|
+
> **Why uniform schemas?** Authoring a new brand becomes a fill-in-the-blanks exercise — copy any existing config, replace values, and you cannot accidentally drop a slot the runtime expects. Cross-brand audits (radii audit, font-weight audit, etc.) collapse to a single read path with no `?.` plumbing required.
|
|
200
|
+
|
|
201
|
+
#### Empty values use `null`, not missing keys
|
|
202
|
+
|
|
203
|
+
Some brands deliberately don't customize a slot — Airbnb's badge, for instance, has no `views.container.backgroundColor` / `color` / `borderColor` overrides (the component default carries it). In a uniform schema the key still has to be present, so the convention is:
|
|
204
|
+
|
|
205
|
+
```jsonc
|
|
206
|
+
"badge": {
|
|
207
|
+
"views": {
|
|
208
|
+
"container": {
|
|
209
|
+
"backgroundColor": null, // ← present in schema, no override
|
|
210
|
+
"color": null,
|
|
211
|
+
"borderColor": null,
|
|
212
|
+
"borderRadius": 6, // ← real override
|
|
213
|
+
"fontFamily": "'Inter', ..."
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
`null` means "this brand does not override this slot — use the component default." Compare to omitting the key entirely (which used to be the convention): both behave the same at runtime now, but `null` makes the schema obvious to readers and to schema-audit tooling.
|
|
220
|
+
|
|
221
|
+
#### Nulls are stripped at the config boundary
|
|
222
|
+
|
|
223
|
+
[`getDesignSystemComponentProps`](../../src/design-system/utils.ts) runs `stripNullsDeep` on the brand's component block before returning it, so by the time anything is merged the schema placeholders are gone. This matters because the spread chain in component views is `{...baseStyles} {...views?.container} {...props}` — if `views.container.backgroundColor` were still `null` at spread time, it would clobber the variant's `theme-primary` background with `null`. Pre-stripping at the boundary is also why [`deepMerge`](../../src/design-system/utils.ts) stays cycle-safe: it only recurses when *both* sides are plain objects (so React elements passed via `children` / refs are assigned by reference, never traversed).
|
|
224
|
+
|
|
225
|
+
`deepMerge` still skips top-level `null`/`undefined` so user props can't reintroduce them. The merge precedence is unchanged: **component defaults → brand config (null-stripped) → user props (skipping `undefined`) → user `config` overrides**.
|
|
226
|
+
|
|
227
|
+
If you need to *force-clear* an inherited slot value down to its CSS default, pass an explicit token like `'transparent'` or `'inherit'` — `null` is reserved for "no opinion."
|
|
228
|
+
|
|
229
|
+
#### Auditing the schema
|
|
230
|
+
|
|
231
|
+
A small Node check that the 15 configs share the same object-key tree (excluding `tokens.rawCssVars`):
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
node -e "
|
|
235
|
+
const fs = require('fs');
|
|
236
|
+
const path = require('path');
|
|
237
|
+
const dir = 'src/design-system/configs';
|
|
238
|
+
const files = fs.readdirSync(dir).filter(f => f.endsWith('.json'));
|
|
239
|
+
const EXCLUDE = ['tokens.rawCssVars'];
|
|
240
|
+
const collect = (o, p, s) => {
|
|
241
|
+
if (!o || typeof o !== 'object' || Array.isArray(o)) return;
|
|
242
|
+
for (const k of Object.keys(o)) {
|
|
243
|
+
const np = p ? p + '.' + k : k;
|
|
244
|
+
if (EXCLUDE.some(e => np === e || np.startsWith(e + '.'))) continue;
|
|
245
|
+
s.add(np); collect(o[k], np, s);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
const per = {};
|
|
249
|
+
for (const f of files) { const s = new Set(); collect(JSON.parse(fs.readFileSync(path.join(dir, f), 'utf-8')), '', s); per[f] = s; }
|
|
250
|
+
const all = new Set(); Object.values(per).forEach(s => s.forEach(p => all.add(p)));
|
|
251
|
+
const drift = [...all].filter(p => Object.values(per).some(s => !s.has(p))).sort();
|
|
252
|
+
if (drift.length === 0) console.log('OK — schema uniform across', files.length, 'configs');
|
|
253
|
+
else { console.log('DRIFT:'); for (const p of drift) console.log(' -', p); }
|
|
254
|
+
"
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Run this after adding a new config (or modifying an existing one) to catch schema drift before it ships.
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## 4. Authoring a new component
|
|
262
|
+
|
|
263
|
+
Conventions live in [docs/conventions.md](../conventions.md) — folder structure, file naming, props pattern. The bits specific to the design system are below.
|
|
264
|
+
|
|
265
|
+
### 4.1 Skeleton
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
src/components/MyWidget/
|
|
269
|
+
├── MyWidget.tsx # public entry; calls useMergedDesignSystemComponentProps
|
|
270
|
+
├── MyWidget/
|
|
271
|
+
│ ├── MyWidget.props.ts # interface exposing variant, size, shape, views
|
|
272
|
+
│ ├── MyWidget.type.d.ts # union types for variant, size, shape
|
|
273
|
+
│ ├── MyWidget.style.ts # local size/variant/shape style maps
|
|
274
|
+
│ ├── MyWidget.view.tsx # pure presentational render
|
|
275
|
+
│ └── MyWidget.state.ts # (optional) stateful logic
|
|
276
|
+
└── examples/
|
|
277
|
+
└── default.tsx
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### 4.2 Public entry — wire up the design system
|
|
281
|
+
|
|
282
|
+
```tsx
|
|
283
|
+
// MyWidget.tsx
|
|
284
|
+
import React from 'react';
|
|
285
|
+
import { MyWidgetProps } from './MyWidget/MyWidget.props';
|
|
286
|
+
import MyWidgetView from './MyWidget/MyWidget.view';
|
|
287
|
+
import { useMergedDesignSystemComponentProps } from 'src/design-system';
|
|
288
|
+
|
|
289
|
+
export const MyWidget: React.FC<MyWidgetProps> = (props) => {
|
|
290
|
+
const merged = useMergedDesignSystemComponentProps('myWidget', props);
|
|
291
|
+
return <MyWidgetView {...merged} />;
|
|
292
|
+
};
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
That single hook call wires the component to the brand. It deep-merges the active config's `components.myWidget` over `props` so:
|
|
296
|
+
- explicit props always win,
|
|
297
|
+
- brand defaults fill in everything else,
|
|
298
|
+
- nested `views.*` get merged slot-by-slot.
|
|
299
|
+
|
|
300
|
+
Then **register the new component name** in [src/design-system/types.ts](../../src/design-system/types.ts):
|
|
301
|
+
|
|
302
|
+
```ts
|
|
303
|
+
export type DesignSystemComponentName =
|
|
304
|
+
| 'button'
|
|
305
|
+
| 'card'
|
|
306
|
+
| ...
|
|
307
|
+
| 'myWidget'; // ← add it here
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### 4.3 Props interface — expose the standard shape
|
|
311
|
+
|
|
312
|
+
```ts
|
|
313
|
+
// MyWidget.props.ts
|
|
314
|
+
import { ViewProps } from 'app-studio';
|
|
315
|
+
|
|
316
|
+
export interface MyWidgetViews {
|
|
317
|
+
container?: ViewProps;
|
|
318
|
+
label?: ViewProps;
|
|
319
|
+
icon?: ViewProps;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export interface MyWidgetProps {
|
|
323
|
+
variant?: 'filled' | 'outline' | 'ghost';
|
|
324
|
+
size?: 'sm' | 'md' | 'lg';
|
|
325
|
+
shape?: 'square' | 'rounded' | 'pill';
|
|
326
|
+
colorScheme?: 'primary' | 'secondary' | 'black' | 'white';
|
|
327
|
+
isDisabled?: boolean;
|
|
328
|
+
isLoading?: boolean;
|
|
329
|
+
views?: MyWidgetViews;
|
|
330
|
+
children?: React.ReactNode;
|
|
331
|
+
}
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
Standard prop names — `variant` / `size` / `shape` / `colorScheme` / `isDisabled` / `isLoading` / `views` — let consumers reason about every component the same way and let configs override them uniformly.
|
|
335
|
+
|
|
336
|
+
### 4.4 View — read theme, then layer overrides
|
|
337
|
+
|
|
338
|
+
```tsx
|
|
339
|
+
// MyWidget.view.tsx
|
|
340
|
+
import React from 'react';
|
|
341
|
+
import { Center, Text, useTheme } from 'app-studio';
|
|
342
|
+
import { MyWidgetSizes, MyWidgetVariants, MyWidgetShapes } from './MyWidget.style';
|
|
343
|
+
import { MyWidgetProps } from './MyWidget.props';
|
|
344
|
+
|
|
345
|
+
const MyWidgetView: React.FC<MyWidgetProps> = ({
|
|
346
|
+
variant = 'filled',
|
|
347
|
+
size = 'md',
|
|
348
|
+
shape = 'rounded',
|
|
349
|
+
views,
|
|
350
|
+
children,
|
|
351
|
+
...rest
|
|
352
|
+
}) => {
|
|
353
|
+
const { themeMode } = useTheme();
|
|
354
|
+
const variantStyles = MyWidgetVariants(themeMode)[variant];
|
|
355
|
+
|
|
356
|
+
return (
|
|
357
|
+
<Center
|
|
358
|
+
// 1. base layout
|
|
359
|
+
display="inline-flex"
|
|
360
|
+
gap={6}
|
|
361
|
+
// 2. size (width/height/padding/font sizing)
|
|
362
|
+
{...MyWidgetSizes[size]}
|
|
363
|
+
// 3. shape (border radius)
|
|
364
|
+
borderRadius={MyWidgetShapes[shape]}
|
|
365
|
+
// 4. variant (theme-* color references)
|
|
366
|
+
{...variantStyles}
|
|
367
|
+
// 5. brand override (config.components.myWidget.views.container)
|
|
368
|
+
{...views?.container}
|
|
369
|
+
// 6. user-supplied container styles last
|
|
370
|
+
{...rest}
|
|
371
|
+
>
|
|
372
|
+
<Text {...views?.label}>{children}</Text>
|
|
373
|
+
</Center>
|
|
374
|
+
);
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
export default MyWidgetView;
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
The order matters: **size → shape → variant → views.container → user props**. Each later spread wins over the previous. The user always has the last word.
|
|
381
|
+
|
|
382
|
+
For variant-bearing components, **defensively reapply variant `color` / `backgroundColor` / `borderColor` after `views.container` when variant !== 'filled'** — otherwise a brand container color set for the filled default will leak into outline/ghost renders. [`Badge.view.tsx`](../../src/components/Badge/Badge/Badge.view.tsx) is the reference implementation.
|
|
383
|
+
|
|
384
|
+
### 4.5 Style — reference theme colors, not hex
|
|
385
|
+
|
|
386
|
+
```ts
|
|
387
|
+
// MyWidget.style.ts
|
|
388
|
+
export const MyWidgetSizes = {
|
|
389
|
+
sm: { height: 28, padding: '0 10px', fontSize: 12 },
|
|
390
|
+
md: { height: 36, padding: '0 14px', fontSize: 14 },
|
|
391
|
+
lg: { height: 44, padding: '0 18px', fontSize: 16 },
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export const MyWidgetShapes = { square: 0, rounded: 8, pill: 9999 };
|
|
395
|
+
|
|
396
|
+
export const MyWidgetVariants = (themeMode: string) => ({
|
|
397
|
+
filled: {
|
|
398
|
+
backgroundColor: 'theme-primary', // ← resolves to var(--theme-primary)
|
|
399
|
+
color: 'theme-on-primary',
|
|
400
|
+
},
|
|
401
|
+
outline: {
|
|
402
|
+
backgroundColor: 'transparent',
|
|
403
|
+
color: 'theme-primary',
|
|
404
|
+
borderWidth: 1,
|
|
405
|
+
borderStyle: 'solid',
|
|
406
|
+
borderColor: 'theme-primary',
|
|
407
|
+
},
|
|
408
|
+
ghost: {
|
|
409
|
+
backgroundColor: 'transparent',
|
|
410
|
+
color: 'theme-text',
|
|
411
|
+
},
|
|
412
|
+
});
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
Valid resolver tokens (app-studio emits a `--theme-<slot>` CSS variable for every key in `config.theme`):
|
|
416
|
+
- Colors: `theme-primary`, `theme-secondary`, `theme-success`, `theme-warning`, `theme-error`, `theme-canvas`, `theme-surface`, `theme-text`, `theme-muted`, `theme-border`, `theme-onPrimary`
|
|
417
|
+
- Alpha suffix (app-studio resolver feature): `theme-primary-100` … `theme-primary-1000` resolves to a `color-mix` 0–100% mix with transparent. Useful for tints: `theme-primary-100` ≈ 10% primary on transparent.
|
|
418
|
+
- Token references inside the theme object itself: if you set `theme.primary: 'color-blue-700'`, app-studio emits `--theme-primary: var(--color-blue-700)` (chained var). This lets you point one slot at another via tokens rather than hex.
|
|
419
|
+
|
|
420
|
+
**Never hardcode `#ff385c`**, **never read `tokens.colors[N]` from inside a component** — that ties the component to a single brand.
|
|
421
|
+
|
|
422
|
+
### 4.6 Defaults should `inherit`, not lock to a color
|
|
423
|
+
|
|
424
|
+
For non-decorative properties (label color, helper text color, secondary text on a generic surface), default to `color: 'inherit'` so the surrounding context drives it. The brand `views.label.fontFamily` / `fontWeight` / `letterSpacing` can still customize the type, but locking `color: 'color-gray-700'` (or a brand-specific `theme-muted`) makes the label invisible the moment the component is rendered on an inverted-tone surface in a showcase.
|
|
425
|
+
|
|
426
|
+
This is the pattern the form controls now follow:
|
|
427
|
+
- [`FieldLabel.tsx`](../../src/components/Input/FieldLabel/FieldLabel.tsx) — `color: 'inherit'` with `opacity: 0.72` for muted feel
|
|
428
|
+
- [`Checkbox.view.tsx`](../../src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx), [`Radio.view.tsx`](../../src/components/Form/Radio/Radio/Radio.view.tsx), [`Switch.view.tsx`](../../src/components/Form/Switch/Switch/Switch.view.tsx) — label color inherits from parent
|
|
429
|
+
- [`StatusIndicator.style.tsx`](../../src/components/StatusIndicator/StatusIndicator/StatusIndicator.style.tsx) — semantic dot color stays vivid, label inherits
|
|
430
|
+
- [`Table.style.ts`](../../src/components/Table/Table/Table.style.ts) — `td`/`th`/`caption` color = `inherit`, opacity dims them
|
|
431
|
+
|
|
432
|
+
Brand configs reinforce this by **not** specifying `label.color` on `checkbox`/`radio`/`switch`/`input`/`textarea`/`select` — the field is intentionally absent so the inherit cascade can do its job. Don't put it back when adding a new brand.
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## 5. Brand-aware values that don't fit `theme.*`
|
|
437
|
+
|
|
438
|
+
For things outside the 11 semantic colors — radii, shadows, typography weights — pull from `config.tokens` or `config.personality` via the design-system hook in *page-level orchestration code*, not inside reusable components. The component itself should expose a `views` slot the page can fill:
|
|
439
|
+
|
|
440
|
+
```tsx
|
|
441
|
+
// page code that knows about brands
|
|
442
|
+
import { useDesignSystem } from 'src/design-system';
|
|
443
|
+
|
|
444
|
+
const Hero = () => {
|
|
445
|
+
const { config } = useDesignSystem();
|
|
446
|
+
return (
|
|
447
|
+
<Card
|
|
448
|
+
views={{
|
|
449
|
+
container: {
|
|
450
|
+
borderRadius: config.personality?.cardRadius ?? 12,
|
|
451
|
+
boxShadow: config.tokens.shadows[1],
|
|
452
|
+
fontFamily: config.tokens.typography.fontFamily,
|
|
453
|
+
},
|
|
454
|
+
}}
|
|
455
|
+
>
|
|
456
|
+
...
|
|
457
|
+
</Card>
|
|
458
|
+
);
|
|
459
|
+
};
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
The component stays brand-agnostic; the page applies brand-specific styling through the public `views` API.
|
|
463
|
+
|
|
464
|
+
### 5.1 Component-appropriate radii
|
|
465
|
+
|
|
466
|
+
The page utility `componentRadius(config, name)` in [src/pages/designSystem.page.tsx](../../src/pages/designSystem.page.tsx) demonstrates the right pattern: read the component's own configured `views.container.borderRadius`, with a fallback chain to a related component (`accordion → card → alert`, `tabs → button`). That keeps Apple's tabs pill-shaped, Stripe's at 4px, and Nike's at 0 — all without hardcoding.
|
|
467
|
+
|
|
468
|
+
### 5.2 Personality-driven helpers
|
|
469
|
+
|
|
470
|
+
The design-system page exposes a battery of helpers built on top of `config.personality`:
|
|
471
|
+
|
|
472
|
+
| Helper | Returns |
|
|
473
|
+
|---------------------------------------|--------------------------------------------------------------------------------------------------|
|
|
474
|
+
| `getPersonality(config)` | The personality block, falling back to a safe default if absent |
|
|
475
|
+
| `personalityFontWeight(p, bump)` | Numeric font-weight from `typeWeight`, with optional `'light' \| 'normal' \| 'heavy'` adjustment |
|
|
476
|
+
| `personalityDensityScale(p)` | `{ padding, gap, large }` triplet keyed off `density` |
|
|
477
|
+
| `personalityHeadingStyle(p)` | `letterSpacing` + `textTransform` + `fontStyle` + `fontWeight` for hero/title text |
|
|
478
|
+
| `personalityLabelStyle(p)` | Smaller-cap label treatment (tighter weight, lighter tracking) |
|
|
479
|
+
| `personalitySurfaceStyle(p, palette)` | Background + backdrop-filter per `surfaceTone` (paper / glass / matte / mono) |
|
|
480
|
+
| `personalityAccentBackground(p, palette)` | A CSS background string per `accentTreatment` (flat / gradient / stripe / glow / halftone) |
|
|
481
|
+
| `personalityAccentShadow(p, palette)` | A bloom shadow for `accentTreatment: 'glow'`, undefined otherwise |
|
|
482
|
+
|
|
483
|
+
Use these inside bespoke page-level compositions (brand snapshots, tier-pricing cards, content blocks). Keep them out of reusable library components — those should stay personality-agnostic and let the page supply the styling via `views`.
|
|
484
|
+
|
|
485
|
+
---
|
|
486
|
+
|
|
487
|
+
## 6. Authoring a config for a new brand
|
|
488
|
+
|
|
489
|
+
A config is a JSON file under [src/design-system/configs/](../../src/design-system/configs/). To add `mybrand`:
|
|
490
|
+
|
|
491
|
+
1. **Create `mybrand.json`** with all five sections (`metadata`, `theme`, `tokens`, `components`, `personality`). Use an existing config as a template — `airbnb.json` (light) or `linear.json` (dark) are the cleanest references.
|
|
492
|
+
2. **Register it** in [src/design-system/configs/index.ts](../../src/design-system/configs/index.ts):
|
|
493
|
+
```ts
|
|
494
|
+
import mybrand from './mybrand.json';
|
|
495
|
+
export const designSystemConfigs = {
|
|
496
|
+
...,
|
|
497
|
+
mybrand: mybrand as DesignSystemConfig,
|
|
498
|
+
};
|
|
499
|
+
```
|
|
500
|
+
3. **Verify completeness.** All 22 component keys should be present (button, badge, card, input, select, textarea, checkbox, radio, switch, slider, tabs, accordion, table, avatar, alert, status, progress, loader, separator, navigation, hero, page). Run the audit script:
|
|
501
|
+
```bash
|
|
502
|
+
node -e "const c = require('./src/design-system/configs/mybrand.json'); \
|
|
503
|
+
console.log('components:', Object.keys(c.components).length)"
|
|
504
|
+
```
|
|
505
|
+
Then run the **schema-drift audit** from [§3.6](#36-uniform-schema-across-configs) — every key present in any other config (outside `tokens.rawCssVars`) must also exist in your new file, even if the value is `null`.
|
|
506
|
+
4. **Verify all colors are theme-token references**, not hex. The configs are tokenized: any hex value in `components.*.views.*` that matches a `theme.*` entry has been replaced with `theme-<slot>`. Stay consistent.
|
|
507
|
+
5. **Verify the font family is loadable.** If you reference `'Custom Brand Font'` and that font isn't on Google Fonts and you didn't ship it locally, end-users get the next fallback in the chain. Always include `'Inter'` or `system-ui` somewhere downstream as a graceful fallback.
|
|
508
|
+
6. **Visual check.** Open `/design-system` and pick the brand from the sidebar. The Source HTML and Compare tabs let you visually diff the live components against the original reference.
|
|
509
|
+
|
|
510
|
+
### 6.1 Brand fingerprint cheat-sheet
|
|
511
|
+
|
|
512
|
+
The 15 shipped configs cluster into recognizable patterns. Use these as orientation when extracting a new brand:
|
|
513
|
+
|
|
514
|
+
| Aesthetic | Brands | Key tells |
|
|
515
|
+
|----------------------|-------------------------------------|----------------------------------------------------------------------------|
|
|
516
|
+
| Light minimal | apple, figma, notion, vercel | rounded everything, soft shadows, neutral surfaces |
|
|
517
|
+
| Light brand pop | airbnb (`#ff385c`), coinbase (`#0052ff`), shopify (`#008060`), stripe (`#635bff`) | strong primary on white surface |
|
|
518
|
+
| Dark editorial | linear (`#5e6ad2` on `#08090A`), spacex (white on `#000`) | inverted theme, primary used as accent rather than CTA bg |
|
|
519
|
+
| High-contrast bold | nike (black + `#FA5400` accent), uber (pure black + `#06c167` go-green), vercel (pure black) | square or pill, no in-between, black/white emphasis |
|
|
520
|
+
| Vibrant green | spotify (`#1DB954` on `#000`/`#121212`) | iconic green primary on near-black canvas |
|
|
521
|
+
| Color-shifted | tesla (`#3E6AE1`), revolut (`#1361F0` + `#101D31`) | playful gradients, longer radius range, shadow stacks |
|
|
522
|
+
| Multi-hue play | figma (`#F24E1E` + `#A259FF` + `#0ACF83` + `#FFC700` + `#FF7262`) | every theme slot is a distinct accent, not a tint of primary |
|
|
523
|
+
|
|
524
|
+
When auditing your own brand, identify which cluster it fits and start by copying that template's `theme` block.
|
|
525
|
+
|
|
526
|
+
### 6.2 Authoring a `personality` block
|
|
527
|
+
|
|
528
|
+
Pick the closest values to the brand identity:
|
|
529
|
+
|
|
530
|
+
| Field | Choose based on… |
|
|
531
|
+
|-------------------|---------------------------------------------------------------------------------------------|
|
|
532
|
+
| `cornerStyle` | What does a brand button look like? `sharp` (Nike, SpaceX, Tesla, Uber, Vercel), `soft` (Airbnb, Apple, Coinbase, Figma, Linear, Notion, Shopify, Stripe), `pill` (Revolut, Spotify) |
|
|
533
|
+
| `typeWeight` | Headline weight: `light` (Apple, Tesla), `regular` (Notion), `bold` (most), `black` (Nike, SpaceX, Spotify) |
|
|
534
|
+
| `typeCase` | `uppercase` (Nike, SpaceX, Tesla), `normal` (everyone else) |
|
|
535
|
+
| `typeStyle` | `italic` only for brands that actually use italic editorially (Nike) |
|
|
536
|
+
| `letterSpacing` | Match the marketing site: tight negatives for refined brands (Apple `-0.022em`, Stripe `-0.022em`), positive for tracked uppercase (SpaceX `0.06em`, Nike `0.02em`) |
|
|
537
|
+
| `accentTreatment` | `flat` (most), `gradient` (Linear, Revolut, Stripe), `glow` (SpaceX), `halftone` or `stripe` (rare) |
|
|
538
|
+
| `signatureMotif` | One glyph that screams the brand — lightning (`⚡` SpaceX), play (`▶` Nike, Uber), triangle (`▲` Tesla, Vercel), spark (`✦` Figma), star (`★` Revolut), dot (`●` everywhere else) |
|
|
539
|
+
| `density` | `tight` (Nike, SpaceX, Linear, Uber), `comfortable` (most), `spacious` (Apple, Tesla) |
|
|
540
|
+
| `surfaceTone` | `paper` (white-ish brands), `mono` (mono brands), `glass` (gradient brands), `matte` (Spotify) |
|
|
541
|
+
| `cardRadius` / `pillRadius` / `badgeRadius` | Three radii covering the size span — small chip, pill button, full card |
|
|
542
|
+
| `voice` | Free-form copy hint used to pick taglines and signature copy in the Brand Snapshot |
|
|
543
|
+
|
|
544
|
+
The 15 shipped personality blocks are the canonical references — read them when in doubt.
|
|
545
|
+
|
|
546
|
+
---
|
|
547
|
+
|
|
548
|
+
## 7. Pitfalls
|
|
549
|
+
|
|
550
|
+
### 7.1 Keep overrides variant-safe
|
|
551
|
+
|
|
552
|
+
```jsonc
|
|
553
|
+
// ❌ Bad — breaks outline/ghost variants
|
|
554
|
+
"badge": {
|
|
555
|
+
"views": {
|
|
556
|
+
"container": { "color": "theme-canvas", "backgroundColor": "theme-secondary" }
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
If the user passes `<Badge variant="outline" />`, the variant style sets `color: theme-primary` for outline, but `views.container.color: theme-canvas` (white) overrides it → outline text is white on a white background.
|
|
562
|
+
|
|
563
|
+
```jsonc
|
|
564
|
+
// ✓ Good — variant logic stays intact
|
|
565
|
+
"badge": {
|
|
566
|
+
"views": {
|
|
567
|
+
"container": { "borderRadius": "8px", "fontFamily": "..." },
|
|
568
|
+
"text": { "fontWeight": 600 }
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
Only put **variant-independent** properties on `views.container` (radius, font-family, padding tweaks). Anything that changes per variant — colors, borders — should live inside the component's variant style map, *not* in the config.
|
|
574
|
+
|
|
575
|
+
The Badge component now also defends against this at the view layer ([`Badge.view.tsx`](../../src/components/Badge/Badge/Badge.view.tsx)): for non-filled variants, it reapplies the variant's `color` / `backgroundColor` / `borderColor` *after* `views.container`. New variant-bearing components should follow that pattern.
|
|
576
|
+
|
|
577
|
+
### 7.2 Strip `label.color` from brand component configs
|
|
578
|
+
|
|
579
|
+
The brand configs for `checkbox`, `radio`, `switch`, `input`, `textarea`, `select` should **not** set `label.color`. The components default to `color: 'inherit'` and rely on the surrounding `palette.text` (via PaletteFrame's inline `style={{ color }}`) to drive the label ink. Setting `label.color: 'theme-muted'` (or any brand-specific value) hard-locks the label to that color even when the component is rendered on a faked inverted surface in a showcase — which is exactly what made Uber's "Email updates" / "Standard" / "Enabled" labels invisible on the design-system page's dark frame.
|
|
580
|
+
|
|
581
|
+
The brand `label` block should specify font family, weight, letter-spacing, text-transform — not color.
|
|
582
|
+
|
|
583
|
+
### 7.3 Don't fight the spread order
|
|
584
|
+
|
|
585
|
+
When a component hardcodes `borderWidth={1}` then spreads `{...views.container}` *after*, your override wins. But if you spread `{...views.container}` *before* its own hardcoded prop — your override loses. Read the view source before assuming `views.X` is honored. In the rare case it isn't, pass the override as a top-level prop on the component (which spreads via `{...props}` last); that was the workaround for `Accordion.Item`'s hardcoded `marginBottom: 8` and `borderWidth: 1` on each item.
|
|
586
|
+
|
|
587
|
+
### 7.4 Force remount when the brand swaps
|
|
588
|
+
|
|
589
|
+
Internal `useState` initial values won't update when the config changes. If a component initializes derived state from props (e.g., Tabs from `defaultValue`, Title from `highlightText`), a brand swap can leave it pointing at stale values. Wrap the brand-bound subtree with `key={config.metadata.id}`.
|
|
590
|
+
|
|
591
|
+
### 7.5 Don't pull `theme.primary` into a component file
|
|
592
|
+
|
|
593
|
+
Components should reference `'theme-primary'` (the resolver token), not `config.theme.primary`. The resolver — backed by the CSS variables the provider emits — is what makes the same component render correctly under every brand without re-imports.
|
|
594
|
+
|
|
595
|
+
The exception is **page-level orchestration code** (e.g., `BrandSnapshotSample` in the design-system page) where you need raw hex to drive things like inline-styled gradients or radial backgrounds that don't go through app-studio's resolver. Even there, prefer `palette.primary` from a derived `getLightPalette` / `getDarkPalette` helper over a direct `config.theme.primary` read so the dark-on-light-brand showcase mode works.
|
|
596
|
+
|
|
597
|
+
### 7.6 Verify brand fonts are actually loaded
|
|
598
|
+
|
|
599
|
+
Listing a font in `tokens.typography.fontFamily` doesn't load it. If the font isn't a system font and you don't list it in `metadata.googleFontLinks` (or ship it locally), users get the next fallback in the chain. Cross-check both fields when changing brand typography. Custom commercial fonts (Cereal, sohne, Aeonik, Gotham, Uber Move, Spotify Circular, Shopify Sans) gracefully fall through to Inter or system-ui — those chains are intentional.
|
|
600
|
+
|
|
601
|
+
---
|
|
602
|
+
|
|
603
|
+
## 9. LLM playbook — generating a beautiful, distinctive config
|
|
604
|
+
|
|
605
|
+
This section is written so an LLM (or a human moving fast) can produce a config that **renders correctly on first paint** *and* **feels unmistakably like the target brand** instead of generic-purple-fintech-#5. Read it linearly. The order is the order to fill the file.
|
|
606
|
+
|
|
607
|
+
### 9.1 Inputs you need before you start
|
|
608
|
+
|
|
609
|
+
| Input | Why it matters |
|
|
610
|
+
|-------|----------------|
|
|
611
|
+
| **Brand name + 1–2 sentence identity** | Drives every aesthetic decision below. "Calm, premium, hardware-adjacent" ≠ "Loud, sports-grade, athletic." |
|
|
612
|
+
| **One reference hex (primary brand color)** | Anchors the entire theme palette. Pull from the marketing site's CTA button if unsure. |
|
|
613
|
+
| **Default appearance** (`light` or `dark`) | Determines canvas/text inversion. Linear, SpaceX, Spotify, Uber default `dark`; Apple, Airbnb, Notion default `light`. |
|
|
614
|
+
| **Personality archetype** (pick one from [§9.5](#95-personality-archetypes)) | Shortcut to a coherent `personality` block. |
|
|
615
|
+
| **Typography fingerprint** (pick one from [§9.4](#94-typography-fingerprints)) | Avoids the Inter-everywhere trap. |
|
|
616
|
+
|
|
617
|
+
If a brand source HTML/page exists ([§9.10](#910-when-a-source-html-exists)), extract from it; otherwise generate from brand knowledge.
|
|
618
|
+
|
|
619
|
+
### 9.2 Decision flow (the 7 ordered steps)
|
|
620
|
+
|
|
621
|
+
1. **Pick the primary hex.** One color. Everything else is derived.
|
|
622
|
+
2. **Pick appearance.** Light brands → `canvas: '#ffffff'-ish`. Dark brands → `canvas: '#000-#0d0d0d'`.
|
|
623
|
+
3. **Build the 11 theme slots** following [§9.3](#93-theme-palette-recipe).
|
|
624
|
+
4. **Pick the typography fingerprint** from [§9.4](#94-typography-fingerprints) and assemble `tokens.typography` + `metadata.googleFontLinks`.
|
|
625
|
+
5. **Pick the personality archetype** from [§9.5](#95-personality-archetypes); copy its block; tweak `signatureMotif` and `voice` to fit the brand.
|
|
626
|
+
6. **Fill `components.*` defaults** following the component patterns in [§9.7](#97-component-config-patterns). Use `theme-*` tokens, **never hex**.
|
|
627
|
+
7. **Validate** using the checklist in [§9.9](#99-self-validation-rubric). Fix anything that fails.
|
|
628
|
+
|
|
629
|
+
### 9.3 Theme palette recipe (the 11 slots)
|
|
630
|
+
|
|
631
|
+
| Slot | What it paints | Construction rule |
|
|
632
|
+
|---------------|-------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
|
|
633
|
+
| `primary` | CTA backgrounds, links, focus rings, active tabs | The signature hex. |
|
|
634
|
+
| `secondary` | Secondary CTAs, hovers, accent emphasis | A *related* hue (analogous or lighter tint of primary), not a clash. Lift L by ~10–15% from primary. |
|
|
635
|
+
| `success` | Positive states, "operational" indicators | Green family — pick a green that survives next to `primary` without vibrating. ~`#27a644`–`#1DB954`. |
|
|
636
|
+
| `warning` | Cautions, "degraded" indicators | Amber/orange (`#f59e0b`-ish) for most; some brands repurpose a brand color (Linear uses a desaturated indigo). |
|
|
637
|
+
| `error` | Destructive actions, "outage" indicators | Red family (`#c13515`–`#ef4444`). Coinbase / Stripe / Airbnb tune this toward their primary's temperature. |
|
|
638
|
+
| `canvas` | Page background | Light brands: `#ffffff`–`#fafafa`. Dark brands: `#000000`–`#0d0d0d`. Choose the extreme — half-tones look amateur. |
|
|
639
|
+
| `surface` | Cards, popovers, raised regions | Canvas ± 4–8% lightness. Light: `#f5f5f7`-ish. Dark: `#1a1b1d`-ish. **Must be visually distinct from canvas.** |
|
|
640
|
+
| `text` | Body copy | Light: near-black (`#111`–`#222`). Dark: near-white (`#f7f8f8`). |
|
|
641
|
+
| `muted` | Secondary copy, captions, placeholder text | Same hue as `text`, ~55–65% opacity. Hex like `#6a6a6a` (light) / `#8a8f98` (dark). |
|
|
642
|
+
| `border` | Dividers, card outlines, input borders | Very low-contrast against canvas. Light: `#e5e5e7`-ish. Dark: `#23252a`-ish. |
|
|
643
|
+
| `onPrimary` | Text *on top of* `primary` (filled-button label) | Maximum contrast vs `primary`. ~99% of brands use `#ffffff`. Use `#000` only when `primary` is light (yellow, mint, pale gold). |
|
|
644
|
+
|
|
645
|
+
> **Contrast invariants** the LLM must check before outputting:
|
|
646
|
+
> - `text` vs `canvas`: WCAG AA at minimum (contrast ratio ≥ 4.5:1).
|
|
647
|
+
> - `onPrimary` vs `primary`: WCAG AA (≥ 4.5:1).
|
|
648
|
+
> - `surface` vs `canvas`: distinguishable when adjacent (ratio ≥ 1.1:1 — purely perceptual).
|
|
649
|
+
> - `border` vs `surface`: visible but subtle (ratio 1.2–1.6:1).
|
|
650
|
+
> - `muted` vs `canvas`: legible but recessive (ratio ≥ 3:1).
|
|
651
|
+
|
|
652
|
+
### 9.4 Typography fingerprints
|
|
653
|
+
|
|
654
|
+
Don't default to Inter for every brand. Match the typeface to the identity. **Always include a system-ui fallback chain** so missing fonts degrade gracefully.
|
|
655
|
+
|
|
656
|
+
| Fingerprint | When to use | `fontFamily` | `googleFontLinks` |
|
|
657
|
+
|-----------------------|----------------------------------------------|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
|
658
|
+
| **Refined-Sans** | Apple, Tesla, Linear, Stripe, Vercel | `"'Inter', 'SF Pro Display', -apple-system, system-ui, sans-serif"` | `Inter:wght@400;500;600;700` |
|
|
659
|
+
| **Grotesk-Bold** | Nike, SpaceX, Vercel-dark, athletic brands | `"'Inter', 'Bebas Neue', 'Helvetica Neue', system-ui, sans-serif"` *(if heavy display needed: add `Bebas+Neue` link)* | `Inter:wght@600;700;800;900` + optional `Bebas+Neue` |
|
|
660
|
+
| **Geometric-Friendly**| Airbnb, Coinbase, Shopify, Notion | `"'Inter', 'Airbnb Cereal VF', 'Circular', system-ui, sans-serif"` | `Inter:wght@400;500;600;700` |
|
|
661
|
+
| **Modern-Mono-Hybrid**| Linear, Vercel, dev-tool brands | sans body + `"'JetBrains Mono', ui-monospace, 'SF Mono', menlo, monospace"` for `monoFamily` | `Inter` + `JetBrains+Mono:wght@400` |
|
|
662
|
+
| **Editorial-Serif** | Luxury brands, publications (rare) | `"'Playfair Display', Georgia, serif"` | `Playfair+Display:wght@500;700` |
|
|
663
|
+
|
|
664
|
+
Build `tokens.typography.fontSizes`/`fontWeights`/`lineHeights` as **clean ordered arrays** (smallest → largest). Example:
|
|
665
|
+
```json
|
|
666
|
+
"fontSizes": ["12px","13px","14px","16px","18px","22px","28px","36px","48px","64px"],
|
|
667
|
+
"fontWeights": ["400","500","600","700","800"],
|
|
668
|
+
"lineHeights": ["1.0","1.1","1.2","1.4","1.5","1.6"]
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
### 9.5 Personality archetypes
|
|
672
|
+
|
|
673
|
+
Each archetype is a copy-pasteable `personality` block. Pick the closest one, then tweak `signatureMotif` and `voice`.
|
|
674
|
+
|
|
675
|
+
| Archetype | Example brands | Block |
|
|
676
|
+
|-----------------------|----------------------------|-------|
|
|
677
|
+
| **Refined-Premium** | Apple, Tesla, Vercel-light | `{ "cornerStyle":"soft", "typeWeight":"light", "typeCase":"normal", "typeStyle":"normal", "letterSpacing":"-0.022em", "accentTreatment":"flat", "signatureMotif":"●", "density":"spacious", "surfaceTone":"paper", "cardRadius":18, "pillRadius":9999, "badgeRadius":8, "voice":"refined-quiet" }` |
|
|
678
|
+
| **Sport-Extreme** | Nike, SpaceX | `{ "cornerStyle":"sharp", "typeWeight":"black", "typeCase":"uppercase", "typeStyle":"italic", "letterSpacing":"0.04em", "accentTreatment":"stripe", "signatureMotif":"▶", "density":"tight", "surfaceTone":"mono", "cardRadius":0, "pillRadius":0, "badgeRadius":0, "voice":"aggressive-direct" }` |
|
|
679
|
+
| **Dev-Editorial** | Linear, Vercel-dark, Notion-pro | `{ "cornerStyle":"soft", "typeWeight":"bold", "typeCase":"normal", "typeStyle":"normal", "letterSpacing":"-0.025em", "accentTreatment":"gradient", "signatureMotif":"↗", "density":"tight", "surfaceTone":"glass", "cardRadius":12, "pillRadius":9999, "badgeRadius":6, "voice":"speed-clarity" }` |
|
|
680
|
+
| **Friendly-Pop** | Airbnb, Shopify, Coinbase | `{ "cornerStyle":"soft", "typeWeight":"bold", "typeCase":"normal", "typeStyle":"normal", "letterSpacing":"-0.01em", "accentTreatment":"flat", "signatureMotif":"✦", "density":"comfortable", "surfaceTone":"paper", "cardRadius":14, "pillRadius":9999, "badgeRadius":6, "voice":"warm-confident" }` |
|
|
681
|
+
| **Vibrant-Playful** | Figma, Spotify, Revolut | `{ "cornerStyle":"pill", "typeWeight":"black", "typeCase":"normal", "typeStyle":"normal", "letterSpacing":"-0.03em", "accentTreatment":"gradient", "signatureMotif":"★", "density":"comfortable", "surfaceTone":"matte", "cardRadius":16, "pillRadius":9999, "badgeRadius":9999, "voice":"playful-bold" }` |
|
|
682
|
+
| **Industrial-Mono** | Uber, Tesla-utility, B2B | `{ "cornerStyle":"sharp", "typeWeight":"bold", "typeCase":"uppercase", "typeStyle":"normal", "letterSpacing":"0.02em", "accentTreatment":"flat", "signatureMotif":"▲", "density":"tight", "surfaceTone":"mono", "cardRadius":2, "pillRadius":4, "badgeRadius":2, "voice":"systemic-objective" }` |
|
|
683
|
+
|
|
684
|
+
Then **personalize**:
|
|
685
|
+
- `signatureMotif` — one glyph that *feels* like the brand. Lightning `⚡` (SpaceX, Tesla), arrow `↗` (Linear), play `▶` (Nike, Uber), spark `✦` (Figma), triangle `▲` (Vercel, Tesla), star `★` (Revolut), dot `●` (default).
|
|
686
|
+
- `voice` — short hyphenated phrase, used as a copy hint in the Brand Snapshot. Examples: `refined-quiet`, `speed-clarity`, `mission-technical`, `warm-confident`, `aggressive-direct`, `playful-bold`.
|
|
687
|
+
|
|
688
|
+
### 9.6 Diversity heuristics — avoid the generic-purple-startup trap
|
|
689
|
+
|
|
690
|
+
If your generated config could be *anyone's*, it's wrong. Force at least three of these dimensions to non-default values for every brand:
|
|
691
|
+
|
|
692
|
+
| Lever | Default that screams "generic" | Push toward |
|
|
693
|
+
|-----------------------------|--------------------------------|----------------------------------------------------------------------------------------------|
|
|
694
|
+
| Primary hex | `#6366f1` (indigo) | A hue the brand *actually owns* — coral, leaf-green, off-red, electric blue, neon mint, etc. |
|
|
695
|
+
| `cornerStyle` | `soft` | `sharp` (utilitarian) or `pill` (playful) if the identity supports it. |
|
|
696
|
+
| `typeCase` | `normal` | `uppercase` for sport / aerospace / industrial brands. |
|
|
697
|
+
| `density` | `comfortable` | `tight` (dev-tools, hardware) or `spacious` (luxury, hardware-premium). |
|
|
698
|
+
| `surfaceTone` | `paper` | `glass` (gradient brands), `mono` (mono brands), `matte` (rich-dark brands). |
|
|
699
|
+
| `accentTreatment` | `flat` | `gradient` (Linear, Stripe, Revolut), `glow` (SpaceX, dark-tech), `stripe`/`halftone` (rare). |
|
|
700
|
+
| `cardRadius` / `badgeRadius`| Both `12` | Use the **whole spread** — Nike `0/0/0`, Apple `18/9999/8`, Revolut `16/9999/9999`. |
|
|
701
|
+
| `signatureMotif` | `●` | Anything else. |
|
|
702
|
+
| `monoFamily` | reused sans | A real mono — `JetBrains Mono`, `SF Mono`, `IBM Plex Mono`. |
|
|
703
|
+
|
|
704
|
+
**Triangulate**: if you give a brand `cornerStyle: 'soft'` AND `density: 'comfortable'` AND `accentTreatment: 'flat'` AND `signatureMotif: '●'`, it will look indistinguishable from five other configs. Move at least three levers.
|
|
705
|
+
|
|
706
|
+
### 9.7 Component config patterns
|
|
707
|
+
|
|
708
|
+
Apply these conventions per component. **Only put variant-independent properties on `views.container`** (radius, font, letter-spacing). Colors that change per variant must live in the component's variant style map ([§7.1](#71-keep-overrides-variant-safe)).
|
|
709
|
+
|
|
710
|
+
| Component | Set on `views.container` | Leave to defaults / inherit |
|
|
711
|
+
|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-----------------------------|
|
|
712
|
+
| `button` | `borderRadius`, `fontFamily`, `fontWeight`, `letterSpacing`, `textTransform`, `fontStyle`. **Top-level**: `color: "theme-primary"`, `textColor: "theme-on-primary"`. | `backgroundColor` (let variant drive it; set only if brand specifically wants a non-primary fill like SpaceX's `theme-surface`). |
|
|
713
|
+
| `badge` | `borderRadius`, `fontFamily`, `letterSpacing`, `textTransform`, `fontWeight`, `fontStyle` | `backgroundColor`/`color`/`borderColor` — leave `null` so variant logic stays intact. |
|
|
714
|
+
| `card` | `backgroundColor: "theme-surface"`, `borderColor: "theme-border"`, `borderRadius`, `borderStyle`, `borderWidth`, `boxShadow`, `color: "theme-text"`, `fontFamily` | — |
|
|
715
|
+
| `alert` | `backgroundColor: "theme-surface"`, `borderColor: "theme-border"`, `borderRadius` | Per-severity colors come from variants. |
|
|
716
|
+
| `input` / `textarea` / `select` | `backgroundColor`, `borderColor: "theme-border"`, `borderRadius`, `color: "theme-text"`, `fontFamily` | **Never** set `label.color` — it must inherit. |
|
|
717
|
+
| `checkbox` / `radio` / `switch` | `color: "theme-primary"` on the control mark only | **Never** set `label.color`. |
|
|
718
|
+
| `tabs` (`views.activeTab`) | `color: "theme-primary"`, `borderColor: "theme-primary"`, optional `backgroundColor: "theme-primary"` (filled) or `"transparent"` (underline) | — |
|
|
719
|
+
| `accordion`, `separator`, `table` | `borderColor: "theme-border"`, `borderRadius`, `fontFamily` | — |
|
|
720
|
+
| `progress` / `slider` / `status` / `loader` | `color: "theme-primary"`, `backgroundColor: "theme-border"` | — |
|
|
721
|
+
| `navigation` / `hero` / `page` | layout-level: `backgroundColor`, `color`, `fontFamily`, `borderColor` | — |
|
|
722
|
+
| `avatar` | `backgroundColor: "theme-surface"`, `color: "theme-text"`, `borderColor: "theme-border"`, `borderRadius: 9999` | — |
|
|
723
|
+
|
|
724
|
+
### 9.8 Starter template (copy, fill, rename)
|
|
725
|
+
|
|
726
|
+
Save this as `src/design-system/configs/<brandid>.json`, replace every `___` placeholder, register in `index.ts`.
|
|
727
|
+
|
|
728
|
+
```jsonc
|
|
729
|
+
{
|
|
730
|
+
"metadata": {
|
|
731
|
+
"id": "___brandid",
|
|
732
|
+
"label": "___Brand Label",
|
|
733
|
+
"sourcePath": "design.md/html/___brandid.html",
|
|
734
|
+
"sourceTitle": "Design System Inspiration of ___Brand Label",
|
|
735
|
+
"defaultAppearance": "light",
|
|
736
|
+
"googleFontLinks": [
|
|
737
|
+
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
|
|
738
|
+
]
|
|
739
|
+
},
|
|
740
|
+
"theme": {
|
|
741
|
+
"primary": "#___",
|
|
742
|
+
"secondary": "#___",
|
|
743
|
+
"success": "#___",
|
|
744
|
+
"warning": "#___",
|
|
745
|
+
"error": "#___",
|
|
746
|
+
"canvas": "#___",
|
|
747
|
+
"surface": "#___",
|
|
748
|
+
"text": "#___",
|
|
749
|
+
"muted": "#___",
|
|
750
|
+
"border": "#___",
|
|
751
|
+
"onPrimary": "#ffffff"
|
|
752
|
+
},
|
|
753
|
+
"tokens": {
|
|
754
|
+
"rawCssVars": {},
|
|
755
|
+
"colors": [
|
|
756
|
+
{ "name": "primary", "value": "#___", "role": "primary" },
|
|
757
|
+
{ "name": "secondary", "value": "#___", "role": "secondary" },
|
|
758
|
+
{ "name": "success", "value": "#___", "role": "success" },
|
|
759
|
+
{ "name": "warning", "value": "#___", "role": "warning" },
|
|
760
|
+
{ "name": "error", "value": "#___", "role": "error" }
|
|
761
|
+
],
|
|
762
|
+
"typography": {
|
|
763
|
+
"fontFamily": "'Inter', system-ui, -apple-system, sans-serif",
|
|
764
|
+
"monoFamily": "ui-monospace, 'SF Mono', menlo, monospace",
|
|
765
|
+
"fontSizes": ["12px","13px","14px","16px","18px","22px","28px","36px","48px","64px"],
|
|
766
|
+
"fontWeights": ["400","500","600","700","800"],
|
|
767
|
+
"lineHeights": ["1.0","1.1","1.2","1.4","1.5","1.6"]
|
|
768
|
+
},
|
|
769
|
+
"spacing": ["2px","4px","8px","12px","16px","24px","32px","48px","64px"],
|
|
770
|
+
"radii": ["2px","4px","6px","8px","12px","16px","9999px"],
|
|
771
|
+
"shadows": [
|
|
772
|
+
"0 1px 2px rgba(0,0,0,0.04)",
|
|
773
|
+
"0 4px 12px rgba(0,0,0,0.08)",
|
|
774
|
+
"0 12px 32px rgba(0,0,0,0.12)"
|
|
775
|
+
]
|
|
776
|
+
},
|
|
777
|
+
"components": {
|
|
778
|
+
"button": { "variant": "filled", "size": "md", "shape": "rounded", "color": "theme-primary", "textColor": "theme-on-primary",
|
|
779
|
+
"views": { "container": { "borderRadius": 8, "fontFamily": "'Inter', system-ui, sans-serif", "fontWeight": 600, "letterSpacing": "-0.01em", "textTransform": "none", "fontStyle": "normal", "borderColor": "theme-primary", "backgroundColor": null }, "content": { "fontFamily": "'Inter', system-ui, sans-serif", "fontWeight": 600, "letterSpacing": "-0.01em", "textTransform": "none", "fontStyle": "normal" } } },
|
|
780
|
+
"badge": { "variant": "filled", "size": "sm", "shape": "rounded",
|
|
781
|
+
"views": { "container": { "backgroundColor": null, "color": null, "borderColor": null, "borderRadius": 6, "fontFamily": "'Inter', system-ui, sans-serif", "letterSpacing": "-0.01em", "textTransform": "none", "fontWeight": 600, "fontStyle": "normal" }, "text": { "fontFamily": "'Inter', system-ui, sans-serif", "fontWeight": 600 } } },
|
|
782
|
+
"card": { "variant": "elevated", "size": "md", "shape": "rounded",
|
|
783
|
+
"views": { "container": { "backgroundColor": "theme-surface", "borderColor": "theme-border", "borderRadius": 12, "borderStyle": "solid", "borderWidth": 1, "boxShadow": "0 1px 2px rgba(0,0,0,0.04)", "color": "theme-text" }, "header": { "borderColor": "theme-border", "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif", "fontWeight": 700 }, "content": { "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" }, "footer": { "borderColor": "theme-border" } } },
|
|
784
|
+
"alert": { "views": { "container": { "backgroundColor": "theme-surface", "borderColor": "theme-border", "borderRadius": 10 }, "icon": { "color": "theme-primary" }, "title": { "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif", "fontStyle": "normal", "fontWeight": 700, "letterSpacing": "-0.01em", "textTransform": "none" }, "description": { "color": "theme-muted", "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
785
|
+
"input": { "views": { "container": { "backgroundColor": "theme-canvas", "borderColor": "theme-border", "borderRadius": 8, "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
786
|
+
"textarea": { "views": { "container": { "backgroundColor": "theme-canvas", "borderColor": "theme-border", "borderRadius": 8, "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
787
|
+
"select": { "views": { "container": { "backgroundColor": "theme-canvas", "borderColor": "theme-border", "borderRadius": 8, "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
788
|
+
"checkbox": { "views": { "container": { "borderColor": "theme-border", "color": "theme-primary" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
789
|
+
"radio": { "views": { "container": { "borderColor": "theme-border", "color": "theme-primary" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
790
|
+
"switch": { "views": { "container": { "backgroundColor": "theme-border" }, "thumb": { "backgroundColor": "theme-canvas" }, "label": { "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
791
|
+
"slider": { "views": { "track": { "backgroundColor": "theme-border" }, "filled": { "backgroundColor": "theme-primary" }, "thumb": { "backgroundColor": "theme-primary" } } },
|
|
792
|
+
"tabs": { "views": { "container": { "borderColor": "theme-border", "fontFamily": "'Inter', system-ui, sans-serif" }, "tab": { "color": "theme-muted" }, "activeTab": { "color": "theme-primary", "borderColor": "theme-primary", "backgroundColor": "transparent" } } },
|
|
793
|
+
"accordion": { "views": { "container": { "borderColor": "theme-border", "borderRadius": 10, "fontFamily": "'Inter', system-ui, sans-serif" }, "header": { "color": "theme-text" }, "content": { "color": "theme-muted" } } },
|
|
794
|
+
"table": { "views": { "container": { "borderColor": "theme-border", "fontFamily": "'Inter', system-ui, sans-serif" }, "header": { "color": "theme-muted" }, "row": { "borderColor": "theme-border" } } },
|
|
795
|
+
"avatar": { "views": { "container": { "backgroundColor": "theme-surface", "color": "theme-text", "borderColor": "theme-border", "borderRadius": 9999, "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
796
|
+
"status": { "views": { "container": { "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" }, "dot": { "backgroundColor": "theme-primary" } } },
|
|
797
|
+
"progress": { "views": { "container": { "backgroundColor": "theme-border", "borderRadius": 9999 }, "bar": { "backgroundColor": "theme-primary" } } },
|
|
798
|
+
"loader": { "views": { "container": { "color": "theme-primary" } } },
|
|
799
|
+
"separator": { "views": { "container": { "backgroundColor": "theme-border" } } },
|
|
800
|
+
"navigation": { "views": { "container": { "backgroundColor": "theme-canvas", "color": "theme-text", "borderColor": "theme-border", "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
801
|
+
"hero": { "views": { "container": { "backgroundColor": "theme-canvas", "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" } } },
|
|
802
|
+
"page": { "views": { "container": { "backgroundColor": "theme-canvas", "color": "theme-text", "fontFamily": "'Inter', system-ui, sans-serif" } } }
|
|
803
|
+
},
|
|
804
|
+
"personality": {
|
|
805
|
+
"cornerStyle": "soft",
|
|
806
|
+
"typeWeight": "bold",
|
|
807
|
+
"typeCase": "normal",
|
|
808
|
+
"typeStyle": "normal",
|
|
809
|
+
"letterSpacing": "-0.01em",
|
|
810
|
+
"accentTreatment": "flat",
|
|
811
|
+
"signatureMotif": "●",
|
|
812
|
+
"density": "comfortable",
|
|
813
|
+
"surfaceTone": "paper",
|
|
814
|
+
"cardRadius": 12,
|
|
815
|
+
"pillRadius": 9999,
|
|
816
|
+
"badgeRadius": 6,
|
|
817
|
+
"voice": "neutral"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
The fontFamily strings in `components.*.views.*.fontFamily` should mirror `tokens.typography.fontFamily` exactly — if you change the primary face, change it in both places.
|
|
823
|
+
|
|
824
|
+
### 9.9 Self-validation rubric
|
|
825
|
+
|
|
826
|
+
Run this list against the output before declaring done:
|
|
827
|
+
|
|
828
|
+
**Schema correctness**
|
|
829
|
+
- [ ] All five top-level sections present: `metadata`, `theme`, `tokens`, `components`, `personality`.
|
|
830
|
+
- [ ] All 11 theme slots present and non-null: `primary`, `secondary`, `success`, `warning`, `error`, `canvas`, `surface`, `text`, `muted`, `border`, `onPrimary`.
|
|
831
|
+
- [ ] All 22 component keys present (see template): `button`, `badge`, `card`, `alert`, `input`, `textarea`, `select`, `checkbox`, `radio`, `switch`, `slider`, `tabs`, `accordion`, `table`, `avatar`, `status`, `progress`, `loader`, `separator`, `navigation`, `hero`, `page`.
|
|
832
|
+
- [ ] Schema-drift audit from [§3.6](#36-uniform-schema-across-configs) passes against existing configs.
|
|
833
|
+
|
|
834
|
+
**Token discipline**
|
|
835
|
+
- [ ] No literal hex (`#xxxxxx`) inside `components.*.views.*`. Every color is a `theme-*` token reference.
|
|
836
|
+
- [ ] `views.container.color` is **not** set on `badge`/`button` in a way that overrides variant logic ([§7.1](#71-keep-overrides-variant-safe)).
|
|
837
|
+
- [ ] `label.color` is **absent** on `checkbox`/`radio`/`switch`/`input`/`textarea`/`select` ([§7.2](#72-strip-labelcolor-from-brand-component-configs)).
|
|
838
|
+
- [ ] Every font family in `components.*.views.*.fontFamily` matches `tokens.typography.fontFamily`.
|
|
839
|
+
|
|
840
|
+
**Contrast & legibility**
|
|
841
|
+
- [ ] `text` vs `canvas` ≥ 4.5:1.
|
|
842
|
+
- [ ] `onPrimary` vs `primary` ≥ 4.5:1.
|
|
843
|
+
- [ ] `surface` ≠ `canvas` (visually distinguishable).
|
|
844
|
+
- [ ] `muted` vs `canvas` ≥ 3:1.
|
|
845
|
+
|
|
846
|
+
**Distinctiveness (the "is this brand-shaped?" check)**
|
|
847
|
+
- [ ] At least 3 personality dimensions are non-default ([§9.6](#96-diversity-heuristics--avoid-the-generic-purple-startup-trap)).
|
|
848
|
+
- [ ] `signatureMotif` is not `●`.
|
|
849
|
+
- [ ] `voice` is not `neutral`.
|
|
850
|
+
- [ ] `monoFamily` is a real mono, not the body font reused.
|
|
851
|
+
- [ ] Primary hex is not within `#6` of the indigo family (`#6366f1` ± neighborhood).
|
|
852
|
+
- [ ] `cardRadius`/`pillRadius`/`badgeRadius` are **not all equal** — the spread itself signals the brand.
|
|
853
|
+
|
|
854
|
+
**Font loading**
|
|
855
|
+
- [ ] Every non-system font referenced in `tokens.typography.fontFamily` appears in `metadata.googleFontLinks` (or is shipped locally).
|
|
856
|
+
- [ ] The chain ends in a system fallback (`system-ui`, `-apple-system`, `sans-serif`).
|
|
857
|
+
|
|
858
|
+
### 9.10 When a source HTML exists
|
|
859
|
+
|
|
860
|
+
If the brand has a reference page under `design.md/html/<brandid>.html`, **extract first, then refine**:
|
|
861
|
+
|
|
862
|
+
1. Open the HTML and inspect the CSS custom properties (`--*`) in `:root`. Capture them into `tokens.rawCssVars` verbatim.
|
|
863
|
+
2. Identify which raw vars play the role of each of the 11 theme slots; use those hexes in `theme`.
|
|
864
|
+
3. Echo the brand's typography choices into `tokens.typography.fontFamily` — don't invent a font the brand doesn't use.
|
|
865
|
+
4. Open `/design-system` and select the brand from the sidebar — the **Compare** view shows live components next to the source iframe. Iterate `views.*` overrides until the live components feel like the source.
|
|
866
|
+
|
|
867
|
+
### 9.11 Worked example — generating "Hyperloop" (fictional)
|
|
868
|
+
|
|
869
|
+
To anchor the playbook, here's how it applies end-to-end to a fictional brand: *Hyperloop — high-speed transit, premium, technical-spec aesthetic, dark default.*
|
|
870
|
+
|
|
871
|
+
1. **Primary hex**: `#00d4ff` (electric cyan — owns the "speed/transit" lane without colliding with Tesla blue).
|
|
872
|
+
2. **Appearance**: `dark` (premium-technical brands default dark).
|
|
873
|
+
3. **Theme** (built per [§9.3](#93-theme-palette-recipe)):
|
|
874
|
+
- `primary #00d4ff`, `secondary #00a4cc` (darker analog), `success #00d68f`, `warning #ffb547`, `error #ff5757`, `canvas #050608`, `surface #0f1115`, `text #f0f3f5`, `muted #6e7681`, `border #1f242b`, `onPrimary #001218` (dark on cyan for AA contrast).
|
|
875
|
+
4. **Typography**: *Modern-Mono-Hybrid* — body `Inter`, mono `JetBrains Mono`, plus `googleFontLinks` for both.
|
|
876
|
+
5. **Personality**: *Dev-Editorial* archetype, but tune `signatureMotif: '→'`, `accentTreatment: 'glow'`, `voice: 'velocity-precision'`.
|
|
877
|
+
6. **Components**: from the starter template; replace generic `Inter` with the chosen family; `tabs.activeTab` underline style (`backgroundColor: "transparent"`); `button.color: "theme-primary"`.
|
|
878
|
+
7. **Diversity check** ([§9.6](#96-diversity-heuristics--avoid-the-generic-purple-startup-trap)): cyan primary ✓, `density: tight` ✓, `surfaceTone: glass` ✓, mono is real ✓, `signatureMotif: →` ✓. *Five levers moved — distinctive.*
|
|
879
|
+
8. **Validate** ([§9.9](#99-self-validation-rubric)): all schema, token-discipline, contrast, distinctiveness, and font-loading boxes pass.
|
|
880
|
+
|
|
881
|
+
The output is a config that *renders correctly* and *unmistakably reads as Hyperloop*, not as another indigo-purple startup template.
|
|
882
|
+
|
|
883
|
+
---
|
|
884
|
+
|
|
885
|
+
## 8. Reference
|
|
886
|
+
|
|
887
|
+
- Provider & hooks: [src/design-system/DesignSystemProvider.tsx](../../src/design-system/DesignSystemProvider.tsx)
|
|
888
|
+
- Types (incl. `BrandPersonality`): [src/design-system/types.ts](../../src/design-system/types.ts)
|
|
889
|
+
- Merge utilities: [src/design-system/utils.ts](../../src/design-system/utils.ts) — `deepMerge` (skips top-level `undefined`/`null`; recurses only when both sides are plain objects, so React-element props stay reference-only and don't trigger cycles), `getDesignSystemComponentProps` (runs `stripNullsDeep` so the schema's `null` placeholders never reach the merge — see [§3.6](#36-uniform-schema-across-configs)), `mergeDesignSystemComponentProps`, `normalizeDesignSystemComponentProps`
|
|
890
|
+
- 15 brand configs: [src/design-system/configs/](../../src/design-system/configs/) — fully tokenized; all `components.*.views.*` colors are `theme-*` references
|
|
891
|
+
- Live showcase: [src/pages/designSystem.page.tsx](../../src/pages/designSystem.page.tsx) — ergonomic patterns for `componentRadius`, `getPersonality`, `personality*` helpers, `BrandSnapshotSample`, `PaletteFrame`
|
|
892
|
+
- Theming primer (token vocabulary): [docs/design-system/theming.md](./theming.md)
|
|
893
|
+
- Wider conventions: [docs/conventions.md](../conventions.md)
|
|
894
|
+
- Working example components: [src/components/Button/](../../src/components/Button/), [src/components/Badge/](../../src/components/Badge/), [src/components/Card/](../../src/components/Card/), [src/components/Table/](../../src/components/Table/) — each ends in a one-line `useMergedDesignSystemComponentProps('xxx', props)` call, the pattern to copy. Badge in particular is the reference for variant-safe override application.
|