@codeleap/mobile 2.3.27-2 → 2.3.27-3
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/package.json +1 -1
- package/src/components/List/index.tsx +2 -7
- package/src/components/Scroll/index.tsx +1 -12
- package/dist/components/ActionIcon/index.d.ts +0 -13
- package/dist/components/ActionIcon/index.js +0 -55
- package/dist/components/ActionIcon/index.js.map +0 -1
- package/dist/components/ActionIcon/styles.d.ts +0 -65
- package/dist/components/ActionIcon/styles.js +0 -61
- package/dist/components/ActionIcon/styles.js.map +0 -1
- package/dist/components/ActivityIndicator/index.d.ts +0 -15
- package/dist/components/ActivityIndicator/index.js +0 -59
- package/dist/components/ActivityIndicator/index.js.map +0 -1
- package/dist/components/ActivityIndicator/styles.d.ts +0 -59
- package/dist/components/ActivityIndicator/styles.js +0 -52
- package/dist/components/ActivityIndicator/styles.js.map +0 -1
- package/dist/components/Animated.d.ts +0 -124
- package/dist/components/Animated.js +0 -59
- package/dist/components/Animated.js.map +0 -1
- package/dist/components/Autocomplete/index.d.ts +0 -34
- package/dist/components/Autocomplete/index.js +0 -130
- package/dist/components/Autocomplete/index.js.map +0 -1
- package/dist/components/Autocomplete/styles.d.ts +0 -57
- package/dist/components/Autocomplete/styles.js +0 -89
- package/dist/components/Autocomplete/styles.js.map +0 -1
- package/dist/components/Autocomplete/types.d.ts +0 -59
- package/dist/components/Autocomplete/types.js +0 -3
- package/dist/components/Autocomplete/types.js.map +0 -1
- package/dist/components/Avatar/index.d.ts +0 -23
- package/dist/components/Avatar/index.js +0 -95
- package/dist/components/Avatar/index.js.map +0 -1
- package/dist/components/Avatar/styles.d.ts +0 -4
- package/dist/components/Avatar/styles.js +0 -7
- package/dist/components/Avatar/styles.js.map +0 -1
- package/dist/components/AvatarGroup/index.d.ts +0 -18
- package/dist/components/AvatarGroup/index.js +0 -70
- package/dist/components/AvatarGroup/index.js.map +0 -1
- package/dist/components/AvatarGroup/styles.d.ts +0 -4
- package/dist/components/AvatarGroup/styles.js +0 -7
- package/dist/components/AvatarGroup/styles.js.map +0 -1
- package/dist/components/Backdrop/index.d.ts +0 -14
- package/dist/components/Backdrop/index.js +0 -63
- package/dist/components/Backdrop/index.js.map +0 -1
- package/dist/components/Backdrop/styles.d.ts +0 -53
- package/dist/components/Backdrop/styles.js +0 -28
- package/dist/components/Backdrop/styles.js.map +0 -1
- package/dist/components/Badge/index.d.ts +0 -31
- package/dist/components/Badge/index.js +0 -110
- package/dist/components/Badge/index.js.map +0 -1
- package/dist/components/Badge/styles.d.ts +0 -5
- package/dist/components/Badge/styles.js +0 -7
- package/dist/components/Badge/styles.js.map +0 -1
- package/dist/components/Button/index.d.ts +0 -246
- package/dist/components/Button/index.js +0 -119
- package/dist/components/Button/index.js.map +0 -1
- package/dist/components/Button/styles.d.ts +0 -65
- package/dist/components/Button/styles.js +0 -61
- package/dist/components/Button/styles.js.map +0 -1
- package/dist/components/Calendar/index.d.ts +0 -15
- package/dist/components/Calendar/index.js +0 -80
- package/dist/components/Calendar/index.js.map +0 -1
- package/dist/components/Calendar/style.d.ts +0 -4
- package/dist/components/Calendar/style.js +0 -36
- package/dist/components/Calendar/style.js.map +0 -1
- package/dist/components/Calendar/types.d.ts +0 -95
- package/dist/components/Calendar/types.js +0 -3
- package/dist/components/Calendar/types.js.map +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -15
- package/dist/components/Checkbox/index.js +0 -85
- package/dist/components/Checkbox/index.js.map +0 -1
- package/dist/components/Checkbox/styles.d.ts +0 -56
- package/dist/components/Checkbox/styles.js +0 -53
- package/dist/components/Checkbox/styles.js.map +0 -1
- package/dist/components/ContentView/index.d.ts +0 -12
- package/dist/components/ContentView/index.js +0 -66
- package/dist/components/ContentView/index.js.map +0 -1
- package/dist/components/ContentView/styles.d.ts +0 -53
- package/dist/components/ContentView/styles.js +0 -26
- package/dist/components/ContentView/styles.js.map +0 -1
- package/dist/components/DatePickerModal/index.d.ts +0 -8
- package/dist/components/DatePickerModal/index.js +0 -153
- package/dist/components/DatePickerModal/index.js.map +0 -1
- package/dist/components/DatePickerModal/styles.d.ts +0 -5
- package/dist/components/DatePickerModal/styles.js +0 -7
- package/dist/components/DatePickerModal/styles.js.map +0 -1
- package/dist/components/DatePickerModal/types.d.ts +0 -40
- package/dist/components/DatePickerModal/types.js +0 -3
- package/dist/components/DatePickerModal/types.js.map +0 -1
- package/dist/components/Drawer/index.d.ts +0 -7
- package/dist/components/Drawer/index.js +0 -70
- package/dist/components/Drawer/index.js.map +0 -1
- package/dist/components/Drawer/styles.d.ts +0 -56
- package/dist/components/Drawer/styles.js +0 -39
- package/dist/components/Drawer/styles.js.map +0 -1
- package/dist/components/EmptyPlaceholder/index.d.ts +0 -25
- package/dist/components/EmptyPlaceholder/index.js +0 -92
- package/dist/components/EmptyPlaceholder/index.js.map +0 -1
- package/dist/components/EmptyPlaceholder/styles.d.ts +0 -55
- package/dist/components/EmptyPlaceholder/styles.js +0 -30
- package/dist/components/EmptyPlaceholder/styles.js.map +0 -1
- package/dist/components/FileInput/index.d.ts +0 -24
- package/dist/components/FileInput/index.js +0 -183
- package/dist/components/FileInput/index.js.map +0 -1
- package/dist/components/FileInput/styles.d.ts +0 -53
- package/dist/components/FileInput/styles.js +0 -19
- package/dist/components/FileInput/styles.js.map +0 -1
- package/dist/components/Grid/index.d.ts +0 -32
- package/dist/components/Grid/index.js +0 -84
- package/dist/components/Grid/index.js.map +0 -1
- package/dist/components/Grid/styles.d.ts +0 -54
- package/dist/components/Grid/styles.js +0 -19
- package/dist/components/Grid/styles.js.map +0 -1
- package/dist/components/Icon/index.d.ts +0 -14
- package/dist/components/Icon/index.js +0 -79
- package/dist/components/Icon/index.js.map +0 -1
- package/dist/components/Icon/styles.d.ts +0 -61
- package/dist/components/Icon/styles.js +0 -49
- package/dist/components/Icon/styles.js.map +0 -1
- package/dist/components/Image/index.d.ts +0 -21
- package/dist/components/Image/index.js +0 -109
- package/dist/components/Image/index.js.map +0 -1
- package/dist/components/Image/styles.d.ts +0 -54
- package/dist/components/Image/styles.js +0 -25
- package/dist/components/Image/styles.js.map +0 -1
- package/dist/components/ImageView/Spotlight.d.ts +0 -25
- package/dist/components/ImageView/Spotlight.js +0 -154
- package/dist/components/ImageView/Spotlight.js.map +0 -1
- package/dist/components/ImageView/component.d.ts +0 -5
- package/dist/components/ImageView/component.js +0 -54
- package/dist/components/ImageView/component.js.map +0 -1
- package/dist/components/ImageView/index.d.ts +0 -2
- package/dist/components/ImageView/index.js +0 -19
- package/dist/components/ImageView/index.js.map +0 -1
- package/dist/components/InputBase/index.d.ts +0 -37
- package/dist/components/InputBase/index.js +0 -90
- package/dist/components/InputBase/index.js.map +0 -1
- package/dist/components/InputBase/styles.d.ts +0 -27
- package/dist/components/InputBase/styles.js +0 -92
- package/dist/components/InputBase/styles.js.map +0 -1
- package/dist/components/InputBase/types.d.ts +0 -28
- package/dist/components/InputBase/types.js +0 -3
- package/dist/components/InputBase/types.js.map +0 -1
- package/dist/components/InputBase/utils.d.ts +0 -11
- package/dist/components/InputBase/utils.js +0 -41
- package/dist/components/InputBase/utils.js.map +0 -1
- package/dist/components/InputLabel/index.d.ts +0 -12
- package/dist/components/InputLabel/index.js +0 -62
- package/dist/components/InputLabel/index.js.map +0 -1
- package/dist/components/InputLabel/styles.d.ts +0 -4
- package/dist/components/InputLabel/styles.js +0 -26
- package/dist/components/InputLabel/styles.js.map +0 -1
- package/dist/components/List/PaginationIndicator.d.ts +0 -67
- package/dist/components/List/PaginationIndicator.js +0 -51
- package/dist/components/List/PaginationIndicator.js.map +0 -1
- package/dist/components/List/index.d.ts +0 -31
- package/dist/components/List/index.js +0 -86
- package/dist/components/List/index.js.map +0 -1
- package/dist/components/List/styles.d.ts +0 -54
- package/dist/components/List/styles.js +0 -28
- package/dist/components/List/styles.js.map +0 -1
- package/dist/components/LoadingOverlay/index.d.ts +0 -11
- package/dist/components/LoadingOverlay/index.js +0 -66
- package/dist/components/LoadingOverlay/index.js.map +0 -1
- package/dist/components/LoadingOverlay/styles.d.ts +0 -5
- package/dist/components/LoadingOverlay/styles.js +0 -7
- package/dist/components/LoadingOverlay/styles.js.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -43
- package/dist/components/Modal/index.js +0 -146
- package/dist/components/Modal/index.js.map +0 -1
- package/dist/components/Modal/styles.d.ts +0 -58
- package/dist/components/Modal/styles.js +0 -74
- package/dist/components/Modal/styles.js.map +0 -1
- package/dist/components/MultiSelect/index.d.ts +0 -6
- package/dist/components/MultiSelect/index.js +0 -123
- package/dist/components/MultiSelect/index.js.map +0 -1
- package/dist/components/MultiSelect/styles.d.ts +0 -7
- package/dist/components/MultiSelect/styles.js +0 -84
- package/dist/components/MultiSelect/styles.js.map +0 -1
- package/dist/components/MultiSelect/types.d.ts +0 -43
- package/dist/components/MultiSelect/types.js +0 -3
- package/dist/components/MultiSelect/types.js.map +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -3
- package/dist/components/Navigation/Navigation.js +0 -84
- package/dist/components/Navigation/Navigation.js.map +0 -1
- package/dist/components/Navigation/constants.d.ts +0 -5
- package/dist/components/Navigation/constants.js +0 -11
- package/dist/components/Navigation/constants.js.map +0 -1
- package/dist/components/Navigation/index.d.ts +0 -3
- package/dist/components/Navigation/index.js +0 -20
- package/dist/components/Navigation/index.js.map +0 -1
- package/dist/components/Navigation/types.d.ts +0 -26
- package/dist/components/Navigation/types.js +0 -8
- package/dist/components/Navigation/types.js.map +0 -1
- package/dist/components/Navigation/utils.d.ts +0 -3
- package/dist/components/Navigation/utils.js +0 -69
- package/dist/components/Navigation/utils.js.map +0 -1
- package/dist/components/NumberIncrement/index.d.ts +0 -31
- package/dist/components/NumberIncrement/index.js +0 -232
- package/dist/components/NumberIncrement/index.js.map +0 -1
- package/dist/components/NumberIncrement/styles.d.ts +0 -5
- package/dist/components/NumberIncrement/styles.js +0 -7
- package/dist/components/NumberIncrement/styles.js.map +0 -1
- package/dist/components/NumberIncrement/types.d.ts +0 -35
- package/dist/components/NumberIncrement/types.js +0 -3
- package/dist/components/NumberIncrement/types.js.map +0 -1
- package/dist/components/NumberIncrement/utils.d.ts +0 -5
- package/dist/components/NumberIncrement/utils.js +0 -27
- package/dist/components/NumberIncrement/utils.js.map +0 -1
- package/dist/components/Pager/index.d.ts +0 -26
- package/dist/components/Pager/index.js +0 -88
- package/dist/components/Pager/index.js.map +0 -1
- package/dist/components/Pager/styles.d.ts +0 -87
- package/dist/components/Pager/styles.js +0 -72
- package/dist/components/Pager/styles.js.map +0 -1
- package/dist/components/RadioInput/index.d.ts +0 -27
- package/dist/components/RadioInput/index.js +0 -76
- package/dist/components/RadioInput/index.js.map +0 -1
- package/dist/components/RadioInput/styles.d.ts +0 -58
- package/dist/components/RadioInput/styles.js +0 -50
- package/dist/components/RadioInput/styles.js.map +0 -1
- package/dist/components/RefreshControl/index.d.ts +0 -9
- package/dist/components/RefreshControl/index.js +0 -31
- package/dist/components/RefreshControl/index.js.map +0 -1
- package/dist/components/RefreshControl/styles.d.ts +0 -2
- package/dist/components/RefreshControl/styles.js +0 -7
- package/dist/components/RefreshControl/styles.js.map +0 -1
- package/dist/components/Scroll/index.d.ts +0 -20
- package/dist/components/Scroll/index.js +0 -102
- package/dist/components/Scroll/index.js.map +0 -1
- package/dist/components/Scroll/styles.d.ts +0 -53
- package/dist/components/Scroll/styles.js +0 -26
- package/dist/components/Scroll/styles.js.map +0 -1
- package/dist/components/Sections/index.d.ts +0 -11
- package/dist/components/Sections/index.js +0 -80
- package/dist/components/Sections/index.js.map +0 -1
- package/dist/components/Sections/styles.d.ts +0 -2
- package/dist/components/Sections/styles.js +0 -7
- package/dist/components/Sections/styles.js.map +0 -1
- package/dist/components/SegmentedControl/Option.d.ts +0 -16
- package/dist/components/SegmentedControl/Option.js +0 -38
- package/dist/components/SegmentedControl/Option.js.map +0 -1
- package/dist/components/SegmentedControl/index.d.ts +0 -52
- package/dist/components/SegmentedControl/index.js +0 -134
- package/dist/components/SegmentedControl/index.js.map +0 -1
- package/dist/components/SegmentedControl/styles.d.ts +0 -60
- package/dist/components/SegmentedControl/styles.js +0 -43
- package/dist/components/SegmentedControl/styles.js.map +0 -1
- package/dist/components/Select/index.d.ts +0 -16
- package/dist/components/Select/index.js +0 -126
- package/dist/components/Select/index.js.map +0 -1
- package/dist/components/Select/styles.d.ts +0 -60
- package/dist/components/Select/styles.js +0 -83
- package/dist/components/Select/styles.js.map +0 -1
- package/dist/components/Select/types.d.ts +0 -43
- package/dist/components/Select/types.js +0 -3
- package/dist/components/Select/types.js.map +0 -1
- package/dist/components/Slider/Mark.d.ts +0 -3
- package/dist/components/Slider/Mark.js +0 -32
- package/dist/components/Slider/Mark.js.map +0 -1
- package/dist/components/Slider/Thumb.d.ts +0 -7
- package/dist/components/Slider/Thumb.js +0 -30
- package/dist/components/Slider/Thumb.js.map +0 -1
- package/dist/components/Slider/index.d.ts +0 -4
- package/dist/components/Slider/index.js +0 -103
- package/dist/components/Slider/index.js.map +0 -1
- package/dist/components/Slider/styles.d.ts +0 -54
- package/dist/components/Slider/styles.js +0 -61
- package/dist/components/Slider/styles.js.map +0 -1
- package/dist/components/Slider/types.d.ts +0 -26
- package/dist/components/Slider/types.js +0 -3
- package/dist/components/Slider/types.js.map +0 -1
- package/dist/components/Switch/index.d.ts +0 -14
- package/dist/components/Switch/index.js +0 -85
- package/dist/components/Switch/index.js.map +0 -1
- package/dist/components/Switch/styles.d.ts +0 -55
- package/dist/components/Switch/styles.js +0 -34
- package/dist/components/Switch/styles.js.map +0 -1
- package/dist/components/Text/index.d.ts +0 -25
- package/dist/components/Text/index.js +0 -125
- package/dist/components/Text/index.js.map +0 -1
- package/dist/components/Text/styles.d.ts +0 -70
- package/dist/components/Text/styles.js +0 -34
- package/dist/components/Text/styles.js.map +0 -1
- package/dist/components/TextInput/index.d.ts +0 -181
- package/dist/components/TextInput/index.js +0 -217
- package/dist/components/TextInput/index.js.map +0 -1
- package/dist/components/TextInput/styles.d.ts +0 -63
- package/dist/components/TextInput/styles.js +0 -65
- package/dist/components/TextInput/styles.js.map +0 -1
- package/dist/components/Touchable/index.d.ts +0 -22
- package/dist/components/Touchable/index.js +0 -169
- package/dist/components/Touchable/index.js.map +0 -1
- package/dist/components/Touchable/styles.d.ts +0 -58
- package/dist/components/Touchable/styles.js +0 -24
- package/dist/components/Touchable/styles.js.map +0 -1
- package/dist/components/View/index.d.ts +0 -132
- package/dist/components/View/index.js +0 -108
- package/dist/components/View/index.js.map +0 -1
- package/dist/components/View/styles.d.ts +0 -54
- package/dist/components/View/styles.js +0 -29
- package/dist/components/View/styles.js.map +0 -1
- package/dist/components/components.d.ts +0 -38
- package/dist/components/components.js +0 -68
- package/dist/components/components.js.map +0 -1
- package/dist/components/defaultStyles.d.ts +0 -1465
- package/dist/components/defaultStyles.js +0 -65
- package/dist/components/defaultStyles.js.map +0 -1
- package/dist/components/legacy/Modal/index.d.ts +0 -28
- package/dist/components/legacy/Modal/index.js +0 -114
- package/dist/components/legacy/Modal/index.js.map +0 -1
- package/dist/components/legacy/Modal/styles.d.ts +0 -64
- package/dist/components/legacy/Modal/styles.js +0 -60
- package/dist/components/legacy/Modal/styles.js.map +0 -1
- package/dist/components/legacy/Pager/index.d.ts +0 -20
- package/dist/components/legacy/Pager/index.js +0 -168
- package/dist/components/legacy/Pager/index.js.map +0 -1
- package/dist/components/legacy/Pager/styles.d.ts +0 -54
- package/dist/components/legacy/Pager/styles.js +0 -44
- package/dist/components/legacy/Pager/styles.js.map +0 -1
- package/dist/components/legacy/index.d.ts +0 -2
- package/dist/components/legacy/index.js +0 -19
- package/dist/components/legacy/index.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -43
- package/dist/index.js.map +0 -1
- package/dist/modules/PressableRipple/index.d.ts +0 -2
- package/dist/modules/PressableRipple/index.js +0 -9
- package/dist/modules/PressableRipple/index.js.map +0 -1
- package/dist/modules/PressableRipple/ripple.d.ts +0 -30
- package/dist/modules/PressableRipple/ripple.js +0 -213
- package/dist/modules/PressableRipple/ripple.js.map +0 -1
- package/dist/modules/PressableRipple/styles.d.ts +0 -19
- package/dist/modules/PressableRipple/styles.js +0 -29
- package/dist/modules/PressableRipple/styles.js.map +0 -1
- package/dist/modules/PressableRipple/type.d.ts +0 -11
- package/dist/modules/PressableRipple/type.js +0 -3
- package/dist/modules/PressableRipple/type.js.map +0 -1
- package/dist/modules/documentPicker.d.ts +0 -3
- package/dist/modules/documentPicker.js +0 -12
- package/dist/modules/documentPicker.js.map +0 -1
- package/dist/modules/fastImage.d.ts +0 -1
- package/dist/modules/fastImage.js +0 -10
- package/dist/modules/fastImage.js.map +0 -1
- package/dist/modules/reactNavigation.d.ts +0 -5
- package/dist/modules/reactNavigation.js +0 -26
- package/dist/modules/reactNavigation.js.map +0 -1
- package/dist/modules/rnDeviceInfo.d.ts +0 -2
- package/dist/modules/rnDeviceInfo.js +0 -10
- package/dist/modules/rnDeviceInfo.js.map +0 -1
- package/dist/modules/textInputMask.d.ts +0 -10
- package/dist/modules/textInputMask.js +0 -23
- package/dist/modules/textInputMask.js.map +0 -1
- package/dist/modules/types/fileTypes.d.ts +0 -138
- package/dist/modules/types/fileTypes.js +0 -3
- package/dist/modules/types/fileTypes.js.map +0 -1
- package/dist/modules/types/textInputMask.d.ts +0 -7
- package/dist/modules/types/textInputMask.js +0 -3
- package/dist/modules/types/textInputMask.js.map +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -18
- package/dist/types/index.js.map +0 -1
- package/dist/types/utility.d.ts +0 -8
- package/dist/types/utility.js +0 -3
- package/dist/types/utility.js.map +0 -1
- package/dist/utils/KeyboardAware/context.d.ts +0 -13
- package/dist/utils/KeyboardAware/context.js +0 -63
- package/dist/utils/KeyboardAware/context.js.map +0 -1
- package/dist/utils/KeyboardAware/index.d.ts +0 -8
- package/dist/utils/KeyboardAware/index.js +0 -33
- package/dist/utils/KeyboardAware/index.js.map +0 -1
- package/dist/utils/KeyboardAware/keyboardHooks.d.ts +0 -26
- package/dist/utils/KeyboardAware/keyboardHooks.js +0 -87
- package/dist/utils/KeyboardAware/keyboardHooks.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js +0 -9
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.d.ts +0 -67
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js +0 -451
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.d.ts +0 -7
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js +0 -4
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js +0 -10
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js.map +0 -1
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.d.ts +0 -3
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js +0 -10
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js.map +0 -1
- package/dist/utils/KeyboardAware/types.d.ts +0 -1
- package/dist/utils/KeyboardAware/types.js +0 -7
- package/dist/utils/KeyboardAware/types.js.map +0 -1
- package/dist/utils/ModalManager/components.d.ts +0 -20
- package/dist/utils/ModalManager/components.js +0 -118
- package/dist/utils/ModalManager/components.js.map +0 -1
- package/dist/utils/ModalManager/context.d.ts +0 -48
- package/dist/utils/ModalManager/context.js +0 -205
- package/dist/utils/ModalManager/context.js.map +0 -1
- package/dist/utils/ModalManager/index.d.ts +0 -11
- package/dist/utils/ModalManager/index.js +0 -13
- package/dist/utils/ModalManager/index.js.map +0 -1
- package/dist/utils/OSAlert.d.ts +0 -32
- package/dist/utils/OSAlert.js +0 -143
- package/dist/utils/OSAlert.js.map +0 -1
- package/dist/utils/PermissionManager/context.d.ts +0 -53
- package/dist/utils/PermissionManager/context.js +0 -324
- package/dist/utils/PermissionManager/context.js.map +0 -1
- package/dist/utils/PermissionManager/index.d.ts +0 -4
- package/dist/utils/PermissionManager/index.js +0 -9
- package/dist/utils/PermissionManager/index.js.map +0 -1
- package/dist/utils/PermissionManager/types.d.ts +0 -13
- package/dist/utils/PermissionManager/types.js +0 -3
- package/dist/utils/PermissionManager/types.js.map +0 -1
- package/dist/utils/hooks.d.ts +0 -44
- package/dist/utils/hooks.js +0 -186
- package/dist/utils/hooks.js.map +0 -1
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/index.js +0 -40
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/input.d.ts +0 -35
- package/dist/utils/input.js +0 -49
- package/dist/utils/input.js.map +0 -1
- package/dist/utils/locale.d.ts +0 -1
- package/dist/utils/locale.js +0 -10
- package/dist/utils/locale.js.map +0 -1
- package/dist/utils/misc.d.ts +0 -6
- package/dist/utils/misc.js +0 -87
- package/dist/utils/misc.js.map +0 -1
- package/dist/utils/notifications.d.ts +0 -34
- package/dist/utils/notifications.js +0 -268
- package/dist/utils/notifications.js.map +0 -1
- package/dist/utils/theme.d.ts +0 -42
- package/dist/utils/theme.js +0 -50
- package/dist/utils/theme.js.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useActionValidate = void 0;
|
|
4
|
-
var react_1 = require("react");
|
|
5
|
-
var initialState = {
|
|
6
|
-
message: '',
|
|
7
|
-
isValid: true,
|
|
8
|
-
};
|
|
9
|
-
var useActionValidate = function (validator) {
|
|
10
|
-
var _a = (0, react_1.useState)(initialState), error = _a[0], setError = _a[1];
|
|
11
|
-
var validate = (0, react_1.useCallback)(function (value) {
|
|
12
|
-
if (!validator)
|
|
13
|
-
return;
|
|
14
|
-
var _a = validator(value, {}), valid = _a.valid, message = _a.message;
|
|
15
|
-
setError({
|
|
16
|
-
isValid: valid,
|
|
17
|
-
message: message,
|
|
18
|
-
});
|
|
19
|
-
}, [validator]);
|
|
20
|
-
return {
|
|
21
|
-
onAction: validate,
|
|
22
|
-
message: error === null || error === void 0 ? void 0 : error.message,
|
|
23
|
-
isValid: error === null || error === void 0 ? void 0 : error.isValid
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
exports.useActionValidate = useActionValidate;
|
|
27
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/NumberIncrement/utils.ts"],"names":[],"mappings":";;;AAAA,+BAA6C;AAE7C,IAAM,YAAY,GAAG;IACnB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,IAAI;CACd,CAAA;AAEM,IAAM,iBAAiB,GAAG,UAAC,SAAc;IACxC,IAAA,KAAoB,IAAA,gBAAQ,EAAC,YAAY,CAAC,EAAzC,KAAK,QAAA,EAAE,QAAQ,QAA0B,CAAA;IAEhD,IAAM,QAAQ,GAAG,IAAA,mBAAW,EAAC,UAAC,KAAa;QACzC,IAAI,CAAC,SAAS;YAAE,OAAM;QAEhB,IAAA,KAAqB,SAAS,CAAC,KAAK,EAAE,EAAE,CAAC,EAAvC,KAAK,WAAA,EAAE,OAAO,aAAyB,CAAA;QAE/C,QAAQ,CAAC;YACP,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,OAAO;SACjB,CAAC,CAAA;IACJ,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAA;IAEf,OAAO;QACL,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO;QACvB,OAAO,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO;KACxB,CAAA;AACH,CAAC,CAAA;AAnBY,QAAA,iBAAiB,qBAmB7B"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ComponentVariants } from '@codeleap/common';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
import { StylesOf } from '../../types/utility';
|
|
4
|
-
import { PagerStyles, PagerComposition } from './styles';
|
|
5
|
-
export * from './styles';
|
|
6
|
-
export declare type PageProps = {
|
|
7
|
-
isLast: boolean;
|
|
8
|
-
isFirst: boolean;
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
isNext: boolean;
|
|
11
|
-
page: number;
|
|
12
|
-
index: number;
|
|
13
|
-
isPrevious: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare type PagerProps = {
|
|
16
|
-
variants?: ComponentVariants<typeof PagerStyles>['variants'];
|
|
17
|
-
styles?: StylesOf<PagerComposition>;
|
|
18
|
-
children?: (((pageData: PageProps) => ReactNode) | ReactNode)[];
|
|
19
|
-
page?: number;
|
|
20
|
-
style?: any;
|
|
21
|
-
setPage?: (page: number) => void;
|
|
22
|
-
returnEarly?: boolean;
|
|
23
|
-
renderPageWrapper?: React.FC<PageProps>;
|
|
24
|
-
pageWrapperProps?: any;
|
|
25
|
-
};
|
|
26
|
-
export declare const Pager: React.FC<PagerProps>;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
-
};
|
|
27
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
29
|
-
};
|
|
30
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.Pager = void 0;
|
|
32
|
-
var common_1 = require("@codeleap/common");
|
|
33
|
-
var react_1 = __importDefault(require("react"));
|
|
34
|
-
var react_native_1 = require("react-native");
|
|
35
|
-
var View_1 = require("../View");
|
|
36
|
-
__exportStar(require("./styles"), exports);
|
|
37
|
-
var Pager = function (pagerProps) {
|
|
38
|
-
var styles = pagerProps.styles, variants = pagerProps.variants, page = pagerProps.page, _a = pagerProps.style, style = _a === void 0 ? {} : _a, _b = pagerProps.returnEarly, returnEarly = _b === void 0 ? true : _b, renderPageWrapper = pagerProps.renderPageWrapper, _c = pagerProps.pageWrapperProps, pageWrapperProps = _c === void 0 ? {} : _c, children = pagerProps.children;
|
|
39
|
-
var variantStyles = (0, common_1.useDefaultComponentStyle)('u:Pager', {
|
|
40
|
-
styles: styles,
|
|
41
|
-
transform: react_native_1.StyleSheet.flatten,
|
|
42
|
-
variants: variants,
|
|
43
|
-
});
|
|
44
|
-
var nChildren = react_1.default.Children.count(children);
|
|
45
|
-
var lastPage = nChildren - 1;
|
|
46
|
-
var childArr = react_1.default.Children.toArray(children);
|
|
47
|
-
var WrapperComponent = renderPageWrapper || View_1.View;
|
|
48
|
-
// Reamimated seems to glitch if this is not done
|
|
49
|
-
variantStyles = JSON.parse(JSON.stringify(variantStyles));
|
|
50
|
-
return (<View_1.View style={[variantStyles.wrapper, style]}>
|
|
51
|
-
{childArr.map(function (child, index) {
|
|
52
|
-
var isActive = index === page;
|
|
53
|
-
var isLast = index === lastPage;
|
|
54
|
-
var isFirst = index === 0;
|
|
55
|
-
var isNext = index === page + 1;
|
|
56
|
-
var isPrevious = index === page - 1;
|
|
57
|
-
var shouldRender = isActive || isNext || isPrevious;
|
|
58
|
-
if (!shouldRender && returnEarly)
|
|
59
|
-
return null;
|
|
60
|
-
var pos = 0;
|
|
61
|
-
if (isActive) {
|
|
62
|
-
pos = 1;
|
|
63
|
-
}
|
|
64
|
-
else if (index > page) {
|
|
65
|
-
pos = 2;
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
pos = 0;
|
|
69
|
-
}
|
|
70
|
-
var pageProps = {
|
|
71
|
-
isLast: isLast,
|
|
72
|
-
isActive: isActive,
|
|
73
|
-
isFirst: isFirst,
|
|
74
|
-
isNext: isNext,
|
|
75
|
-
isPrevious: isPrevious,
|
|
76
|
-
index: index,
|
|
77
|
-
page: page,
|
|
78
|
-
};
|
|
79
|
-
var content = typeof child === 'function' ? child(pageProps) : child;
|
|
80
|
-
var wrapperProps = __assign({ key: index, style: variantStyles.page, animated: true, transition: variantStyles['page:transition'], animate: [variantStyles['page:previous'], variantStyles['page:current'], variantStyles['page:next']][pos] }, pageWrapperProps);
|
|
81
|
-
return (<WrapperComponent {...wrapperProps}>
|
|
82
|
-
{content}
|
|
83
|
-
</WrapperComponent>);
|
|
84
|
-
})}
|
|
85
|
-
</View_1.View>);
|
|
86
|
-
};
|
|
87
|
-
exports.Pager = Pager;
|
|
88
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Pager/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export declare type PagerComposition = 'page' | 'page:transition' | 'page:previous' | 'page:next' | 'page:current' | 'wrapper';
|
|
2
|
-
export declare const defaultPagerTransition: {
|
|
3
|
-
type: string;
|
|
4
|
-
duration: number;
|
|
5
|
-
easing: import("react-native").EasingFunction;
|
|
6
|
-
};
|
|
7
|
-
export declare function pagerAnimation(height: any, width: any, translate?: string, transition?: {
|
|
8
|
-
type: string;
|
|
9
|
-
duration: number;
|
|
10
|
-
easing: import("react-native").EasingFunction;
|
|
11
|
-
}): {
|
|
12
|
-
wrapper: {
|
|
13
|
-
height: any;
|
|
14
|
-
width: any;
|
|
15
|
-
overflow: string;
|
|
16
|
-
};
|
|
17
|
-
'page:transition': {
|
|
18
|
-
[x: string]: {
|
|
19
|
-
type: string;
|
|
20
|
-
duration: number;
|
|
21
|
-
easing: import("react-native").EasingFunction;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
'page:next': {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
};
|
|
27
|
-
'page:current': {
|
|
28
|
-
[x: string]: number;
|
|
29
|
-
};
|
|
30
|
-
'page:previous': {
|
|
31
|
-
[x: string]: number;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare const PagerStyles: {
|
|
35
|
-
default: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
36
|
-
horizontal: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
37
|
-
vertical: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
38
|
-
fixed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
39
|
-
hidden: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
40
|
-
center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
41
|
-
flex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
42
|
-
row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
43
|
-
column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
44
|
-
wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
45
|
-
absolute: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
46
|
-
relative: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
47
|
-
blur: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
48
|
-
inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
49
|
-
block: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
50
|
-
inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
51
|
-
sticky: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
52
|
-
full: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
53
|
-
noWrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
54
|
-
fullWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
55
|
-
fullHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
56
|
-
fullView: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
57
|
-
fullViewWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
58
|
-
fullViewHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
59
|
-
whole: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
60
|
-
centerRow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
61
|
-
listStyles: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
62
|
-
alignStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
63
|
-
alignEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
64
|
-
alignCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
65
|
-
alignStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
66
|
-
alignSelfCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
67
|
-
alignSelfStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
68
|
-
alignSelfStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
69
|
-
alignSelfEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
70
|
-
justifyStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
71
|
-
justifyEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
72
|
-
justifyCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
73
|
-
justifySpaceBetween: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
74
|
-
justifySpaceAround: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
75
|
-
textRight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
76
|
-
textLeft: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
77
|
-
textCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
78
|
-
elevated: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
79
|
-
neumorphism: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
80
|
-
scrollX: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
81
|
-
scrollY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
82
|
-
scrollXY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
83
|
-
debRed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
84
|
-
debGreen: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
85
|
-
debBlue: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
86
|
-
debYellow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
87
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.PagerStyles = exports.pagerAnimation = exports.defaultPagerTransition = void 0;
|
|
15
|
-
var common_1 = require("@codeleap/common");
|
|
16
|
-
var react_native_1 = require("react-native");
|
|
17
|
-
var createPagerStyle = (0, common_1.createDefaultVariantFactory)();
|
|
18
|
-
var presets = (0, common_1.includePresets)(function (style) { return createPagerStyle(function () { return ({ wrapper: style }); }); });
|
|
19
|
-
exports.defaultPagerTransition = {
|
|
20
|
-
type: 'timing',
|
|
21
|
-
duration: 300,
|
|
22
|
-
easing: react_native_1.Easing.linear,
|
|
23
|
-
};
|
|
24
|
-
function pagerAnimation(height, width, translate, transition) {
|
|
25
|
-
var _a, _b, _c, _d;
|
|
26
|
-
if (translate === void 0) { translate = 'X'; }
|
|
27
|
-
if (transition === void 0) { transition = exports.defaultPagerTransition; }
|
|
28
|
-
var translateProp = "translate".concat(translate);
|
|
29
|
-
var translateVal = translate === 'X' ? width : height;
|
|
30
|
-
return {
|
|
31
|
-
wrapper: {
|
|
32
|
-
height: height,
|
|
33
|
-
width: width,
|
|
34
|
-
overflow: 'hidden',
|
|
35
|
-
},
|
|
36
|
-
'page:transition': (_a = {},
|
|
37
|
-
_a[translateProp] = transition,
|
|
38
|
-
_a),
|
|
39
|
-
'page:next': (_b = {},
|
|
40
|
-
_b[translateProp] = translateVal,
|
|
41
|
-
_b),
|
|
42
|
-
'page:current': (_c = {},
|
|
43
|
-
_c[translateProp] = 0,
|
|
44
|
-
_c),
|
|
45
|
-
'page:previous': (_d = {},
|
|
46
|
-
_d[translateProp] = -translateVal,
|
|
47
|
-
_d),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.pagerAnimation = pagerAnimation;
|
|
51
|
-
exports.PagerStyles = __assign(__assign({}, presets), { default: createPagerStyle(function (theme) {
|
|
52
|
-
var width = theme.values.width;
|
|
53
|
-
var height = theme.values.window.height * 0.8;
|
|
54
|
-
return __assign(__assign({}, pagerAnimation(height, width, 'X')), { page: {
|
|
55
|
-
width: '100%',
|
|
56
|
-
height: '100%',
|
|
57
|
-
position: 'absolute',
|
|
58
|
-
left: 0,
|
|
59
|
-
right: 0,
|
|
60
|
-
bottom: 0,
|
|
61
|
-
top: 0,
|
|
62
|
-
} });
|
|
63
|
-
}), horizontal: createPagerStyle(function (theme) {
|
|
64
|
-
var width = theme.values.width;
|
|
65
|
-
var height = theme.values.window.height * 0.8;
|
|
66
|
-
return pagerAnimation(height, width, 'X');
|
|
67
|
-
}), vertical: createPagerStyle(function (theme) {
|
|
68
|
-
var height = theme.values.window.height * 0.8;
|
|
69
|
-
var width = theme.values.width;
|
|
70
|
-
return pagerAnimation(height, width, 'Y');
|
|
71
|
-
}) });
|
|
72
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Pager/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAGyB;AACzB,6CAAqC;AAUrC,IAAM,gBAAgB,GAAG,IAAA,oCAA2B,GAAoB,CAAA;AAExE,IAAM,OAAO,GAAG,IAAA,uBAAc,EAAC,UAAC,KAAK,IAAK,OAAA,gBAAgB,CAAC,cAAM,OAAA,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAApB,CAAoB,CAAC,EAA5C,CAA4C,CACrF,CAAA;AACY,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,qBAAM,CAAC,MAAM;CACtB,CAAA;AAED,SAAgB,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,SAAe,EAAE,UAAmC;;IAApD,0BAAA,EAAA,eAAe;IAAE,2BAAA,EAAA,aAAa,8BAAsB;IAChG,IAAM,aAAa,GAAG,mBAAY,SAAS,CAAE,CAAA;IAE7C,IAAM,YAAY,GAAG,SAAS,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAA;IAEvD,OAAO;QACL,OAAO,EAAE;YACP,MAAM,QAAA;YACN,KAAK,OAAA;YACL,QAAQ,EAAE,QAAQ;SACnB;QACD,iBAAiB;YACf,GAAC,aAAa,IAAG,UAAU;eAC5B;QACD,WAAW;YACT,GAAC,aAAa,IAAG,YAAY;eAE9B;QACD,cAAc;YACZ,GAAC,aAAa,IAAG,CAAC;eACnB;QACD,eAAe;YACb,GAAC,aAAa,IAAG,CAAC,YAAY;eAC/B;KACF,CAAA;AACH,CAAC;AAzBD,wCAyBC;AAEY,QAAA,WAAW,yBACnB,OAAO,KACV,OAAO,EAAE,gBAAgB,CAAC,UAAC,KAAK;QAC9B,IAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;QAChC,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAA;QAC/C,6BACK,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,KACrC,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;gBACd,QAAQ,EAAE,UAAU;gBACpB,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;gBACT,GAAG,EAAE,CAAC;aACP,IACF;IACH,CAAC,CAAC,EACF,UAAU,EAAE,gBAAgB,CAAC,UAAC,KAAK;QAEjC,IAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;QAChC,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAA;QAC/C,OAAO,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;IAC3C,CAAC,CAAC,EACF,QAAQ,EAAE,gBAAgB,CAAC,UAAC,KAAK;QAC/B,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAA;QAC/C,IAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;QAChC,OAAO,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;IAC3C,CAAC,CAAC,IACH"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
import { Touchable } from '../Touchable';
|
|
4
|
-
import { ComponentVariants, StylesOf } from '@codeleap/common';
|
|
5
|
-
import { RadioInputComposition, RadioInputStyles } from './styles';
|
|
6
|
-
export * from './styles';
|
|
7
|
-
declare type RadioItem<T extends unknown = any> = {
|
|
8
|
-
value: T;
|
|
9
|
-
label: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
export declare type RadioButtonProps = Omit<ComponentPropsWithoutRef<typeof Touchable>, 'style'> & {
|
|
12
|
-
item: RadioItem;
|
|
13
|
-
select: () => void;
|
|
14
|
-
style: StylesOf<RadioInputComposition>;
|
|
15
|
-
checked: boolean;
|
|
16
|
-
defaultValue?: number;
|
|
17
|
-
};
|
|
18
|
-
export declare type RadioGroupProps<T> = {
|
|
19
|
-
options: RadioItem<T>[];
|
|
20
|
-
value: T;
|
|
21
|
-
onValueChange(value: T): void;
|
|
22
|
-
required?: boolean;
|
|
23
|
-
label: ReactNode;
|
|
24
|
-
styles?: StylesOf<RadioInputComposition>;
|
|
25
|
-
} & ComponentVariants<typeof RadioInputStyles>;
|
|
26
|
-
export declare const RadioButton: React.FC<RadioButtonProps>;
|
|
27
|
-
export declare const RadioGroup: <T extends unknown>(radioGroupProps: RadioGroupProps<T>) => JSX.Element;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
-
};
|
|
28
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
-
var t = {};
|
|
30
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
-
t[p] = s[p];
|
|
32
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
-
t[p[i]] = s[p[i]];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.RadioGroup = exports.RadioButton = void 0;
|
|
41
|
-
var React = __importStar(require("react"));
|
|
42
|
-
var Text_1 = require("../Text");
|
|
43
|
-
var Touchable_1 = require("../Touchable");
|
|
44
|
-
var common_1 = require("@codeleap/common");
|
|
45
|
-
var View_1 = require("../View");
|
|
46
|
-
var InputLabel_1 = require("../InputLabel");
|
|
47
|
-
__exportStar(require("./styles"), exports);
|
|
48
|
-
var getRadioStyle = function (props) { return (0, common_1.useDefaultComponentStyle)('u:RadioInput', props); };
|
|
49
|
-
var RadioButton = function (_a) {
|
|
50
|
-
var item = _a.item, select = _a.select, style = _a.style, checked = _a.checked, props = __rest(_a, ["item", "select", "style", "checked"]);
|
|
51
|
-
return (<Touchable_1.Touchable onPress={select} style={style.itemWrapper} debugName={'Change radioButton value'} styles={{
|
|
52
|
-
feedback: style.buttonFeedback,
|
|
53
|
-
}}>
|
|
54
|
-
<View_1.View style={[style.button, checked && style['button:checked']]}>
|
|
55
|
-
<View_1.View style={[style.buttonMark, checked && style['buttonMark:checked']]}/>
|
|
56
|
-
</View_1.View>
|
|
57
|
-
{typeof item.label === 'string' ? (<Text_1.Text text={item.label} style={style.text}/>) : (item.label)}
|
|
58
|
-
</Touchable_1.Touchable>);
|
|
59
|
-
};
|
|
60
|
-
exports.RadioButton = RadioButton;
|
|
61
|
-
var RadioGroup = function (radioGroupProps) {
|
|
62
|
-
var options = radioGroupProps.options, value = radioGroupProps.value, onValueChange = radioGroupProps.onValueChange, label = radioGroupProps.label, responsiveVariants = radioGroupProps.responsiveVariants, _a = radioGroupProps.required, required = _a === void 0 ? false : _a, variants = radioGroupProps.variants, styles = radioGroupProps.styles;
|
|
63
|
-
var radioStyle = getRadioStyle({
|
|
64
|
-
responsiveVariants: responsiveVariants,
|
|
65
|
-
variants: variants,
|
|
66
|
-
styles: styles,
|
|
67
|
-
});
|
|
68
|
-
return (<View_1.View style={radioStyle.wrapper}>
|
|
69
|
-
<InputLabel_1.InputLabel required={required} label={label} styles={(0, common_1.getNestedStylesByKey)('label', radioStyle)}/>
|
|
70
|
-
<View_1.View style={radioStyle.list}>
|
|
71
|
-
{options === null || options === void 0 ? void 0 : options.map(function (item, idx) { return (<exports.RadioButton debugName={'RadioButton'} item={item} key={idx} style={radioStyle} checked={value === item.value} select={function () { return onValueChange(item.value); }}/>); })}
|
|
72
|
-
</View_1.View>
|
|
73
|
-
</View_1.View>);
|
|
74
|
-
};
|
|
75
|
-
exports.RadioGroup = RadioGroup;
|
|
76
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioInput/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { InputLabelComposition } from '../InputLabel';
|
|
2
|
-
declare type RadioParts = 'button' | 'itemWrapper' | 'text' | 'buttonMark' | 'buttonFeedback';
|
|
3
|
-
declare type RadioGroupParts = `label${Capitalize<InputLabelComposition>}` | 'wrapper' | 'list';
|
|
4
|
-
export declare type RadioInputComposition = `${RadioParts}:checked` | RadioParts | RadioGroupParts;
|
|
5
|
-
export declare const RadioInputStyles: {
|
|
6
|
-
default: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
7
|
-
square: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
8
|
-
fixed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
9
|
-
hidden: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
10
|
-
center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
11
|
-
flex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
12
|
-
row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
13
|
-
column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
14
|
-
wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
15
|
-
absolute: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
16
|
-
relative: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
17
|
-
blur: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
18
|
-
inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
19
|
-
block: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
20
|
-
inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
21
|
-
sticky: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
22
|
-
full: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
23
|
-
noWrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
24
|
-
fullWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
25
|
-
fullHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
26
|
-
fullView: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
27
|
-
fullViewWidth: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
28
|
-
fullViewHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
29
|
-
whole: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
30
|
-
centerRow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
31
|
-
listStyles: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
32
|
-
alignStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
33
|
-
alignEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
34
|
-
alignCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
35
|
-
alignStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
36
|
-
alignSelfCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
37
|
-
alignSelfStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
38
|
-
alignSelfStretch: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
39
|
-
alignSelfEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
40
|
-
justifyStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
41
|
-
justifyEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
42
|
-
justifyCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
43
|
-
justifySpaceBetween: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
44
|
-
justifySpaceAround: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
45
|
-
textRight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
46
|
-
textLeft: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
47
|
-
textCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
48
|
-
elevated: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
49
|
-
neumorphism: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
50
|
-
scrollX: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
51
|
-
scrollY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
52
|
-
scrollXY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
53
|
-
debRed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
54
|
-
debGreen: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
55
|
-
debBlue: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
56
|
-
debYellow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RadioInputComposition, any>>;
|
|
57
|
-
};
|
|
58
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.RadioInputStyles = void 0;
|
|
15
|
-
var common_1 = require("@codeleap/common");
|
|
16
|
-
var createRadioStyle = (0, common_1.createDefaultVariantFactory)();
|
|
17
|
-
var presets = (0, common_1.includePresets)(function (style) { return createRadioStyle(function () { return ({ wrapper: style }); }); });
|
|
18
|
-
exports.RadioInputStyles = __assign(__assign({}, presets), { default: createRadioStyle(function (theme) {
|
|
19
|
-
var itemHeight = theme.typography.baseFontSize * 1.2;
|
|
20
|
-
var markHeight = itemHeight / 2;
|
|
21
|
-
var translateX = -(markHeight / 2);
|
|
22
|
-
var translateY = -(markHeight / 2);
|
|
23
|
-
return {
|
|
24
|
-
itemWrapper: __assign(__assign({}, theme.presets.row), theme.spacing.marginVertical(1.3)),
|
|
25
|
-
button: __assign(__assign(__assign({ height: itemHeight, width: itemHeight }, theme.border.primary(1)), { borderRadius: theme.borderRadius.large, position: 'relative' }), theme.spacing.marginRight(1)),
|
|
26
|
-
buttonFeedback: { type: 'opacity', value: 0.5 },
|
|
27
|
-
buttonMark: {
|
|
28
|
-
backgroundColor: theme.colors.primary,
|
|
29
|
-
position: 'absolute',
|
|
30
|
-
left: '50%',
|
|
31
|
-
top: '50%',
|
|
32
|
-
height: markHeight,
|
|
33
|
-
width: markHeight,
|
|
34
|
-
transform: [{ translateX: translateX }, { translateY: translateY }],
|
|
35
|
-
borderRadius: theme.borderRadius.large,
|
|
36
|
-
opacity: 0,
|
|
37
|
-
},
|
|
38
|
-
'buttonMark:checked': {
|
|
39
|
-
opacity: 1,
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
}), square: createRadioStyle(function () { return ({
|
|
43
|
-
buttonMark: {
|
|
44
|
-
borderRadius: 0,
|
|
45
|
-
},
|
|
46
|
-
button: {
|
|
47
|
-
borderRadius: 0,
|
|
48
|
-
},
|
|
49
|
-
}); }) });
|
|
50
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/RadioInput/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAEyB;AAWzB,IAAM,gBAAgB,GACpB,IAAA,oCAA2B,GAAyB,CAAA;AAEtD,IAAM,OAAO,GAAG,IAAA,uBAAc,EAAC,UAAA,KAAK,IAAI,OAAA,gBAAgB,CAAC,cAAM,OAAA,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAApB,CAAoB,CAAC,EAA5C,CAA4C,CAAC,CAAA;AAExE,QAAA,gBAAgB,yBACxB,OAAO,KACV,OAAO,EAAE,gBAAgB,CAAC,UAAC,KAAK;QAE9B,IAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,YAAY,GAAG,GAAG,CAAA;QACtD,IAAM,UAAU,GAAG,UAAU,GAAG,CAAC,CAAA;QACjC,IAAM,UAAU,GAAG,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAA;QACpC,IAAM,UAAU,GAAG,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAA;QACpC,OAAO;YACL,WAAW,wBACN,KAAK,CAAC,OAAO,CAAC,GAAG,GACjB,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,GAAG,CAAC,CACrC;YACD,MAAM,+BACJ,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,UAAU,IACd,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,KAC1B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,EAEtC,QAAQ,EAAE,UAAU,KACjB,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAChC;YACD,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE;YAC/C,UAAU,EAAE;gBACV,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO;gBACrC,QAAQ,EAAE,UAAU;gBACpB,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE,KAAK;gBACV,MAAM,EAAE,UAAU;gBAClB,KAAK,EAAE,UAAU;gBAEjB,SAAS,EAAE,CAAC,EAAE,UAAU,YAAA,EAAE,EAAE,EAAE,UAAU,YAAA,EAAE,CAAC;gBAC3C,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK;gBACtC,OAAO,EAAE,CAAC;aACX;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,CAAC;aACX;SACF,CAAA;IACH,CAAC,CAAC,EACF,MAAM,EAAE,gBAAgB,CAAC,cAAM,OAAA,CAAC;QAC9B,UAAU,EAAE;YACV,YAAY,EAAE,CAAC;SAChB;QACD,MAAM,EAAE;YACN,YAAY,EAAE,CAAC;SAChB;KACF,CAAC,EAP6B,CAO7B,CAAC,IACJ"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ComponentVariants, StylesOf } from '@codeleap/common';
|
|
3
|
-
import { RefreshControlProps as RNRefreshControlProps } from 'react-native';
|
|
4
|
-
import { RefreshControlComposition, RefreshControlPresets } from './styles';
|
|
5
|
-
export type RefreshControlProps = {
|
|
6
|
-
styles?: StylesOf<RefreshControlComposition>;
|
|
7
|
-
} & RNRefreshControlProps & ComponentVariants<typeof RefreshControlPresets>;
|
|
8
|
-
export declare const RefreshControl: (props: RefreshControlProps) => JSX.Element;
|
|
9
|
-
export * from './styles';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.RefreshControl = void 0;
|
|
18
|
-
var common_1 = require("@codeleap/common");
|
|
19
|
-
var react_native_1 = require("react-native");
|
|
20
|
-
var RefreshControl = function (props) {
|
|
21
|
-
var _a, _b, _c, _d;
|
|
22
|
-
var _e = props.variants, variants = _e === void 0 ? [] : _e, styles = props.styles;
|
|
23
|
-
var variantStyles = (0, common_1.useDefaultComponentStyle)('u:RefreshControl', {
|
|
24
|
-
variants: variants,
|
|
25
|
-
styles: styles,
|
|
26
|
-
});
|
|
27
|
-
return (<react_native_1.RefreshControl colors={[(_a = variantStyles.loadingAnimation) === null || _a === void 0 ? void 0 : _a.color]} tintColor={(_b = variantStyles.loadingAnimation) === null || _b === void 0 ? void 0 : _b.color} progressBackgroundColor={(_c = variantStyles.progressBackgroundColor) === null || _c === void 0 ? void 0 : _c.color} titleColor={(_d = variantStyles.titleColor) === null || _d === void 0 ? void 0 : _d.color} {...props}/>);
|
|
28
|
-
};
|
|
29
|
-
exports.RefreshControl = RefreshControl;
|
|
30
|
-
__exportStar(require("./styles"), exports);
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RefreshControl/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAwF;AACxF,6CAA+G;AAOxG,IAAM,cAAc,GAAG,UAAC,KAAyB;;IAC9C,IAAA,KAA0B,KAAK,SAAlB,EAAb,QAAQ,mBAAG,EAAE,KAAA,EAAE,MAAM,GAAK,KAAK,OAAV,CAAU;IAEvC,IAAM,aAAa,GAAG,IAAA,iCAAwB,EAAmD,kBAAkB,EAAE;QACnH,QAAQ,UAAA;QACR,MAAM,QAAA;KACP,CAAC,CAAA;IACF,OAAO,CACL,CAAC,6BAAgB,CACf,MAAM,CAAC,CAAC,CAAC,MAAA,aAAa,CAAC,gBAAgB,0CAAE,KAAK,CAAC,CAAC,CAChD,SAAS,CAAC,CAAC,MAAA,aAAa,CAAC,gBAAgB,0CAAE,KAAK,CAAC,CACjD,uBAAuB,CAAC,CAAC,MAAA,aAAa,CAAC,uBAAuB,0CAAE,KAAK,CAAC,CACtE,UAAU,CAAC,CAAC,MAAA,aAAa,CAAC,UAAU,0CAAE,KAAK,CAAC,CAC5C,IAAI,KAAK,CAAC,EACV,CAEH,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,cAAc,kBAiB1B;AAED,2CAAwB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export type RefreshControlComposition = 'loadingAnimation' | 'progressBackgroundColor' | 'titleColor';
|
|
2
|
-
export declare const RefreshControlPresets: import("@codeleap/common").IncludePresetsReturn<(style: any) => (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<RefreshControlComposition, any>>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RefreshControlPresets = void 0;
|
|
4
|
-
var common_1 = require("@codeleap/common");
|
|
5
|
-
var createRefreshControlStyle = (0, common_1.createDefaultVariantFactory)();
|
|
6
|
-
exports.RefreshControlPresets = (0, common_1.includePresets)(function (style) { return createRefreshControlStyle(function () { return ({ loadingAnimation: style }); }); });
|
|
7
|
-
//# sourceMappingURL=styles.js.map
|