@hanwenbo/x-taro-ui 0.0.2 → 0.0.4
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/README.md +129 -0
- package/es/adapters/miniapp/index.d.ts.map +1 -0
- package/es/adapters/miniapp/measure.d.ts +4 -2
- package/es/adapters/miniapp/measure.d.ts.map +1 -0
- package/es/adapters/miniapp/measure.js +82 -18
- package/es/adapters/miniapp/measureNode.d.ts +3 -0
- package/es/adapters/miniapp/measureNode.d.ts.map +1 -0
- package/es/adapters/miniapp/measureNode.h5.d.ts +3 -0
- package/es/adapters/miniapp/measureNode.h5.d.ts.map +1 -0
- package/es/adapters/miniapp/measureNode.h5.js +21 -0
- package/es/adapters/miniapp/measureNode.js +25 -0
- package/es/adapters/miniapp/overlayHost.d.ts.map +1 -0
- package/es/adapters/miniapp/overlayHost.js +35 -15
- package/es/adapters/miniapp/portal.d.ts.map +1 -0
- package/es/adapters/miniapp/scroll.d.ts.map +1 -0
- package/es/adapters/miniapp/textareaValue.d.ts +9 -0
- package/es/adapters/miniapp/textareaValue.d.ts.map +1 -0
- package/es/adapters/miniapp/textareaValue.js +49 -0
- package/es/adapters/miniapp/touch.d.ts.map +1 -0
- package/es/auth/components.d.ts +14 -14
- package/es/auth/components.d.ts.map +1 -0
- package/es/auth/components.js +42 -1
- package/es/auth/entries/account-security.d.ts.map +1 -0
- package/es/auth/entries/change-password.d.ts.map +1 -0
- package/es/auth/entries/forgot-password.d.ts.map +1 -0
- package/es/auth/entries/identifier-binding.d.ts.map +1 -0
- package/es/auth/entries/locales.d.ts.map +1 -0
- package/es/auth/entries/phone-number-input.d.ts.map +1 -0
- package/es/auth/entries/provider.d.ts.map +1 -0
- package/es/auth/entries/quick-sign-in.d.ts.map +1 -0
- package/es/auth/entries/sign-in.d.ts.map +1 -0
- package/es/auth/entries/sign-up.d.ts.map +1 -0
- package/es/auth/entries/theme.d.ts.map +1 -0
- package/es/auth/entries/third-party-sign-in.d.ts.map +1 -0
- package/es/auth/entries/types.d.ts.map +1 -0
- package/es/auth/index.d.ts.map +1 -0
- package/es/auth/internal.d.ts +8 -8
- package/es/auth/internal.d.ts.map +1 -0
- package/es/auth/internal.js +5 -3
- package/es/auth/phoneNumberInput.d.ts +2 -2
- package/es/auth/phoneNumberInput.d.ts.map +1 -0
- package/es/auth/phoneNumberInput.js +12 -7
- package/es/auth/provider.d.ts +2 -2
- package/es/auth/provider.d.ts.map +1 -0
- package/es/auth/styles.css +2 -1
- package/es/auth/theme.d.ts +1 -0
- package/es/auth/theme.d.ts.map +1 -0
- package/es/auth/theme.js +1 -0
- package/es/auth/types.d.ts.map +1 -0
- package/es/components/_shared/render.d.ts +1 -1
- package/es/components/_shared/render.d.ts.map +1 -0
- package/es/components/_shared/seedSurface.d.ts.map +1 -0
- package/es/components/actionSheet/actionSheet.d.ts.map +1 -0
- package/es/components/actionSheet/index.d.ts.map +1 -0
- package/es/components/actionSheet/tokens.d.ts.map +1 -0
- package/es/components/actionSheet/types.d.ts.map +1 -0
- package/es/components/affix/affix.d.ts.map +1 -0
- package/es/components/affix/index.d.ts.map +1 -0
- package/es/components/affix/types.d.ts.map +1 -0
- package/es/components/alert/alert.d.ts.map +1 -0
- package/es/components/alert/index.d.ts.map +1 -0
- package/es/components/alert/tokens.d.ts.map +1 -0
- package/es/components/alert/types.d.ts.map +1 -0
- package/es/components/attachment/attachment.d.ts.map +1 -0
- package/es/components/attachment/index.d.ts.map +1 -0
- package/es/components/attachment/types.d.ts +2 -2
- package/es/components/attachment/types.d.ts.map +1 -0
- package/es/components/avatar/avatar.d.ts.map +1 -0
- package/es/components/avatar/index.d.ts.map +1 -0
- package/es/components/avatar/tokens.d.ts.map +1 -0
- package/es/components/avatar/types.d.ts +1 -1
- package/es/components/avatar/types.d.ts.map +1 -0
- package/es/components/badge/badge.d.ts.map +1 -0
- package/es/components/badge/index.d.ts.map +1 -0
- package/es/components/badge/tokens.d.ts.map +1 -0
- package/es/components/badge/types.d.ts.map +1 -0
- package/es/components/barLoading/barLoading.d.ts.map +1 -0
- package/es/components/barLoading/index.d.ts.map +1 -0
- package/es/components/barLoading/types.d.ts.map +1 -0
- package/es/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/es/components/breadcrumb/index.d.ts.map +1 -0
- package/es/components/breadcrumb/types.d.ts.map +1 -0
- package/es/components/button/button.d.ts.map +1 -0
- package/es/components/button/button.js +9 -8
- package/es/components/button/index.d.ts.map +1 -0
- package/es/components/button/tokens.d.ts.map +1 -0
- package/es/components/button/tokens.js +12 -11
- package/es/components/button/types.d.ts +3 -3
- package/es/components/button/types.d.ts.map +1 -0
- package/es/components/capsuleTabs/capsuleTabs.d.ts.map +1 -0
- package/es/components/capsuleTabs/index.d.ts.map +1 -0
- package/es/components/capsuleTabs/types.d.ts.map +1 -0
- package/es/components/card/card.d.ts.map +1 -0
- package/es/components/card/index.d.ts.map +1 -0
- package/es/components/card/tokens.d.ts.map +1 -0
- package/es/components/card/types.d.ts.map +1 -0
- package/es/components/cascadePicker/cascadePicker.d.ts.map +1 -0
- package/es/components/cascadePicker/index.d.ts.map +1 -0
- package/es/components/cascadePicker/shared.d.ts.map +1 -0
- package/es/components/cascadePicker/types.d.ts.map +1 -0
- package/es/components/cascadePickerView/cascadePickerView.d.ts.map +1 -0
- package/es/components/cascadePickerView/index.d.ts.map +1 -0
- package/es/components/cascadePickerView/types.d.ts.map +1 -0
- package/es/components/cascader/cascader.d.ts.map +1 -0
- package/es/components/cascader/index.d.ts.map +1 -0
- package/es/components/cascader/types.d.ts.map +1 -0
- package/es/components/cascaderView/cascaderView.d.ts.map +1 -0
- package/es/components/cascaderView/index.d.ts.map +1 -0
- package/es/components/cascaderView/types.d.ts.map +1 -0
- package/es/components/checkList/checkList.d.ts.map +1 -0
- package/es/components/checkList/index.d.ts.map +1 -0
- package/es/components/checkList/types.d.ts.map +1 -0
- package/es/components/checkbox/checkbox.d.ts.map +1 -0
- package/es/components/checkbox/index.d.ts.map +1 -0
- package/es/components/checkbox/tokens.d.ts.map +1 -0
- package/es/components/checkbox/types.d.ts.map +1 -0
- package/es/components/collapse/collapse.d.ts.map +1 -0
- package/es/components/collapse/index.d.ts.map +1 -0
- package/es/components/collapse/types.d.ts.map +1 -0
- package/es/components/command/command.d.ts.map +1 -0
- package/es/components/command/index.d.ts.map +1 -0
- package/es/components/command/types.d.ts.map +1 -0
- package/es/components/configProvider/configProvider.d.ts +1 -1
- package/es/components/configProvider/configProvider.d.ts.map +1 -0
- package/es/components/configProvider/configProvider.js +2 -2
- package/es/components/configProvider/index.d.ts.map +1 -0
- package/es/components/configProvider/types.d.ts.map +1 -0
- package/es/components/contextMenu/contextMenu.d.ts.map +1 -0
- package/es/components/contextMenu/contextMenu.js +2 -2
- package/es/components/contextMenu/index.d.ts.map +1 -0
- package/es/components/contextMenu/types.d.ts.map +1 -0
- package/es/components/datePicker/datePicker.d.ts.map +1 -0
- package/es/components/datePicker/index.d.ts.map +1 -0
- package/es/components/datePicker/shared.d.ts.map +1 -0
- package/es/components/datePicker/types.d.ts.map +1 -0
- package/es/components/datePickerView/datePickerView.d.ts.map +1 -0
- package/es/components/datePickerView/index.d.ts.map +1 -0
- package/es/components/datePickerView/types.d.ts.map +1 -0
- package/es/components/descriptions/descriptions.d.ts.map +1 -0
- package/es/components/descriptions/index.d.ts.map +1 -0
- package/es/components/descriptions/types.d.ts.map +1 -0
- package/es/components/dialog/dialog.d.ts.map +1 -0
- package/es/components/dialog/index.d.ts.map +1 -0
- package/es/components/dialog/tokens.d.ts.map +1 -0
- package/es/components/dialog/types.d.ts.map +1 -0
- package/es/components/dimensions/dimensions.d.ts.map +1 -0
- package/es/components/dimensions/index.d.ts.map +1 -0
- package/es/components/dimensions/types.d.ts.map +1 -0
- package/es/components/divider/divider.d.ts.map +1 -0
- package/es/components/divider/index.d.ts.map +1 -0
- package/es/components/divider/tokens.d.ts.map +1 -0
- package/es/components/divider/tokens.js +9 -2
- package/es/components/divider/types.d.ts.map +1 -0
- package/es/components/dotLoading/dotLoading.d.ts.map +1 -0
- package/es/components/dotLoading/index.d.ts.map +1 -0
- package/es/components/dotLoading/types.d.ts.map +1 -0
- package/es/components/drawer/drawer.d.ts.map +1 -0
- package/es/components/drawer/index.d.ts.map +1 -0
- package/es/components/drawer/types.d.ts.map +1 -0
- package/es/components/dropdown/dropdown.d.ts.map +1 -0
- package/es/components/dropdown/index.d.ts.map +1 -0
- package/es/components/dropdown/types.d.ts.map +1 -0
- package/es/components/dropdownMenu/dropdownMenu.d.ts.map +1 -0
- package/es/components/dropdownMenu/index.d.ts.map +1 -0
- package/es/components/dropdownMenu/types.d.ts.map +1 -0
- package/es/components/ellipsis/ellipsis.d.ts.map +1 -0
- package/es/components/ellipsis/index.d.ts.map +1 -0
- package/es/components/ellipsis/types.d.ts +1 -1
- package/es/components/ellipsis/types.d.ts.map +1 -0
- package/es/components/empty/empty.d.ts.map +1 -0
- package/es/components/empty/index.d.ts.map +1 -0
- package/es/components/empty/types.d.ts.map +1 -0
- package/es/components/errorBlock/errorBlock.d.ts.map +1 -0
- package/es/components/errorBlock/errorBlock.js +4 -4
- package/es/components/errorBlock/index.d.ts.map +1 -0
- package/es/components/errorBlock/types.d.ts.map +1 -0
- package/es/components/flatList/flatList.d.ts.map +1 -0
- package/es/components/flatList/flatList.js +151 -61
- package/es/components/flatList/index.d.ts.map +1 -0
- package/es/components/flatList/scrollTargetMeasurement.d.ts +2 -1
- package/es/components/flatList/scrollTargetMeasurement.d.ts.map +1 -0
- package/es/components/flatList/scrollTargetMeasurement.h5.d.ts +2 -1
- package/es/components/flatList/scrollTargetMeasurement.h5.d.ts.map +1 -0
- package/es/components/flatList/scrollTargetMeasurement.h5.js +1 -0
- package/es/components/flatList/scrollTargetMeasurement.js +9 -3
- package/es/components/flatList/types.d.ts +15 -1
- package/es/components/flatList/types.d.ts.map +1 -0
- package/es/components/flatList/useRenderBatch.d.ts +3 -0
- package/es/components/flatList/useRenderBatch.d.ts.map +1 -0
- package/es/components/flatList/useRenderBatch.js +50 -0
- package/es/components/flatList/useVirtualWindow.d.ts +24 -0
- package/es/components/flatList/useVirtualWindow.d.ts.map +1 -0
- package/es/components/flatList/useVirtualWindow.js +228 -0
- package/es/components/flatList/virtualLayout.d.ts +20 -0
- package/es/components/flatList/virtualLayout.d.ts.map +1 -0
- package/es/components/flatList/virtualLayout.js +109 -0
- package/es/components/flatList/virtualMeasurement.d.ts +5 -0
- package/es/components/flatList/virtualMeasurement.d.ts.map +1 -0
- package/es/components/flatList/virtualMeasurement.h5.d.ts +4 -0
- package/es/components/flatList/virtualMeasurement.h5.d.ts.map +1 -0
- package/es/components/flatList/virtualMeasurement.h5.js +37 -0
- package/es/components/flatList/virtualMeasurement.js +16 -0
- package/es/components/form/form.d.ts.map +1 -0
- package/es/components/form/index.d.ts.map +1 -0
- package/es/components/form/types.d.ts.map +1 -0
- package/es/components/grid/grid.d.ts.map +1 -0
- package/es/components/grid/index.d.ts.map +1 -0
- package/es/components/grid/types.d.ts +3 -3
- package/es/components/grid/types.d.ts.map +1 -0
- package/es/components/icon/aliases.d.ts.map +1 -0
- package/es/components/icon/icon.d.ts.map +1 -0
- package/es/components/icon/index.d.ts.map +1 -0
- package/es/components/icon/lucide.generated.d.ts +192 -12
- package/es/components/icon/lucide.generated.d.ts.map +1 -0
- package/es/components/icon/lucide.generated.js +192 -12
- package/es/components/icon/types.d.ts +1 -1
- package/es/components/icon/types.d.ts.map +1 -0
- package/es/components/image/image.d.ts.map +1 -0
- package/es/components/image/index.d.ts.map +1 -0
- package/es/components/image/types.d.ts.map +1 -0
- package/es/components/input/index.d.ts.map +1 -0
- package/es/components/input/input.d.ts.map +1 -0
- package/es/components/input/input.js +13 -10
- package/es/components/input/tokens.d.ts.map +1 -0
- package/es/components/input/types.d.ts.map +1 -0
- package/es/components/inputItem/index.d.ts.map +1 -0
- package/es/components/inputItem/inputItem.d.ts.map +1 -0
- package/es/components/inputItem/inputItem.js +9 -6
- package/es/components/inputItem/tokens.d.ts.map +1 -0
- package/es/components/inputItem/types.d.ts.map +1 -0
- package/es/components/internal/index.d.ts.map +1 -0
- package/es/components/internal/internal.d.ts.map +1 -0
- package/es/components/internal/selectionControl/presentation.d.ts.map +1 -0
- package/es/components/internal/selectionControl/useTaroScrollIntoView.d.ts.map +1 -0
- package/es/components/internal/selectionControl/useTaroSelectionIndicator.d.ts.map +1 -0
- package/es/components/internal/types.d.ts.map +1 -0
- package/es/components/item/index.d.ts.map +1 -0
- package/es/components/item/item.d.ts.map +1 -0
- package/es/components/item/types.d.ts.map +1 -0
- package/es/components/kbd/index.d.ts.map +1 -0
- package/es/components/kbd/kbd.d.ts.map +1 -0
- package/es/components/kbd/types.d.ts.map +1 -0
- package/es/components/layout/index.d.ts.map +1 -0
- package/es/components/layout/layout.d.ts.map +1 -0
- package/es/components/layout/types.d.ts +2 -2
- package/es/components/layout/types.d.ts.map +1 -0
- package/es/components/list/index.d.ts.map +1 -0
- package/es/components/list/list.d.ts +1 -1
- package/es/components/list/list.d.ts.map +1 -0
- package/es/components/list/types.d.ts.map +1 -0
- package/es/components/mask/index.d.ts.map +1 -0
- package/es/components/mask/mask.d.ts.map +1 -0
- package/es/components/mask/tokens.d.ts.map +1 -0
- package/es/components/mask/types.d.ts.map +1 -0
- package/es/components/masonryList/index.d.ts.map +1 -0
- package/es/components/masonryList/masonryList.d.ts.map +1 -0
- package/es/components/masonryList/types.d.ts +2 -2
- package/es/components/masonryList/types.d.ts.map +1 -0
- package/es/components/menu/index.d.ts.map +1 -0
- package/es/components/menu/menu.d.ts.map +1 -0
- package/es/components/menu/types.d.ts.map +1 -0
- package/es/components/menubar/index.d.ts.map +1 -0
- package/es/components/menubar/menubar.d.ts.map +1 -0
- package/es/components/menubar/types.d.ts.map +1 -0
- package/es/components/modal/index.d.ts.map +1 -0
- package/es/components/modal/modal.d.ts.map +1 -0
- package/es/components/modal/modal.js +7 -2
- package/es/components/modal/tokens.d.ts.map +1 -0
- package/es/components/modal/types.d.ts.map +1 -0
- package/es/components/navBar/index.d.ts.map +1 -0
- package/es/components/navBar/navBar.d.ts.map +1 -0
- package/es/components/navBar/types.d.ts.map +1 -0
- package/es/components/needWrap/index.d.ts.map +1 -0
- package/es/components/needWrap/needWrap.d.ts.map +1 -0
- package/es/components/needWrap/types.d.ts.map +1 -0
- package/es/components/notification/index.d.ts.map +1 -0
- package/es/components/notification/notification.d.ts.map +1 -0
- package/es/components/notification/tokens.d.ts.map +1 -0
- package/es/components/notification/types.d.ts.map +1 -0
- package/es/components/pageIndicator/index.d.ts.map +1 -0
- package/es/components/pageIndicator/pageIndicator.d.ts.map +1 -0
- package/es/components/pageIndicator/types.d.ts.map +1 -0
- package/es/components/pagination/index.d.ts.map +1 -0
- package/es/components/pagination/pagination.d.ts.map +1 -0
- package/es/components/pagination/tokens.d.ts.map +1 -0
- package/es/components/pagination/types.d.ts.map +1 -0
- package/es/components/picker/index.d.ts.map +1 -0
- package/es/components/picker/picker.d.ts.map +1 -0
- package/es/components/picker/shared.d.ts.map +1 -0
- package/es/components/picker/tokens.d.ts.map +1 -0
- package/es/components/picker/types.d.ts.map +1 -0
- package/es/components/pickerView/index.d.ts.map +1 -0
- package/es/components/pickerView/pickerView.d.ts.map +1 -0
- package/es/components/pickerView/types.d.ts.map +1 -0
- package/es/components/popconfirm/index.d.ts.map +1 -0
- package/es/components/popconfirm/popconfirm.d.ts.map +1 -0
- package/es/components/popconfirm/types.d.ts.map +1 -0
- package/es/components/popover/index.d.ts.map +1 -0
- package/es/components/popover/popover.d.ts.map +1 -0
- package/es/components/popover/types.d.ts.map +1 -0
- package/es/components/popup/index.d.ts.map +1 -0
- package/es/components/popup/popup.d.ts.map +1 -0
- package/es/components/popup/popup.js +4 -0
- package/es/components/popup/tokens.d.ts.map +1 -0
- package/es/components/popup/types.d.ts.map +1 -0
- package/es/components/portal/index.d.ts.map +1 -0
- package/es/components/portal/portal.d.ts.map +1 -0
- package/es/components/portal/portal.h5.d.ts.map +1 -0
- package/es/components/portal/types.d.ts.map +1 -0
- package/es/components/progress/index.d.ts.map +1 -0
- package/es/components/progress/progress.d.ts.map +1 -0
- package/es/components/progress/types.d.ts.map +1 -0
- package/es/components/progressBar/index.d.ts.map +1 -0
- package/es/components/progressBar/progressBar.d.ts.map +1 -0
- package/es/components/progressBar/tokens.d.ts.map +1 -0
- package/es/components/progressBar/types.d.ts.map +1 -0
- package/es/components/provider/index.d.ts.map +1 -0
- package/es/components/provider/provider.d.ts.map +1 -0
- package/es/components/provider/types.d.ts.map +1 -0
- package/es/components/radio/index.d.ts.map +1 -0
- package/es/components/radio/radio.d.ts.map +1 -0
- package/es/components/radio/tokens.d.ts.map +1 -0
- package/es/components/radio/types.d.ts.map +1 -0
- package/es/components/rate/index.d.ts.map +1 -0
- package/es/components/rate/rate.d.ts.map +1 -0
- package/es/components/rate/types.d.ts.map +1 -0
- package/es/components/result/index.d.ts.map +1 -0
- package/es/components/result/result.d.ts.map +1 -0
- package/es/components/result/types.d.ts.map +1 -0
- package/es/components/resultPage/index.d.ts.map +1 -0
- package/es/components/resultPage/resultPage.d.ts.map +1 -0
- package/es/components/resultPage/types.d.ts.map +1 -0
- package/es/components/rollingNumber/index.d.ts.map +1 -0
- package/es/components/rollingNumber/rollingNumber.d.ts.map +1 -0
- package/es/components/rollingNumber/types.d.ts.map +1 -0
- package/es/components/safeArea/index.d.ts.map +1 -0
- package/es/components/safeArea/safeArea.d.ts.map +1 -0
- package/es/components/safeArea/types.d.ts.map +1 -0
- package/es/components/scrollFade/index.d.ts.map +1 -0
- package/es/components/scrollFade/scrollFade.d.ts.map +1 -0
- package/es/components/scrollFade/types.d.ts +2 -2
- package/es/components/scrollFade/types.d.ts.map +1 -0
- package/es/components/scrollView/index.d.ts.map +1 -0
- package/es/components/scrollView/scrollView.d.ts.map +1 -0
- package/es/components/scrollView/scrollView.js +22 -5
- package/es/components/scrollView/types.d.ts.map +1 -0
- package/es/components/searchBar/index.d.ts.map +1 -0
- package/es/components/searchBar/searchBar.d.ts.map +1 -0
- package/es/components/searchBar/searchBar.js +4 -0
- package/es/components/searchBar/tokens.d.ts.map +1 -0
- package/es/components/searchBar/types.d.ts.map +1 -0
- package/es/components/sectionList/index.d.ts.map +1 -0
- package/es/components/sectionList/sectionList.d.ts +2 -1
- package/es/components/sectionList/sectionList.d.ts.map +1 -0
- package/es/components/sectionList/types.d.ts.map +1 -0
- package/es/components/segmented/index.d.ts.map +1 -0
- package/es/components/segmented/segmented.d.ts.map +1 -0
- package/es/components/segmented/types.d.ts.map +1 -0
- package/es/components/select/index.d.ts.map +1 -0
- package/es/components/select/select.d.ts.map +1 -0
- package/es/components/select/select.js +12 -4
- package/es/components/select/tokens.d.ts.map +1 -0
- package/es/components/select/tokens.js +19 -19
- package/es/components/select/types.d.ts.map +1 -0
- package/es/components/sendCode/index.d.ts.map +1 -0
- package/es/components/sendCode/sendCode.d.ts.map +1 -0
- package/es/components/sendCode/tokens.d.ts.map +1 -0
- package/es/components/sendCode/types.d.ts.map +1 -0
- package/es/components/shimmer/index.d.ts.map +1 -0
- package/es/components/shimmer/shimmer.d.ts.map +1 -0
- package/es/components/shimmer/types.d.ts.map +1 -0
- package/es/components/showMoreText/index.d.ts.map +1 -0
- package/es/components/showMoreText/measurementSelector.d.ts +10 -0
- package/es/components/showMoreText/measurementSelector.d.ts.map +1 -0
- package/es/components/showMoreText/measurementSelector.js +12 -0
- package/es/components/showMoreText/showMoreText.d.ts.map +1 -0
- package/es/components/showMoreText/showMoreText.js +43 -10
- package/es/components/showMoreText/types.d.ts.map +1 -0
- package/es/components/sideBar/index.d.ts.map +1 -0
- package/es/components/sideBar/sideBar.d.ts.map +1 -0
- package/es/components/sideBar/types.d.ts.map +1 -0
- package/es/components/skeleton/index.d.ts.map +1 -0
- package/es/components/skeleton/skeleton.d.ts.map +1 -0
- package/es/components/skeleton/skeleton.js +13 -7
- package/es/components/skeleton/types.d.ts +2 -2
- package/es/components/skeleton/types.d.ts.map +1 -0
- package/es/components/slider/index.d.ts.map +1 -0
- package/es/components/slider/slider.d.ts.map +1 -0
- package/es/components/slider/slider.js +2 -0
- package/es/components/slider/tokens.d.ts.map +1 -0
- package/es/components/slider/types.d.ts.map +1 -0
- package/es/components/sonner/index.d.ts.map +1 -0
- package/es/components/sonner/sonner.d.ts.map +1 -0
- package/es/components/sonner/types.d.ts +1 -1
- package/es/components/sonner/types.d.ts.map +1 -0
- package/es/components/space/index.d.ts.map +1 -0
- package/es/components/space/space.d.ts.map +1 -0
- package/es/components/space/space.js +14 -2
- package/es/components/space/types.d.ts +5 -2
- package/es/components/space/types.d.ts.map +1 -0
- package/es/components/spin/index.d.ts.map +1 -0
- package/es/components/spin/spin.d.ts.map +1 -0
- package/es/components/spin/types.d.ts.map +1 -0
- package/es/components/spinner/index.d.ts.map +1 -0
- package/es/components/spinner/spinner.d.ts.map +1 -0
- package/es/components/spinner/types.d.ts.map +1 -0
- package/es/components/stepper/index.d.ts.map +1 -0
- package/es/components/stepper/stepper.d.ts.map +1 -0
- package/es/components/stepper/tokens.d.ts.map +1 -0
- package/es/components/stepper/types.d.ts.map +1 -0
- package/es/components/steps/index.d.ts.map +1 -0
- package/es/components/steps/steps.d.ts.map +1 -0
- package/es/components/steps/types.d.ts.map +1 -0
- package/es/components/swiper/index.d.ts.map +1 -0
- package/es/components/swiper/swiper.d.ts.map +1 -0
- package/es/components/swiper/types.d.ts.map +1 -0
- package/es/components/switch/index.d.ts.map +1 -0
- package/es/components/switch/switch.d.ts.map +1 -0
- package/es/components/switch/tokens.d.ts.map +1 -0
- package/es/components/switch/types.d.ts.map +1 -0
- package/es/components/tabBar/index.d.ts.map +1 -0
- package/es/components/tabBar/tabBar.d.ts.map +1 -0
- package/es/components/tabBar/types.d.ts.map +1 -0
- package/es/components/table/index.d.ts.map +1 -0
- package/es/components/table/table.d.ts.map +1 -0
- package/es/components/table/types.d.ts.map +1 -0
- package/es/components/tabs/index.d.ts.map +1 -0
- package/es/components/tabs/tabs.d.ts.map +1 -0
- package/es/components/tabs/types.d.ts.map +1 -0
- package/es/components/tag/index.d.ts.map +1 -0
- package/es/components/tag/tag.d.ts.map +1 -0
- package/es/components/tag/tokens.d.ts.map +1 -0
- package/es/components/tag/types.d.ts.map +1 -0
- package/es/components/text/index.d.ts.map +1 -0
- package/es/components/text/text.d.ts.map +1 -0
- package/es/components/text/text.js +1 -0
- package/es/components/text/types.d.ts +1 -1
- package/es/components/text/types.d.ts.map +1 -0
- package/es/components/textInput/index.d.ts.map +1 -0
- package/es/components/textInput/textInput.d.ts.map +1 -0
- package/es/components/textInput/types.d.ts.map +1 -0
- package/es/components/textarea/index.d.ts.map +1 -0
- package/es/components/textarea/style.css +4 -3
- package/es/components/textarea/textarea.d.ts.map +1 -0
- package/es/components/textarea/textarea.js +111 -16
- package/es/components/textarea/tokens.d.ts.map +1 -0
- package/es/components/textarea/types.d.ts +12 -1
- package/es/components/textarea/types.d.ts.map +1 -0
- package/es/components/toast/index.d.ts.map +1 -0
- package/es/components/toast/toast.d.ts.map +1 -0
- package/es/components/toast/tokens.d.ts.map +1 -0
- package/es/components/toast/types.d.ts.map +1 -0
- package/es/components/tooltip/index.d.ts.map +1 -0
- package/es/components/tooltip/tokens.d.ts.map +1 -0
- package/es/components/tooltip/tooltip.d.ts.map +1 -0
- package/es/components/tooltip/types.d.ts.map +1 -0
- package/es/components/touchableOpacity/index.d.ts.map +1 -0
- package/es/components/touchableOpacity/touchableOpacity.d.ts.map +1 -0
- package/es/components/touchableOpacity/types.d.ts.map +1 -0
- package/es/components/transfer/index.d.ts.map +1 -0
- package/es/components/transfer/tokens.d.ts.map +1 -0
- package/es/components/transfer/transfer.d.ts.map +1 -0
- package/es/components/transfer/types.d.ts.map +1 -0
- package/es/components/treeSelect/index.d.ts.map +1 -0
- package/es/components/treeSelect/tokens.d.ts.map +1 -0
- package/es/components/treeSelect/treeSelect.d.ts.map +1 -0
- package/es/components/treeSelect/types.d.ts.map +1 -0
- package/es/components/typography/index.d.ts.map +1 -0
- package/es/components/typography/types.d.ts.map +1 -0
- package/es/components/typography/typography.d.ts.map +1 -0
- package/es/components/view/index.d.ts.map +1 -0
- package/es/components/view/observeLayout.d.ts.map +1 -0
- package/es/components/view/observeLayout.h5.d.ts.map +1 -0
- package/es/components/view/types.d.ts +2 -2
- package/es/components/view/types.d.ts.map +1 -0
- package/es/components/view/view.d.ts.map +1 -0
- package/es/components/withDivider/index.d.ts.map +1 -0
- package/es/components/withDivider/types.d.ts +5 -5
- package/es/components/withDivider/types.d.ts.map +1 -0
- package/es/components/withDivider/withDivider.d.ts.map +1 -0
- package/es/index.d.ts.map +1 -0
- package/es/patterns/fieldControl/index.d.ts.map +1 -0
- package/es/patterns/index.d.ts.map +1 -0
- package/es/patterns/listItem/index.d.ts.map +1 -0
- package/es/patterns/overlay/index.d.ts.map +1 -0
- package/es/patterns/overlay/types.d.ts.map +1 -0
- package/es/patterns/overlay/useOverlayTransition.d.ts.map +1 -0
- package/es/patterns/pickerColumns/WheelPicker.d.ts.map +1 -0
- package/es/patterns/pickerColumns/index.d.ts.map +1 -0
- package/es/patterns/pressable/index.d.ts.map +1 -0
- package/es/theme/default-theme.d.ts.map +1 -0
- package/es/theme/generated/design-system.generated.d.ts +7 -7
- package/es/theme/generated/design-system.generated.d.ts.map +1 -0
- package/es/theme/generated/design-system.generated.js +7 -7
- package/es/theme/hooks/useTheme.d.ts.map +1 -0
- package/es/theme/hooks/useToken.d.ts.map +1 -0
- package/es/theme/index.d.ts.map +1 -0
- package/es/theme/listTypography.d.ts.map +1 -0
- package/es/theme/runtime/ThemeProvider.d.ts.map +1 -0
- package/es/theme/runtime/ThemeProvider.js +5 -3
- package/es/theme/runtime/componentTokens.d.ts.map +1 -0
- package/es/theme/runtime/cssVariables.d.ts.map +1 -0
- package/es/theme/runtime/slotOverrides.d.ts.map +1 -0
- package/es/theme/selectionControl.d.ts.map +1 -0
- package/es/theme/types.d.ts.map +1 -0
- package/es/theme/typography.d.ts.map +1 -0
- package/es/utils/iconSlot.d.ts.map +1 -0
- package/es/utils/index.d.ts.map +1 -0
- package/es/utils/inlineAlignment.d.ts.map +1 -0
- package/es/utils/locale.d.ts.map +1 -0
- package/es/utils/resolveThemeColor.d.ts.map +1 -0
- package/es/utils/style.d.ts.map +1 -0
- package/es/utils/taroProps.d.ts.map +1 -0
- package/lib/adapters/miniapp/index.d.ts.map +1 -0
- package/lib/adapters/miniapp/measure.d.ts +4 -2
- package/lib/adapters/miniapp/measure.d.ts.map +1 -0
- package/lib/adapters/miniapp/measure.js +61 -20
- package/lib/adapters/miniapp/measureNode.d.ts +3 -0
- package/lib/adapters/miniapp/measureNode.d.ts.map +1 -0
- package/lib/adapters/miniapp/measureNode.h5.d.ts +3 -0
- package/lib/adapters/miniapp/measureNode.h5.d.ts.map +1 -0
- package/lib/adapters/miniapp/measureNode.h5.js +34 -0
- package/lib/adapters/miniapp/measureNode.js +41 -0
- package/lib/adapters/miniapp/overlayHost.d.ts.map +1 -0
- package/lib/adapters/miniapp/overlayHost.js +34 -13
- package/lib/adapters/miniapp/portal.d.ts.map +1 -0
- package/lib/adapters/miniapp/scroll.d.ts.map +1 -0
- package/lib/adapters/miniapp/textareaValue.d.ts +9 -0
- package/lib/adapters/miniapp/textareaValue.d.ts.map +1 -0
- package/lib/adapters/miniapp/textareaValue.js +73 -0
- package/lib/adapters/miniapp/touch.d.ts.map +1 -0
- package/lib/auth/components.d.ts +14 -14
- package/lib/auth/components.d.ts.map +1 -0
- package/lib/auth/components.js +9 -1
- package/lib/auth/entries/account-security.d.ts.map +1 -0
- package/lib/auth/entries/change-password.d.ts.map +1 -0
- package/lib/auth/entries/forgot-password.d.ts.map +1 -0
- package/lib/auth/entries/identifier-binding.d.ts.map +1 -0
- package/lib/auth/entries/locales.d.ts.map +1 -0
- package/lib/auth/entries/phone-number-input.d.ts.map +1 -0
- package/lib/auth/entries/provider.d.ts.map +1 -0
- package/lib/auth/entries/quick-sign-in.d.ts.map +1 -0
- package/lib/auth/entries/sign-in.d.ts.map +1 -0
- package/lib/auth/entries/sign-up.d.ts.map +1 -0
- package/lib/auth/entries/theme.d.ts.map +1 -0
- package/lib/auth/entries/third-party-sign-in.d.ts.map +1 -0
- package/lib/auth/entries/types.d.ts.map +1 -0
- package/lib/auth/index.d.ts.map +1 -0
- package/lib/auth/internal.d.ts +8 -8
- package/lib/auth/internal.d.ts.map +1 -0
- package/lib/auth/internal.js +9 -2
- package/lib/auth/phoneNumberInput.d.ts +2 -2
- package/lib/auth/phoneNumberInput.d.ts.map +1 -0
- package/lib/auth/phoneNumberInput.js +10 -5
- package/lib/auth/provider.d.ts +2 -2
- package/lib/auth/provider.d.ts.map +1 -0
- package/lib/auth/styles.css +2 -1
- package/lib/auth/theme.d.ts +1 -0
- package/lib/auth/theme.d.ts.map +1 -0
- package/lib/auth/theme.js +1 -0
- package/lib/auth/types.d.ts.map +1 -0
- package/lib/components/_shared/render.d.ts +1 -1
- package/lib/components/_shared/render.d.ts.map +1 -0
- package/lib/components/_shared/seedSurface.d.ts.map +1 -0
- package/lib/components/actionSheet/actionSheet.d.ts.map +1 -0
- package/lib/components/actionSheet/index.d.ts.map +1 -0
- package/lib/components/actionSheet/tokens.d.ts.map +1 -0
- package/lib/components/actionSheet/types.d.ts.map +1 -0
- package/lib/components/affix/affix.d.ts.map +1 -0
- package/lib/components/affix/index.d.ts.map +1 -0
- package/lib/components/affix/types.d.ts.map +1 -0
- package/lib/components/alert/alert.d.ts.map +1 -0
- package/lib/components/alert/index.d.ts.map +1 -0
- package/lib/components/alert/tokens.d.ts.map +1 -0
- package/lib/components/alert/types.d.ts.map +1 -0
- package/lib/components/attachment/attachment.d.ts.map +1 -0
- package/lib/components/attachment/index.d.ts.map +1 -0
- package/lib/components/attachment/types.d.ts +2 -2
- package/lib/components/attachment/types.d.ts.map +1 -0
- package/lib/components/avatar/avatar.d.ts.map +1 -0
- package/lib/components/avatar/index.d.ts.map +1 -0
- package/lib/components/avatar/tokens.d.ts.map +1 -0
- package/lib/components/avatar/types.d.ts +1 -1
- package/lib/components/avatar/types.d.ts.map +1 -0
- package/lib/components/badge/badge.d.ts.map +1 -0
- package/lib/components/badge/index.d.ts.map +1 -0
- package/lib/components/badge/tokens.d.ts.map +1 -0
- package/lib/components/badge/types.d.ts.map +1 -0
- package/lib/components/barLoading/barLoading.d.ts.map +1 -0
- package/lib/components/barLoading/index.d.ts.map +1 -0
- package/lib/components/barLoading/types.d.ts.map +1 -0
- package/lib/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/lib/components/breadcrumb/index.d.ts.map +1 -0
- package/lib/components/breadcrumb/types.d.ts.map +1 -0
- package/lib/components/button/button.d.ts.map +1 -0
- package/lib/components/button/button.js +9 -8
- package/lib/components/button/index.d.ts.map +1 -0
- package/lib/components/button/tokens.d.ts.map +1 -0
- package/lib/components/button/tokens.js +12 -11
- package/lib/components/button/types.d.ts +3 -3
- package/lib/components/button/types.d.ts.map +1 -0
- package/lib/components/capsuleTabs/capsuleTabs.d.ts.map +1 -0
- package/lib/components/capsuleTabs/index.d.ts.map +1 -0
- package/lib/components/capsuleTabs/types.d.ts.map +1 -0
- package/lib/components/card/card.d.ts.map +1 -0
- package/lib/components/card/index.d.ts.map +1 -0
- package/lib/components/card/tokens.d.ts.map +1 -0
- package/lib/components/card/types.d.ts.map +1 -0
- package/lib/components/cascadePicker/cascadePicker.d.ts.map +1 -0
- package/lib/components/cascadePicker/index.d.ts.map +1 -0
- package/lib/components/cascadePicker/shared.d.ts.map +1 -0
- package/lib/components/cascadePicker/types.d.ts.map +1 -0
- package/lib/components/cascadePickerView/cascadePickerView.d.ts.map +1 -0
- package/lib/components/cascadePickerView/index.d.ts.map +1 -0
- package/lib/components/cascadePickerView/types.d.ts.map +1 -0
- package/lib/components/cascader/cascader.d.ts.map +1 -0
- package/lib/components/cascader/index.d.ts.map +1 -0
- package/lib/components/cascader/types.d.ts.map +1 -0
- package/lib/components/cascaderView/cascaderView.d.ts.map +1 -0
- package/lib/components/cascaderView/index.d.ts.map +1 -0
- package/lib/components/cascaderView/types.d.ts.map +1 -0
- package/lib/components/checkList/checkList.d.ts.map +1 -0
- package/lib/components/checkList/index.d.ts.map +1 -0
- package/lib/components/checkList/types.d.ts.map +1 -0
- package/lib/components/checkbox/checkbox.d.ts.map +1 -0
- package/lib/components/checkbox/index.d.ts.map +1 -0
- package/lib/components/checkbox/tokens.d.ts.map +1 -0
- package/lib/components/checkbox/types.d.ts.map +1 -0
- package/lib/components/collapse/collapse.d.ts.map +1 -0
- package/lib/components/collapse/index.d.ts.map +1 -0
- package/lib/components/collapse/types.d.ts.map +1 -0
- package/lib/components/command/command.d.ts.map +1 -0
- package/lib/components/command/index.d.ts.map +1 -0
- package/lib/components/command/types.d.ts.map +1 -0
- package/lib/components/configProvider/configProvider.d.ts +1 -1
- package/lib/components/configProvider/configProvider.d.ts.map +1 -0
- package/lib/components/configProvider/configProvider.js +2 -2
- package/lib/components/configProvider/index.d.ts.map +1 -0
- package/lib/components/configProvider/types.d.ts.map +1 -0
- package/lib/components/contextMenu/contextMenu.d.ts.map +1 -0
- package/lib/components/contextMenu/contextMenu.js +1 -1
- package/lib/components/contextMenu/index.d.ts.map +1 -0
- package/lib/components/contextMenu/types.d.ts.map +1 -0
- package/lib/components/datePicker/datePicker.d.ts.map +1 -0
- package/lib/components/datePicker/index.d.ts.map +1 -0
- package/lib/components/datePicker/shared.d.ts.map +1 -0
- package/lib/components/datePicker/types.d.ts.map +1 -0
- package/lib/components/datePickerView/datePickerView.d.ts.map +1 -0
- package/lib/components/datePickerView/index.d.ts.map +1 -0
- package/lib/components/datePickerView/types.d.ts.map +1 -0
- package/lib/components/descriptions/descriptions.d.ts.map +1 -0
- package/lib/components/descriptions/index.d.ts.map +1 -0
- package/lib/components/descriptions/types.d.ts.map +1 -0
- package/lib/components/dialog/dialog.d.ts.map +1 -0
- package/lib/components/dialog/index.d.ts.map +1 -0
- package/lib/components/dialog/tokens.d.ts.map +1 -0
- package/lib/components/dialog/types.d.ts.map +1 -0
- package/lib/components/dimensions/dimensions.d.ts.map +1 -0
- package/lib/components/dimensions/index.d.ts.map +1 -0
- package/lib/components/dimensions/types.d.ts.map +1 -0
- package/lib/components/divider/divider.d.ts.map +1 -0
- package/lib/components/divider/index.d.ts.map +1 -0
- package/lib/components/divider/tokens.d.ts.map +1 -0
- package/lib/components/divider/tokens.js +13 -7
- package/lib/components/divider/types.d.ts.map +1 -0
- package/lib/components/dotLoading/dotLoading.d.ts.map +1 -0
- package/lib/components/dotLoading/index.d.ts.map +1 -0
- package/lib/components/dotLoading/types.d.ts.map +1 -0
- package/lib/components/drawer/drawer.d.ts.map +1 -0
- package/lib/components/drawer/index.d.ts.map +1 -0
- package/lib/components/drawer/types.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.d.ts.map +1 -0
- package/lib/components/dropdown/index.d.ts.map +1 -0
- package/lib/components/dropdown/types.d.ts.map +1 -0
- package/lib/components/dropdownMenu/dropdownMenu.d.ts.map +1 -0
- package/lib/components/dropdownMenu/index.d.ts.map +1 -0
- package/lib/components/dropdownMenu/types.d.ts.map +1 -0
- package/lib/components/ellipsis/ellipsis.d.ts.map +1 -0
- package/lib/components/ellipsis/index.d.ts.map +1 -0
- package/lib/components/ellipsis/types.d.ts +1 -1
- package/lib/components/ellipsis/types.d.ts.map +1 -0
- package/lib/components/empty/empty.d.ts.map +1 -0
- package/lib/components/empty/index.d.ts.map +1 -0
- package/lib/components/empty/types.d.ts.map +1 -0
- package/lib/components/errorBlock/errorBlock.d.ts.map +1 -0
- package/lib/components/errorBlock/errorBlock.js +5 -5
- package/lib/components/errorBlock/index.d.ts.map +1 -0
- package/lib/components/errorBlock/types.d.ts.map +1 -0
- package/lib/components/flatList/flatList.d.ts.map +1 -0
- package/lib/components/flatList/flatList.js +146 -45
- package/lib/components/flatList/index.d.ts.map +1 -0
- package/lib/components/flatList/scrollTargetMeasurement.d.ts +2 -1
- package/lib/components/flatList/scrollTargetMeasurement.d.ts.map +1 -0
- package/lib/components/flatList/scrollTargetMeasurement.h5.d.ts +2 -1
- package/lib/components/flatList/scrollTargetMeasurement.h5.d.ts.map +1 -0
- package/lib/components/flatList/scrollTargetMeasurement.h5.js +1 -1
- package/lib/components/flatList/scrollTargetMeasurement.js +9 -4
- package/lib/components/flatList/types.d.ts +15 -1
- package/lib/components/flatList/types.d.ts.map +1 -0
- package/lib/components/flatList/useRenderBatch.d.ts +3 -0
- package/lib/components/flatList/useRenderBatch.d.ts.map +1 -0
- package/lib/components/flatList/useRenderBatch.js +69 -0
- package/lib/components/flatList/useVirtualWindow.d.ts +24 -0
- package/lib/components/flatList/useVirtualWindow.d.ts.map +1 -0
- package/lib/components/flatList/useVirtualWindow.js +205 -0
- package/lib/components/flatList/virtualLayout.d.ts +20 -0
- package/lib/components/flatList/virtualLayout.d.ts.map +1 -0
- package/lib/components/flatList/virtualLayout.js +88 -0
- package/lib/components/flatList/virtualMeasurement.d.ts +5 -0
- package/lib/components/flatList/virtualMeasurement.d.ts.map +1 -0
- package/lib/components/flatList/virtualMeasurement.h5.d.ts +4 -0
- package/lib/components/flatList/virtualMeasurement.h5.d.ts.map +1 -0
- package/lib/components/flatList/virtualMeasurement.h5.js +45 -0
- package/lib/components/flatList/virtualMeasurement.js +54 -0
- package/lib/components/form/form.d.ts.map +1 -0
- package/lib/components/form/index.d.ts.map +1 -0
- package/lib/components/form/types.d.ts.map +1 -0
- package/lib/components/grid/grid.d.ts.map +1 -0
- package/lib/components/grid/index.d.ts.map +1 -0
- package/lib/components/grid/types.d.ts +3 -3
- package/lib/components/grid/types.d.ts.map +1 -0
- package/lib/components/icon/aliases.d.ts.map +1 -0
- package/lib/components/icon/icon.d.ts.map +1 -0
- package/lib/components/icon/index.d.ts.map +1 -0
- package/lib/components/icon/lucide.generated.d.ts +192 -12
- package/lib/components/icon/lucide.generated.d.ts.map +1 -0
- package/lib/components/icon/lucide.generated.js +420 -13
- package/lib/components/icon/types.d.ts +1 -1
- package/lib/components/icon/types.d.ts.map +1 -0
- package/lib/components/image/image.d.ts.map +1 -0
- package/lib/components/image/index.d.ts.map +1 -0
- package/lib/components/image/types.d.ts.map +1 -0
- package/lib/components/input/index.d.ts.map +1 -0
- package/lib/components/input/input.d.ts.map +1 -0
- package/lib/components/input/input.js +9 -9
- package/lib/components/input/tokens.d.ts.map +1 -0
- package/lib/components/input/types.d.ts.map +1 -0
- package/lib/components/inputItem/index.d.ts.map +1 -0
- package/lib/components/inputItem/inputItem.d.ts.map +1 -0
- package/lib/components/inputItem/inputItem.js +9 -6
- package/lib/components/inputItem/tokens.d.ts.map +1 -0
- package/lib/components/inputItem/types.d.ts.map +1 -0
- package/lib/components/internal/index.d.ts.map +1 -0
- package/lib/components/internal/internal.d.ts.map +1 -0
- package/lib/components/internal/selectionControl/presentation.d.ts.map +1 -0
- package/lib/components/internal/selectionControl/useTaroScrollIntoView.d.ts.map +1 -0
- package/lib/components/internal/selectionControl/useTaroSelectionIndicator.d.ts.map +1 -0
- package/lib/components/internal/types.d.ts.map +1 -0
- package/lib/components/item/index.d.ts.map +1 -0
- package/lib/components/item/item.d.ts.map +1 -0
- package/lib/components/item/types.d.ts.map +1 -0
- package/lib/components/kbd/index.d.ts.map +1 -0
- package/lib/components/kbd/kbd.d.ts.map +1 -0
- package/lib/components/kbd/types.d.ts.map +1 -0
- package/lib/components/layout/index.d.ts.map +1 -0
- package/lib/components/layout/layout.d.ts.map +1 -0
- package/lib/components/layout/types.d.ts +2 -2
- package/lib/components/layout/types.d.ts.map +1 -0
- package/lib/components/list/index.d.ts.map +1 -0
- package/lib/components/list/list.d.ts +1 -1
- package/lib/components/list/list.d.ts.map +1 -0
- package/lib/components/list/types.d.ts.map +1 -0
- package/lib/components/mask/index.d.ts.map +1 -0
- package/lib/components/mask/mask.d.ts.map +1 -0
- package/lib/components/mask/tokens.d.ts.map +1 -0
- package/lib/components/mask/types.d.ts.map +1 -0
- package/lib/components/masonryList/index.d.ts.map +1 -0
- package/lib/components/masonryList/masonryList.d.ts.map +1 -0
- package/lib/components/masonryList/types.d.ts +2 -2
- package/lib/components/masonryList/types.d.ts.map +1 -0
- package/lib/components/menu/index.d.ts.map +1 -0
- package/lib/components/menu/menu.d.ts.map +1 -0
- package/lib/components/menu/types.d.ts.map +1 -0
- package/lib/components/menubar/index.d.ts.map +1 -0
- package/lib/components/menubar/menubar.d.ts.map +1 -0
- package/lib/components/menubar/types.d.ts.map +1 -0
- package/lib/components/modal/index.d.ts.map +1 -0
- package/lib/components/modal/modal.d.ts.map +1 -0
- package/lib/components/modal/modal.js +7 -2
- package/lib/components/modal/tokens.d.ts.map +1 -0
- package/lib/components/modal/types.d.ts.map +1 -0
- package/lib/components/navBar/index.d.ts.map +1 -0
- package/lib/components/navBar/navBar.d.ts.map +1 -0
- package/lib/components/navBar/types.d.ts.map +1 -0
- package/lib/components/needWrap/index.d.ts.map +1 -0
- package/lib/components/needWrap/needWrap.d.ts.map +1 -0
- package/lib/components/needWrap/types.d.ts.map +1 -0
- package/lib/components/notification/index.d.ts.map +1 -0
- package/lib/components/notification/notification.d.ts.map +1 -0
- package/lib/components/notification/tokens.d.ts.map +1 -0
- package/lib/components/notification/types.d.ts.map +1 -0
- package/lib/components/pageIndicator/index.d.ts.map +1 -0
- package/lib/components/pageIndicator/pageIndicator.d.ts.map +1 -0
- package/lib/components/pageIndicator/types.d.ts.map +1 -0
- package/lib/components/pagination/index.d.ts.map +1 -0
- package/lib/components/pagination/pagination.d.ts.map +1 -0
- package/lib/components/pagination/tokens.d.ts.map +1 -0
- package/lib/components/pagination/types.d.ts.map +1 -0
- package/lib/components/picker/index.d.ts.map +1 -0
- package/lib/components/picker/picker.d.ts.map +1 -0
- package/lib/components/picker/shared.d.ts.map +1 -0
- package/lib/components/picker/tokens.d.ts.map +1 -0
- package/lib/components/picker/types.d.ts.map +1 -0
- package/lib/components/pickerView/index.d.ts.map +1 -0
- package/lib/components/pickerView/pickerView.d.ts.map +1 -0
- package/lib/components/pickerView/types.d.ts.map +1 -0
- package/lib/components/popconfirm/index.d.ts.map +1 -0
- package/lib/components/popconfirm/popconfirm.d.ts.map +1 -0
- package/lib/components/popconfirm/types.d.ts.map +1 -0
- package/lib/components/popover/index.d.ts.map +1 -0
- package/lib/components/popover/popover.d.ts.map +1 -0
- package/lib/components/popover/types.d.ts.map +1 -0
- package/lib/components/popup/index.d.ts.map +1 -0
- package/lib/components/popup/popup.d.ts.map +1 -0
- package/lib/components/popup/popup.js +4 -0
- package/lib/components/popup/tokens.d.ts.map +1 -0
- package/lib/components/popup/types.d.ts.map +1 -0
- package/lib/components/portal/index.d.ts.map +1 -0
- package/lib/components/portal/portal.d.ts.map +1 -0
- package/lib/components/portal/portal.h5.d.ts.map +1 -0
- package/lib/components/portal/types.d.ts.map +1 -0
- package/lib/components/progress/index.d.ts.map +1 -0
- package/lib/components/progress/progress.d.ts.map +1 -0
- package/lib/components/progress/types.d.ts.map +1 -0
- package/lib/components/progressBar/index.d.ts.map +1 -0
- package/lib/components/progressBar/progressBar.d.ts.map +1 -0
- package/lib/components/progressBar/tokens.d.ts.map +1 -0
- package/lib/components/progressBar/types.d.ts.map +1 -0
- package/lib/components/provider/index.d.ts.map +1 -0
- package/lib/components/provider/provider.d.ts.map +1 -0
- package/lib/components/provider/types.d.ts.map +1 -0
- package/lib/components/radio/index.d.ts.map +1 -0
- package/lib/components/radio/radio.d.ts.map +1 -0
- package/lib/components/radio/tokens.d.ts.map +1 -0
- package/lib/components/radio/types.d.ts.map +1 -0
- package/lib/components/rate/index.d.ts.map +1 -0
- package/lib/components/rate/rate.d.ts.map +1 -0
- package/lib/components/rate/types.d.ts.map +1 -0
- package/lib/components/result/index.d.ts.map +1 -0
- package/lib/components/result/result.d.ts.map +1 -0
- package/lib/components/result/types.d.ts.map +1 -0
- package/lib/components/resultPage/index.d.ts.map +1 -0
- package/lib/components/resultPage/resultPage.d.ts.map +1 -0
- package/lib/components/resultPage/types.d.ts.map +1 -0
- package/lib/components/rollingNumber/index.d.ts.map +1 -0
- package/lib/components/rollingNumber/rollingNumber.d.ts.map +1 -0
- package/lib/components/rollingNumber/types.d.ts.map +1 -0
- package/lib/components/safeArea/index.d.ts.map +1 -0
- package/lib/components/safeArea/safeArea.d.ts.map +1 -0
- package/lib/components/safeArea/types.d.ts.map +1 -0
- package/lib/components/scrollFade/index.d.ts.map +1 -0
- package/lib/components/scrollFade/scrollFade.d.ts.map +1 -0
- package/lib/components/scrollFade/types.d.ts +2 -2
- package/lib/components/scrollFade/types.d.ts.map +1 -0
- package/lib/components/scrollView/index.d.ts.map +1 -0
- package/lib/components/scrollView/scrollView.d.ts.map +1 -0
- package/lib/components/scrollView/scrollView.js +12 -6
- package/lib/components/scrollView/types.d.ts.map +1 -0
- package/lib/components/searchBar/index.d.ts.map +1 -0
- package/lib/components/searchBar/searchBar.d.ts.map +1 -0
- package/lib/components/searchBar/searchBar.js +4 -0
- package/lib/components/searchBar/tokens.d.ts.map +1 -0
- package/lib/components/searchBar/types.d.ts.map +1 -0
- package/lib/components/sectionList/index.d.ts.map +1 -0
- package/lib/components/sectionList/sectionList.d.ts +2 -1
- package/lib/components/sectionList/sectionList.d.ts.map +1 -0
- package/lib/components/sectionList/types.d.ts.map +1 -0
- package/lib/components/segmented/index.d.ts.map +1 -0
- package/lib/components/segmented/segmented.d.ts.map +1 -0
- package/lib/components/segmented/types.d.ts.map +1 -0
- package/lib/components/select/index.d.ts.map +1 -0
- package/lib/components/select/select.d.ts.map +1 -0
- package/lib/components/select/select.js +12 -2
- package/lib/components/select/tokens.d.ts.map +1 -0
- package/lib/components/select/tokens.js +18 -26
- package/lib/components/select/types.d.ts.map +1 -0
- package/lib/components/sendCode/index.d.ts.map +1 -0
- package/lib/components/sendCode/sendCode.d.ts.map +1 -0
- package/lib/components/sendCode/tokens.d.ts.map +1 -0
- package/lib/components/sendCode/types.d.ts.map +1 -0
- package/lib/components/shimmer/index.d.ts.map +1 -0
- package/lib/components/shimmer/shimmer.d.ts.map +1 -0
- package/lib/components/shimmer/types.d.ts.map +1 -0
- package/lib/components/showMoreText/index.d.ts.map +1 -0
- package/lib/components/showMoreText/measurementSelector.d.ts +10 -0
- package/lib/components/showMoreText/measurementSelector.d.ts.map +1 -0
- package/lib/components/showMoreText/measurementSelector.js +38 -0
- package/lib/components/showMoreText/showMoreText.d.ts.map +1 -0
- package/lib/components/showMoreText/showMoreText.js +52 -15
- package/lib/components/showMoreText/types.d.ts.map +1 -0
- package/lib/components/sideBar/index.d.ts.map +1 -0
- package/lib/components/sideBar/sideBar.d.ts.map +1 -0
- package/lib/components/sideBar/types.d.ts.map +1 -0
- package/lib/components/skeleton/index.d.ts.map +1 -0
- package/lib/components/skeleton/skeleton.d.ts.map +1 -0
- package/lib/components/skeleton/skeleton.js +8 -7
- package/lib/components/skeleton/types.d.ts +2 -2
- package/lib/components/skeleton/types.d.ts.map +1 -0
- package/lib/components/slider/index.d.ts.map +1 -0
- package/lib/components/slider/slider.d.ts.map +1 -0
- package/lib/components/slider/slider.js +2 -0
- package/lib/components/slider/tokens.d.ts.map +1 -0
- package/lib/components/slider/types.d.ts.map +1 -0
- package/lib/components/sonner/index.d.ts.map +1 -0
- package/lib/components/sonner/sonner.d.ts.map +1 -0
- package/lib/components/sonner/types.d.ts +1 -1
- package/lib/components/sonner/types.d.ts.map +1 -0
- package/lib/components/space/index.d.ts.map +1 -0
- package/lib/components/space/space.d.ts.map +1 -0
- package/lib/components/space/space.js +11 -2
- package/lib/components/space/types.d.ts +5 -2
- package/lib/components/space/types.d.ts.map +1 -0
- package/lib/components/spin/index.d.ts.map +1 -0
- package/lib/components/spin/spin.d.ts.map +1 -0
- package/lib/components/spin/types.d.ts.map +1 -0
- package/lib/components/spinner/index.d.ts.map +1 -0
- package/lib/components/spinner/spinner.d.ts.map +1 -0
- package/lib/components/spinner/types.d.ts.map +1 -0
- package/lib/components/stepper/index.d.ts.map +1 -0
- package/lib/components/stepper/stepper.d.ts.map +1 -0
- package/lib/components/stepper/tokens.d.ts.map +1 -0
- package/lib/components/stepper/types.d.ts.map +1 -0
- package/lib/components/steps/index.d.ts.map +1 -0
- package/lib/components/steps/steps.d.ts.map +1 -0
- package/lib/components/steps/types.d.ts.map +1 -0
- package/lib/components/swiper/index.d.ts.map +1 -0
- package/lib/components/swiper/swiper.d.ts.map +1 -0
- package/lib/components/swiper/types.d.ts.map +1 -0
- package/lib/components/switch/index.d.ts.map +1 -0
- package/lib/components/switch/switch.d.ts.map +1 -0
- package/lib/components/switch/tokens.d.ts.map +1 -0
- package/lib/components/switch/types.d.ts.map +1 -0
- package/lib/components/tabBar/index.d.ts.map +1 -0
- package/lib/components/tabBar/tabBar.d.ts.map +1 -0
- package/lib/components/tabBar/types.d.ts.map +1 -0
- package/lib/components/table/index.d.ts.map +1 -0
- package/lib/components/table/table.d.ts.map +1 -0
- package/lib/components/table/types.d.ts.map +1 -0
- package/lib/components/tabs/index.d.ts.map +1 -0
- package/lib/components/tabs/tabs.d.ts.map +1 -0
- package/lib/components/tabs/types.d.ts.map +1 -0
- package/lib/components/tag/index.d.ts.map +1 -0
- package/lib/components/tag/tag.d.ts.map +1 -0
- package/lib/components/tag/tokens.d.ts.map +1 -0
- package/lib/components/tag/types.d.ts.map +1 -0
- package/lib/components/text/index.d.ts.map +1 -0
- package/lib/components/text/text.d.ts.map +1 -0
- package/lib/components/text/text.js +1 -0
- package/lib/components/text/types.d.ts +1 -1
- package/lib/components/text/types.d.ts.map +1 -0
- package/lib/components/textInput/index.d.ts.map +1 -0
- package/lib/components/textInput/textInput.d.ts.map +1 -0
- package/lib/components/textInput/types.d.ts.map +1 -0
- package/lib/components/textarea/index.d.ts.map +1 -0
- package/lib/components/textarea/style.css +4 -3
- package/lib/components/textarea/textarea.d.ts.map +1 -0
- package/lib/components/textarea/textarea.js +89 -14
- package/lib/components/textarea/tokens.d.ts.map +1 -0
- package/lib/components/textarea/types.d.ts +12 -1
- package/lib/components/textarea/types.d.ts.map +1 -0
- package/lib/components/toast/index.d.ts.map +1 -0
- package/lib/components/toast/toast.d.ts.map +1 -0
- package/lib/components/toast/tokens.d.ts.map +1 -0
- package/lib/components/toast/types.d.ts.map +1 -0
- package/lib/components/tooltip/index.d.ts.map +1 -0
- package/lib/components/tooltip/tokens.d.ts.map +1 -0
- package/lib/components/tooltip/tooltip.d.ts.map +1 -0
- package/lib/components/tooltip/types.d.ts.map +1 -0
- package/lib/components/touchableOpacity/index.d.ts.map +1 -0
- package/lib/components/touchableOpacity/touchableOpacity.d.ts.map +1 -0
- package/lib/components/touchableOpacity/types.d.ts.map +1 -0
- package/lib/components/transfer/index.d.ts.map +1 -0
- package/lib/components/transfer/tokens.d.ts.map +1 -0
- package/lib/components/transfer/transfer.d.ts.map +1 -0
- package/lib/components/transfer/types.d.ts.map +1 -0
- package/lib/components/treeSelect/index.d.ts.map +1 -0
- package/lib/components/treeSelect/tokens.d.ts.map +1 -0
- package/lib/components/treeSelect/treeSelect.d.ts.map +1 -0
- package/lib/components/treeSelect/types.d.ts.map +1 -0
- package/lib/components/typography/index.d.ts.map +1 -0
- package/lib/components/typography/types.d.ts.map +1 -0
- package/lib/components/typography/typography.d.ts.map +1 -0
- package/lib/components/view/index.d.ts.map +1 -0
- package/lib/components/view/observeLayout.d.ts.map +1 -0
- package/lib/components/view/observeLayout.h5.d.ts.map +1 -0
- package/lib/components/view/types.d.ts +2 -2
- package/lib/components/view/types.d.ts.map +1 -0
- package/lib/components/view/view.d.ts.map +1 -0
- package/lib/components/withDivider/index.d.ts.map +1 -0
- package/lib/components/withDivider/types.d.ts +5 -5
- package/lib/components/withDivider/types.d.ts.map +1 -0
- package/lib/components/withDivider/withDivider.d.ts.map +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/patterns/fieldControl/index.d.ts.map +1 -0
- package/lib/patterns/index.d.ts.map +1 -0
- package/lib/patterns/listItem/index.d.ts.map +1 -0
- package/lib/patterns/overlay/index.d.ts.map +1 -0
- package/lib/patterns/overlay/types.d.ts.map +1 -0
- package/lib/patterns/overlay/useOverlayTransition.d.ts.map +1 -0
- package/lib/patterns/pickerColumns/WheelPicker.d.ts.map +1 -0
- package/lib/patterns/pickerColumns/index.d.ts.map +1 -0
- package/lib/patterns/pressable/index.d.ts.map +1 -0
- package/lib/theme/default-theme.d.ts.map +1 -0
- package/lib/theme/generated/design-system.generated.d.ts +7 -7
- package/lib/theme/generated/design-system.generated.d.ts.map +1 -0
- package/lib/theme/generated/design-system.generated.js +7 -7
- package/lib/theme/hooks/useTheme.d.ts.map +1 -0
- package/lib/theme/hooks/useToken.d.ts.map +1 -0
- package/lib/theme/index.d.ts.map +1 -0
- package/lib/theme/listTypography.d.ts.map +1 -0
- package/lib/theme/runtime/ThemeProvider.d.ts.map +1 -0
- package/lib/theme/runtime/ThemeProvider.js +5 -3
- package/lib/theme/runtime/componentTokens.d.ts.map +1 -0
- package/lib/theme/runtime/cssVariables.d.ts.map +1 -0
- package/lib/theme/runtime/slotOverrides.d.ts.map +1 -0
- package/lib/theme/selectionControl.d.ts.map +1 -0
- package/lib/theme/types.d.ts.map +1 -0
- package/lib/theme/typography.d.ts.map +1 -0
- package/lib/utils/iconSlot.d.ts.map +1 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/inlineAlignment.d.ts.map +1 -0
- package/lib/utils/locale.d.ts.map +1 -0
- package/lib/utils/resolveThemeColor.d.ts.map +1 -0
- package/lib/utils/style.d.ts.map +1 -0
- package/lib/utils/taroProps.d.ts.map +1 -0
- package/package.json +52 -19
package/lib/auth/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import type { AccountSecurityState, AuthSession, ContactIdentifierType, SignInContextField, SignInMethod, ThirdPartyAuthProvider, ThirdPartySignInHandler, ThirdPartySignInResult } from '@hanwenbo/x-auth-core/types';
|
|
3
3
|
import { type ModalProps } from '../components/modal';
|
|
4
4
|
import { type AuthSurface, type AuthHeaderAlign } from './internal';
|
|
@@ -10,7 +10,7 @@ export interface ThirdPartySignInProps<Session extends AuthSession = AuthSession
|
|
|
10
10
|
onSuccess?: (session: Session) => void;
|
|
11
11
|
providers?: ThirdPartyAuthProvider[];
|
|
12
12
|
}
|
|
13
|
-
export declare function ThirdPartySignIn<Session extends AuthSession = AuthSession>({ className, config, onAuthError, onProviderSignIn, onReauthenticationRequired, onResult, onSuccess, providers, services, style, testID, tokens }: ThirdPartySignInProps<Session>):
|
|
13
|
+
export declare function ThirdPartySignIn<Session extends AuthSession = AuthSession>({ className, config, onAuthError, onProviderSignIn, onReauthenticationRequired, onResult, onSuccess, providers, services, style, testID, tokens }: ThirdPartySignInProps<Session>): React.JSX.Element | null;
|
|
14
14
|
export interface SignInProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
15
15
|
headerAlign?: AuthHeaderAlign;
|
|
16
16
|
contextFields?: SignInContextFieldProps[];
|
|
@@ -34,7 +34,7 @@ export interface SignInProps<Session extends AuthSession = AuthSession> extends
|
|
|
34
34
|
export interface SignInContextFieldProps extends SignInContextField {
|
|
35
35
|
prefix?: ReactNode;
|
|
36
36
|
}
|
|
37
|
-
export declare function SignIn<Session extends AuthSession = AuthSession>({ className, config, contextFields, defaultMethod, description, headerAlign, logo, methods, onAuthError, onForgotPassword, onMethodChange, onProviderResult, onProviderSignIn, onReauthenticationRequired, onSignUp, onSuccess, providers, services, showFieldLabels, showRemember, style, surface, testID, title, tokens }: SignInProps<Session>):
|
|
37
|
+
export declare function SignIn<Session extends AuthSession = AuthSession>({ className, config, contextFields, defaultMethod, description, headerAlign, logo, methods, onAuthError, onForgotPassword, onMethodChange, onProviderResult, onProviderSignIn, onReauthenticationRequired, onSignUp, onSuccess, providers, services, showFieldLabels, showRemember, style, surface, testID, title, tokens }: SignInProps<Session>): React.JSX.Element;
|
|
38
38
|
export interface SignUpProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
39
39
|
defaultIdentifier?: ContactIdentifierType;
|
|
40
40
|
description?: ReactNode;
|
|
@@ -45,7 +45,7 @@ export interface SignUpProps<Session extends AuthSession = AuthSession> extends
|
|
|
45
45
|
surface?: AuthSurface;
|
|
46
46
|
title?: ReactNode;
|
|
47
47
|
}
|
|
48
|
-
export declare function SignUp<Session extends AuthSession = AuthSession>({ className, config, defaultIdentifier, description, identifiers, logo, onAuthError, onReauthenticationRequired, onSignIn, onSuccess, services, style, surface, testID, title, tokens }: SignUpProps<Session>):
|
|
48
|
+
export declare function SignUp<Session extends AuthSession = AuthSession>({ className, config, defaultIdentifier, description, identifiers, logo, onAuthError, onReauthenticationRequired, onSignIn, onSuccess, services, style, surface, testID, title, tokens }: SignUpProps<Session>): React.JSX.Element;
|
|
49
49
|
export interface ForgotPasswordProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
50
50
|
description?: ReactNode;
|
|
51
51
|
defaultIdentifier?: ContactIdentifierType;
|
|
@@ -55,7 +55,7 @@ export interface ForgotPasswordProps<Session extends AuthSession = AuthSession>
|
|
|
55
55
|
surface?: AuthSurface;
|
|
56
56
|
title?: ReactNode;
|
|
57
57
|
}
|
|
58
|
-
export declare function ForgotPassword<Session extends AuthSession = AuthSession>({ className, config, description, defaultIdentifier, identifiers, onAuthError, onBackToSignIn, onReauthenticationRequired, onSuccess, services, style, surface, testID, title, tokens }: ForgotPasswordProps<Session>):
|
|
58
|
+
export declare function ForgotPassword<Session extends AuthSession = AuthSession>({ className, config, description, defaultIdentifier, identifiers, onAuthError, onBackToSignIn, onReauthenticationRequired, onSuccess, services, style, surface, testID, title, tokens }: ForgotPasswordProps<Session>): React.JSX.Element;
|
|
59
59
|
export interface QuickSignInProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
60
60
|
autoContinuePhone?: boolean;
|
|
61
61
|
autoSubmitCode?: boolean;
|
|
@@ -72,7 +72,7 @@ export interface QuickSignInProps<Session extends AuthSession = AuthSession> ext
|
|
|
72
72
|
surface?: AuthSurface;
|
|
73
73
|
title?: ReactNode;
|
|
74
74
|
}
|
|
75
|
-
export declare function QuickSignIn<Session extends AuthSession = AuthSession>({ autoSubmitCode, className, config, description, footer, identifierSubmitText, identifierType, initialIdentifier, onAuthError, onClose, onReauthenticationRequired, onStepChange, onSuccess, services, showHeader, style, submitText, surface, testID, title, tokens }: QuickSignInProps<Session>):
|
|
75
|
+
export declare function QuickSignIn<Session extends AuthSession = AuthSession>({ autoSubmitCode, className, config, description, footer, identifierSubmitText, identifierType, initialIdentifier, onAuthError, onClose, onReauthenticationRequired, onStepChange, onSuccess, services, showHeader, style, submitText, surface, testID, title, tokens }: QuickSignInProps<Session>): React.JSX.Element;
|
|
76
76
|
export interface QuickSignInDialogProps<Session extends AuthSession = AuthSession> extends Omit<QuickSignInProps<Session>, 'onClose' | 'showHeader' | 'surface'> {
|
|
77
77
|
closeOnSuccess?: boolean;
|
|
78
78
|
modalProps?: Omit<ModalProps, 'afterClose' | 'body' | 'onClose' | 'visible'> & {
|
|
@@ -81,7 +81,7 @@ export interface QuickSignInDialogProps<Session extends AuthSession = AuthSessio
|
|
|
81
81
|
onClose: () => void;
|
|
82
82
|
visible: boolean;
|
|
83
83
|
}
|
|
84
|
-
export declare function QuickSignInDialog<Session extends AuthSession = AuthSession>({ closeOnSuccess, modalProps, onClose, onSuccess, visible, ...props }: QuickSignInDialogProps<Session>):
|
|
84
|
+
export declare function QuickSignInDialog<Session extends AuthSession = AuthSession>({ closeOnSuccess, modalProps, onClose, onSuccess, visible, ...props }: QuickSignInDialogProps<Session>): React.JSX.Element;
|
|
85
85
|
export declare type IdentifierBindingAction = 'bind' | 'change';
|
|
86
86
|
export interface IdentifierBindingProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
87
87
|
action?: IdentifierBindingAction;
|
|
@@ -93,7 +93,7 @@ export interface IdentifierBindingProps<Session extends AuthSession = AuthSessio
|
|
|
93
93
|
surface?: AuthSurface;
|
|
94
94
|
title?: ReactNode;
|
|
95
95
|
}
|
|
96
|
-
export declare function IdentifierBinding<Session extends AuthSession = AuthSession>({ action, className, config, currentDisplayValue, identifierType, onAuthError, onCancel, onReauthenticationRequired, onSuccess, requireReauthentication, services, style, surface, testID, title, tokens }: IdentifierBindingProps<Session>):
|
|
96
|
+
export declare function IdentifierBinding<Session extends AuthSession = AuthSession>({ action, className, config, currentDisplayValue, identifierType, onAuthError, onCancel, onReauthenticationRequired, onSuccess, requireReauthentication, services, style, surface, testID, title, tokens }: IdentifierBindingProps<Session>): React.JSX.Element;
|
|
97
97
|
export interface ChangePasswordProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
98
98
|
description?: ReactNode;
|
|
99
99
|
onCancel?: () => void;
|
|
@@ -102,18 +102,18 @@ export interface ChangePasswordProps<Session extends AuthSession = AuthSession>
|
|
|
102
102
|
surface?: AuthSurface;
|
|
103
103
|
title?: ReactNode;
|
|
104
104
|
}
|
|
105
|
-
export declare function ChangePassword<Session extends AuthSession = AuthSession>({ className, config, description, onAuthError, onCancel, onReauthenticationRequired, onSuccess, requireCurrentPassword, services, style, surface, testID, title, tokens }: ChangePasswordProps<Session>):
|
|
105
|
+
export declare function ChangePassword<Session extends AuthSession = AuthSession>({ className, config, description, onAuthError, onCancel, onReauthenticationRequired, onSuccess, requireCurrentPassword, services, style, surface, testID, title, tokens }: ChangePasswordProps<Session>): React.JSX.Element;
|
|
106
106
|
export interface AccountSecurityProps<Session extends AuthSession = AuthSession> extends AuthComponentProps<Session> {
|
|
107
107
|
description?: ReactNode;
|
|
108
108
|
onStateChange?: (state: AccountSecurityState) => void;
|
|
109
109
|
state?: AccountSecurityState;
|
|
110
110
|
title?: ReactNode;
|
|
111
111
|
}
|
|
112
|
-
export declare function AccountSecurity<Session extends AuthSession = AuthSession>({ className, config, description, onAuthError, onReauthenticationRequired, onStateChange, services, state, style, testID, title, tokens }: AccountSecurityProps<Session>):
|
|
112
|
+
export declare function AccountSecurity<Session extends AuthSession = AuthSession>({ className, config, description, onAuthError, onReauthenticationRequired, onStateChange, services, state, style, testID, title, tokens }: AccountSecurityProps<Session>): React.JSX.Element;
|
|
113
113
|
declare type IdentifierShortcutProps<Session extends AuthSession> = Omit<IdentifierBindingProps<Session>, 'action' | 'identifierType'>;
|
|
114
|
-
export declare function BindPhone<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>):
|
|
115
|
-
export declare function BindEmail<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>):
|
|
116
|
-
export declare function ChangePhone<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>):
|
|
117
|
-
export declare function ChangeEmail<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>):
|
|
114
|
+
export declare function BindPhone<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>): React.JSX.Element;
|
|
115
|
+
export declare function BindEmail<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>): React.JSX.Element;
|
|
116
|
+
export declare function ChangePhone<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>): React.JSX.Element;
|
|
117
|
+
export declare function ChangeEmail<Session extends AuthSession = AuthSession>(props: IdentifierShortcutProps<Session>): React.JSX.Element;
|
|
118
118
|
export {};
|
|
119
119
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/auth/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAcxF,OAAO,KAAK,EACV,oBAAoB,EACpB,WAAW,EACX,qBAAqB,EACrB,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACvB,MAAM,6BAA6B,CAAC;AAKrC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CA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AG,WAAW,EACjE,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,qBAGxC;AAED,wBAAgB,WAAW,CAAC,OAAO,SAAS,WAAW,GAAG,WAAW,EACnE,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,qBAGxC;AAED,wBAAgB,WAAW,CAAC,OAAO,SAAS,WAAW,GAAG,WAAW,EACnE,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,qBAGxC"}
|
package/lib/auth/components.js
CHANGED
|
@@ -241,7 +241,7 @@ function SignIn({
|
|
|
241
241
|
error: Boolean(controller.fieldErrors.password),
|
|
242
242
|
onChange: controller.setPassword,
|
|
243
243
|
placeholder: t("auth.enter", { label: t("auth.password") }),
|
|
244
|
-
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size:
|
|
244
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
245
245
|
size: "large",
|
|
246
246
|
type: "password",
|
|
247
247
|
value: controller.password
|
|
@@ -364,6 +364,7 @@ function SignUp({
|
|
|
364
364
|
error: Boolean(controller.fieldErrors.password),
|
|
365
365
|
onChange: controller.setPassword,
|
|
366
366
|
placeholder: t("auth.passwordHint", { length: controller.config.password.minLength }),
|
|
367
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
367
368
|
size: "large",
|
|
368
369
|
type: "password",
|
|
369
370
|
value: controller.password
|
|
@@ -374,6 +375,7 @@ function SignUp({
|
|
|
374
375
|
error: Boolean(controller.fieldErrors.confirmPassword),
|
|
375
376
|
onChange: controller.setConfirmPassword,
|
|
376
377
|
placeholder: t("auth.repeatPassword"),
|
|
378
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
377
379
|
size: "large",
|
|
378
380
|
type: "password",
|
|
379
381
|
value: controller.confirmPassword
|
|
@@ -504,6 +506,7 @@ function ForgotPassword({
|
|
|
504
506
|
placeholder: t("auth.passwordHint", {
|
|
505
507
|
length: controller.config.password.minLength
|
|
506
508
|
}),
|
|
509
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
507
510
|
size: "large",
|
|
508
511
|
type: "password",
|
|
509
512
|
value: controller.newPassword
|
|
@@ -520,6 +523,7 @@ function ForgotPassword({
|
|
|
520
523
|
error: Boolean(controller.fieldErrors.confirmPassword),
|
|
521
524
|
onChange: controller.setConfirmPassword,
|
|
522
525
|
placeholder: t("auth.repeatNewPassword"),
|
|
526
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
523
527
|
size: "large",
|
|
524
528
|
type: "password",
|
|
525
529
|
value: controller.confirmPassword
|
|
@@ -795,6 +799,7 @@ function IdentifierBinding({
|
|
|
795
799
|
error: Boolean(controller.fieldErrors.currentPassword),
|
|
796
800
|
onChange: controller.setCurrentPassword,
|
|
797
801
|
placeholder: t("auth.enter", { label: t("auth.currentPassword") }),
|
|
802
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
798
803
|
size: "large",
|
|
799
804
|
type: "password",
|
|
800
805
|
value: controller.currentPassword
|
|
@@ -893,6 +898,7 @@ function ChangePassword({
|
|
|
893
898
|
error: Boolean(controller.fieldErrors.currentPassword),
|
|
894
899
|
onChange: controller.setCurrentPassword,
|
|
895
900
|
placeholder: t("auth.enter", { label: t("auth.currentPassword") }),
|
|
901
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
896
902
|
size: "large",
|
|
897
903
|
type: "password",
|
|
898
904
|
value: controller.currentPassword
|
|
@@ -904,6 +910,7 @@ function ChangePassword({
|
|
|
904
910
|
error: Boolean(controller.fieldErrors.newPassword),
|
|
905
911
|
onChange: controller.setNewPassword,
|
|
906
912
|
placeholder: t("auth.passwordHint", { length: controller.config.password.minLength }),
|
|
913
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
907
914
|
size: "large",
|
|
908
915
|
type: "password",
|
|
909
916
|
value: controller.newPassword
|
|
@@ -920,6 +927,7 @@ function ChangePassword({
|
|
|
920
927
|
error: Boolean(controller.fieldErrors.confirmPassword),
|
|
921
928
|
onChange: controller.setConfirmPassword,
|
|
922
929
|
placeholder: t("auth.repeatNewPassword"),
|
|
930
|
+
prefix: /* @__PURE__ */ import_react.default.createElement(import_icon.Icon, { name: "Lock", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
923
931
|
size: "large",
|
|
924
932
|
type: "password",
|
|
925
933
|
value: controller.confirmPassword
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-security.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/account-security.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-password.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/change-password.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forgot-password.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/forgot-password.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier-binding.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/identifier-binding.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC5B,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/locales.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,cAAc,EACpB,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-number-input.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/phone-number-input.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/provider.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick-sign-in.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/quick-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACtB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-in.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,KAAK,uBAAuB,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-up.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/sign-up.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/theme.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"third-party-sign-in.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/third-party-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/auth/entries/types.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,KAAK,cAAc,EACpB,MAAM,+BAA+B,CAAC"}
|
package/lib/auth/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties, type ReactNode } from 'react';
|
|
1
|
+
import React, { type CSSProperties, type ReactNode } from 'react';
|
|
2
2
|
import type { ContactIdentifierType, IdentifierType, ResolvedAuthConfig } from '@hanwenbo/x-auth-core/types';
|
|
3
3
|
export declare type AuthSurface = 'card' | 'plain';
|
|
4
4
|
export declare type AuthHeaderAlign = 'left' | 'center';
|
|
@@ -13,16 +13,16 @@ export declare function AuthPanel({ children, className, description, footer, he
|
|
|
13
13
|
surface?: AuthSurface;
|
|
14
14
|
testID?: string;
|
|
15
15
|
title?: ReactNode;
|
|
16
|
-
}):
|
|
16
|
+
}): React.JSX.Element;
|
|
17
17
|
export declare function AuthField({ children, error, hint, label }: {
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
error?: string;
|
|
20
20
|
hint?: ReactNode;
|
|
21
21
|
label?: ReactNode;
|
|
22
|
-
}):
|
|
22
|
+
}): React.JSX.Element;
|
|
23
23
|
export declare function AuthError({ children }: {
|
|
24
24
|
children?: ReactNode;
|
|
25
|
-
}):
|
|
25
|
+
}): React.JSX.Element | null;
|
|
26
26
|
interface AuthSelectorProps<Value extends string> {
|
|
27
27
|
onChange: (value: Value) => void;
|
|
28
28
|
options: Array<{
|
|
@@ -31,8 +31,8 @@ interface AuthSelectorProps<Value extends string> {
|
|
|
31
31
|
}>;
|
|
32
32
|
value?: Value;
|
|
33
33
|
}
|
|
34
|
-
export declare function AuthSelector<Value extends string>({ onChange, options, value }: AuthSelectorProps<Value>):
|
|
35
|
-
export declare function CredentialSelector<Value extends string>({ onChange, options, value }: AuthSelectorProps<Value>):
|
|
34
|
+
export declare function AuthSelector<Value extends string>({ onChange, options, value }: AuthSelectorProps<Value>): React.JSX.Element | null;
|
|
35
|
+
export declare function CredentialSelector<Value extends string>({ onChange, options, value }: AuthSelectorProps<Value>): React.JSX.Element | null;
|
|
36
36
|
export declare function IdentifierInput({ config, error, onChange, showLabel, type, value }: {
|
|
37
37
|
config: ResolvedAuthConfig;
|
|
38
38
|
error?: string;
|
|
@@ -40,7 +40,7 @@ export declare function IdentifierInput({ config, error, onChange, showLabel, ty
|
|
|
40
40
|
showLabel?: boolean;
|
|
41
41
|
type: IdentifierType;
|
|
42
42
|
value: string;
|
|
43
|
-
}):
|
|
43
|
+
}): React.JSX.Element;
|
|
44
44
|
export declare function VerificationCodeInput({ config, codeLength, countdown, disabled, error, onChange, onSend, sending, showLabel, value }: {
|
|
45
45
|
config?: ResolvedAuthConfig;
|
|
46
46
|
codeLength: number;
|
|
@@ -52,7 +52,7 @@ export declare function VerificationCodeInput({ config, codeLength, countdown, d
|
|
|
52
52
|
sending?: boolean;
|
|
53
53
|
showLabel?: boolean;
|
|
54
54
|
value: string;
|
|
55
|
-
}):
|
|
55
|
+
}): React.JSX.Element;
|
|
56
56
|
export declare function contactOptions(types: ContactIdentifierType[], config?: ResolvedAuthConfig): {
|
|
57
57
|
label: any;
|
|
58
58
|
value: ContactIdentifierType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/auth/internal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAQrC,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAC3C,oBAAY,eAAe,GAAG,MAAM,GAAG,QAAQ,CAAC;AAUhD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,WAAW,EACX,MAAM,EACN,WAAoB,EACpB,IAAI,EACJ,KAAK,EACL,OAAgB,EAChB,MAAM,EACN,KAAK,EACN,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAC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ChB,IAAI,EACJ,KAAK,EACN,EAAE;IACD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;CACf,qBAuCA;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,UAAU,EACV,SAAS,EACT,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAgB,EAChB,KAAK,EACN,EAAE;IACD,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,qBA+BA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,qBAAqB,EAAE,EAAE,MAAM,CAAC,EAAE,kBAAkB;;;IAEzF"}
|
package/lib/auth/internal.js
CHANGED
|
@@ -170,7 +170,14 @@ function IdentifierInput({
|
|
|
170
170
|
maxLength: type === "account" ? config.account.maxLength : void 0,
|
|
171
171
|
onChange,
|
|
172
172
|
placeholder: type === "account" ? config.account.placeholder : t("auth.enter", { label }),
|
|
173
|
-
prefix: /* @__PURE__ */ import_react2.default.createElement(
|
|
173
|
+
prefix: /* @__PURE__ */ import_react2.default.createElement(
|
|
174
|
+
import_icon.Icon,
|
|
175
|
+
{
|
|
176
|
+
name: type === "account" ? "User" : "Mail",
|
|
177
|
+
size: "var(--x-taro-auth-input-icon-size, 18px)",
|
|
178
|
+
block: true
|
|
179
|
+
}
|
|
180
|
+
),
|
|
174
181
|
size: "large",
|
|
175
182
|
type: type === "email" ? "email" : "text",
|
|
176
183
|
value
|
|
@@ -197,7 +204,7 @@ function VerificationCodeInput({
|
|
|
197
204
|
maxLength: codeLength,
|
|
198
205
|
onChange: (next) => onChange(next.replace(/\D/g, "").slice(0, codeLength)),
|
|
199
206
|
placeholder: t("auth.codeLength", { length: codeLength }),
|
|
200
|
-
prefix: /* @__PURE__ */ import_react2.default.createElement(import_icon.Icon, { name: "
|
|
207
|
+
prefix: /* @__PURE__ */ import_react2.default.createElement(import_icon.Icon, { name: "ShieldCheck", size: "var(--x-taro-auth-input-icon-size, 18px)", block: true }),
|
|
201
208
|
size: "large",
|
|
202
209
|
suffix: /* @__PURE__ */ import_react2.default.createElement(
|
|
203
210
|
import_button.Button,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AuthConfig } from '@hanwenbo/x-auth-core/types';
|
|
2
|
-
import { type CSSProperties } from 'react';
|
|
2
|
+
import React, { type CSSProperties } from 'react';
|
|
3
3
|
import type { PhoneCountryCode, PhoneCountryLabels } from '@hanwenbo/x-auth-core/types';
|
|
4
4
|
import './styles.css';
|
|
5
5
|
export interface PhoneNumberInputProps {
|
|
@@ -20,5 +20,5 @@ export interface PhoneNumberInputProps {
|
|
|
20
20
|
testID?: string;
|
|
21
21
|
value?: string;
|
|
22
22
|
}
|
|
23
|
-
export declare function PhoneNumberInput({ config, className, countries, defaultCountry, disabled, error, labels, limitMaxLength, onChange, placeholder, readOnly, size, style, testID, value }: PhoneNumberInputProps):
|
|
23
|
+
export declare function PhoneNumberInput({ config, className, countries, defaultCountry, disabled, error, labels, limitMaxLength, onChange, placeholder, readOnly, size, style, testID, value }: PhoneNumberInputProps): React.JSX.Element;
|
|
24
24
|
//# sourceMappingURL=phoneNumberInput.d.ts.map
|
|
@@ -0,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ACN,EAAE,qBAAqB,qBAgFvB"}
|
|
@@ -38,6 +38,7 @@ var import_components = require("@tarojs/components");
|
|
|
38
38
|
var import_phone = require("@hanwenbo/x-auth-core/phone");
|
|
39
39
|
var import_inputItem = require("../components/inputItem/index");
|
|
40
40
|
var import_picker = require("../components/picker");
|
|
41
|
+
var import_icon = require("../components/icon");
|
|
41
42
|
var import_tokens = require("../components/inputItem/tokens");
|
|
42
43
|
var import_styles = require("./styles.css");
|
|
43
44
|
function PhoneNumberInput({
|
|
@@ -52,7 +53,7 @@ function PhoneNumberInput({
|
|
|
52
53
|
onChange,
|
|
53
54
|
placeholder,
|
|
54
55
|
readOnly,
|
|
55
|
-
size,
|
|
56
|
+
size = "middle",
|
|
56
57
|
style,
|
|
57
58
|
testID = "auth-phone-number",
|
|
58
59
|
value
|
|
@@ -79,8 +80,9 @@ function PhoneNumberInput({
|
|
|
79
80
|
className: `x-taro-auth-phone ${className ?? ""}`,
|
|
80
81
|
"data-testid": testID,
|
|
81
82
|
style: {
|
|
82
|
-
"--x-taro-auth-phone-height":
|
|
83
|
-
"--x-taro-auth-phone-font-size":
|
|
83
|
+
"--x-taro-auth-phone-height": `var(--x-input-height-${size}, ${inputTokens.height}px)`,
|
|
84
|
+
"--x-taro-auth-phone-font-size": `var(--x-input-font-size-${size}, ${inputTokens.fontSize}px)`,
|
|
85
|
+
"--x-taro-auth-phone-radius": `var(--x-input-radius, ${inputTokens.borderRadius}px)`,
|
|
84
86
|
...style
|
|
85
87
|
}
|
|
86
88
|
},
|
|
@@ -112,7 +114,7 @@ function PhoneNumberInput({
|
|
|
112
114
|
},
|
|
113
115
|
/* @__PURE__ */ import_react2.default.createElement(import_components.Text, null, selected == null ? void 0 : selected.flag),
|
|
114
116
|
/* @__PURE__ */ import_react2.default.createElement(import_components.Text, null, selected == null ? void 0 : selected.callingCode),
|
|
115
|
-
/* @__PURE__ */ import_react2.default.createElement(
|
|
117
|
+
/* @__PURE__ */ import_react2.default.createElement(import_icon.Icon, { name: "ChevronDown", size: "var(--x-taro-auth-phone-font-size)", block: true })
|
|
116
118
|
)
|
|
117
119
|
),
|
|
118
120
|
/* @__PURE__ */ import_react2.default.createElement(
|
|
@@ -127,7 +129,10 @@ function PhoneNumberInput({
|
|
|
127
129
|
placeholder,
|
|
128
130
|
readOnly,
|
|
129
131
|
size,
|
|
130
|
-
style: {
|
|
132
|
+
style: {
|
|
133
|
+
height: "calc(var(--x-taro-auth-phone-height) - 2px)",
|
|
134
|
+
minHeight: "calc(var(--x-taro-auth-phone-height) - 2px)"
|
|
135
|
+
},
|
|
131
136
|
type: "tel",
|
|
132
137
|
value: nationalNumber
|
|
133
138
|
}
|
package/lib/auth/provider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import type { AuthConfig, AuthFailureHandler, AuthServices, AuthSession, ReauthenticationRequiredHandler } from '@hanwenbo/x-auth-core/types';
|
|
3
3
|
import { type AuthThemeTokens } from './theme';
|
|
4
4
|
export interface AuthProviderProps<Session extends AuthSession = AuthSession> extends PropsWithChildren {
|
|
@@ -8,6 +8,6 @@ export interface AuthProviderProps<Session extends AuthSession = AuthSession> ex
|
|
|
8
8
|
services?: AuthServices<Session>;
|
|
9
9
|
tokens?: AuthThemeTokens;
|
|
10
10
|
}
|
|
11
|
-
export declare function AuthProvider<Session extends AuthSession = AuthSession>({ children, config, onAuthError, onReauthenticationRequired, services, tokens }: AuthProviderProps<Session>):
|
|
11
|
+
export declare function AuthProvider<Session extends AuthSession = AuthSession>({ children, config, onAuthError, onReauthenticationRequired, services, tokens }: AuthProviderProps<Session>): React.JSX.Element;
|
|
12
12
|
export declare function useAuthTheme(tokens?: AuthThemeTokens): AuthThemeTokens;
|
|
13
13
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/auth/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAsC,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1F,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,+BAA+B,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAA0B,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAIvE,MAAM,WAAW,iBAAiB,CAChC,OAAO,SAAS,WAAW,GAAG,WAAW,CACzC,SAAQ,iBAAiB;IACzB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,0BAA0B,CAAC,EAAE,+BAA+B,CAAC;IAC7D,QAAQ,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED,wBAAgB,YAAY,CAAC,OAAO,SAAS,WAAW,GAAG,WAAW,EAAE,EACtE,QAAQ,EACR,MAAM,EACN,WAAW,EACX,0BAA0B,EAC1B,QAAQ,EACR,MAAM,EACP,EAAE,iBAAiB,CAAC,OAAO,CAAC,qBAW5B;AAED,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,eAAe,mBAGpD"}
|
package/lib/auth/styles.css
CHANGED
|
@@ -191,7 +191,8 @@
|
|
|
191
191
|
overflow: hidden;
|
|
192
192
|
background: var(--background);
|
|
193
193
|
border: var(--x-space-px) solid var(--input);
|
|
194
|
-
|
|
194
|
+
height: var(--x-taro-auth-phone-height);
|
|
195
|
+
border-radius: var(--x-taro-auth-phone-radius);
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
.x-taro-auth-phone__country {
|
package/lib/auth/theme.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { CSSProperties } from 'react';
|
|
|
2
2
|
export interface AuthThemeTokens {
|
|
3
3
|
dialogMaxWidth?: number | string;
|
|
4
4
|
formGap?: number | string;
|
|
5
|
+
inputIconSize?: number | string;
|
|
5
6
|
motionDuration?: number | string;
|
|
6
7
|
panelMaxWidth?: number | string;
|
|
7
8
|
panelPadding?: number | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/auth/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACtC;AAQD,wBAAgB,sBAAsB,CAAC,MAAM,CAAC,EAAE,eAAe,GAAG,aAAa,CAkB9E;AAED,wBAAgB,sBAAsB,CACpC,IAAI,CAAC,EAAE,eAAe,EACtB,QAAQ,CAAC,EAAE,eAAe,GACzB,eAAe,CAEjB"}
|
package/lib/auth/theme.js
CHANGED
|
@@ -31,6 +31,7 @@ function authThemeTokensToStyle(tokens) {
|
|
|
31
31
|
const style = {
|
|
32
32
|
"--x-taro-auth-dialog-max-width": cssValue(tokens == null ? void 0 : tokens.dialogMaxWidth),
|
|
33
33
|
"--x-taro-auth-form-gap": cssValue((tokens == null ? void 0 : tokens.formGap) ?? 18),
|
|
34
|
+
"--x-taro-auth-input-icon-size": cssValue(tokens == null ? void 0 : tokens.inputIconSize),
|
|
34
35
|
"--x-taro-auth-motion-duration": typeof (tokens == null ? void 0 : tokens.motionDuration) === "number" ? `${tokens.motionDuration}ms` : tokens == null ? void 0 : tokens.motionDuration,
|
|
35
36
|
"--x-taro-auth-panel-max-width": cssValue((tokens == null ? void 0 : tokens.panelMaxWidth) ?? 460),
|
|
36
37
|
"--x-taro-auth-panel-padding": cssValue(tokens == null ? void 0 : tokens.panelPadding),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,+BAA+B,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,mBAAmB,6BAA6B,CAAC;AACjD,mBAAmB,6BAA6B,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,WAAW,kBAAkB,CAAC,OAAO,SAAS,WAAW,GAAG,WAAW;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,0BAA0B,CAAC,EAAE,+BAA+B,CAAC;IAC7D,QAAQ,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B"}
|
|
@@ -5,7 +5,7 @@ interface RenderTextNodeAttributes {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
'data-slot'?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const renderTextNode: (node: React.ReactNode, style: React.CSSProperties, attributes?: RenderTextNodeAttributes) => true | Iterable<React.ReactNode> |
|
|
8
|
+
export declare const renderTextNode: (node: React.ReactNode, style: React.CSSProperties, attributes?: RenderTextNodeAttributes) => true | Iterable<React.ReactNode> | React.JSX.Element | null;
|
|
9
9
|
export declare const getStatusColor: (status: 'normal' | 'success' | 'warning' | 'error' | 'info', colors: {
|
|
10
10
|
primary: string;
|
|
11
11
|
success: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/render.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,QAAQ,WAAY,MAAM,GAAG,MAAM,uBACE,CAAC;AAEnD,eAAO,MAAM,KAAK,UAAW,MAAM,OAAO,MAAM,OAAO,MAAM,WACxB,CAAC;AAEtC,UAAU,wBAAwB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,SACnB,MAAM,SAAS,SACd,MAAM,aAAa,eACb,wBAAwB,gEAetC,CAAC;AAEF,eAAO,MAAM,cAAc,WACjB,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,UACnD;IACN,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,WAMF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seedSurface.d.ts","sourceRoot":"","sources":["../../../src/components/_shared/seedSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,gBAAgB,EAAE,WAAW,EAAE,MAAM,eAwBhF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionSheet.d.ts","sourceRoot":"","sources":["../../../src/components/actionSheet/actionSheet.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,IAAI,MAAM,cAAc,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAqB,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAU3F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmUlD,CAAC;AA+BF,kCAAkC;AAClC,eAAO,MAAM,WAAW;oBACA,sBAAsB;CAuC7C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/actionSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/actionSheet/tokens.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAKlD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC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ACvC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,6BAA6B;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,gBAAgB,EAChB,SAAS,GAAG,SAAS,GAAG,UAAU,CACnC;IACC,mCAAmC;IACnC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"affix.d.ts","sourceRoot":"","sources":["../../../src/components/affix/affix.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2BtC,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/affix/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/affix/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAY1C,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoLtC,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/alert/tokens.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAgB5C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAE,YAAqB;;;;;;EAwC5D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,GAAE,YAAqB,GAAG,MAAM,CAcnE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,YAAY,GAAG,KAAK,CAAC,aAAa,CAkBxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/alert/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAIH,oBAAY,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpE,MAAM,WAAW,UAAU;IACzB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iCAAiC;IACjC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;Q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ACtB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,SAAS,CAAC"}
|
|
@@ -122,9 +122,9 @@ export interface AttachmentGroupProps {
|
|
|
122
122
|
/** 附件子项 */
|
|
123
123
|
children?: React.ReactNode;
|
|
124
124
|
/** 子项间距(px,string 按 px 数值解析),默认 8 */
|
|
125
|
-
gap?: number
|
|
125
|
+
gap?: number;
|
|
126
126
|
/** 淡出深度(px),默认 40 */
|
|
127
|
-
size?: number
|
|
127
|
+
size?: number;
|
|
128
128
|
/** 渐显边缘,默认 both */
|
|
129
129
|
edges?: 'both' | 'start' | 'end';
|
|
130
130
|
/** 滚动事件回调 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/attachment/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,oBAAY,eAAe,GAAG,MAAM,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAErF,oBAAY,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1D,oBAAY,qBAAqB,GAAG,YAAY,GAAG,UAAU,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,eAAe,CAAC;IACvB,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,qBAAqB,CAAC;CACpC;AAED,mEAAmE;AACnE,oBAAY,kBAAkB,GAAG,OAAO,CAAC;AAEzC,MAAM,WAAW,eAAe;IAC9B,mBAAmB;IACnB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,mBAAmB;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,yBAAyB;IACzB,WAAW,CAAC,EAAE,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C;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qCAAqC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qBAAqB;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IACjC,aAAa;IACb,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,WAAW;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW;IACX,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,aAAa;IACb,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAK9E,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+OxC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAAC,GAAG;IACrD,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;CA+FjC,CAAC;AASF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/C,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,aAAa,EACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/tokens.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAID;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,GAAE,WAAW,GAAG,MAAiB,GAAG,gBAAgB,CA8C3F;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,eAAe,CAAC,EAAE,MAAM,EACxB,SAAS,CAAC,EAAE,MAAM,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAkCvC;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,GAAE,MAAU,GAAG,MAAM,CAevE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,GAAE,QAAQ,GAAG,QAAmB,GAAG,MAAM,CAE5E"}
|
|
@@ -55,7 +55,7 @@ export interface AvatarGroupProps {
|
|
|
55
55
|
/** Shape for all avatars */
|
|
56
56
|
shape?: AvatarShape;
|
|
57
57
|
/** Spacing between avatars (negative for overlap) */
|
|
58
|
-
gap?: number
|
|
58
|
+
gap?: number;
|
|
59
59
|
/** Style for the excess indicator */
|
|
60
60
|
excessStyle?: React.CSSProperties;
|
|
61
61
|
/** Additional CSS class */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/types.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,oBAAY,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC9C,oBAAY,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC1B,uBAAuB;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,sCAAsC;IACtC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,oCAAoC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,mBAAmB;IACnB,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC5B,oBAAoB;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4BAA4B;IAC5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