@alveole/components 0.43.3 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Alert/Alert.d.ts +11 -0
- package/dist/core/Alert/Alert.d.ts.map +1 -0
- package/dist/core/Alert/Alert.js +4 -0
- package/dist/core/Alert/Alert.web.d.ts +5 -0
- package/dist/core/Alert/Alert.web.d.ts.map +1 -0
- package/dist/core/Alert/Alert.web.js +7 -0
- package/dist/core/Alert/index.d.ts +2 -0
- package/dist/core/Alert/index.d.ts.map +1 -0
- package/dist/core/Alert/index.js +1 -0
- package/dist/core/Form/Form.d.ts +2 -5
- package/dist/core/Form/Form.d.ts.map +1 -1
- package/dist/core/Form/Form.js +3 -24
- package/dist/core/Form/Form.stories.d.ts +0 -7
- package/dist/core/Form/Form.stories.d.ts.map +1 -1
- package/dist/core/Form/Form.stories.js +2 -3
- package/dist/core/Form/Form.stories.sources.d.ts +0 -2
- package/dist/core/Form/Form.stories.sources.d.ts.map +1 -1
- package/dist/core/Form/Form.stories.sources.js +0 -2
- package/dist/core/Form/Form.styles.d.ts +0 -6
- package/dist/core/Form/Form.styles.d.ts.map +1 -1
- package/dist/core/Form/Form.styles.js +0 -6
- package/dist/core/Image/Image.d.ts.map +1 -1
- package/dist/core/Image/Image.js +1 -5
- package/dist/core/Map/Map.web.d.ts.map +1 -1
- package/dist/core/Map/Map.web.js +41 -41
- package/dist/core/Page/Page.d.ts +2 -0
- package/dist/core/Page/Page.d.ts.map +1 -1
- package/dist/core/Page/Page.stories.d.ts +6 -2
- package/dist/core/Page/Page.stories.d.ts.map +1 -1
- package/dist/core/Page/Page.stories.js +28 -14
- package/dist/core/Page/Page.stories.sources.d.ts +12 -4
- package/dist/core/Page/Page.stories.sources.d.ts.map +1 -1
- package/dist/core/Page/Page.stories.sources.js +12 -4
- package/dist/core/Page/PageContentScrollable.d.ts +1 -0
- package/dist/core/Page/PageContentScrollable.d.ts.map +1 -1
- package/dist/core/Page/PageContentScrollable.js +2 -2
- package/dist/core/Page/PageHead.web.d.ts.map +1 -1
- package/dist/core/Page/PageHead.web.js +5 -2
- package/dist/core/Page/PageMetaContext.d.ts +25 -0
- package/dist/core/Page/PageMetaContext.d.ts.map +1 -0
- package/dist/core/Page/PageMetaContext.js +18 -0
- package/dist/core/Page/index.d.ts +2 -0
- package/dist/core/Page/index.d.ts.map +1 -1
- package/dist/core/Page/index.js +2 -0
- package/dist/core/PdfViewer/PdfViewer.js +1 -1
- package/dist/core/Version/Version.stories.d.ts +1 -1
- package/dist/core/Version/Version.styles.d.ts +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.d.ts.map +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/globals.d.ts +2 -0
- package/dist/globals.d.ts.map +1 -0
- package/dist/globals.js +1 -0
- package/dist/pdfjs/pdf.min.mjs +8 -1
- package/dist/pdfjs/pdf.worker.min.mjs +8 -1
- package/dist/stories/index.d.ts +24 -0
- package/dist/stories/index.d.ts.map +1 -1
- package/dist/stories/index.js +24 -0
- package/dist/ui/Accordion/Accordion.d.ts +19 -0
- package/dist/ui/Accordion/Accordion.d.ts.map +1 -0
- package/dist/ui/Accordion/Accordion.js +10 -0
- package/dist/ui/Accordion/Accordion.stories.d.ts +103 -0
- package/dist/ui/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/ui/Accordion/Accordion.stories.js +15 -0
- package/dist/ui/Accordion/Accordion.stories.sources.d.ts +6 -0
- package/dist/ui/Accordion/Accordion.stories.sources.d.ts.map +1 -0
- package/dist/ui/Accordion/Accordion.stories.sources.js +6 -0
- package/dist/ui/Accordion/Accordion.styles.d.ts +90 -0
- package/dist/ui/Accordion/Accordion.styles.d.ts.map +1 -0
- package/dist/ui/Accordion/Accordion.styles.js +86 -0
- package/dist/ui/Accordion/AccordionItem.d.ts +14 -0
- package/dist/ui/Accordion/AccordionItem.d.ts.map +1 -0
- package/dist/ui/Accordion/AccordionItem.js +19 -0
- package/dist/ui/Accordion/index.d.ts +4 -0
- package/dist/ui/Accordion/index.d.ts.map +1 -0
- package/dist/ui/Accordion/index.js +5 -0
- package/dist/ui/ActionMenu/ActionMenu.stories.js +1 -1
- package/dist/ui/ActionMenu/ActionMenu.stories.sources.d.ts.map +1 -1
- package/dist/ui/ActionMenu/ActionMenu.stories.sources.js +1 -1
- package/dist/ui/Autocomplete/Autocomplete.d.ts +41 -0
- package/dist/ui/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/ui/Autocomplete/Autocomplete.js +131 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.d.ts +224 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.js +56 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.sources.d.ts +14 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.sources.d.ts.map +1 -0
- package/dist/ui/Autocomplete/Autocomplete.stories.sources.js +14 -0
- package/dist/ui/Autocomplete/Autocomplete.styles.d.ts +208 -0
- package/dist/ui/Autocomplete/Autocomplete.styles.d.ts.map +1 -0
- package/dist/ui/Autocomplete/Autocomplete.styles.js +173 -0
- package/dist/ui/Autocomplete/Autocomplete.web.d.ts +28 -0
- package/dist/ui/Autocomplete/Autocomplete.web.d.ts.map +1 -0
- package/dist/ui/Autocomplete/Autocomplete.web.js +112 -0
- package/dist/ui/Autocomplete/AutocompleteChip.d.ts +8 -0
- package/dist/ui/Autocomplete/AutocompleteChip.d.ts.map +1 -0
- package/dist/ui/Autocomplete/AutocompleteChip.js +12 -0
- package/dist/ui/Autocomplete/index.d.ts +3 -0
- package/dist/ui/Autocomplete/index.d.ts.map +1 -0
- package/dist/ui/Autocomplete/index.js +2 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.d.ts +28 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.d.ts.map +1 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.js +20 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.d.ts +13 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.d.ts.map +1 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.js +30 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.sources.d.ts +6 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.sources.d.ts.map +1 -0
- package/dist/ui/AutocompleteAddress/AutocompleteAddress.stories.sources.js +6 -0
- package/dist/ui/AutocompleteAddress/index.d.ts +2 -0
- package/dist/ui/AutocompleteAddress/index.d.ts.map +1 -0
- package/dist/ui/AutocompleteAddress/index.js +1 -0
- package/dist/ui/Avatar/Avatar.stories.d.ts +3 -3
- package/dist/ui/Avatar/Avatar.styles.d.ts +3 -3
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/Badge.stories.d.ts +15 -13
- package/dist/ui/Badge/Badge.stories.d.ts.map +1 -1
- package/dist/ui/Badge/Badge.styles.d.ts +15 -13
- package/dist/ui/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/ui/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -3
- package/dist/ui/Breadcrumbs/Breadcrumbs.styles.d.ts +3 -3
- package/dist/ui/Button/Button.stories.d.ts +68 -69
- package/dist/ui/Button/Button.stories.d.ts.map +1 -1
- package/dist/ui/Button/Button.styles.d.ts +68 -69
- package/dist/ui/Button/Button.styles.d.ts.map +1 -1
- package/dist/ui/Button/Button.styles.js +0 -1
- package/dist/ui/Button/ButtonIcon.d.ts.map +1 -1
- package/dist/ui/Button/ButtonIcon.js +2 -5
- package/dist/ui/Card/Card.stories.d.ts +3 -3
- package/dist/ui/Card/Card.styles.d.ts +3 -3
- package/dist/ui/Card/CardHeader.styles.d.ts +3 -3
- package/dist/ui/Card/CardSection.styles.d.ts +3 -3
- package/dist/ui/Checkbox/Checkbox.d.ts +19 -0
- package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/ui/Checkbox/Checkbox.js +17 -0
- package/dist/ui/Checkbox/Checkbox.stories.d.ts +93 -0
- package/dist/ui/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/ui/Checkbox/Checkbox.stories.js +15 -0
- package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts +8 -0
- package/dist/ui/Checkbox/Checkbox.stories.sources.d.ts.map +1 -0
- package/dist/ui/Checkbox/Checkbox.stories.sources.js +8 -0
- package/dist/ui/Checkbox/Checkbox.styles.d.ts +70 -0
- package/dist/ui/Checkbox/Checkbox.styles.d.ts.map +1 -0
- package/dist/ui/Checkbox/Checkbox.styles.js +62 -0
- package/dist/ui/Checkbox/CheckboxContainer.d.ts +22 -0
- package/dist/ui/Checkbox/CheckboxContainer.d.ts.map +1 -0
- package/dist/ui/Checkbox/CheckboxContainer.js +21 -0
- package/dist/ui/Checkbox/CheckboxIndicator.d.ts +7 -0
- package/dist/ui/Checkbox/CheckboxIndicator.d.ts.map +1 -0
- package/dist/ui/Checkbox/CheckboxIndicator.js +15 -0
- package/dist/ui/Checkbox/CheckboxLabel.d.ts +9 -0
- package/dist/ui/Checkbox/CheckboxLabel.d.ts.map +1 -0
- package/dist/ui/Checkbox/CheckboxLabel.js +15 -0
- package/dist/ui/Checkbox/index.d.ts +5 -0
- package/dist/ui/Checkbox/index.d.ts.map +1 -0
- package/dist/ui/Checkbox/index.js +4 -0
- package/dist/ui/Counter/Counter.d.ts +6 -0
- package/dist/ui/Counter/Counter.d.ts.map +1 -0
- package/dist/ui/Counter/Counter.js +11 -0
- package/dist/ui/Counter/Counter.stories.d.ts +29 -0
- package/dist/ui/Counter/Counter.stories.d.ts.map +1 -0
- package/dist/ui/Counter/Counter.stories.js +15 -0
- package/dist/ui/Counter/Counter.stories.sources.d.ts +6 -0
- package/dist/ui/Counter/Counter.stories.sources.d.ts.map +1 -0
- package/dist/ui/Counter/Counter.stories.sources.js +6 -0
- package/dist/ui/Counter/Counter.styles.d.ts +18 -0
- package/dist/ui/Counter/Counter.styles.d.ts.map +1 -0
- package/dist/ui/Counter/Counter.styles.js +14 -0
- package/dist/ui/Counter/index.d.ts +2 -0
- package/dist/ui/Counter/index.d.ts.map +1 -0
- package/dist/ui/Counter/index.js +1 -0
- package/dist/ui/Divider/Divider.stories.d.ts +1 -1
- package/dist/ui/Divider/Divider.styles.d.ts +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewer.js +1 -3
- package/dist/ui/DocumentViewer/DocumentViewer.stories.d.ts +16 -16
- package/dist/ui/DocumentViewer/DocumentViewer.styles.d.ts +16 -16
- package/dist/ui/DocumentViewer/DocumentViewerPDF.d.ts.map +1 -1
- package/dist/ui/DocumentViewer/DocumentViewerPDF.js +4 -7
- package/dist/ui/DragAndDropFile/DragAndDropFile.d.ts +9 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.js +50 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.d.ts +102 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.js +17 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.sources.d.ts +10 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.sources.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.stories.sources.js +10 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.styles.d.ts +89 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.styles.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.styles.js +89 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.web.d.ts +4 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.web.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/DragAndDropFile.web.js +175 -0
- package/dist/ui/DragAndDropFile/index.d.ts +2 -0
- package/dist/ui/DragAndDropFile/index.d.ts.map +1 -0
- package/dist/ui/DragAndDropFile/index.js +1 -0
- package/dist/ui/EmailField/EmailField.d.ts +20 -0
- package/dist/ui/EmailField/EmailField.d.ts.map +1 -0
- package/dist/ui/EmailField/EmailField.js +8 -0
- package/dist/ui/EmailField/EmailField.stories.d.ts +25 -0
- package/dist/ui/EmailField/EmailField.stories.d.ts.map +1 -0
- package/dist/ui/EmailField/EmailField.stories.js +13 -0
- package/dist/ui/EmailField/EmailField.stories.sources.d.ts +6 -0
- package/dist/ui/EmailField/EmailField.stories.sources.d.ts.map +1 -0
- package/dist/ui/EmailField/EmailField.stories.sources.js +6 -0
- package/dist/ui/EmailField/index.d.ts +2 -0
- package/dist/ui/EmailField/index.d.ts.map +1 -0
- package/dist/ui/EmailField/index.js +1 -0
- package/dist/ui/EmailInput/EmailInput.d.ts +16 -0
- package/dist/ui/EmailInput/EmailInput.d.ts.map +1 -0
- package/dist/ui/EmailInput/EmailInput.js +10 -0
- package/dist/ui/EmailInput/EmailInput.stories.d.ts +21 -0
- package/dist/ui/EmailInput/EmailInput.stories.d.ts.map +1 -0
- package/dist/ui/EmailInput/EmailInput.stories.js +13 -0
- package/dist/ui/EmailInput/EmailInput.stories.sources.d.ts +6 -0
- package/dist/ui/EmailInput/EmailInput.stories.sources.d.ts.map +1 -0
- package/dist/ui/EmailInput/EmailInput.stories.sources.js +6 -0
- package/dist/ui/EmailInput/index.d.ts +2 -0
- package/dist/ui/EmailInput/index.d.ts.map +1 -0
- package/dist/ui/EmailInput/index.js +1 -0
- package/dist/ui/EmptyState/EmptyState.stories.d.ts +5 -5
- package/dist/ui/EmptyState/EmptyState.styles.d.ts +5 -5
- package/dist/ui/FileField/FileField.d.ts +5 -0
- package/dist/ui/FileField/FileField.d.ts.map +1 -0
- package/dist/ui/FileField/FileField.js +27 -0
- package/dist/ui/FileField/FileField.stories.d.ts +15 -0
- package/dist/ui/FileField/FileField.stories.d.ts.map +1 -0
- package/dist/ui/FileField/FileField.stories.js +15 -0
- package/dist/ui/FileField/FileField.stories.sources.d.ts +8 -0
- package/dist/ui/FileField/FileField.stories.sources.d.ts.map +1 -0
- package/dist/ui/FileField/FileField.stories.sources.js +8 -0
- package/dist/ui/FileField/FileField.styles.d.ts +4 -0
- package/dist/ui/FileField/FileField.styles.d.ts.map +1 -0
- package/dist/ui/FileField/FileField.styles.js +4 -0
- package/dist/ui/FileField/index.d.ts +2 -0
- package/dist/ui/FileField/index.d.ts.map +1 -0
- package/dist/ui/FileField/index.js +1 -0
- package/dist/ui/FormControl/FormControl.stories.d.ts +17 -17
- package/dist/ui/FormControl/FormControl.stories.js +3 -3
- package/dist/ui/FormControl/FormControl.stories.sources.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControl.stories.sources.js +3 -3
- package/dist/ui/FormControl/FormControl.styles.d.ts +17 -17
- package/dist/ui/FormControl/FormControlFileInput.d.ts.map +1 -1
- package/dist/ui/FormControl/FormControlFileInput.styles.d.ts +6 -6
- package/dist/ui/FormControl/TextInput.d.ts.map +1 -1
- package/dist/ui/Header/Header.stories.d.ts +10 -6
- package/dist/ui/Header/Header.stories.d.ts.map +1 -1
- package/dist/ui/Header/Header.styles.d.ts +10 -6
- package/dist/ui/Header/Header.styles.d.ts.map +1 -1
- package/dist/ui/Header/Header.styles.js +1 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.d.ts +9 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.d.ts.map +1 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.js +13 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts +23 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.d.ts.map +1 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.js +16 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts +8 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.d.ts.map +1 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.stories.sources.js +8 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts +12 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.d.ts.map +1 -0
- package/dist/ui/InputButtonAdornment/InputButtonAdornment.styles.js +12 -0
- package/dist/ui/InputButtonAdornment/index.d.ts +2 -0
- package/dist/ui/InputButtonAdornment/index.d.ts.map +1 -0
- package/dist/ui/InputButtonAdornment/index.js +1 -0
- package/dist/ui/ListItem/ListItem.stories.d.ts +8 -8
- package/dist/ui/ListItem/ListItem.styles.d.ts +8 -8
- package/dist/ui/LucideIcon/LucideIcon.d.ts +3 -1
- package/dist/ui/LucideIcon/LucideIcon.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.js +24 -4
- package/dist/ui/LucideIcon/LucideIcon.props.d.ts +291 -8
- package/dist/ui/LucideIcon/LucideIcon.props.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts +146 -4
- package/dist/ui/LucideIcon/LucideIcon.stories.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.js +2 -0
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts +2 -0
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.d.ts.map +1 -1
- package/dist/ui/LucideIcon/LucideIcon.stories.sources.js +2 -0
- package/dist/ui/NumberField/NumberField.d.ts +14 -0
- package/dist/ui/NumberField/NumberField.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberField.js +13 -0
- package/dist/ui/NumberField/NumberField.stories.d.ts +14 -0
- package/dist/ui/NumberField/NumberField.stories.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberField.stories.js +18 -0
- package/dist/ui/NumberField/NumberField.stories.sources.d.ts +6 -0
- package/dist/ui/NumberField/NumberField.stories.sources.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberField.stories.sources.js +6 -0
- package/dist/ui/NumberField/NumberField.styles.d.ts +4 -0
- package/dist/ui/NumberField/NumberField.styles.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberField.styles.js +4 -0
- package/dist/ui/NumberField/NumberField.web.d.ts +4 -0
- package/dist/ui/NumberField/NumberField.web.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberField.web.js +10 -0
- package/dist/ui/NumberField/NumberFieldControlButton.d.ts +8 -0
- package/dist/ui/NumberField/NumberFieldControlButton.d.ts.map +1 -0
- package/dist/ui/NumberField/NumberFieldControlButton.js +6 -0
- package/dist/ui/NumberField/index.d.ts +2 -0
- package/dist/ui/NumberField/index.d.ts.map +1 -0
- package/dist/ui/NumberField/index.js +1 -0
- package/dist/ui/OtpField/OtpField.d.ts +15 -0
- package/dist/ui/OtpField/OtpField.d.ts.map +1 -0
- package/dist/ui/OtpField/OtpField.js +18 -0
- package/dist/ui/OtpField/OtpField.stories.d.ts +57 -0
- package/dist/ui/OtpField/OtpField.stories.d.ts.map +1 -0
- package/dist/ui/OtpField/OtpField.stories.js +14 -0
- package/dist/ui/OtpField/OtpField.stories.sources.d.ts +6 -0
- package/dist/ui/OtpField/OtpField.stories.sources.d.ts.map +1 -0
- package/dist/ui/OtpField/OtpField.stories.sources.js +6 -0
- package/dist/ui/OtpField/OtpField.styles.d.ts +39 -0
- package/dist/ui/OtpField/OtpField.styles.d.ts.map +1 -0
- package/dist/ui/OtpField/OtpField.styles.js +35 -0
- package/dist/ui/OtpField/index.d.ts +2 -0
- package/dist/ui/OtpField/index.d.ts.map +1 -0
- package/dist/ui/OtpField/index.js +1 -0
- package/dist/ui/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/ui/PageHeader/PageHeader.js +1 -1
- package/dist/ui/PageHeader/PageHeader.stories.d.ts +1 -1
- package/dist/ui/PageHeader/PageHeader.stories.js +1 -1
- package/dist/ui/PageHeader/PageHeader.styles.d.ts +1 -1
- package/dist/ui/PasswordField/PasswordField.d.ts +20 -0
- package/dist/ui/PasswordField/PasswordField.d.ts.map +1 -0
- package/dist/ui/PasswordField/PasswordField.js +10 -0
- package/dist/ui/PasswordField/PasswordField.stories.d.ts +33 -0
- package/dist/ui/PasswordField/PasswordField.stories.d.ts.map +1 -0
- package/dist/ui/PasswordField/PasswordField.stories.js +14 -0
- package/dist/ui/PasswordField/PasswordField.stories.sources.d.ts +6 -0
- package/dist/ui/PasswordField/PasswordField.stories.sources.d.ts.map +1 -0
- package/dist/ui/PasswordField/PasswordField.stories.sources.js +6 -0
- package/dist/ui/PasswordField/PasswordField.styles.d.ts +10 -0
- package/dist/ui/PasswordField/PasswordField.styles.d.ts.map +1 -0
- package/dist/ui/PasswordField/PasswordField.styles.js +10 -0
- package/dist/ui/PasswordField/index.d.ts +2 -0
- package/dist/ui/PasswordField/index.d.ts.map +1 -0
- package/dist/ui/PasswordField/index.js +1 -0
- package/dist/ui/PhoneField/PhoneField.d.ts +20 -0
- package/dist/ui/PhoneField/PhoneField.d.ts.map +1 -0
- package/dist/ui/PhoneField/PhoneField.js +8 -0
- package/dist/ui/PhoneField/PhoneField.stories.d.ts +25 -0
- package/dist/ui/PhoneField/PhoneField.stories.d.ts.map +1 -0
- package/dist/ui/PhoneField/PhoneField.stories.js +13 -0
- package/dist/ui/PhoneField/PhoneField.stories.sources.d.ts +6 -0
- package/dist/ui/PhoneField/PhoneField.stories.sources.d.ts.map +1 -0
- package/dist/ui/PhoneField/PhoneField.stories.sources.js +6 -0
- package/dist/ui/PhoneField/index.d.ts +2 -0
- package/dist/ui/PhoneField/index.d.ts.map +1 -0
- package/dist/ui/PhoneField/index.js +1 -0
- package/dist/ui/PhoneInput/PhoneInput.d.ts +16 -0
- package/dist/ui/PhoneInput/PhoneInput.d.ts.map +1 -0
- package/dist/ui/PhoneInput/PhoneInput.js +7 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.d.ts +21 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.d.ts.map +1 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.js +13 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.sources.d.ts +6 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.sources.d.ts.map +1 -0
- package/dist/ui/PhoneInput/PhoneInput.stories.sources.js +6 -0
- package/dist/ui/PhoneInput/index.d.ts +2 -0
- package/dist/ui/PhoneInput/index.d.ts.map +1 -0
- package/dist/ui/PhoneInput/index.js +1 -0
- package/dist/ui/Popover/Popover.stories.d.ts +9 -9
- package/dist/ui/Popover/Popover.styles.d.ts +9 -9
- package/dist/ui/PriceInput/PriceInput.css +9 -0
- package/dist/ui/PriceInput/PriceInput.d.ts +14 -0
- package/dist/ui/PriceInput/PriceInput.d.ts.map +1 -0
- package/dist/ui/PriceInput/PriceInput.js +16 -0
- package/dist/ui/PriceInput/PriceInput.stories.d.ts +51 -0
- package/dist/ui/PriceInput/PriceInput.stories.d.ts.map +1 -0
- package/dist/ui/PriceInput/PriceInput.stories.js +19 -0
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts +6 -0
- package/dist/ui/PriceInput/PriceInput.stories.sources.d.ts.map +1 -0
- package/dist/ui/PriceInput/PriceInput.stories.sources.js +6 -0
- package/dist/ui/PriceInput/PriceInput.styles.d.ts +36 -0
- package/dist/ui/PriceInput/PriceInput.styles.d.ts.map +1 -0
- package/dist/ui/PriceInput/PriceInput.styles.js +32 -0
- package/dist/ui/PriceInput/PriceInput.web.d.ts +8 -0
- package/dist/ui/PriceInput/PriceInput.web.d.ts.map +1 -0
- package/dist/ui/PriceInput/PriceInput.web.js +21 -0
- package/dist/ui/PriceInput/index.d.ts +2 -0
- package/dist/ui/PriceInput/index.d.ts.map +1 -0
- package/dist/ui/PriceInput/index.js +1 -0
- package/dist/ui/ProgressBar/ProgressBar.stories.d.ts +13 -13
- package/dist/ui/ProgressBar/ProgressBar.styles.d.ts +13 -13
- package/dist/ui/ProgressBar/ProgressBarDeterminate.js +1 -1
- package/dist/ui/ProgressBar/ProgressBarIndeterminate.js +1 -1
- package/dist/ui/ProgressBar/ProgressBarLoop.js +1 -1
- package/dist/ui/RadioGroup/RadioGroup.d.ts +21 -0
- package/dist/ui/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroup.js +11 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts +164 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.js +23 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts +10 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroup.stories.sources.js +10 -0
- package/dist/ui/RadioGroup/RadioGroup.styles.d.ts +140 -0
- package/dist/ui/RadioGroup/RadioGroup.styles.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroup.styles.js +129 -0
- package/dist/ui/RadioGroup/RadioGroupCard.d.ts +12 -0
- package/dist/ui/RadioGroup/RadioGroupCard.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroupCard.js +15 -0
- package/dist/ui/RadioGroup/RadioGroupContext.d.ts +8 -0
- package/dist/ui/RadioGroup/RadioGroupContext.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroupContext.js +3 -0
- package/dist/ui/RadioGroup/RadioGroupItem.d.ts +8 -0
- package/dist/ui/RadioGroup/RadioGroupItem.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroupItem.js +13 -0
- package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts +24 -0
- package/dist/ui/RadioGroup/RadioGroupItem.styles.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioGroupItem.styles.js +20 -0
- package/dist/ui/RadioGroup/RadioInput.d.ts +7 -0
- package/dist/ui/RadioGroup/RadioInput.d.ts.map +1 -0
- package/dist/ui/RadioGroup/RadioInput.js +13 -0
- package/dist/ui/RadioGroup/index.d.ts +18 -0
- package/dist/ui/RadioGroup/index.d.ts.map +1 -0
- package/dist/ui/RadioGroup/index.js +7 -0
- package/dist/ui/ResourceList/ResourceList.stories.d.ts +3 -3
- package/dist/ui/ResourceList/ResourceList.styles.d.ts +3 -3
- package/dist/ui/Select/NativePicker.d.ts +16 -0
- package/dist/ui/Select/NativePicker.d.ts.map +1 -0
- package/dist/ui/Select/NativePicker.js +20 -0
- package/dist/ui/Select/Select.d.ts +24 -0
- package/dist/ui/Select/Select.d.ts.map +1 -0
- package/dist/ui/Select/Select.js +28 -0
- package/dist/ui/Select/Select.stories.d.ts +80 -0
- package/dist/ui/Select/Select.stories.d.ts.map +1 -0
- package/dist/ui/Select/Select.stories.js +24 -0
- package/dist/ui/Select/Select.stories.sources.d.ts +8 -0
- package/dist/ui/Select/Select.stories.sources.d.ts.map +1 -0
- package/dist/ui/Select/Select.stories.sources.js +8 -0
- package/dist/ui/Select/Select.styles.d.ts +60 -0
- package/dist/ui/Select/Select.styles.d.ts.map +1 -0
- package/dist/ui/Select/Select.styles.js +57 -0
- package/dist/ui/Select/SelectInput.d.ts +11 -0
- package/dist/ui/Select/SelectInput.d.ts.map +1 -0
- package/dist/ui/Select/SelectInput.ios.d.ts +9 -0
- package/dist/ui/Select/SelectInput.ios.d.ts.map +1 -0
- package/dist/ui/Select/SelectInput.ios.js +28 -0
- package/dist/ui/Select/SelectInput.js +6 -0
- package/dist/ui/Select/index.d.ts +7 -0
- package/dist/ui/Select/index.d.ts.map +1 -0
- package/dist/ui/Select/index.js +3 -0
- package/dist/ui/SelectMultiple/SelectMultiple.d.ts +14 -0
- package/dist/ui/SelectMultiple/SelectMultiple.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/SelectMultiple.js +6 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.d.ts +77 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.js +25 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.sources.d.ts +8 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.sources.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/SelectMultiple.stories.sources.js +8 -0
- package/dist/ui/SelectMultiple/SelectMultiple.styles.d.ts +66 -0
- package/dist/ui/SelectMultiple/SelectMultiple.styles.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/SelectMultiple.styles.js +66 -0
- package/dist/ui/SelectMultiple/SelectMultiple.web.d.ts +14 -0
- package/dist/ui/SelectMultiple/SelectMultiple.web.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/SelectMultiple.web.js +49 -0
- package/dist/ui/SelectMultiple/index.d.ts +3 -0
- package/dist/ui/SelectMultiple/index.d.ts.map +1 -0
- package/dist/ui/SelectMultiple/index.js +1 -0
- package/dist/ui/Sidebar/Sidebar.stories.d.ts +21 -21
- package/dist/ui/Sidebar/Sidebar.styles.d.ts +21 -21
- package/dist/ui/Signature/Signature.stories.d.ts +3 -3
- package/dist/ui/Signature/Signature.styles.d.ts +3 -3
- package/dist/ui/Signature/Signature.web.d.ts.map +1 -1
- package/dist/ui/Signature/Signature.web.js +5 -2
- package/dist/ui/Switch/Switch.d.ts +20 -0
- package/dist/ui/Switch/Switch.d.ts.map +1 -0
- package/dist/ui/Switch/Switch.js +42 -0
- package/dist/ui/Switch/Switch.stories.d.ts +73 -0
- package/dist/ui/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/ui/Switch/Switch.stories.js +19 -0
- package/dist/ui/Switch/Switch.stories.sources.d.ts +8 -0
- package/dist/ui/Switch/Switch.stories.sources.d.ts.map +1 -0
- package/dist/ui/Switch/Switch.stories.sources.js +8 -0
- package/dist/ui/Switch/Switch.styles.d.ts +55 -0
- package/dist/ui/Switch/Switch.styles.d.ts.map +1 -0
- package/dist/ui/Switch/Switch.styles.js +51 -0
- package/dist/ui/Switch/index.d.ts +2 -0
- package/dist/ui/Switch/index.d.ts.map +1 -0
- package/dist/ui/Switch/index.js +1 -0
- package/dist/ui/Tabs/Tabs.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.js +2 -2
- package/dist/ui/Tabs/Tabs.stories.d.ts +6 -18
- package/dist/ui/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.styles.d.ts +6 -18
- package/dist/ui/Tabs/Tabs.styles.d.ts.map +1 -1
- package/dist/ui/Tabs/Tabs.styles.js +0 -8
- package/dist/ui/Tag/Tag.stories.d.ts +5 -5
- package/dist/ui/Tag/Tag.styles.d.ts +5 -5
- package/dist/ui/TextField/TextField.d.ts +22 -0
- package/dist/ui/TextField/TextField.d.ts.map +1 -0
- package/dist/ui/TextField/TextField.js +14 -0
- package/dist/ui/TextField/TextField.stories.d.ts +29 -0
- package/dist/ui/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/ui/TextField/TextField.stories.js +15 -0
- package/dist/ui/TextField/TextField.stories.sources.d.ts +8 -0
- package/dist/ui/TextField/TextField.stories.sources.d.ts.map +1 -0
- package/dist/ui/TextField/TextField.stories.sources.js +8 -0
- package/dist/ui/TextField/TextField.styles.d.ts +4 -0
- package/dist/ui/TextField/TextField.styles.d.ts.map +1 -0
- package/dist/ui/TextField/TextField.styles.js +4 -0
- package/dist/ui/TextField/index.d.ts +2 -0
- package/dist/ui/TextField/index.d.ts.map +1 -0
- package/dist/ui/TextField/index.js +1 -0
- package/dist/ui/TextInputArray/TextInputArray.d.ts +21 -0
- package/dist/ui/TextInputArray/TextInputArray.d.ts.map +1 -0
- package/dist/ui/TextInputArray/TextInputArray.js +53 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.d.ts +13 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.d.ts.map +1 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.js +24 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.sources.d.ts +8 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.sources.d.ts.map +1 -0
- package/dist/ui/TextInputArray/TextInputArray.stories.sources.js +8 -0
- package/dist/ui/TextInputArray/index.d.ts +2 -0
- package/dist/ui/TextInputArray/index.d.ts.map +1 -0
- package/dist/ui/TextInputArray/index.js +1 -0
- package/dist/ui/TextareaField/TextareaField.d.ts +22 -0
- package/dist/ui/TextareaField/TextareaField.d.ts.map +1 -0
- package/dist/ui/TextareaField/TextareaField.js +8 -0
- package/dist/ui/TextareaField/TextareaField.stories.d.ts +26 -0
- package/dist/ui/TextareaField/TextareaField.stories.d.ts.map +1 -0
- package/dist/ui/TextareaField/TextareaField.stories.js +13 -0
- package/dist/ui/TextareaField/TextareaField.stories.sources.d.ts +6 -0
- package/dist/ui/TextareaField/TextareaField.stories.sources.d.ts.map +1 -0
- package/dist/ui/TextareaField/TextareaField.stories.sources.js +6 -0
- package/dist/ui/TextareaField/index.d.ts +2 -0
- package/dist/ui/TextareaField/index.d.ts.map +1 -0
- package/dist/ui/TextareaField/index.js +1 -0
- package/dist/ui/TextareaInput/TextareaInput.d.ts +25 -0
- package/dist/ui/TextareaInput/TextareaInput.d.ts.map +1 -0
- package/dist/ui/TextareaInput/TextareaInput.js +7 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts +29 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.d.ts.map +1 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.js +13 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts +6 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.d.ts.map +1 -0
- package/dist/ui/TextareaInput/TextareaInput.stories.sources.js +6 -0
- package/dist/ui/TextareaInput/index.d.ts +2 -0
- package/dist/ui/TextareaInput/index.d.ts.map +1 -0
- package/dist/ui/TextareaInput/index.js +1 -0
- package/dist/ui/Toast/Toast.d.ts +13 -2
- package/dist/ui/Toast/Toast.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.js +6 -35
- package/dist/ui/Toast/Toast.stories.d.ts +42 -24
- package/dist/ui/Toast/Toast.stories.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.js +12 -3
- package/dist/ui/Toast/Toast.stories.sources.d.ts +16 -0
- package/dist/ui/Toast/Toast.stories.sources.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.stories.sources.js +17 -1
- package/dist/ui/Toast/Toast.styles.d.ts +34 -24
- package/dist/ui/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/ui/Toast/Toast.styles.js +29 -19
- package/dist/ui/Toast/ToastContext.d.ts +1 -1
- package/dist/ui/Toast/ToastContext.d.ts.map +1 -1
- package/dist/ui/Toast/ToastType.d.ts +11 -0
- package/dist/ui/Toast/ToastType.d.ts.map +1 -0
- package/dist/ui/Toast/ToastType.js +46 -0
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.stories.d.ts +4 -4
- package/dist/ui/ToolbarBottomNav/ToolbarBottomNav.styles.d.ts +4 -4
- package/dist/ui/ToolbarTop/ToolbarTop.stories.d.ts +3 -3
- package/dist/ui/ToolbarTop/ToolbarTop.styles.d.ts +3 -3
- package/dist/ui/index.d.ts +24 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +24 -0
- package/package.json +37 -26
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const useStyles: () => {
|
|
2
2
|
container: {
|
|
3
|
-
borderTopLeftRadius: import("@alveole/theme
|
|
4
|
-
borderBottomLeftRadius: import("@alveole/theme
|
|
5
|
-
borderTopRightRadius: import("@alveole/theme
|
|
6
|
-
borderBottomRightRadius: import("@alveole/theme
|
|
3
|
+
borderTopLeftRadius: import("@alveole/theme").Radius;
|
|
4
|
+
borderBottomLeftRadius: import("@alveole/theme").Radius;
|
|
5
|
+
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
6
|
+
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
7
7
|
display: "flex";
|
|
8
8
|
flexDirection: "row";
|
|
9
9
|
justifyContent: "center";
|
|
@@ -19,125 +19,124 @@ export declare const useStyles: () => {
|
|
|
19
19
|
};
|
|
20
20
|
title: {
|
|
21
21
|
cursor: "pointer";
|
|
22
|
-
minWidth: import("@alveole/theme").Spacing;
|
|
23
22
|
textAlign: "center";
|
|
24
23
|
};
|
|
25
24
|
primaryTitle: {
|
|
26
|
-
color:
|
|
25
|
+
color: string;
|
|
27
26
|
};
|
|
28
27
|
primaryContainer: {
|
|
29
|
-
backgroundColor:
|
|
28
|
+
backgroundColor: string;
|
|
30
29
|
};
|
|
31
30
|
primaryTitleHover: {
|
|
32
|
-
color:
|
|
31
|
+
color: string;
|
|
33
32
|
};
|
|
34
33
|
primaryContainerHover: {
|
|
35
|
-
backgroundColor:
|
|
34
|
+
backgroundColor: string;
|
|
36
35
|
};
|
|
37
36
|
primaryContainerPressed: {
|
|
38
|
-
backgroundColor:
|
|
37
|
+
backgroundColor: string;
|
|
39
38
|
};
|
|
40
39
|
secondaryTitle: {
|
|
41
|
-
color:
|
|
40
|
+
color: string;
|
|
42
41
|
};
|
|
43
42
|
secondaryContainer: {
|
|
44
43
|
borderStyle: "solid";
|
|
45
44
|
borderWidth: number;
|
|
46
|
-
borderColor:
|
|
47
|
-
backgroundColor:
|
|
45
|
+
borderColor: string;
|
|
46
|
+
backgroundColor: string;
|
|
48
47
|
};
|
|
49
48
|
secondaryTitleHover: {
|
|
50
|
-
color:
|
|
49
|
+
color: string;
|
|
51
50
|
};
|
|
52
51
|
secondaryContainerHover: {
|
|
53
|
-
borderColor:
|
|
54
|
-
backgroundColor:
|
|
52
|
+
borderColor: string;
|
|
53
|
+
backgroundColor: string;
|
|
55
54
|
};
|
|
56
55
|
secondaryContainerPressed: {
|
|
57
|
-
borderColor:
|
|
58
|
-
backgroundColor:
|
|
56
|
+
borderColor: string;
|
|
57
|
+
backgroundColor: string;
|
|
59
58
|
};
|
|
60
59
|
tertiaryTitle: {
|
|
61
|
-
color:
|
|
60
|
+
color: string;
|
|
62
61
|
};
|
|
63
62
|
tertiaryContainer: {};
|
|
64
63
|
tertiaryTitleHover: {
|
|
65
|
-
color:
|
|
64
|
+
color: string;
|
|
66
65
|
};
|
|
67
66
|
tertiaryContainerHover: {
|
|
68
|
-
backgroundColor:
|
|
67
|
+
backgroundColor: string;
|
|
69
68
|
};
|
|
70
69
|
tertiaryContainerPressed: {
|
|
71
|
-
backgroundColor:
|
|
70
|
+
backgroundColor: string;
|
|
72
71
|
};
|
|
73
72
|
dangerTitle: {
|
|
74
|
-
color:
|
|
73
|
+
color: string;
|
|
75
74
|
};
|
|
76
75
|
dangerContainer: {
|
|
77
76
|
borderStyle: "solid";
|
|
78
77
|
borderWidth: number;
|
|
79
|
-
borderColor:
|
|
80
|
-
backgroundColor:
|
|
78
|
+
borderColor: string;
|
|
79
|
+
backgroundColor: string;
|
|
81
80
|
};
|
|
82
81
|
dangerTitleHover: {
|
|
83
|
-
color:
|
|
82
|
+
color: string;
|
|
84
83
|
};
|
|
85
84
|
dangerContainerHover: {
|
|
86
|
-
borderColor:
|
|
87
|
-
backgroundColor:
|
|
85
|
+
borderColor: string;
|
|
86
|
+
backgroundColor: string;
|
|
88
87
|
};
|
|
89
88
|
dangerContainerPressed: {
|
|
90
|
-
backgroundColor:
|
|
89
|
+
backgroundColor: string;
|
|
91
90
|
};
|
|
92
91
|
dangerTitlePressed: {
|
|
93
|
-
color:
|
|
92
|
+
color: string;
|
|
94
93
|
};
|
|
95
94
|
linkTitle: {
|
|
96
|
-
color:
|
|
95
|
+
color: string;
|
|
97
96
|
};
|
|
98
97
|
linkContainer: {
|
|
99
|
-
backgroundColor:
|
|
98
|
+
backgroundColor: string;
|
|
100
99
|
};
|
|
101
100
|
linkTitleHover: {
|
|
102
|
-
color:
|
|
101
|
+
color: string;
|
|
103
102
|
};
|
|
104
103
|
linkContainerHover: {
|
|
105
|
-
backgroundColor:
|
|
104
|
+
backgroundColor: string;
|
|
106
105
|
};
|
|
107
106
|
linkContainerPressed: {
|
|
108
|
-
backgroundColor:
|
|
107
|
+
backgroundColor: string;
|
|
109
108
|
};
|
|
110
109
|
selectedContainer: {
|
|
111
|
-
backgroundColor:
|
|
112
|
-
borderColor:
|
|
110
|
+
backgroundColor: string;
|
|
111
|
+
borderColor: string;
|
|
113
112
|
borderWidth: number;
|
|
114
113
|
};
|
|
115
114
|
selectedContainerHover: {};
|
|
116
115
|
selectedTitle: {
|
|
117
|
-
color:
|
|
116
|
+
color: string;
|
|
118
117
|
};
|
|
119
118
|
selectedIcon: {
|
|
120
|
-
color:
|
|
119
|
+
color: string;
|
|
121
120
|
};
|
|
122
121
|
xsContainer: {
|
|
123
122
|
paddingLeft: import("@alveole/theme").Spacing;
|
|
124
123
|
paddingRight: import("@alveole/theme").Spacing;
|
|
125
124
|
paddingTop: import("@alveole/theme").Spacing;
|
|
126
125
|
paddingBottom: import("@alveole/theme").Spacing;
|
|
127
|
-
borderTopLeftRadius: import("@alveole/theme
|
|
128
|
-
borderBottomLeftRadius: import("@alveole/theme
|
|
129
|
-
borderTopRightRadius: import("@alveole/theme
|
|
130
|
-
borderBottomRightRadius: import("@alveole/theme
|
|
126
|
+
borderTopLeftRadius: import("@alveole/theme").Radius;
|
|
127
|
+
borderBottomLeftRadius: import("@alveole/theme").Radius;
|
|
128
|
+
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
129
|
+
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
131
130
|
};
|
|
132
131
|
smContainer: {
|
|
133
132
|
paddingLeft: import("@alveole/theme").Spacing;
|
|
134
133
|
paddingRight: import("@alveole/theme").Spacing;
|
|
135
134
|
paddingTop: import("@alveole/theme").Spacing;
|
|
136
135
|
paddingBottom: import("@alveole/theme").Spacing;
|
|
137
|
-
borderTopLeftRadius: import("@alveole/theme
|
|
138
|
-
borderBottomLeftRadius: import("@alveole/theme
|
|
139
|
-
borderTopRightRadius: import("@alveole/theme
|
|
140
|
-
borderBottomRightRadius: import("@alveole/theme
|
|
136
|
+
borderTopLeftRadius: import("@alveole/theme").Radius;
|
|
137
|
+
borderBottomLeftRadius: import("@alveole/theme").Radius;
|
|
138
|
+
borderTopRightRadius: import("@alveole/theme").Radius;
|
|
139
|
+
borderBottomRightRadius: import("@alveole/theme").Radius;
|
|
141
140
|
};
|
|
142
141
|
mdContainer: {
|
|
143
142
|
paddingLeft: import("@alveole/theme").Spacing;
|
|
@@ -208,77 +207,77 @@ export declare const useStyles: () => {
|
|
|
208
207
|
};
|
|
209
208
|
primaryTitleDisabled: {
|
|
210
209
|
cursor: "not-allowed";
|
|
211
|
-
color:
|
|
210
|
+
color: string;
|
|
212
211
|
};
|
|
213
212
|
primaryContainerDisabled: {
|
|
214
213
|
cursor: "not-allowed";
|
|
215
|
-
backgroundColor:
|
|
214
|
+
backgroundColor: string;
|
|
216
215
|
};
|
|
217
216
|
secondaryTitleDisabled: {
|
|
218
217
|
cursor: "not-allowed";
|
|
219
|
-
color:
|
|
218
|
+
color: string;
|
|
220
219
|
};
|
|
221
220
|
secondaryContainerDisabled: {
|
|
222
221
|
cursor: "not-allowed";
|
|
223
|
-
borderColor:
|
|
222
|
+
borderColor: string;
|
|
224
223
|
};
|
|
225
224
|
tertiaryTitleDisabled: {
|
|
226
225
|
cursor: "not-allowed";
|
|
227
|
-
color:
|
|
226
|
+
color: string;
|
|
228
227
|
};
|
|
229
228
|
tertiaryContainerDisabled: {
|
|
230
229
|
cursor: "not-allowed";
|
|
231
230
|
};
|
|
232
231
|
dangerTitleDisabled: {
|
|
233
232
|
cursor: "not-allowed";
|
|
234
|
-
color:
|
|
233
|
+
color: string;
|
|
235
234
|
};
|
|
236
235
|
dangerContainerDisabled: {
|
|
237
236
|
cursor: "not-allowed";
|
|
238
|
-
backgroundColor:
|
|
239
|
-
borderColor:
|
|
237
|
+
backgroundColor: string;
|
|
238
|
+
borderColor: string;
|
|
240
239
|
};
|
|
241
240
|
primaryIcon: {
|
|
242
|
-
color:
|
|
241
|
+
color: string;
|
|
243
242
|
};
|
|
244
243
|
primaryIconHover: {
|
|
245
|
-
color:
|
|
244
|
+
color: string;
|
|
246
245
|
};
|
|
247
246
|
primaryIconDisabled: {
|
|
248
|
-
color:
|
|
247
|
+
color: string;
|
|
249
248
|
};
|
|
250
249
|
secondaryIcon: {
|
|
251
|
-
color:
|
|
250
|
+
color: string;
|
|
252
251
|
};
|
|
253
252
|
secondaryIconHover: {
|
|
254
|
-
color:
|
|
253
|
+
color: string;
|
|
255
254
|
};
|
|
256
255
|
secondaryIconDisabled: {
|
|
257
|
-
color:
|
|
256
|
+
color: string;
|
|
258
257
|
};
|
|
259
258
|
tertiaryIcon: {
|
|
260
|
-
color:
|
|
259
|
+
color: string;
|
|
261
260
|
};
|
|
262
261
|
tertiaryIconHover: {
|
|
263
|
-
color:
|
|
262
|
+
color: string;
|
|
264
263
|
};
|
|
265
264
|
tertiaryIconDisabled: {
|
|
266
|
-
color:
|
|
265
|
+
color: string;
|
|
267
266
|
};
|
|
268
267
|
dangerIcon: {
|
|
269
|
-
color:
|
|
268
|
+
color: string;
|
|
270
269
|
};
|
|
271
270
|
dangerIconHover: {
|
|
272
|
-
color:
|
|
271
|
+
color: string;
|
|
273
272
|
};
|
|
274
273
|
dangerIconDisabled: {
|
|
275
|
-
color:
|
|
274
|
+
color: string;
|
|
276
275
|
};
|
|
277
276
|
linkIcon: {
|
|
278
|
-
color:
|
|
277
|
+
color: string;
|
|
279
278
|
};
|
|
280
279
|
linkIconDisabled: {
|
|
281
|
-
color:
|
|
280
|
+
color: string;
|
|
282
281
|
};
|
|
283
282
|
};
|
|
284
283
|
//# sourceMappingURL=Button.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/Button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiRnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIcon.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/ButtonIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAA8B,MAAM,cAAc,CAAC;AAErF,OAAO,EAAE,SAAS,EAAc,MAAM,eAAe,CAAC;AAOtD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IACzE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;CAC/C,GAAG;IAEF,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;CAAE,CAAC;AAEzC,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,
|
|
1
|
+
{"version":3,"file":"ButtonIcon.d.ts","sourceRoot":"","sources":["../../../src/ui/Button/ButtonIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,cAAc,EAA8B,MAAM,cAAc,CAAC;AAErF,OAAO,EAAE,SAAS,EAAc,MAAM,eAAe,CAAC;AAOtD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IACzE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5C,OAAO,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;CAC/C,GAAG;IAEF,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;CAAE,CAAC;AAEzC,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gCAqFhD,CAAC"}
|
|
@@ -4,8 +4,8 @@ import { Typography } from '../../core';
|
|
|
4
4
|
import { LucideIcon } from '../LucideIcon';
|
|
5
5
|
import { useStyles } from './Button.styles';
|
|
6
6
|
export const ButtonIcon = (props) => {
|
|
7
|
-
const { size, variant, disabled, style, ...buttonProps } = props;
|
|
8
|
-
|
|
7
|
+
const { size, variant, disabled, style, iconSize: iconSizeProp, ...buttonProps } = props;
|
|
8
|
+
const iconSize = iconSizeProp ?? (size === 'lg' ? 'lg' : size === 'sm' ? 'sm' : 'md');
|
|
9
9
|
const styles = useStyles();
|
|
10
10
|
const containerSize = size === 'sm'
|
|
11
11
|
? styles.smContainerIconOnly
|
|
@@ -38,9 +38,6 @@ export const ButtonIcon = (props) => {
|
|
|
38
38
|
return { ...applicableStyles, ...containerSize, ...(style ?? {}) };
|
|
39
39
|
};
|
|
40
40
|
const iconStyle = (state) => {
|
|
41
|
-
if (!iconSize) {
|
|
42
|
-
iconSize = size === 'lg' ? 'lg' : size === 'sm' ? 'sm' : 'md';
|
|
43
|
-
}
|
|
44
41
|
if (variant === 'primary') {
|
|
45
42
|
if (disabled)
|
|
46
43
|
return { size: iconSize, color: styles.primaryIconDisabled.color };
|
|
@@ -27,7 +27,7 @@ declare const _default: {
|
|
|
27
27
|
alignItems: "center";
|
|
28
28
|
};
|
|
29
29
|
titleText: {
|
|
30
|
-
color:
|
|
30
|
+
color: string;
|
|
31
31
|
fontSize: 14;
|
|
32
32
|
lineHeight: 20;
|
|
33
33
|
letterSpacing: 0;
|
|
@@ -45,7 +45,7 @@ declare const _default: {
|
|
|
45
45
|
alignItems: "center";
|
|
46
46
|
};
|
|
47
47
|
descriptionText: {
|
|
48
|
-
color:
|
|
48
|
+
color: string;
|
|
49
49
|
fontSize: 14;
|
|
50
50
|
lineHeight: 20;
|
|
51
51
|
letterSpacing: 0;
|
|
@@ -53,7 +53,7 @@ declare const _default: {
|
|
|
53
53
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
54
54
|
};
|
|
55
55
|
disabledText: {
|
|
56
|
-
color:
|
|
56
|
+
color: string;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
@@ -4,12 +4,12 @@ export declare const useStyles: () => {
|
|
|
4
4
|
width: "100%";
|
|
5
5
|
gap: import("@alveole/theme").Spacing;
|
|
6
6
|
padding: import("@alveole/theme").Spacing;
|
|
7
|
-
backgroundColor:
|
|
7
|
+
backgroundColor: string;
|
|
8
8
|
borderWidth: number;
|
|
9
|
-
borderColor:
|
|
9
|
+
borderColor: string;
|
|
10
10
|
borderStyle: "solid";
|
|
11
11
|
boxSizing: "border-box";
|
|
12
|
-
borderRadius: import("@alveole/theme
|
|
12
|
+
borderRadius: import("@alveole/theme").Radius;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=Card.styles.d.ts.map
|
|
@@ -11,7 +11,7 @@ export declare const useStyles: () => {
|
|
|
11
11
|
flex: number;
|
|
12
12
|
};
|
|
13
13
|
titre: {
|
|
14
|
-
color:
|
|
14
|
+
color: string;
|
|
15
15
|
fontSize: 16;
|
|
16
16
|
lineHeight: 24;
|
|
17
17
|
letterSpacing: 0;
|
|
@@ -19,7 +19,7 @@ export declare const useStyles: () => {
|
|
|
19
19
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
20
20
|
};
|
|
21
21
|
sousTitre: {
|
|
22
|
-
color:
|
|
22
|
+
color: string;
|
|
23
23
|
fontSize: 14;
|
|
24
24
|
lineHeight: 20;
|
|
25
25
|
letterSpacing: 0;
|
|
@@ -27,7 +27,7 @@ export declare const useStyles: () => {
|
|
|
27
27
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
28
28
|
};
|
|
29
29
|
disabledText: {
|
|
30
|
-
color:
|
|
30
|
+
color: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
//# sourceMappingURL=CardHeader.styles.d.ts.map
|
|
@@ -16,7 +16,7 @@ export declare const useStyles: () => {
|
|
|
16
16
|
alignItems: "center";
|
|
17
17
|
};
|
|
18
18
|
titleText: {
|
|
19
|
-
color:
|
|
19
|
+
color: string;
|
|
20
20
|
fontSize: 14;
|
|
21
21
|
lineHeight: 20;
|
|
22
22
|
letterSpacing: 0;
|
|
@@ -34,7 +34,7 @@ export declare const useStyles: () => {
|
|
|
34
34
|
alignItems: "center";
|
|
35
35
|
};
|
|
36
36
|
descriptionText: {
|
|
37
|
-
color:
|
|
37
|
+
color: string;
|
|
38
38
|
fontSize: 14;
|
|
39
39
|
lineHeight: 20;
|
|
40
40
|
letterSpacing: 0;
|
|
@@ -42,7 +42,7 @@ export declare const useStyles: () => {
|
|
|
42
42
|
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
43
43
|
};
|
|
44
44
|
disabledText: {
|
|
45
|
-
color:
|
|
45
|
+
color: string;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
//# sourceMappingURL=CardSection.styles.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CheckboxContainerProps } from './CheckboxContainer';
|
|
3
|
+
import { CheckboxIndicatorProps } from './CheckboxIndicator';
|
|
4
|
+
import { CheckboxLabelProps } from './CheckboxLabel';
|
|
5
|
+
export type CheckboxProps = CheckboxContainerProps & CheckboxIndicatorProps & CheckboxLabelProps;
|
|
6
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<import("tamagui").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
7
|
+
scaleIcon?: number;
|
|
8
|
+
scaleSize?: number;
|
|
9
|
+
sizeAdjust?: number;
|
|
10
|
+
native?: import("tamagui").NativeValue<"web">;
|
|
11
|
+
} & {
|
|
12
|
+
size?: import("tamagui").SizeTokens;
|
|
13
|
+
unstyled?: boolean;
|
|
14
|
+
} & {
|
|
15
|
+
variant?: "small" | "medium";
|
|
16
|
+
error?: string;
|
|
17
|
+
success?: string;
|
|
18
|
+
} & CheckboxIndicatorProps & CheckboxLabelProps & React.RefAttributes<import("tamagui").TamaguiElement>>;
|
|
19
|
+
//# sourceMappingURL=Checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAErC,OAAO,EAAqB,sBAAsB,EAAmB,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAqB,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAiB,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,sBAAsB,GAAG,sBAAsB,GAAG,kBAAkB,CAAC;AAEjG,eAAO,MAAM,QAAQ;;;;;;;;;;;;wGAuBnB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, FormControlCaption } from '@alveole/components';
|
|
3
|
+
import { useTheme } from '@alveole/theme';
|
|
4
|
+
import React, { useId } from 'react';
|
|
5
|
+
import { useStyles } from './Checkbox.styles';
|
|
6
|
+
import { CheckboxContainer } from './CheckboxContainer';
|
|
7
|
+
import { CheckboxIndicator } from './CheckboxIndicator';
|
|
8
|
+
import { CheckboxLabel } from './CheckboxLabel';
|
|
9
|
+
export const Checkbox = React.forwardRef(function Checkbox(props, ref) {
|
|
10
|
+
const { variant, label, error, success, disabled, onCheckedChange } = props;
|
|
11
|
+
const baseProps = { variant, label, error, success, disabled, onCheckedChange };
|
|
12
|
+
const { spacing } = useTheme();
|
|
13
|
+
const styles = useStyles();
|
|
14
|
+
const uniqId = useId();
|
|
15
|
+
const id = `checkbox--${variant}--${uniqId}`;
|
|
16
|
+
return (_jsxs(Box, { tag: "check-box-container", gap: error || success ? spacing('050') : 0, style: styles.checkboxContainer, children: [_jsxs(Box, { tag: "check-box", style: styles.container, children: [_jsx(CheckboxContainer, { id: id, ref: ref, ...props, children: _jsx(CheckboxIndicator, { ...baseProps, indeterminate: props.checked === 'indeterminate' }) }), label && _jsx(CheckboxLabel, { htmlFor: id, ...baseProps })] }), (error ?? success) && _jsx(FormControlCaption, { error: error, success: success })] }));
|
|
17
|
+
});
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: "ui"[];
|
|
4
|
+
experimental: false;
|
|
5
|
+
description: string;
|
|
6
|
+
component: import("react").ForwardRefExoticComponent<import("tamagui").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
7
|
+
scaleIcon?: number;
|
|
8
|
+
scaleSize?: number;
|
|
9
|
+
sizeAdjust?: number;
|
|
10
|
+
native?: import("tamagui").NativeValue<"web">;
|
|
11
|
+
} & {
|
|
12
|
+
size?: import("tamagui").SizeTokens;
|
|
13
|
+
unstyled?: boolean;
|
|
14
|
+
} & {
|
|
15
|
+
variant?: "small" | "medium";
|
|
16
|
+
error?: string;
|
|
17
|
+
success?: string;
|
|
18
|
+
} & import("./CheckboxIndicator").CheckboxIndicatorProps & import("./CheckboxLabel").CheckboxLabelProps & import("react").RefAttributes<import("tamagui").TamaguiElement>>;
|
|
19
|
+
styleFn: () => {
|
|
20
|
+
checkboxContainer: {
|
|
21
|
+
display: "flex";
|
|
22
|
+
flexDirection: "column";
|
|
23
|
+
};
|
|
24
|
+
container: {
|
|
25
|
+
display: "flex";
|
|
26
|
+
flexDirection: "row";
|
|
27
|
+
gap: import("@alveole/theme").Spacing;
|
|
28
|
+
};
|
|
29
|
+
checkbox: {
|
|
30
|
+
height: import("@alveole/theme").Spacing;
|
|
31
|
+
width: import("@alveole/theme").Spacing;
|
|
32
|
+
backgroundColor: "transparent";
|
|
33
|
+
borderColor: string;
|
|
34
|
+
borderRadius: number;
|
|
35
|
+
};
|
|
36
|
+
checkboxSm: {
|
|
37
|
+
height: import("@alveole/theme").Spacing;
|
|
38
|
+
width: import("@alveole/theme").Spacing;
|
|
39
|
+
borderRadius: number;
|
|
40
|
+
};
|
|
41
|
+
checkboxDisabled: {
|
|
42
|
+
borderColor: string;
|
|
43
|
+
backgroundColor: "transparent";
|
|
44
|
+
};
|
|
45
|
+
checkboxError: {
|
|
46
|
+
borderColor: string;
|
|
47
|
+
};
|
|
48
|
+
checkboxSuccess: {
|
|
49
|
+
borderColor: string;
|
|
50
|
+
};
|
|
51
|
+
indicator: {
|
|
52
|
+
height: import("@alveole/theme").Spacing;
|
|
53
|
+
width: import("@alveole/theme").Spacing;
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
borderRadius: number;
|
|
56
|
+
};
|
|
57
|
+
indicatorDisabled: {
|
|
58
|
+
backgroundColor: string;
|
|
59
|
+
};
|
|
60
|
+
label: {
|
|
61
|
+
cursor: "pointer";
|
|
62
|
+
color: string;
|
|
63
|
+
fontSize: 16;
|
|
64
|
+
lineHeight: 24;
|
|
65
|
+
letterSpacing: 0;
|
|
66
|
+
fontFamily: string;
|
|
67
|
+
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
68
|
+
width: "100%";
|
|
69
|
+
};
|
|
70
|
+
labelSm: {
|
|
71
|
+
fontSize: 14;
|
|
72
|
+
lineHeight: 20;
|
|
73
|
+
letterSpacing: 0;
|
|
74
|
+
fontFamily: string;
|
|
75
|
+
fontWeight?: import("react-native").TextStyle["fontWeight"];
|
|
76
|
+
};
|
|
77
|
+
labelDisabled: {
|
|
78
|
+
cursor: "not-allowed";
|
|
79
|
+
color: string;
|
|
80
|
+
};
|
|
81
|
+
labelError: {
|
|
82
|
+
color: string;
|
|
83
|
+
};
|
|
84
|
+
labelSuccess: {
|
|
85
|
+
color: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export default _default;
|
|
90
|
+
export declare const Default: () => import("react").JSX.Element;
|
|
91
|
+
export declare const Variants: () => import("react").JSX.Element;
|
|
92
|
+
export * as Sources from './Checkbox.stories.sources';
|
|
93
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAOkB;AAElB,eAAO,MAAM,OAAO,mCASnB,CAAC;AAEF,eAAO,MAAM,QAAQ,mCAKpB,CAAC;AAEF,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from '../../core';
|
|
3
|
+
import { Checkbox } from './Checkbox';
|
|
4
|
+
import { useStyles } from './Checkbox.styles';
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Checkbox',
|
|
7
|
+
tags: ['ui'],
|
|
8
|
+
experimental: false,
|
|
9
|
+
description: 'Case à cocher avec label, gestion des états et variants de taille.',
|
|
10
|
+
component: Checkbox,
|
|
11
|
+
styleFn: useStyles,
|
|
12
|
+
};
|
|
13
|
+
export const Default = () => (_jsxs(Box, { display: "flex", flexDirection: "column", gap: 24, children: [_jsx(Checkbox, { label: "Non coch\u00E9" }), _jsx(Checkbox, { label: "Coch\u00E9", checked: true }), _jsx(Checkbox, { label: "D\u00E9sactiv\u00E9", disabled: true }), _jsx(Checkbox, { label: "Coch\u00E9 d\u00E9sactiv\u00E9", checked: true, disabled: true }), _jsx(Checkbox, { label: "Avec erreur", error: "Vous devez accepter les conditions" }), _jsx(Checkbox, { label: "Avec succ\u00E8s", success: "Valid\u00E9" })] }));
|
|
14
|
+
export const Variants = () => (_jsxs(Box, { display: "flex", flexDirection: "row", gap: 16, children: [_jsx(Checkbox, { label: "Normal" }), _jsx(Checkbox, { label: "Small", variant: "small" })] }));
|
|
15
|
+
export * as Sources from './Checkbox.stories.sources';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Default: () => string;
|
|
2
|
+
export declare const Variants: () => string;
|
|
3
|
+
export declare const storySources: {
|
|
4
|
+
readonly Default: () => string;
|
|
5
|
+
readonly Variants: () => string;
|
|
6
|
+
};
|
|
7
|
+
export type StorySourceName = keyof typeof storySources;
|
|
8
|
+
//# sourceMappingURL=Checkbox.stories.sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.sources.d.ts","sourceRoot":"","sources":["../../../src/ui/Checkbox/Checkbox.stories.sources.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,cAA+b,CAAC;AAEpd,eAAO,MAAM,QAAQ,cAAwM,CAAC;AAE9N,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file is generated. Do not edit manually.
|
|
2
|
+
// Source: src/ui/Checkbox/Checkbox.stories.tsx
|
|
3
|
+
export const Default = () => "export const Default = () => (\n <Box display=\"flex\" flexDirection=\"column\" gap={24}>\n <Checkbox label=\"Non coché\" />\n <Checkbox label=\"Coché\" checked />\n <Checkbox label=\"Désactivé\" disabled />\n <Checkbox label=\"Coché désactivé\" checked disabled />\n <Checkbox label=\"Avec erreur\" error=\"Vous devez accepter les conditions\" />\n <Checkbox label=\"Avec succès\" success=\"Validé\" />\n </Box>\n);";
|
|
4
|
+
export const Variants = () => "export const Variants = () => (\n <Box display=\"flex\" flexDirection=\"row\" gap={16}>\n <Checkbox label=\"Normal\" />\n <Checkbox label=\"Small\" variant=\"small\" />\n </Box>\n);";
|
|
5
|
+
export const storySources = {
|
|
6
|
+
Default,
|
|
7
|
+
Variants,
|
|
8
|
+
};
|