react-native-system-ui 1.0.6 → 1.0.8
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 +13 -13
- package/dist/cjs/components/calendar/Calendar.js +1 -1
- package/dist/cjs/components/cascader/Cascader.js +1 -1
- package/dist/cjs/components/cascader/useCascaderExtend.js +1 -1
- package/dist/cjs/components/dialog/Dialog.js +1 -1
- package/dist/cjs/components/dialog/imperative.js +1 -1
- package/dist/cjs/components/field/Field.js +1 -1
- package/dist/cjs/components/form/Form.js +1 -1
- package/dist/cjs/components/number-keyboard/NumberKeyboard.js +1 -1
- package/dist/cjs/components/overlay/Overlay.js +1 -1
- package/dist/cjs/components/picker/Picker.js +1 -1
- package/dist/cjs/components/popup/Popup.js +1 -1
- package/dist/cjs/components/portal/PortalHost.js +1 -1
- package/dist/cjs/components/selector/Selector.js +1 -1
- package/dist/cjs/components/slider/Slider.js +1 -1
- package/dist/cjs/components/stepper/Stepper.js +1 -1
- package/dist/cjs/components/swiper/Swiper.js +1 -1
- package/dist/cjs/components/tabs/Tabs.js +1 -1
- package/dist/cjs/components/toast/Toast.js +1 -1
- package/dist/cjs/hooks/calendar/utils.js +1 -0
- package/dist/cjs/hooks/cascader/utils.js +1 -0
- package/dist/cjs/hooks/dialog/ActionButton.js +1 -0
- package/dist/cjs/hooks/field/renderers.js +1 -0
- package/dist/cjs/hooks/form/utils.js +1 -0
- package/dist/cjs/hooks/number-keyboard/utils.js +1 -0
- package/dist/cjs/hooks/picker/normalize.js +1 -0
- package/dist/cjs/hooks/picker/value.js +1 -0
- package/dist/cjs/hooks/popup/utils.js +1 -0
- package/dist/cjs/hooks/slider/utils.js +1 -0
- package/dist/cjs/hooks/swiper/utils.js +1 -0
- package/dist/cjs/hooks/tabs/TabBarItem.js +1 -0
- package/dist/cjs/hooks/tabs/useTabsInternals.js +1 -0
- package/dist/cjs/utils/compare.js +1 -1
- package/dist/es/components/calendar/Calendar.js +1 -1
- package/dist/es/components/cascader/Cascader.js +1 -1
- package/dist/es/components/cascader/useCascaderExtend.js +1 -1
- package/dist/es/components/dialog/Dialog.js +1 -1
- package/dist/es/components/dialog/imperative.js +1 -1
- package/dist/es/components/field/Field.js +1 -1
- package/dist/es/components/form/Form.js +1 -1
- package/dist/es/components/number-keyboard/NumberKeyboard.js +1 -1
- package/dist/es/components/overlay/Overlay.js +1 -1
- package/dist/es/components/picker/Picker.js +1 -1
- package/dist/es/components/popup/Popup.js +1 -1
- package/dist/es/components/portal/PortalHost.js +1 -1
- package/dist/es/components/selector/Selector.js +1 -1
- package/dist/es/components/slider/Slider.js +1 -1
- package/dist/es/components/stepper/Stepper.js +1 -1
- package/dist/es/components/swiper/Swiper.js +1 -1
- package/dist/es/components/tabs/Tabs.js +1 -1
- package/dist/es/components/toast/Toast.js +1 -1
- package/dist/es/hooks/calendar/utils.js +1 -0
- package/dist/es/hooks/cascader/utils.js +1 -0
- package/dist/es/hooks/dialog/ActionButton.js +1 -0
- package/dist/es/hooks/field/renderers.js +1 -0
- package/dist/es/hooks/form/utils.js +1 -0
- package/dist/es/hooks/number-keyboard/utils.js +1 -0
- package/dist/es/hooks/picker/normalize.js +1 -0
- package/dist/es/hooks/picker/value.js +1 -0
- package/dist/es/hooks/popup/utils.js +1 -0
- package/dist/es/hooks/slider/utils.js +1 -0
- package/dist/es/hooks/swiper/utils.js +1 -0
- package/dist/es/hooks/tabs/TabBarItem.js +1 -0
- package/dist/es/hooks/tabs/useTabsInternals.js +1 -0
- package/dist/es/utils/compare.js +1 -1
- package/dist/types/components/action-sheet/ActionSheet.d.ts +1 -4
- package/dist/types/components/action-sheet/index.d.ts +1 -4
- package/dist/types/components/action-sheet/tokens.d.ts +1 -4
- package/dist/types/components/action-sheet/types.d.ts +1 -87
- package/dist/types/components/area/Area.d.ts +1 -4
- package/dist/types/components/area/index.d.ts +1 -3
- package/dist/types/components/area/tokens.d.ts +1 -7
- package/dist/types/components/area/types.d.ts +1 -20
- package/dist/types/components/avatar/Avatar.d.ts +1 -7
- package/dist/types/components/avatar/index.d.ts +1 -2
- package/dist/types/components/avatar/tokens.d.ts +1 -4
- package/dist/types/components/avatar/types.d.ts +1 -62
- package/dist/types/components/badge/Badge.d.ts +1 -4
- package/dist/types/components/badge/index.d.ts +1 -3
- package/dist/types/components/badge/tokens.d.ts +1 -2
- package/dist/types/components/badge/types.d.ts +1 -57
- package/dist/types/components/button/Button.d.ts +1 -5
- package/dist/types/components/button/ButtonContext.d.ts +1 -2
- package/dist/types/components/button/ButtonGroup.d.ts +1 -23
- package/dist/types/components/button/index.d.ts +1 -6
- package/dist/types/components/button/tokens.d.ts +1 -2
- package/dist/types/components/button/types.d.ts +1 -109
- package/dist/types/components/calendar/Calendar.d.ts +1 -4
- package/dist/types/components/calendar/index.d.ts +1 -3
- package/dist/types/components/calendar/tokens.d.ts +1 -4
- package/dist/types/components/calendar/types.d.ts +1 -111
- package/dist/types/components/cascader/Cascader.d.ts +1 -4
- package/dist/types/components/cascader/index.d.ts +1 -4
- package/dist/types/components/cascader/tokens.d.ts +1 -4
- package/dist/types/components/cascader/types.d.ts +1 -142
- package/dist/types/components/cascader/useCascaderExtend.d.ts +1 -12
- package/dist/types/components/cell/Cell.d.ts +1 -4
- package/dist/types/components/cell/CellContext.d.ts +1 -7
- package/dist/types/components/cell/CellGroup.d.ts +1 -3
- package/dist/types/components/cell/index.d.ts +1 -8
- package/dist/types/components/cell/tokens.d.ts +1 -4
- package/dist/types/components/cell/types.d.ts +1 -112
- package/dist/types/components/checkbox/Checkbox.d.ts +1 -5
- package/dist/types/components/checkbox/CheckboxContext.d.ts +1 -2
- package/dist/types/components/checkbox/CheckboxGroup.d.ts +1 -22
- package/dist/types/components/checkbox/index.d.ts +1 -7
- package/dist/types/components/checkbox/tokens.d.ts +1 -2
- package/dist/types/components/checkbox/types.d.ts +1 -99
- package/dist/types/components/circle/Circle.d.ts +1 -5
- package/dist/types/components/circle/index.d.ts +1 -3
- package/dist/types/components/circle/tokens.d.ts +1 -4
- package/dist/types/components/circle/types.d.ts +1 -51
- package/dist/types/components/collapse/Collapse.d.ts +1 -43
- package/dist/types/components/collapse/index.d.ts +1 -3
- package/dist/types/components/collapse/tokens.d.ts +1 -4
- package/dist/types/components/collapse/types.d.ts +1 -45
- package/dist/types/components/config-provider/ConfigProvider.d.ts +1 -3
- package/dist/types/components/config-provider/DirectionContext.d.ts +1 -3
- package/dist/types/components/config-provider/LocaleContext.d.ts +1 -3
- package/dist/types/components/config-provider/index.d.ts +1 -6
- package/dist/types/components/config-provider/locale/en-US.d.ts +1 -106
- package/dist/types/components/config-provider/locale/types.d.ts +1 -130
- package/dist/types/components/config-provider/locale/zh-CN.d.ts +1 -106
- package/dist/types/components/config-provider/tokens.d.ts +1 -3
- package/dist/types/components/config-provider/types.d.ts +1 -10
- package/dist/types/components/config-provider/useDirection.d.ts +1 -1
- package/dist/types/components/config-provider/useLocale.d.ts +1 -1
- package/dist/types/components/count-down/CountDown.d.ts +1 -4
- package/dist/types/components/count-down/index.d.ts +1 -4
- package/dist/types/components/count-down/tokens.d.ts +1 -4
- package/dist/types/components/count-down/types.d.ts +1 -29
- package/dist/types/components/datetime-picker/DatetimePicker.d.ts +1 -4
- package/dist/types/components/datetime-picker/index.d.ts +1 -3
- package/dist/types/components/datetime-picker/tokens.d.ts +1 -15
- package/dist/types/components/datetime-picker/types.d.ts +1 -38
- package/dist/types/components/dialog/Dialog.d.ts +1 -4
- package/dist/types/components/dialog/imperative.d.ts +1 -23
- package/dist/types/components/dialog/index.d.ts +1 -5
- package/dist/types/components/dialog/tokens.d.ts +1 -48
- package/dist/types/components/dialog/types.d.ts +1 -70
- package/dist/types/components/divider/Divider.d.ts +1 -3
- package/dist/types/components/divider/index.d.ts +1 -3
- package/dist/types/components/divider/tokens.d.ts +1 -4
- package/dist/types/components/divider/types.d.ts +1 -48
- package/dist/types/components/empty/Empty.d.ts +1 -3
- package/dist/types/components/empty/index.d.ts +1 -3
- package/dist/types/components/empty/tokens.d.ts +1 -4
- package/dist/types/components/empty/types.d.ts +1 -44
- package/dist/types/components/error-boundary/ErrorBoundary.d.ts +1 -6
- package/dist/types/components/error-boundary/index.d.ts +1 -2
- package/dist/types/components/error-boundary/types.d.ts +1 -18
- package/dist/types/components/field/Field.d.ts +1 -4
- package/dist/types/components/field/index.d.ts +1 -7
- package/dist/types/components/field/tokens.d.ts +1 -131
- package/dist/types/components/field/types.d.ts +1 -86
- package/dist/types/components/flex/Flex.d.ts +1 -9
- package/dist/types/components/flex/FlexContext.d.ts +1 -2
- package/dist/types/components/flex/FlexItem.d.ts +1 -3
- package/dist/types/components/flex/index.d.ts +1 -8
- package/dist/types/components/flex/tokens.d.ts +1 -2
- package/dist/types/components/flex/types.d.ts +1 -37
- package/dist/types/components/form/Form.d.ts +1 -26
- package/dist/types/components/form/FormItem.d.ts +1 -5
- package/dist/types/components/form/FormList.d.ts +1 -18
- package/dist/types/components/form/index.d.ts +1 -17
- package/dist/types/components/form/tokens.d.ts +1 -7
- package/dist/types/components/form/types.d.ts +1 -68
- package/dist/types/components/grid/Grid.d.ts +1 -19
- package/dist/types/components/grid/GridContext.d.ts +1 -2
- package/dist/types/components/grid/GridItem.d.ts +1 -3
- package/dist/types/components/grid/index.d.ts +1 -5
- package/dist/types/components/grid/tokens.d.ts +1 -4
- package/dist/types/components/grid/types.d.ts +1 -77
- package/dist/types/components/image/Image.d.ts +1 -5
- package/dist/types/components/image/index.d.ts +1 -4
- package/dist/types/components/image/tokens.d.ts +1 -2
- package/dist/types/components/image/types.d.ts +1 -53
- package/dist/types/components/image-preview/ImagePreview.d.ts +1 -4
- package/dist/types/components/image-preview/imperative.d.ts +1 -5
- package/dist/types/components/image-preview/index.d.ts +1 -6
- package/dist/types/components/image-preview/tokens.d.ts +1 -27
- package/dist/types/components/image-preview/types.d.ts +1 -55
- package/dist/types/components/index.d.ts +1 -213
- package/dist/types/components/input/Input.d.ts +1 -8
- package/dist/types/components/input/index.d.ts +1 -4
- package/dist/types/components/input/tokens.d.ts +1 -2
- package/dist/types/components/input/types.d.ts +1 -42
- package/dist/types/components/loading/Loading.d.ts +1 -3
- package/dist/types/components/loading/index.d.ts +1 -3
- package/dist/types/components/loading/tokens.d.ts +1 -4
- package/dist/types/components/loading/types.d.ts +1 -32
- package/dist/types/components/nav-bar/NavBar.d.ts +1 -4
- package/dist/types/components/nav-bar/index.d.ts +1 -4
- package/dist/types/components/nav-bar/tokens.d.ts +1 -4
- package/dist/types/components/nav-bar/types.d.ts +1 -67
- package/dist/types/components/notice-bar/NoticeBar.d.ts +1 -3
- package/dist/types/components/notice-bar/index.d.ts +1 -3
- package/dist/types/components/notice-bar/tokens.d.ts +1 -24
- package/dist/types/components/notice-bar/types.d.ts +1 -26
- package/dist/types/components/notify/Notify.d.ts +1 -6
- package/dist/types/components/notify/imperative.d.ts +1 -22
- package/dist/types/components/notify/index.d.ts +1 -15
- package/dist/types/components/notify/tokens.d.ts +1 -4
- package/dist/types/components/notify/types.d.ts +1 -64
- package/dist/types/components/number-keyboard/NumberKeyboard.d.ts +1 -4
- package/dist/types/components/number-keyboard/index.d.ts +1 -4
- package/dist/types/components/number-keyboard/tokens.d.ts +1 -42
- package/dist/types/components/number-keyboard/types.d.ts +1 -35
- package/dist/types/components/overlay/Overlay.d.ts +1 -5
- package/dist/types/components/overlay/index.d.ts +1 -5
- package/dist/types/components/overlay/tokens.d.ts +1 -6
- package/dist/types/components/overlay/types.d.ts +1 -13
- package/dist/types/components/password-input/PasswordInput.d.ts +1 -4
- package/dist/types/components/password-input/index.d.ts +1 -2
- package/dist/types/components/password-input/tokens.d.ts +1 -40
- package/dist/types/components/password-input/types.d.ts +1 -35
- package/dist/types/components/picker/Picker.d.ts +1 -32
- package/dist/types/components/picker/index.d.ts +1 -4
- package/dist/types/components/picker/tokens.d.ts +1 -39
- package/dist/types/components/picker/types.d.ts +1 -73
- package/dist/types/components/popup/Popup.d.ts +1 -5
- package/dist/types/components/popup/index.d.ts +1 -4
- package/dist/types/components/popup/tokens.d.ts +1 -48
- package/dist/types/components/popup/types.d.ts +1 -41
- package/dist/types/components/portal/Portal.d.ts +1 -14
- package/dist/types/components/portal/PortalContext.d.ts +1 -7
- package/dist/types/components/portal/PortalHost.d.ts +1 -11
- package/dist/types/components/portal/index.d.ts +1 -3
- package/dist/types/components/portal/tokens.d.ts +1 -3
- package/dist/types/components/portal/types.d.ts +1 -1
- package/dist/types/components/progress/Progress.d.ts +1 -8
- package/dist/types/components/progress/index.d.ts +1 -4
- package/dist/types/components/progress/tokens.d.ts +1 -4
- package/dist/types/components/progress/types.d.ts +1 -51
- package/dist/types/components/radio/Radio.d.ts +1 -3
- package/dist/types/components/radio/RadioContext.d.ts +1 -2
- package/dist/types/components/radio/RadioGroup.d.ts +1 -14
- package/dist/types/components/radio/index.d.ts +1 -7
- package/dist/types/components/radio/tokens.d.ts +1 -2
- package/dist/types/components/radio/types.d.ts +1 -95
- package/dist/types/components/safe-area-view/SafeAreaView.d.ts +1 -10
- package/dist/types/components/safe-area-view/index.d.ts +1 -2
- package/dist/types/components/safe-area-view/tokens.d.ts +1 -3
- package/dist/types/components/safe-area-view/types.d.ts +1 -1
- package/dist/types/components/search/Search.d.ts +1 -4
- package/dist/types/components/search/index.d.ts +1 -4
- package/dist/types/components/search/tokens.d.ts +1 -41
- package/dist/types/components/search/types.d.ts +1 -28
- package/dist/types/components/selector/Selector.d.ts +1 -7
- package/dist/types/components/selector/index.d.ts +1 -4
- package/dist/types/components/selector/tokens.d.ts +1 -2
- package/dist/types/components/selector/types.d.ts +1 -74
- package/dist/types/components/share-sheet/ShareSheet.d.ts +1 -4
- package/dist/types/components/share-sheet/index.d.ts +1 -4
- package/dist/types/components/share-sheet/tokens.d.ts +1 -40
- package/dist/types/components/share-sheet/types.d.ts +1 -26
- package/dist/types/components/sidebar/Sidebar.d.ts +1 -4
- package/dist/types/components/sidebar/SidebarContext.d.ts +1 -7
- package/dist/types/components/sidebar/SidebarItem.d.ts +1 -4
- package/dist/types/components/sidebar/index.d.ts +1 -8
- package/dist/types/components/sidebar/tokens.d.ts +1 -4
- package/dist/types/components/sidebar/types.d.ts +1 -64
- package/dist/types/components/skeleton/Skeleton.d.ts +1 -5
- package/dist/types/components/skeleton/index.d.ts +1 -5
- package/dist/types/components/skeleton/tokens.d.ts +1 -2
- package/dist/types/components/skeleton/types.d.ts +1 -45
- package/dist/types/components/slider/Slider.d.ts +1 -4
- package/dist/types/components/slider/index.d.ts +1 -3
- package/dist/types/components/slider/tokens.d.ts +1 -28
- package/dist/types/components/slider/types.d.ts +1 -38
- package/dist/types/components/space/Space.d.ts +1 -3
- package/dist/types/components/space/index.d.ts +1 -3
- package/dist/types/components/space/tokens.d.ts +1 -3
- package/dist/types/components/space/types.d.ts +1 -39
- package/dist/types/components/stepper/Stepper.d.ts +1 -4
- package/dist/types/components/stepper/index.d.ts +1 -4
- package/dist/types/components/stepper/tokens.d.ts +1 -46
- package/dist/types/components/stepper/types.d.ts +1 -46
- package/dist/types/components/swiper/Swiper.d.ts +1 -9
- package/dist/types/components/swiper/SwiperItem.d.ts +1 -1
- package/dist/types/components/swiper/SwiperPagIndicator.d.ts +1 -36
- package/dist/types/components/swiper/index.d.ts +1 -14
- package/dist/types/components/swiper/tokens.d.ts +1 -11
- package/dist/types/components/swiper/types.d.ts +1 -29
- package/dist/types/components/switch/Switch.d.ts +1 -7
- package/dist/types/components/switch/index.d.ts +1 -4
- package/dist/types/components/switch/tokens.d.ts +1 -2
- package/dist/types/components/switch/types.d.ts +1 -33
- package/dist/types/components/tabbar/Tabbar.d.ts +1 -4
- package/dist/types/components/tabbar/TabbarContext.d.ts +1 -13
- package/dist/types/components/tabbar/TabbarItem.d.ts +1 -4
- package/dist/types/components/tabbar/index.d.ts +1 -9
- package/dist/types/components/tabbar/tokens.d.ts +1 -28
- package/dist/types/components/tabbar/types.d.ts +1 -39
- package/dist/types/components/tabs/Tabs.d.ts +1 -8
- package/dist/types/components/tabs/index.d.ts +1 -10
- package/dist/types/components/tabs/tokens.d.ts +1 -96
- package/dist/types/components/tabs/types.d.ts +1 -64
- package/dist/types/components/tag/Tag.d.ts +1 -3
- package/dist/types/components/tag/index.d.ts +1 -3
- package/dist/types/components/tag/tokens.d.ts +1 -4
- package/dist/types/components/tag/types.d.ts +1 -69
- package/dist/types/components/theme.d.ts +1 -112
- package/dist/types/components/toast/Toast.d.ts +1 -33
- package/dist/types/components/toast/imperative.d.ts +1 -22
- package/dist/types/components/toast/index.d.ts +1 -15
- package/dist/types/components/toast/tokens.d.ts +1 -29
- package/dist/types/components/toast/types.d.ts +1 -1
- package/dist/types/components/typography/Typography.d.ts +1 -11
- package/dist/types/components/typography/index.d.ts +1 -3
- package/dist/types/components/typography/tokens.d.ts +1 -2
- package/dist/types/components/typography/types.d.ts +1 -66
- package/dist/types/components/water-mark/WaterMark.d.ts +1 -4
- package/dist/types/components/water-mark/index.d.ts +1 -5
- package/dist/types/components/water-mark/tokens.d.ts +1 -2
- package/dist/types/components/water-mark/types.d.ts +1 -58
- package/dist/types/design-system/Text.d.ts +1 -3
- package/dist/types/design-system/ThemeContext.d.ts +1 -14
- package/dist/types/design-system/ThemeProvider.d.ts +1 -14
- package/dist/types/design-system/createComponentTokensHook.d.ts +1 -4
- package/dist/types/design-system/index.d.ts +1 -11
- package/dist/types/design-system/mergeTokensOverride.d.ts +1 -2
- package/dist/types/design-system/presets.d.ts +1 -8
- package/dist/types/design-system/tokens.d.ts +1 -74
- package/dist/types/design-system/useTheme.d.ts +1 -1
- package/dist/types/hooks/animation/index.d.ts +1 -3
- package/dist/types/hooks/animation/useAnimatedTransition.d.ts +1 -13
- package/dist/types/hooks/animation/useReducedMotion.d.ts +1 -3
- package/dist/types/hooks/aria/index.d.ts +1 -4
- package/dist/types/hooks/aria/useAriaListBox.d.ts +1 -14
- package/dist/types/hooks/aria/useAriaOverlay.d.ts +1 -14
- package/dist/types/hooks/aria/useAriaPress.d.ts +1 -19
- package/dist/types/hooks/aria/useAriaToggle.d.ts +1 -12
- package/dist/types/hooks/calendar/utils.d.ts +1 -0
- package/dist/types/hooks/cascader/utils.d.ts +1 -0
- package/dist/types/hooks/dialog/ActionButton.d.ts +1 -0
- package/dist/types/hooks/field/renderers.d.ts +1 -0
- package/dist/types/hooks/form/utils.d.ts +1 -0
- package/dist/types/hooks/gesture/index.d.ts +1 -1
- package/dist/types/hooks/gesture/useGestureScroll.d.ts +1 -33
- package/dist/types/hooks/index.d.ts +1 -9
- package/dist/types/hooks/number-keyboard/utils.d.ts +1 -0
- package/dist/types/hooks/overlay/OverlayStackStore.d.ts +1 -39
- package/dist/types/hooks/overlay/index.d.ts +1 -2
- package/dist/types/hooks/overlay/useOverlayStack.d.ts +1 -10
- package/dist/types/hooks/picker/normalize.d.ts +1 -0
- package/dist/types/hooks/picker/value.d.ts +1 -0
- package/dist/types/hooks/popup/utils.d.ts +1 -0
- package/dist/types/hooks/slider/utils.d.ts +1 -0
- package/dist/types/hooks/swiper/utils.d.ts +1 -0
- package/dist/types/hooks/tabs/TabBarItem.d.ts +1 -0
- package/dist/types/hooks/tabs/useTabsInternals.d.ts +1 -0
- package/dist/types/hooks/useControllableValue.d.ts +1 -9
- package/dist/types/hooks/useCountDown.d.ts +1 -23
- package/dist/types/hooks/useHairline.d.ts +1 -10
- package/dist/types/hooks/useSafeAreaPadding.d.ts +1 -13
- package/dist/types/index.d.ts +1 -9
- package/dist/types/nativewind.d.ts +1 -4
- package/dist/types/platform/animation.d.ts +1 -9
- package/dist/types/platform/history.d.ts +1 -1
- package/dist/types/platform/index.d.ts +1 -5
- package/dist/types/platform/measure.d.ts +1 -7
- package/dist/types/platform/runtime.d.ts +1 -3
- package/dist/types/platform/scrollLock.d.ts +1 -2
- package/dist/types/types.d.ts +1 -4
- package/dist/types/utils/array.d.ts +1 -1
- package/dist/types/utils/color.d.ts +1 -3
- package/dist/types/utils/compare.d.ts +1 -2
- package/dist/types/utils/createPlatformShadow.d.ts +1 -11
- package/dist/types/utils/date.d.ts +1 -13
- package/dist/types/utils/deepMerge.d.ts +1 -3
- package/dist/types/utils/hairline.d.ts +1 -15
- package/dist/types/utils/index.d.ts +1 -13
- package/dist/types/utils/number.d.ts +1 -11
- package/dist/types/utils/promise.d.ts +1 -1
- package/dist/types/utils/render.d.ts +1 -5
- package/dist/types/utils/rtl.d.ts +1 -5
- package/dist/types/utils/string.d.ts +1 -3
- package/dist/types/utils/validate.d.ts +1 -13
- package/package.json +38 -45
|
@@ -1,32 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DeepPartial } from '../../types';
|
|
3
|
-
export interface LoadingTokens {
|
|
4
|
-
defaults: {
|
|
5
|
-
size: number;
|
|
6
|
-
textSize: number;
|
|
7
|
-
vertical: boolean;
|
|
8
|
-
};
|
|
9
|
-
layout: {
|
|
10
|
-
container: ViewStyle;
|
|
11
|
-
text: TextStyle;
|
|
12
|
-
};
|
|
13
|
-
colors: {
|
|
14
|
-
indicator: string;
|
|
15
|
-
text: string;
|
|
16
|
-
};
|
|
17
|
-
spacing: {
|
|
18
|
-
gap: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export interface LoadingProps extends ViewProps {
|
|
22
|
-
['aria-label']?: string;
|
|
23
|
-
color?: string;
|
|
24
|
-
size?: number;
|
|
25
|
-
textSize?: number;
|
|
26
|
-
textColor?: string;
|
|
27
|
-
vertical?: boolean;
|
|
28
|
-
children?: React.ReactNode;
|
|
29
|
-
textStyle?: StyleProp<TextStyle>;
|
|
30
|
-
contentStyle?: StyleProp<ViewStyle>;
|
|
31
|
-
tokensOverride?: DeepPartial<LoadingTokens>;
|
|
32
|
-
}
|
|
1
|
+
import type{StyleProp,TextStyle,ViewProps,ViewStyle}from'react-native';import type{DeepPartial}from'../../types';export interface LoadingTokens{defaults:{size:number;textSize:number;vertical:boolean;};layout:{container:ViewStyle;text:TextStyle;};colors:{indicator:string;text:string;};spacing:{gap:number;};}export interface LoadingProps extends ViewProps{['aria-label']?:string;color?:string;size?:number;textSize?:number;textColor?:string;vertical?:boolean;children?:React.ReactNode;textStyle?:StyleProp<TextStyle>;contentStyle?:StyleProp<ViewStyle>;tokensOverride?:DeepPartial<LoadingTokens>;}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { NavBarProps } from './types';
|
|
3
|
-
declare const NavBarBase: React.NamedExoticComponent<NavBarProps>;
|
|
4
|
-
export default NavBarBase;
|
|
1
|
+
import React from'react';import type{NavBarProps}from'./types';declare const NavBarBase:React.NamedExoticComponent<NavBarProps>;export default NavBarBase;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import NavBarBase from
|
|
2
|
-
export type { NavBarProps } from './types';
|
|
3
|
-
export { useNavBarTokens } from './tokens';
|
|
4
|
-
export default NavBarBase;
|
|
1
|
+
import NavBarBase from'./NavBar';export type{NavBarProps}from'./types';export{useNavBarTokens}from'./tokens';export default NavBarBase;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { NavBarTokens } from './types';
|
|
3
|
-
export declare const createNavBarTokens: (foundations: Foundations) => NavBarTokens;
|
|
4
|
-
export declare const useNavBarTokens: (overrides?: import("../..").DeepPartial<NavBarTokens> | undefined) => NavBarTokens;
|
|
1
|
+
import{type Foundations}from'../../design-system/tokens';import type{NavBarTokens}from'./types';export declare const createNavBarTokens:(foundations:Foundations)=>NavBarTokens;export declare const useNavBarTokens:(overrides?:import("../..").DeepPartial<NavBarTokens>|undefined)=>NavBarTokens;
|
|
@@ -1,67 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { StyleProp, TextStyle, ViewProps, ViewStyle } from 'react-native';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
export interface NavBarTokens {
|
|
5
|
-
defaults: {
|
|
6
|
-
fixed: boolean;
|
|
7
|
-
placeholder: boolean;
|
|
8
|
-
border: boolean;
|
|
9
|
-
safeAreaInsetTop: boolean;
|
|
10
|
-
leftArrow: boolean;
|
|
11
|
-
zIndex: number;
|
|
12
|
-
};
|
|
13
|
-
layout: {
|
|
14
|
-
container: ViewStyle;
|
|
15
|
-
bar: ViewStyle;
|
|
16
|
-
center: ViewStyle;
|
|
17
|
-
side: ViewStyle;
|
|
18
|
-
rightAlign: ViewStyle;
|
|
19
|
-
sidePlaceholder: ViewStyle;
|
|
20
|
-
titleWrapper: ViewStyle;
|
|
21
|
-
title: TextStyle;
|
|
22
|
-
description: TextStyle;
|
|
23
|
-
sideText: TextStyle;
|
|
24
|
-
fixed: ViewStyle;
|
|
25
|
-
};
|
|
26
|
-
colors: {
|
|
27
|
-
background: string;
|
|
28
|
-
text: string;
|
|
29
|
-
description: string;
|
|
30
|
-
border: string;
|
|
31
|
-
icon: string;
|
|
32
|
-
};
|
|
33
|
-
typography: {
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
titleSize: number;
|
|
36
|
-
titleWeight: NonNullable<TextStyle['fontWeight']>;
|
|
37
|
-
descriptionSize: number;
|
|
38
|
-
};
|
|
39
|
-
sizing: {
|
|
40
|
-
height: number;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export interface NavBarProps extends Omit<ViewProps, 'children'> {
|
|
44
|
-
title?: React.ReactNode;
|
|
45
|
-
description?: React.ReactNode;
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
leftText?: React.ReactNode;
|
|
48
|
-
rightText?: React.ReactNode;
|
|
49
|
-
leftIcon?: React.ReactNode;
|
|
50
|
-
rightIcon?: React.ReactNode;
|
|
51
|
-
leftArrow?: boolean | React.ReactNode;
|
|
52
|
-
fixed?: boolean;
|
|
53
|
-
placeholder?: boolean;
|
|
54
|
-
zIndex?: number;
|
|
55
|
-
border?: boolean;
|
|
56
|
-
safeAreaInsetTop?: boolean;
|
|
57
|
-
background?: string;
|
|
58
|
-
tintColor?: string;
|
|
59
|
-
tokensOverride?: DeepPartial<NavBarTokens>;
|
|
60
|
-
titleStyle?: StyleProp<TextStyle>;
|
|
61
|
-
descriptionStyle?: StyleProp<TextStyle>;
|
|
62
|
-
sideStyle?: StyleProp<ViewStyle>;
|
|
63
|
-
onPressLeft?: () => void;
|
|
64
|
-
onClickLeft?: () => void;
|
|
65
|
-
onPressRight?: () => void;
|
|
66
|
-
onClickRight?: () => void;
|
|
67
|
-
}
|
|
1
|
+
import type*as React from'react';import type{StyleProp,TextStyle,ViewProps,ViewStyle}from'react-native';import type{DeepPartial}from'../../types';export interface NavBarTokens{defaults:{fixed:boolean;placeholder:boolean;border:boolean;safeAreaInsetTop:boolean;leftArrow:boolean;zIndex:number;};layout:{container:ViewStyle;bar:ViewStyle;center:ViewStyle;side:ViewStyle;rightAlign:ViewStyle;sidePlaceholder:ViewStyle;titleWrapper:ViewStyle;title:TextStyle;description:TextStyle;sideText:TextStyle;fixed:ViewStyle;};colors:{background:string;text:string;description:string;border:string;icon:string;};typography:{fontFamily:string;titleSize:number;titleWeight:NonNullable<TextStyle['fontWeight']>;descriptionSize:number;};sizing:{height:number;};}export interface NavBarProps extends Omit<ViewProps,'children'>{title?:React.ReactNode;description?:React.ReactNode;children?:React.ReactNode;leftText?:React.ReactNode;rightText?:React.ReactNode;leftIcon?:React.ReactNode;rightIcon?:React.ReactNode;leftArrow?:boolean|React.ReactNode;fixed?:boolean;placeholder?:boolean;zIndex?:number;border?:boolean;safeAreaInsetTop?:boolean;background?:string;tintColor?:string;tokensOverride?:DeepPartial<NavBarTokens>;titleStyle?:StyleProp<TextStyle>;descriptionStyle?:StyleProp<TextStyle>;sideStyle?:StyleProp<ViewStyle>;onPressLeft?:()=>void;onClickLeft?:()=>void;onPressRight?:()=>void;onClickRight?:()=>void;}
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { NoticeBarProps } from './types';
|
|
3
|
-
export declare const NoticeBar: React.NamedExoticComponent<NoticeBarProps>;
|
|
1
|
+
import React from'react';import type{NoticeBarProps}from'./types';export declare const NoticeBar:React.NamedExoticComponent<NoticeBarProps>;
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export interface NoticeBarTokens {
|
|
3
|
-
colors: {
|
|
4
|
-
text: string;
|
|
5
|
-
background: string;
|
|
6
|
-
};
|
|
7
|
-
typography: {
|
|
8
|
-
fontFamily: string;
|
|
9
|
-
fontSize: number;
|
|
10
|
-
};
|
|
11
|
-
layout: {
|
|
12
|
-
minHeight: number;
|
|
13
|
-
radius: number;
|
|
14
|
-
sideMinWidth: number;
|
|
15
|
-
};
|
|
16
|
-
spacing: {
|
|
17
|
-
paddingHorizontal: number;
|
|
18
|
-
paddingVertical: number;
|
|
19
|
-
wrapPaddingVertical: number;
|
|
20
|
-
sidePadding: number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export declare const createNoticeBarTokens: (foundations: Foundations) => NoticeBarTokens;
|
|
24
|
-
export declare const useNoticeBarTokens: (overrides?: import("../..").DeepPartial<NoticeBarTokens> | undefined) => NoticeBarTokens;
|
|
1
|
+
import type{Foundations}from'../../design-system/tokens';export interface NoticeBarTokens{colors:{text:string;background:string;};typography:{fontFamily:string;fontSize:number;};layout:{minHeight:number;radius:number;sideMinWidth:number;};spacing:{paddingHorizontal:number;paddingVertical:number;wrapPaddingVertical:number;sidePadding:number;};}export declare const createNoticeBarTokens:(foundations:Foundations)=>NoticeBarTokens;export declare const useNoticeBarTokens:(overrides?:import("../..").DeepPartial<NoticeBarTokens>|undefined)=>NoticeBarTokens;
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DeepPartial } from '../../types';
|
|
3
|
-
import type { NoticeBarTokens } from './tokens';
|
|
4
|
-
export type NoticeBarMode = 'closeable' | 'link';
|
|
5
|
-
export interface NoticeBarProps extends ViewProps {
|
|
6
|
-
text?: React.ReactNode;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
color?: string;
|
|
9
|
-
background?: string;
|
|
10
|
-
leftIcon?: React.ReactNode;
|
|
11
|
-
rightIcon?: React.ReactNode;
|
|
12
|
-
mode?: NoticeBarMode;
|
|
13
|
-
tokensOverride?: DeepPartial<NoticeBarTokens>;
|
|
14
|
-
delay?: number;
|
|
15
|
-
speed?: number;
|
|
16
|
-
scrollable?: boolean;
|
|
17
|
-
wrapable?: boolean;
|
|
18
|
-
direction?: 'horizontal' | 'vertical';
|
|
19
|
-
items?: React.ReactNode[];
|
|
20
|
-
verticalInterval?: number;
|
|
21
|
-
verticalDuration?: number;
|
|
22
|
-
onPress?: () => void;
|
|
23
|
-
onClose?: () => void;
|
|
24
|
-
onReplay?: () => void;
|
|
25
|
-
textProps?: TextProps;
|
|
26
|
-
}
|
|
1
|
+
import type{TextProps,ViewProps}from'react-native';import type{DeepPartial}from'../../types';import type{NoticeBarTokens}from'./tokens';export type NoticeBarMode='closeable'|'link';export interface NoticeBarProps extends ViewProps{text?:React.ReactNode;children?:React.ReactNode;color?:string;background?:string;leftIcon?:React.ReactNode;rightIcon?:React.ReactNode;mode?:NoticeBarMode;tokensOverride?:DeepPartial<NoticeBarTokens>;delay?:number;speed?:number;scrollable?:boolean;wrapable?:boolean;direction?:'horizontal'|'vertical';items?:React.ReactNode[];verticalInterval?:number;verticalDuration?:number;onPress?:()=>void;onClose?:()=>void;onReplay?:()=>void;textProps?:TextProps;}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { NotifyProps } from './types';
|
|
3
|
-
export type { NotifyProps, NotifyPosition, NotifyType, NotifyTokens } from './types';
|
|
4
|
-
export declare const NotifyContent: React.NamedExoticComponent<NotifyProps>;
|
|
5
|
-
export declare const Notify: React.NamedExoticComponent<NotifyProps>;
|
|
6
|
-
export default Notify;
|
|
1
|
+
import React from'react';import type{NotifyProps}from'./types';export type{NotifyProps,NotifyPosition,NotifyType,NotifyTokens}from'./types';export declare const NotifyContent:React.NamedExoticComponent<NotifyProps>;export declare const Notify:React.NamedExoticComponent<NotifyProps>;export default Notify;
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { NotifyProps, NotifyType } from './types';
|
|
3
|
-
export type NotifyShowOptions = Omit<NotifyProps, 'visible'> & {
|
|
4
|
-
message?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
export type NotifyInput = NotifyShowOptions | React.ReactNode;
|
|
7
|
-
export interface NotifyReturnType {
|
|
8
|
-
clear: () => void;
|
|
9
|
-
update: (options: NotifyInput) => void;
|
|
10
|
-
config: (options: NotifyInput | ((prev: NotifyShowOptions) => NotifyInput)) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const NotifyImperative: {
|
|
13
|
-
show: (options?: NotifyInput) => NotifyReturnType;
|
|
14
|
-
primary: (options?: NotifyInput) => NotifyReturnType;
|
|
15
|
-
success: (options?: NotifyInput) => NotifyReturnType;
|
|
16
|
-
danger: (options?: NotifyInput) => NotifyReturnType;
|
|
17
|
-
warning: (options?: NotifyInput) => NotifyReturnType;
|
|
18
|
-
clear: () => void;
|
|
19
|
-
allowMultiple: (value?: boolean) => void;
|
|
20
|
-
setDefaultOptions: (typeOrOptions: NotifyType | NotifyShowOptions, options?: NotifyShowOptions) => void;
|
|
21
|
-
resetDefaultOptions: (type?: NotifyType) => void;
|
|
22
|
-
};
|
|
1
|
+
import React from'react';import type{NotifyProps,NotifyType}from'./types';export type NotifyShowOptions=Omit<NotifyProps,'visible'>&{message?:React.ReactNode;};export type NotifyInput=NotifyShowOptions|React.ReactNode;export interface NotifyReturnType{clear:()=>void;update:(options:NotifyInput)=>void;config:(options:NotifyInput|((prev:NotifyShowOptions)=>NotifyInput))=>void;}export declare const NotifyImperative:{show:(options?:NotifyInput)=>NotifyReturnType;primary:(options?:NotifyInput)=>NotifyReturnType;success:(options?:NotifyInput)=>NotifyReturnType;danger:(options?:NotifyInput)=>NotifyReturnType;warning:(options?:NotifyInput)=>NotifyReturnType;clear:()=>void;allowMultiple:(value?:boolean)=>void;setDefaultOptions:(typeOrOptions:NotifyType|NotifyShowOptions,options?:NotifyShowOptions)=>void;resetDefaultOptions:(type?:NotifyType)=>void;};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
declare const Notify:
|
|
2
|
-
show: (options?: import("./imperative").NotifyInput) => import("./imperative").NotifyReturnType;
|
|
3
|
-
primary: (options?: import("./imperative").NotifyInput) => import("./imperative").NotifyReturnType;
|
|
4
|
-
success: (options?: import("./imperative").NotifyInput) => import("./imperative").NotifyReturnType;
|
|
5
|
-
danger: (options?: import("./imperative").NotifyInput) => import("./imperative").NotifyReturnType;
|
|
6
|
-
warning: (options?: import("./imperative").NotifyInput) => import("./imperative").NotifyReturnType;
|
|
7
|
-
clear: () => void;
|
|
8
|
-
allowMultiple: (value?: boolean) => void;
|
|
9
|
-
setDefaultOptions: (typeOrOptions: import("./types").NotifyType | import("./imperative").NotifyShowOptions, options?: import("./imperative").NotifyShowOptions) => void;
|
|
10
|
-
resetDefaultOptions: (type?: import("./types").NotifyType) => void;
|
|
11
|
-
};
|
|
12
|
-
export type { NotifyProps, NotifyType, NotifyPosition } from './types';
|
|
13
|
-
export type { NotifyShowOptions, NotifyInput, NotifyReturnType } from './imperative';
|
|
14
|
-
export default Notify;
|
|
15
|
-
export { Notify };
|
|
1
|
+
declare const Notify:import("react").NamedExoticComponent<import("./types").NotifyProps>&{show:(options?:import("./imperative").NotifyInput)=>import("./imperative").NotifyReturnType;primary:(options?:import("./imperative").NotifyInput)=>import("./imperative").NotifyReturnType;success:(options?:import("./imperative").NotifyInput)=>import("./imperative").NotifyReturnType;danger:(options?:import("./imperative").NotifyInput)=>import("./imperative").NotifyReturnType;warning:(options?:import("./imperative").NotifyInput)=>import("./imperative").NotifyReturnType;clear:()=>void;allowMultiple:(value?:boolean)=>void;setDefaultOptions:(typeOrOptions:import("./types").NotifyType|import("./imperative").NotifyShowOptions,options?:import("./imperative").NotifyShowOptions)=>void;resetDefaultOptions:(type?:import("./types").NotifyType)=>void;};export type{NotifyProps,NotifyType,NotifyPosition}from'./types';export type{NotifyShowOptions,NotifyInput,NotifyReturnType}from'./imperative';export default Notify;export{Notify};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { NotifyTokens } from './types';
|
|
3
|
-
export declare const createNotifyTokens: (foundations: Foundations) => NotifyTokens;
|
|
4
|
-
export declare const useNotifyTokens: (overrides?: import("../..").DeepPartial<NotifyTokens> | undefined) => NotifyTokens;
|
|
1
|
+
import type{Foundations}from'../../design-system/tokens';import type{NotifyTokens}from'./types';export declare const createNotifyTokens:(foundations:Foundations)=>NotifyTokens;export declare const useNotifyTokens:(overrides?:import("../..").DeepPartial<NotifyTokens>|undefined)=>NotifyTokens;
|
|
@@ -1,64 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
export type NotifyType = 'primary' | 'success' | 'danger' | 'warning';
|
|
5
|
-
export type NotifyPosition = 'top' | 'bottom';
|
|
6
|
-
export interface NotifyTokens {
|
|
7
|
-
defaults: {
|
|
8
|
-
type: NotifyType;
|
|
9
|
-
position: NotifyPosition;
|
|
10
|
-
duration: number;
|
|
11
|
-
closeOnClick: boolean;
|
|
12
|
-
animationDuration: number;
|
|
13
|
-
safeAreaInsetTop: boolean;
|
|
14
|
-
safeAreaInsetBottom: boolean;
|
|
15
|
-
};
|
|
16
|
-
layout: {
|
|
17
|
-
portal: ViewStyle;
|
|
18
|
-
container: ViewStyle;
|
|
19
|
-
safeArea: ViewStyle;
|
|
20
|
-
content: ViewStyle;
|
|
21
|
-
text: TextStyle;
|
|
22
|
-
};
|
|
23
|
-
colors: {
|
|
24
|
-
variants: Record<NotifyType, {
|
|
25
|
-
background: string;
|
|
26
|
-
text: string;
|
|
27
|
-
}>;
|
|
28
|
-
};
|
|
29
|
-
typography: {
|
|
30
|
-
fontFamily: string;
|
|
31
|
-
fontSize: number;
|
|
32
|
-
lineHeight: number;
|
|
33
|
-
};
|
|
34
|
-
sizing: {
|
|
35
|
-
minHeight: number;
|
|
36
|
-
};
|
|
37
|
-
spacing: {
|
|
38
|
-
paddingVertical: number;
|
|
39
|
-
paddingHorizontal: number;
|
|
40
|
-
none: number;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export interface NotifyProps {
|
|
44
|
-
visible: boolean;
|
|
45
|
-
message?: React.ReactNode;
|
|
46
|
-
type?: NotifyType;
|
|
47
|
-
duration?: number;
|
|
48
|
-
position?: NotifyPosition;
|
|
49
|
-
offset?: number;
|
|
50
|
-
color?: string;
|
|
51
|
-
background?: string;
|
|
52
|
-
safeAreaInsetTop?: boolean;
|
|
53
|
-
safeAreaInsetBottom?: boolean;
|
|
54
|
-
zIndex?: number;
|
|
55
|
-
closeOnClick?: boolean;
|
|
56
|
-
style?: StyleProp<ViewStyle>;
|
|
57
|
-
textStyle?: StyleProp<TextStyle>;
|
|
58
|
-
tokensOverride?: DeepPartial<NotifyTokens>;
|
|
59
|
-
onClick?: () => void;
|
|
60
|
-
onClose?: () => void;
|
|
61
|
-
onOpen?: () => void;
|
|
62
|
-
onOpened?: () => void;
|
|
63
|
-
onClosed?: () => void;
|
|
64
|
-
}
|
|
1
|
+
import type*as React from'react';import type{StyleProp,TextStyle,ViewStyle}from'react-native';import type{DeepPartial}from'../../types';export type NotifyType='primary'|'success'|'danger'|'warning';export type NotifyPosition='top'|'bottom';export interface NotifyTokens{defaults:{type:NotifyType;position:NotifyPosition;duration:number;closeOnClick:boolean;animationDuration:number;safeAreaInsetTop:boolean;safeAreaInsetBottom:boolean;};layout:{portal:ViewStyle;container:ViewStyle;safeArea:ViewStyle;content:ViewStyle;text:TextStyle;};colors:{variants:Record<NotifyType,{background:string;text:string;}>;};typography:{fontFamily:string;fontSize:number;lineHeight:number;};sizing:{minHeight:number;};spacing:{paddingVertical:number;paddingHorizontal:number;none:number;};}export interface NotifyProps{visible:boolean;message?:React.ReactNode;type?:NotifyType;duration?:number;position?:NotifyPosition;offset?:number;color?:string;background?:string;safeAreaInsetTop?:boolean;safeAreaInsetBottom?:boolean;zIndex?:number;closeOnClick?:boolean;style?:StyleProp<ViewStyle>;textStyle?:StyleProp<TextStyle>;tokensOverride?:DeepPartial<NotifyTokens>;onClick?:()=>void;onClose?:()=>void;onOpen?:()=>void;onOpened?:()=>void;onClosed?:()=>void;}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { NumberKeyboardProps } from './types';
|
|
3
|
-
declare const NumberKeyboard: React.MemoExoticComponent<(props: NumberKeyboardProps) => React.JSX.Element | null>;
|
|
4
|
-
export default NumberKeyboard;
|
|
1
|
+
import React from'react';import type{NumberKeyboardProps}from'./types';declare const NumberKeyboard:React.MemoExoticComponent<(props:NumberKeyboardProps)=>React.JSX.Element|null>;export default NumberKeyboard;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import NumberKeyboard from
|
|
2
|
-
export default NumberKeyboard;
|
|
3
|
-
export { NumberKeyboard };
|
|
4
|
-
export type { NumberKeyboardProps, NumberKeyboardTheme } from './types';
|
|
1
|
+
import NumberKeyboard from'./NumberKeyboard';export default NumberKeyboard;export{NumberKeyboard};export type{NumberKeyboardProps,NumberKeyboardTheme}from'./types';
|
|
@@ -1,42 +1 @@
|
|
|
1
|
-
export interface NumberKeyboardTokens
|
|
2
|
-
colors: {
|
|
3
|
-
background: string;
|
|
4
|
-
title: string;
|
|
5
|
-
keyBackground: string;
|
|
6
|
-
keyActiveBackground: string;
|
|
7
|
-
keyText: string;
|
|
8
|
-
keyTextActive: string;
|
|
9
|
-
closeBackground: string;
|
|
10
|
-
closeActiveBackground: string;
|
|
11
|
-
closeText: string;
|
|
12
|
-
border: string;
|
|
13
|
-
};
|
|
14
|
-
spacing: {
|
|
15
|
-
paddingHorizontal: number;
|
|
16
|
-
paddingVertical: number;
|
|
17
|
-
keyGap: number;
|
|
18
|
-
titlePadding: number;
|
|
19
|
-
};
|
|
20
|
-
sizing: {
|
|
21
|
-
keyHeight: number;
|
|
22
|
-
closeHeight: number;
|
|
23
|
-
fontSize: number;
|
|
24
|
-
defaultIconFontSize?: number;
|
|
25
|
-
auxFontSize?: number;
|
|
26
|
-
titleFontSize: number;
|
|
27
|
-
};
|
|
28
|
-
typography: {
|
|
29
|
-
fontFamily: string;
|
|
30
|
-
};
|
|
31
|
-
radii: {
|
|
32
|
-
key: number;
|
|
33
|
-
};
|
|
34
|
-
shadow: {
|
|
35
|
-
color: string;
|
|
36
|
-
opacity: number;
|
|
37
|
-
radius: number;
|
|
38
|
-
offsetY: number;
|
|
39
|
-
elevation: number;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export declare const useNumberKeyboardTokens: (overrides?: import("../..").DeepPartial<NumberKeyboardTokens> | undefined) => NumberKeyboardTokens;
|
|
1
|
+
export interface NumberKeyboardTokens{colors:{background:string;title:string;keyBackground:string;keyActiveBackground:string;keyText:string;keyTextActive:string;closeBackground:string;closeActiveBackground:string;closeText:string;border:string;};spacing:{paddingHorizontal:number;paddingVertical:number;keyGap:number;titlePadding:number;};sizing:{keyHeight:number;closeHeight:number;fontSize:number;defaultIconFontSize?:number;auxFontSize?:number;titleFontSize:number;};typography:{fontFamily:string;};radii:{key:number;};shadow:{color:string;opacity:number;radius:number;offsetY:number;elevation:number;};}export declare const useNumberKeyboardTokens:(overrides?:import("../..").DeepPartial<NumberKeyboardTokens>|undefined)=>NumberKeyboardTokens;
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { ViewProps } from 'react-native';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
import type { NumberKeyboardTokens } from './tokens';
|
|
5
|
-
export type NumberKeyboardTheme = 'default' | 'custom';
|
|
6
|
-
export type NumberKeyboardKeyType = '' | 'delete' | 'extra' | 'close';
|
|
7
|
-
export interface NumberKeyboardProps extends ViewProps {
|
|
8
|
-
visible: boolean;
|
|
9
|
-
value?: string;
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
title?: React.ReactNode;
|
|
12
|
-
tokensOverride?: DeepPartial<NumberKeyboardTokens>;
|
|
13
|
-
extraKey?: string | string[];
|
|
14
|
-
closeButtonText?: string;
|
|
15
|
-
deleteButtonText?: string;
|
|
16
|
-
closeButtonLoading?: boolean;
|
|
17
|
-
showDeleteKey?: boolean;
|
|
18
|
-
randomKeyOrder?: boolean;
|
|
19
|
-
blurOnClose?: boolean;
|
|
20
|
-
safeAreaInsetBottom?: boolean;
|
|
21
|
-
theme?: NumberKeyboardTheme;
|
|
22
|
-
transition?: boolean;
|
|
23
|
-
transitionDuration?: number;
|
|
24
|
-
onInput?: (key: string) => void;
|
|
25
|
-
onDelete?: () => void;
|
|
26
|
-
onClose?: () => void;
|
|
27
|
-
onHide?: () => void;
|
|
28
|
-
onShow?: () => void;
|
|
29
|
-
onBlur?: () => void;
|
|
30
|
-
onChange?: (value: string) => void;
|
|
31
|
-
maxlength?: number;
|
|
32
|
-
numberKeyRender?: (key: string) => React.ReactNode;
|
|
33
|
-
deleteRender?: () => React.ReactNode;
|
|
34
|
-
extraKeyRender?: (key: string) => React.ReactNode;
|
|
35
|
-
}
|
|
1
|
+
import type React from'react';import type{ViewProps}from'react-native';import type{DeepPartial}from'../../types';import type{NumberKeyboardTokens}from'./tokens';export type NumberKeyboardTheme='default'|'custom';export type NumberKeyboardKeyType=''|'delete'|'extra'|'close';export interface NumberKeyboardProps extends ViewProps{visible:boolean;value?:string;defaultValue?:string;title?:React.ReactNode;tokensOverride?:DeepPartial<NumberKeyboardTokens>;extraKey?:string|string[];closeButtonText?:string;deleteButtonText?:string;closeButtonLoading?:boolean;showDeleteKey?:boolean;randomKeyOrder?:boolean;blurOnClose?:boolean;safeAreaInsetBottom?:boolean;theme?:NumberKeyboardTheme;transition?:boolean;transitionDuration?:number;onInput?:(key:string)=>void;onDelete?:()=>void;onClose?:()=>void;onHide?:()=>void;onShow?:()=>void;onBlur?:()=>void;onChange?:(value:string)=>void;maxlength?:number;numberKeyRender?:(key:string)=>React.ReactNode;deleteRender?:()=>React.ReactNode;extraKeyRender?:(key:string)=>React.ReactNode;}
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { Modal } from 'react-native';
|
|
3
|
-
import type { OverlayProps } from './types';
|
|
4
|
-
export declare const Overlay: React.NamedExoticComponent<OverlayProps & React.RefAttributes<Modal>>;
|
|
5
|
-
export default Overlay;
|
|
1
|
+
import React from'react';import{Modal}from'react-native';import type{OverlayProps}from'./types';export declare const Overlay:React.NamedExoticComponent<OverlayProps&React.RefAttributes<Modal>>;export default Overlay;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import Overlay from
|
|
2
|
-
import { OverlayProvider } from '@react-native-aria/overlays';
|
|
3
|
-
export type { OverlayProps } from './types';
|
|
4
|
-
export { Overlay, OverlayProvider };
|
|
5
|
-
export default Overlay;
|
|
1
|
+
import Overlay from'./Overlay';import{OverlayProvider}from'@react-native-aria/overlays';export type{OverlayProps}from'./types';export{Overlay,OverlayProvider};export default Overlay;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
export interface OverlayTokens
|
|
2
|
-
layer: {
|
|
3
|
-
zIndex: number;
|
|
4
|
-
};
|
|
5
|
-
}
|
|
6
|
-
export declare const useOverlayTokens: (overrides?: import("../..").DeepPartial<OverlayTokens> | undefined) => OverlayTokens;
|
|
1
|
+
export interface OverlayTokens{layer:{zIndex:number;};}export declare const useOverlayTokens:(overrides?:import("../..").DeepPartial<OverlayTokens>|undefined)=>OverlayTokens;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
export interface OverlayProps {
|
|
4
|
-
isOpen?: boolean;
|
|
5
|
-
visible?: boolean;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
useRNModalOnAndroid?: boolean;
|
|
8
|
-
useRNModal?: boolean;
|
|
9
|
-
onRequestClose?: () => void;
|
|
10
|
-
isKeyboardDismissable?: boolean;
|
|
11
|
-
animationPreset?: 'fade' | 'slide' | 'none';
|
|
12
|
-
style?: StyleProp<ViewStyle>;
|
|
13
|
-
}
|
|
1
|
+
import type*as React from'react';import type{StyleProp,ViewStyle}from'react-native';export interface OverlayProps{isOpen?:boolean;visible?:boolean;children?:React.ReactNode;useRNModalOnAndroid?:boolean;useRNModal?:boolean;onRequestClose?:()=>void;isKeyboardDismissable?:boolean;animationPreset?:'fade'|'slide'|'none';style?:StyleProp<ViewStyle>;}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { PasswordInputProps, PasswordInputRef } from './types';
|
|
3
|
-
declare const PasswordInput: React.NamedExoticComponent<PasswordInputProps & React.RefAttributes<PasswordInputRef>>;
|
|
4
|
-
export default PasswordInput;
|
|
1
|
+
import React from'react';import type{PasswordInputProps,PasswordInputRef}from'./types';declare const PasswordInput:React.NamedExoticComponent<PasswordInputProps&React.RefAttributes<PasswordInputRef>>;export default PasswordInput;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type { PasswordInputProps, PasswordInputRef } from './types';
|
|
1
|
+
export{default}from'./PasswordInput';export type{PasswordInputProps,PasswordInputRef}from'./types';
|
|
@@ -1,40 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export interface PasswordInputTokens {
|
|
3
|
-
colors: {
|
|
4
|
-
border: string;
|
|
5
|
-
text: string;
|
|
6
|
-
muted: string;
|
|
7
|
-
error: string;
|
|
8
|
-
cursor: string;
|
|
9
|
-
background: string;
|
|
10
|
-
transparent: string;
|
|
11
|
-
};
|
|
12
|
-
radii: {
|
|
13
|
-
wrapper: number;
|
|
14
|
-
cellGutter: number;
|
|
15
|
-
};
|
|
16
|
-
sizing: {
|
|
17
|
-
cellHeight: number;
|
|
18
|
-
cellTextSize: number;
|
|
19
|
-
maskSize: number;
|
|
20
|
-
cursorWidth: number;
|
|
21
|
-
cursorHeightRatio: number;
|
|
22
|
-
cursorTopRatio: number;
|
|
23
|
-
};
|
|
24
|
-
typography: {
|
|
25
|
-
fontFamily: string;
|
|
26
|
-
cellTextWeight: TextStyle['fontWeight'];
|
|
27
|
-
infoSize: number;
|
|
28
|
-
infoLineHeight: number;
|
|
29
|
-
infoWeight: TextStyle['fontWeight'];
|
|
30
|
-
};
|
|
31
|
-
opacity: {
|
|
32
|
-
disabled: number;
|
|
33
|
-
hidden: number;
|
|
34
|
-
};
|
|
35
|
-
spacing: {
|
|
36
|
-
infoMarginTop: number;
|
|
37
|
-
none: number;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export declare const usePasswordInputTokens: (overrides?: import("../..").DeepPartial<PasswordInputTokens> | undefined) => PasswordInputTokens;
|
|
1
|
+
import type{TextStyle}from'react-native';export interface PasswordInputTokens{colors:{border:string;text:string;muted:string;error:string;cursor:string;background:string;transparent:string;};radii:{wrapper:number;cellGutter:number;};sizing:{cellHeight:number;cellTextSize:number;maskSize:number;cursorWidth:number;cursorHeightRatio:number;cursorTopRatio:number;};typography:{fontFamily:string;cellTextWeight:TextStyle['fontWeight'];infoSize:number;infoLineHeight:number;infoWeight:TextStyle['fontWeight'];};opacity:{disabled:number;hidden:number;};spacing:{infoMarginTop:number;none:number;};}export declare const usePasswordInputTokens:(overrides?:import("../..").DeepPartial<PasswordInputTokens>|undefined)=>PasswordInputTokens;
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { ViewProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
import type { PasswordInputTokens } from './tokens';
|
|
5
|
-
export type PasswordInputType = 'text' | 'number';
|
|
6
|
-
export interface PasswordInputProps extends ViewProps {
|
|
7
|
-
value?: string;
|
|
8
|
-
defaultValue?: string;
|
|
9
|
-
length?: number;
|
|
10
|
-
mask?: boolean;
|
|
11
|
-
gutter?: number;
|
|
12
|
-
type?: PasswordInputType;
|
|
13
|
-
autoFocus?: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
info?: React.ReactNode;
|
|
16
|
-
errorInfo?: React.ReactNode;
|
|
17
|
-
showCursor?: boolean;
|
|
18
|
-
validator?: (value: string) => boolean;
|
|
19
|
-
cellStyle?: StyleProp<ViewStyle>;
|
|
20
|
-
cellTextStyle?: StyleProp<TextStyle>;
|
|
21
|
-
cellFilledStyle?: StyleProp<ViewStyle>;
|
|
22
|
-
maskStyle?: StyleProp<ViewStyle>;
|
|
23
|
-
cursorStyle?: StyleProp<ViewStyle>;
|
|
24
|
-
highlightTextStyle?: StyleProp<TextStyle>;
|
|
25
|
-
onChange?: (value: string) => void;
|
|
26
|
-
onSubmit?: (value: string) => void;
|
|
27
|
-
onFocus?: () => void;
|
|
28
|
-
onBlur?: () => void;
|
|
29
|
-
tokensOverride?: DeepPartial<PasswordInputTokens>;
|
|
30
|
-
}
|
|
31
|
-
export interface PasswordInputRef {
|
|
32
|
-
focus: () => void;
|
|
33
|
-
blur: () => void;
|
|
34
|
-
clear: () => void;
|
|
35
|
-
}
|
|
1
|
+
import type React from'react';import type{ViewProps,StyleProp,ViewStyle,TextStyle}from'react-native';import type{DeepPartial}from'../../types';import type{PasswordInputTokens}from'./tokens';export type PasswordInputType='text'|'number';export interface PasswordInputProps extends ViewProps{value?:string;defaultValue?:string;length?:number;mask?:boolean;gutter?:number;type?:PasswordInputType;autoFocus?:boolean;disabled?:boolean;info?:React.ReactNode;errorInfo?:React.ReactNode;showCursor?:boolean;validator?:(value:string)=>boolean;cellStyle?:StyleProp<ViewStyle>;cellTextStyle?:StyleProp<TextStyle>;cellFilledStyle?:StyleProp<ViewStyle>;maskStyle?:StyleProp<ViewStyle>;cursorStyle?:StyleProp<ViewStyle>;highlightTextStyle?:StyleProp<TextStyle>;onChange?:(value:string)=>void;onSubmit?:(value:string)=>void;onFocus?:()=>void;onBlur?:()=>void;tokensOverride?:DeepPartial<PasswordInputTokens>;}export interface PasswordInputRef{focus:()=>void;blur:()=>void;clear:()=>void;}
|
|
@@ -1,32 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { PickerColumns, PickerOption, PickerProps, PickerValue } from './types';
|
|
3
|
-
export interface NormalizedPickerResult {
|
|
4
|
-
columns: PickerOption[][];
|
|
5
|
-
values: PickerValue[];
|
|
6
|
-
options: (PickerOption | undefined)[];
|
|
7
|
-
}
|
|
8
|
-
export interface PreparedPickerColumns {
|
|
9
|
-
type: 'single' | 'multiple' | 'cascade';
|
|
10
|
-
columnsList: PickerOption[][];
|
|
11
|
-
defaults: (PickerValue | undefined)[];
|
|
12
|
-
cascadeRoot?: PickerOption[];
|
|
13
|
-
}
|
|
14
|
-
export declare const toArrayValue: (value?: PickerValue[] | PickerValue | null) => PickerValue[];
|
|
15
|
-
export declare const findEnabledIndex: (options: PickerOption[], startIdx: number) => number;
|
|
16
|
-
export declare const prepareColumns: (input?: PickerColumns) => PreparedPickerColumns;
|
|
17
|
-
export declare const normalizePicker: (prep: PreparedPickerColumns, raw?: PickerValue[]) => NormalizedPickerResult;
|
|
18
|
-
export declare function usePickerValue({ columns, valueProp, defaultValue, emitConfirmOnAutoSelect, onChange, onConfirm }: {
|
|
19
|
-
columns?: PickerColumns;
|
|
20
|
-
valueProp?: PickerProps['value'];
|
|
21
|
-
defaultValue?: PickerProps['defaultValue'];
|
|
22
|
-
emitConfirmOnAutoSelect?: boolean;
|
|
23
|
-
onChange?: PickerProps['onChange'];
|
|
24
|
-
onConfirm?: PickerProps['onConfirm'];
|
|
25
|
-
}): {
|
|
26
|
-
preparedColumns: PreparedPickerColumns;
|
|
27
|
-
normalized: NormalizedPickerResult;
|
|
28
|
-
handleSelect: (option: PickerOption, colIdx: number) => void;
|
|
29
|
-
handleConfirm: () => void;
|
|
30
|
-
};
|
|
31
|
-
declare const Picker: React.NamedExoticComponent<PickerProps>;
|
|
32
|
-
export default Picker;
|
|
1
|
+
import React from'react';import type{PickerProps}from'./types';export type{NormalizedPickerResult,PreparedPickerColumns}from'../../hooks/picker/normalize';export{toArrayValue,findEnabledIndex,prepareColumns,normalizePicker}from'../../hooks/picker/normalize';export{usePickerValue}from'../../hooks/picker/value';declare const Picker:React.NamedExoticComponent<PickerProps>;export default Picker;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import Picker from
|
|
2
|
-
export default Picker;
|
|
3
|
-
export { Picker };
|
|
4
|
-
export type { PickerProps, PickerOption, PickerValue, PickerColumn, PickerColumns, PickerColumnWithDefault, PickerToolbarPosition, } from './types';
|
|
1
|
+
import Picker from'./Picker';export default Picker;export{Picker};export type{PickerProps,PickerOption,PickerValue,PickerColumn,PickerColumns,PickerColumnWithDefault,PickerToolbarPosition,}from'./types';
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { TextStyle } from 'react-native';
|
|
3
|
-
export interface PickerTokens {
|
|
4
|
-
defaults: {
|
|
5
|
-
itemHeight: number;
|
|
6
|
-
visibleItemCount: number;
|
|
7
|
-
showToolbar: boolean;
|
|
8
|
-
toolbarPosition: PickerToolbarPosition;
|
|
9
|
-
swipeDuration: number;
|
|
10
|
-
maskType: 'gradient' | 'solid';
|
|
11
|
-
};
|
|
12
|
-
colors: {
|
|
13
|
-
background: string;
|
|
14
|
-
indicator: string;
|
|
15
|
-
text: string;
|
|
16
|
-
textMuted: string;
|
|
17
|
-
textDisabled: string;
|
|
18
|
-
confirm: string;
|
|
19
|
-
cancel: string;
|
|
20
|
-
mask: string;
|
|
21
|
-
loadingMask: string;
|
|
22
|
-
};
|
|
23
|
-
spacing: {
|
|
24
|
-
toolbarHeight: number;
|
|
25
|
-
actionPadding: number;
|
|
26
|
-
};
|
|
27
|
-
typography: {
|
|
28
|
-
optionSize: number;
|
|
29
|
-
toolbarSize: number;
|
|
30
|
-
fontFamily: string;
|
|
31
|
-
optionWeight: TextStyle['fontWeight'];
|
|
32
|
-
toolbarWeight: TextStyle['fontWeight'];
|
|
33
|
-
};
|
|
34
|
-
radius: {
|
|
35
|
-
toolbar: number;
|
|
36
|
-
container: number;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export declare const usePickerTokens: (overrides?: import("../..").DeepPartial<PickerTokens> | undefined) => PickerTokens;
|
|
1
|
+
import type{PickerToolbarPosition}from'./types';import type{TextStyle}from'react-native';export interface PickerTokens{defaults:{itemHeight:number;visibleItemCount:number;showToolbar:boolean;toolbarPosition:PickerToolbarPosition;swipeDuration:number;maskType:'gradient'|'solid';};colors:{background:string;indicator:string;text:string;textMuted:string;textDisabled:string;confirm:string;cancel:string;mask:string;loadingMask:string;};spacing:{toolbarHeight:number;actionPadding:number;};typography:{optionSize:number;toolbarSize:number;fontFamily:string;optionWeight:TextStyle['fontWeight'];toolbarWeight:TextStyle['fontWeight'];};radius:{toolbar:number;container:number;};}export declare const usePickerTokens:(overrides?:import("../..").DeepPartial<PickerTokens>|undefined)=>PickerTokens;
|