@codeleap/mobile 1.9.32 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ActionIcon/index.d.ts +13 -0
- package/dist/components/ActionIcon/index.js +54 -0
- package/dist/components/ActionIcon/index.js.map +1 -0
- package/dist/components/ActionIcon/styles.d.ts +64 -0
- package/dist/components/ActionIcon/styles.js +57 -0
- package/dist/components/ActionIcon/styles.js.map +1 -0
- package/dist/components/{ActivityIndicator.d.ts → ActivityIndicator/index.d.ts} +4 -2
- package/dist/components/{ActivityIndicator.js → ActivityIndicator/index.js} +5 -1
- package/dist/components/ActivityIndicator/index.js.map +1 -0
- package/dist/components/ActivityIndicator/styles.d.ts +59 -0
- package/dist/components/ActivityIndicator/styles.js +52 -0
- package/dist/components/ActivityIndicator/styles.js.map +1 -0
- package/dist/components/AutoComplete/index.d.ts +33 -0
- package/dist/components/AutoComplete/index.js +129 -0
- package/dist/components/AutoComplete/index.js.map +1 -0
- package/dist/components/AutoComplete/styles.d.ts +57 -0
- package/dist/components/AutoComplete/styles.js +28 -0
- package/dist/components/AutoComplete/styles.js.map +1 -0
- package/dist/components/Backdrop/index.d.ts +14 -0
- package/dist/components/{Backdrop.js → Backdrop/index.js} +23 -30
- package/dist/components/Backdrop/index.js.map +1 -0
- package/dist/components/{Backdrop.d.ts → Backdrop/styles.d.ts} +7 -20
- package/dist/components/Backdrop/styles.js +28 -0
- package/dist/components/Backdrop/styles.js.map +1 -0
- package/dist/components/Button/index.d.ts +247 -0
- package/dist/components/{Button.js → Button/index.js} +45 -11
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/{NewPager → Button}/styles.d.ts +59 -86
- package/dist/components/Button/styles.js +59 -0
- package/dist/components/Button/styles.js.map +1 -0
- package/dist/components/Calendar/index.d.ts +15 -0
- package/dist/components/Calendar/index.js +80 -0
- package/dist/components/Calendar/index.js.map +1 -0
- package/dist/components/Calendar/style.d.ts +4 -0
- package/dist/components/Calendar/style.js +36 -0
- package/dist/components/Calendar/style.js.map +1 -0
- package/dist/components/Calendar/types.d.ts +95 -0
- package/dist/components/Calendar/types.js +3 -0
- package/dist/components/Calendar/types.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Checkbox/styles.d.ts +52 -52
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Checkbox/styles.js.map +1 -1
- package/dist/components/{ContentView.d.ts → ContentView/index.d.ts} +5 -3
- package/dist/components/{ContentView.js → ContentView/index.js} +19 -4
- package/dist/components/ContentView/index.js.map +1 -0
- package/dist/components/ContentView/styles.d.ts +53 -0
- package/dist/components/ContentView/styles.js +26 -0
- package/dist/components/ContentView/styles.js.map +1 -0
- package/dist/components/Drawer/index.d.ts +7 -0
- package/dist/components/{View.js → Drawer/index.js} +18 -15
- package/dist/components/Drawer/index.js.map +1 -0
- package/dist/components/{NewModal → Drawer}/styles.d.ts +55 -56
- package/dist/components/Drawer/styles.js +37 -0
- package/dist/components/Drawer/styles.js.map +1 -0
- package/dist/components/{EmptyPlaceholder.d.ts → EmptyPlaceholder/index.d.ts} +4 -2
- package/dist/components/{EmptyPlaceholder.js → EmptyPlaceholder/index.js} +9 -5
- package/dist/components/EmptyPlaceholder/index.js.map +1 -0
- package/dist/components/EmptyPlaceholder/styles.d.ts +55 -0
- package/dist/components/EmptyPlaceholder/styles.js +32 -0
- package/dist/components/EmptyPlaceholder/styles.js.map +1 -0
- package/dist/components/{FileInput.d.ts → FileInput/index.d.ts} +8 -6
- package/dist/components/{FileInput.js → FileInput/index.js} +13 -30
- package/dist/components/FileInput/index.js.map +1 -0
- package/dist/components/FileInput/styles.d.ts +53 -0
- package/dist/components/FileInput/styles.js +19 -0
- package/dist/components/FileInput/styles.js.map +1 -0
- package/dist/components/Grid/index.d.ts +30 -0
- package/dist/components/Grid/index.js +69 -0
- package/dist/components/Grid/index.js.map +1 -0
- package/dist/components/Grid/styles.d.ts +5 -0
- package/dist/components/Grid/styles.js +19 -0
- package/dist/components/Grid/styles.js.map +1 -0
- package/dist/components/{Icon.d.ts → Icon/index.d.ts} +3 -1
- package/dist/components/{Icon.js → Icon/index.js} +6 -2
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/Icon/styles.d.ts +60 -0
- package/dist/components/Icon/styles.js +45 -0
- package/dist/components/Icon/styles.js.map +1 -0
- package/dist/components/{Image.d.ts → Image/index.d.ts} +6 -4
- package/dist/components/{Image.js → Image/index.js} +35 -7
- package/dist/components/Image/index.js.map +1 -0
- package/dist/components/Image/styles.d.ts +54 -0
- package/dist/components/Image/styles.js +25 -0
- package/dist/components/Image/styles.js.map +1 -0
- package/dist/components/ImageView/Spotlight.d.ts +25 -0
- package/dist/components/ImageView/Spotlight.js +155 -0
- package/dist/components/ImageView/Spotlight.js.map +1 -0
- package/dist/components/ImageView/component.d.ts +5 -0
- package/dist/components/ImageView/component.js +54 -0
- package/dist/components/ImageView/component.js.map +1 -0
- package/dist/components/ImageView/index.d.ts +2 -0
- package/dist/components/ImageView/index.js +19 -0
- package/dist/components/ImageView/index.js.map +1 -0
- package/dist/components/List/PaginationIndicator.d.ts +67 -0
- package/dist/components/List/PaginationIndicator.js +51 -0
- package/dist/components/List/PaginationIndicator.js.map +1 -0
- package/dist/components/{List.d.ts → List/index.d.ts} +12 -15
- package/dist/components/List/index.js +68 -0
- package/dist/components/List/index.js.map +1 -0
- package/dist/components/List/styles.d.ts +5 -0
- package/dist/components/List/styles.js +24 -0
- package/dist/components/List/styles.js.map +1 -0
- package/dist/components/Modal/index.d.ts +13 -3
- package/dist/components/Modal/index.js +23 -8
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/styles.d.ts +55 -55
- package/dist/components/Modal/styles.js +4 -3
- package/dist/components/Modal/styles.js.map +1 -1
- package/dist/components/MultiSelect/index.d.ts +6 -0
- package/dist/components/MultiSelect/index.js +106 -0
- package/dist/components/MultiSelect/index.js.map +1 -0
- package/dist/components/MultiSelect/styles.d.ts +58 -0
- package/dist/components/MultiSelect/styles.js +25 -0
- package/dist/components/MultiSelect/styles.js.map +1 -0
- package/dist/components/MultiSelect/types.d.ts +32 -0
- package/dist/components/MultiSelect/types.js +3 -0
- package/dist/components/MultiSelect/types.js.map +1 -0
- package/dist/components/Navigation/Navigation.js +1 -5
- package/dist/components/Navigation/Navigation.js.map +1 -1
- package/dist/components/Pager/index.d.ts +18 -12
- package/dist/components/Pager/index.js +54 -134
- package/dist/components/Pager/index.js.map +1 -1
- package/dist/components/Pager/styles.d.ts +42 -9
- package/dist/components/Pager/styles.js +53 -27
- package/dist/components/Pager/styles.js.map +1 -1
- package/dist/components/RadioInput/index.d.ts +4 -4
- package/dist/components/RadioInput/index.js.map +1 -1
- package/dist/components/RadioInput/styles.d.ts +53 -53
- package/dist/components/RadioInput/styles.js +11 -7
- package/dist/components/RadioInput/styles.js.map +1 -1
- package/dist/components/Scroll/index.d.ts +18 -0
- package/dist/components/{Scroll.js → Scroll/index.js} +14 -11
- package/dist/components/Scroll/index.js.map +1 -0
- package/dist/components/Scroll/styles.d.ts +4 -0
- package/dist/components/Scroll/styles.js +27 -0
- package/dist/components/Scroll/styles.js.map +1 -0
- package/dist/components/Sections/index.d.ts +11 -0
- package/dist/components/{Sections.js → Sections/index.js} +4 -5
- package/dist/components/Sections/index.js.map +1 -0
- package/dist/components/SegmentedControl/index.js.map +1 -1
- package/dist/components/SegmentedControl/styles.d.ts +6 -6
- package/dist/components/Select/index.d.ts +8 -0
- package/dist/components/Select/index.js +38 -80
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/Select/styles.d.ts +57 -7
- package/dist/components/Select/styles.js +14 -41
- package/dist/components/Select/styles.js.map +1 -1
- package/dist/components/Select/types.d.ts +16 -25
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +4 -0
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Slider/styles.d.ts +53 -0
- package/dist/components/Slider/styles.js +61 -0
- package/dist/components/Slider/styles.js.map +1 -0
- package/dist/components/Slider/types.d.ts +3 -2
- package/dist/components/{Switch.d.ts → Switch/index.d.ts} +3 -2
- package/dist/components/{Switch.js → Switch/index.js} +8 -4
- package/dist/components/Switch/index.js.map +1 -0
- package/dist/components/Switch/styles.d.ts +54 -0
- package/dist/components/Switch/styles.js +34 -0
- package/dist/components/Switch/styles.js.map +1 -0
- package/dist/components/{Text.d.ts → Text/index.d.ts} +5 -3
- package/dist/components/{Text.js → Text/index.js} +7 -3
- package/dist/components/Text/index.js.map +1 -0
- package/dist/components/Text/styles.d.ts +65 -0
- package/dist/components/Text/styles.js +23 -0
- package/dist/components/Text/styles.js.map +1 -0
- package/dist/components/TextInput/Label.d.ts +9 -0
- package/dist/components/TextInput/Label.js +34 -0
- package/dist/components/TextInput/Label.js.map +1 -0
- package/dist/components/{TextInput.d.ts → TextInput/index.d.ts} +34 -41
- package/dist/components/{TextInput.js → TextInput/index.js} +51 -48
- package/dist/components/TextInput/index.js.map +1 -0
- package/dist/components/TextInput/styles.d.ts +62 -0
- package/dist/components/TextInput/styles.js +60 -0
- package/dist/components/TextInput/styles.js.map +1 -0
- package/dist/components/{Touchable.d.ts → Touchable/index.d.ts} +8 -4
- package/dist/components/{Touchable.js → Touchable/index.js} +59 -12
- package/dist/components/Touchable/index.js.map +1 -0
- package/dist/components/Touchable/styles.d.ts +53 -0
- package/dist/components/Touchable/styles.js +19 -0
- package/dist/components/Touchable/styles.js.map +1 -0
- package/dist/components/{View.d.ts → View/index.d.ts} +6 -0
- package/dist/components/View/index.js +99 -0
- package/dist/components/View/index.js.map +1 -0
- package/dist/components/View/styles.d.ts +54 -0
- package/dist/components/View/styles.js +29 -0
- package/dist/components/View/styles.js.map +1 -0
- package/dist/components/components.d.ts +10 -3
- package/dist/components/components.js +23 -3
- package/dist/components/components.js.map +1 -1
- package/dist/components/defaultStyles.d.ts +1364 -0
- package/dist/components/defaultStyles.js +63 -0
- package/dist/components/defaultStyles.js.map +1 -0
- package/dist/components/{_Modal → legacy/Modal}/index.d.ts +3 -3
- package/dist/components/{_Modal → legacy/Modal}/index.js +6 -6
- package/dist/components/legacy/Modal/index.js.map +1 -0
- package/dist/components/{_Modal → legacy/Modal}/styles.d.ts +6 -6
- package/dist/components/{_Modal → legacy/Modal}/styles.js +0 -0
- package/dist/components/legacy/Modal/styles.js.map +1 -0
- package/dist/components/legacy/Pager/index.d.ts +20 -0
- package/dist/components/legacy/Pager/index.js +168 -0
- package/dist/components/legacy/Pager/index.js.map +1 -0
- package/dist/components/legacy/Pager/styles.d.ts +54 -0
- package/dist/components/legacy/Pager/styles.js +44 -0
- package/dist/components/legacy/Pager/styles.js.map +1 -0
- package/dist/components/legacy/index.d.ts +2 -0
- package/dist/components/legacy/index.js +19 -0
- package/dist/components/legacy/index.js.map +1 -0
- package/dist/index.d.ts +4 -6
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/modules/reactNavigation.d.ts +2 -0
- package/dist/modules/reactNavigation.js +16 -1
- package/dist/modules/reactNavigation.js.map +1 -1
- package/dist/modules/textInputMask.d.ts +1 -0
- package/dist/modules/textInputMask.js +15 -0
- package/dist/modules/textInputMask.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/KeyboardAware/index.d.ts +6 -0
- package/dist/utils/KeyboardAware/index.js +31 -0
- package/dist/utils/KeyboardAware/index.js.map +1 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.d.ts +3 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js +9 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareFlatList.js.map +1 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.d.ts +65 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js +450 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareHOC.js.map +1 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.d.ts +7 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js +4 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareInterface.js.map +1 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.d.ts +3 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js +10 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareScrollView.js.map +1 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.d.ts +3 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js +10 -0
- package/dist/utils/KeyboardAware/lib/KeyboardAwareSectionList.js.map +1 -0
- package/dist/utils/KeyboardAware/types.d.ts +1 -0
- package/dist/utils/KeyboardAware/types.js +7 -0
- package/dist/utils/KeyboardAware/types.js.map +1 -0
- package/dist/utils/ModalManager/components.d.ts +10 -2
- package/dist/utils/ModalManager/components.js +39 -7
- package/dist/utils/ModalManager/components.js.map +1 -1
- package/dist/utils/ModalManager/context.d.ts +1 -0
- package/dist/utils/ModalManager/context.js +6 -0
- package/dist/utils/ModalManager/context.js.map +1 -1
- package/dist/utils/ModalManager/index.d.ts +3 -2
- package/dist/utils/ModalManager/index.js +1 -0
- package/dist/utils/ModalManager/index.js.map +1 -1
- package/dist/utils/PermissionManager/context.js +0 -7
- package/dist/utils/PermissionManager/context.js.map +1 -1
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +42 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/misc.d.ts +5 -1
- package/dist/utils/misc.js +62 -1
- package/dist/utils/misc.js.map +1 -1
- package/dist/utils/notifications.d.ts +34 -0
- package/dist/utils/notifications.js +268 -0
- package/dist/utils/notifications.js.map +1 -0
- package/package.json +13 -4
- package/src/components/ActionIcon/index.tsx +31 -0
- package/src/components/ActionIcon/styles.ts +92 -0
- package/src/components/{ActivityIndicator.tsx → ActivityIndicator/index.tsx} +7 -3
- package/src/components/ActivityIndicator/styles.ts +68 -0
- package/src/components/AutoComplete/index.tsx +158 -0
- package/src/components/AutoComplete/styles.ts +49 -0
- package/src/components/{Backdrop.tsx → Backdrop/index.tsx} +13 -42
- package/src/components/Backdrop/styles.ts +33 -0
- package/src/components/{Button.tsx → Button/index.tsx} +64 -11
- package/src/components/Button/styles.ts +105 -0
- package/src/components/Calendar/index.tsx +65 -0
- package/src/components/Calendar/style.ts +35 -0
- package/src/components/Calendar/types.ts +102 -0
- package/src/components/Checkbox/index.tsx +6 -4
- package/src/components/Checkbox/styles.ts +3 -3
- package/src/components/{ContentView.tsx → ContentView/index.tsx} +11 -6
- package/src/components/ContentView/styles.ts +25 -0
- package/src/components/Drawer/index.tsx +24 -0
- package/src/components/Drawer/styles.ts +38 -0
- package/src/components/{EmptyPlaceholder.tsx → EmptyPlaceholder/index.tsx} +14 -7
- package/src/components/EmptyPlaceholder/styles.ts +58 -0
- package/src/components/{FileInput.tsx → FileInput/index.tsx} +19 -28
- package/src/components/FileInput/styles.ts +15 -0
- package/src/components/Grid/index.tsx +107 -0
- package/src/components/Grid/styles.ts +11 -0
- package/src/components/{Icon.tsx → Icon/index.tsx} +8 -3
- package/src/components/Icon/styles.ts +52 -0
- package/src/components/Image/index.tsx +88 -0
- package/src/components/Image/styles.ts +20 -0
- package/src/components/ImageView/Spotlight.tsx +158 -0
- package/src/components/ImageView/component.tsx +38 -0
- package/src/components/ImageView/index.ts +2 -0
- package/src/components/List/PaginationIndicator.tsx +71 -0
- package/src/components/List/index.tsx +108 -0
- package/src/components/List/styles.ts +15 -0
- package/src/components/Modal/index.tsx +75 -39
- package/src/components/Modal/styles.ts +7 -5
- package/src/components/MultiSelect/index.tsx +120 -0
- package/src/components/MultiSelect/styles.ts +25 -0
- package/src/components/MultiSelect/types.ts +39 -0
- package/src/components/Navigation/Navigation.tsx +1 -5
- package/src/components/Pager/index.tsx +81 -202
- package/src/components/Pager/styles.ts +58 -33
- package/src/components/RadioInput/index.tsx +5 -6
- package/src/components/RadioInput/styles.ts +8 -10
- package/src/components/{Scroll.tsx → Scroll/index.tsx} +22 -24
- package/src/components/Scroll/styles.ts +18 -0
- package/src/components/{Sections.tsx → Sections/index.tsx} +5 -15
- package/src/components/SegmentedControl/index.tsx +1 -1
- package/src/components/Select/index.tsx +74 -139
- package/src/components/Select/styles.ts +42 -74
- package/src/components/Select/types.ts +16 -23
- package/src/components/Slider/index.tsx +2 -0
- package/src/components/Slider/styles.ts +75 -0
- package/src/components/Slider/types.ts +7 -2
- package/src/components/{Switch.tsx → Switch/index.tsx} +9 -4
- package/src/components/Switch/styles.ts +37 -0
- package/src/components/{Text.tsx → Text/index.tsx} +7 -3
- package/src/components/Text/styles.ts +34 -0
- package/src/components/TextInput/Label.tsx +26 -0
- package/src/components/{TextInput.tsx → TextInput/index.tsx} +84 -70
- package/src/components/TextInput/styles.ts +120 -0
- package/src/components/Touchable/index.tsx +133 -0
- package/src/components/Touchable/styles.ts +16 -0
- package/src/components/View/index.tsx +89 -0
- package/src/components/View/styles.ts +24 -0
- package/src/components/components.ts +14 -4
- package/src/components/defaultStyles.ts +60 -0
- package/src/components/{_Modal → legacy/Modal}/index.tsx +7 -7
- package/src/components/{_Modal → legacy/Modal}/styles.ts +0 -0
- package/src/components/legacy/Pager/index.tsx +242 -0
- package/src/components/legacy/Pager/styles.ts +51 -0
- package/src/components/legacy/index.ts +2 -0
- package/src/index.ts +4 -9
- package/src/modules/reactNavigation.ts +11 -0
- package/src/modules/textInputMask.ts +2 -0
- package/src/types/index.ts +1 -0
- package/src/utils/KeyboardAware/index.ts +15 -0
- package/src/utils/KeyboardAware/lib/KeyboardAwareFlatList.ts +4 -0
- package/src/utils/KeyboardAware/lib/KeyboardAwareHOC.tsx +608 -0
- package/src/utils/KeyboardAware/lib/KeyboardAwareInterface.ts +13 -0
- package/src/utils/KeyboardAware/lib/KeyboardAwareScrollView.ts +6 -0
- package/src/utils/KeyboardAware/lib/KeyboardAwareSectionList.ts +6 -0
- package/src/utils/KeyboardAware/types.ts +159 -0
- package/src/utils/ModalManager/components.tsx +57 -14
- package/src/utils/ModalManager/context.tsx +10 -0
- package/src/utils/ModalManager/index.ts +4 -1
- package/src/utils/PermissionManager/context.tsx +1 -7
- package/src/utils/index.ts +9 -0
- package/src/utils/misc.ts +61 -2
- package/src/utils/notifications.ts +206 -0
- package/dist/components/ActivityIndicator.js.map +0 -1
- package/dist/components/Backdrop.js.map +0 -1
- package/dist/components/Button.d.ts +0 -132
- package/dist/components/Button.js.map +0 -1
- package/dist/components/ContentView.js.map +0 -1
- package/dist/components/EmptyPlaceholder.js.map +0 -1
- package/dist/components/FileInput.js.map +0 -1
- package/dist/components/Gap.d.ts +0 -8
- package/dist/components/Gap.js +0 -60
- package/dist/components/Gap.js.map +0 -1
- package/dist/components/Icon.js.map +0 -1
- package/dist/components/Image.js.map +0 -1
- package/dist/components/List.js +0 -101
- package/dist/components/List.js.map +0 -1
- package/dist/components/NewModal/index.d.ts +0 -27
- package/dist/components/NewModal/index.js +0 -99
- package/dist/components/NewModal/index.js.map +0 -1
- package/dist/components/NewModal/styles.js +0 -58
- package/dist/components/NewModal/styles.js.map +0 -1
- package/dist/components/NewPager/index.d.ts +0 -26
- package/dist/components/NewPager/index.js +0 -88
- package/dist/components/NewPager/index.js.map +0 -1
- package/dist/components/NewPager/styles.js +0 -70
- package/dist/components/NewPager/styles.js.map +0 -1
- package/dist/components/Overlay.d.ts +0 -16
- package/dist/components/Overlay.js +0 -74
- package/dist/components/Overlay.js.map +0 -1
- package/dist/components/Scroll.d.ts +0 -15
- package/dist/components/Scroll.js.map +0 -1
- package/dist/components/Sections.d.ts +0 -11
- package/dist/components/Sections.js.map +0 -1
- package/dist/components/SegmentedControl.d.ts +0 -5
- package/dist/components/SegmentedControl.js +0 -32
- package/dist/components/SegmentedControl.js.map +0 -1
- package/dist/components/Switch.js.map +0 -1
- package/dist/components/Text.js.map +0 -1
- package/dist/components/TextInput.js.map +0 -1
- package/dist/components/Touchable.js.map +0 -1
- package/dist/components/View.js.map +0 -1
- package/dist/components/_Modal/index.js.map +0 -1
- package/dist/components/_Modal/styles.js.map +0 -1
- package/dist/utils/PermissionManager/components.d.ts +0 -18
- package/dist/utils/PermissionManager/components.js +0 -52
- package/dist/utils/PermissionManager/components.js.map +0 -1
- package/dist/utils/styles.d.ts +0 -1
- package/dist/utils/styles.js +0 -13
- package/dist/utils/styles.js.map +0 -1
- package/src/components/Gap.tsx +0 -40
- package/src/components/Image.tsx +0 -62
- package/src/components/List.tsx +0 -155
- package/src/components/NewPager/index.tsx +0 -121
- package/src/components/NewPager/styles.ts +0 -76
- package/src/components/Overlay.tsx +0 -86
- package/src/components/Touchable.tsx +0 -89
- package/src/components/View.tsx +0 -48
- package/src/utils/styles.ts +0 -14
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentVariants, FormTypes, IconPlaceholder } from '@codeleap/common';
|
|
3
|
+
import { StylesOf } from '../../types/utility';
|
|
4
|
+
import { DrawerProps } from '../Drawer';
|
|
5
|
+
import { FlatListProps } from '../List';
|
|
6
|
+
import { TextInputProps } from '../TextInput';
|
|
7
|
+
import { MultiSelectComposition, MultiSelectStyles } from './styles';
|
|
8
|
+
export declare type MultiSelectRenderFNProps<T> = {
|
|
9
|
+
styles: StylesOf<MultiSelectComposition>;
|
|
10
|
+
onPress: () => void;
|
|
11
|
+
isSelected?: boolean;
|
|
12
|
+
item: FormTypes.Options<T>[number];
|
|
13
|
+
icon?: IconPlaceholder;
|
|
14
|
+
};
|
|
15
|
+
export declare type MultiSelectRenderFN<T> = (props: MultiSelectRenderFNProps<T>) => JSX.Element;
|
|
16
|
+
declare type MultiSelectDrawerProps = Omit<DrawerProps, 'variants' | 'styles'>;
|
|
17
|
+
export declare type MultiSelectProps<T> = MultiSelectDrawerProps & {
|
|
18
|
+
value: T[];
|
|
19
|
+
placeholder?: FormTypes.Label;
|
|
20
|
+
label?: FormTypes.Label;
|
|
21
|
+
options?: FormTypes.Options<T>;
|
|
22
|
+
onValueChange?: (value: T[]) => void;
|
|
23
|
+
renderItem?: MultiSelectRenderFN<T>;
|
|
24
|
+
styles?: StylesOf<MultiSelectComposition>;
|
|
25
|
+
style?: any;
|
|
26
|
+
arrowIconName?: IconPlaceholder;
|
|
27
|
+
inputProps?: Partial<TextInputProps>;
|
|
28
|
+
selectedIcon?: IconPlaceholder;
|
|
29
|
+
hideInput?: boolean;
|
|
30
|
+
listProps?: Partial<FlatListProps>;
|
|
31
|
+
} & ComponentVariants<typeof MultiSelectStyles>;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/MultiSelect/types.ts"],"names":[],"mappings":""}
|
|
@@ -54,12 +54,8 @@ var constants_1 = require("./constants");
|
|
|
54
54
|
var Navigation = function (_a) {
|
|
55
55
|
var type = _a.type, scenes = _a.scenes, props = __rest(_a, ["type", "scenes"]);
|
|
56
56
|
var NavigationComponent = constants_1.Navigators[type];
|
|
57
|
-
var defaultProps = {};
|
|
58
|
-
if (type === 'Tab') {
|
|
59
|
-
defaultProps.screenOptions = { headerShown: false };
|
|
60
|
-
}
|
|
61
57
|
// console.log('render Navigation', { type, scenes, props, defaultProps })
|
|
62
|
-
return <NavigationComponent.Navigator {...props}
|
|
58
|
+
return <NavigationComponent.Navigator {...props}>
|
|
63
59
|
{Object.entries(scenes).map(function (_a, idx) {
|
|
64
60
|
var _b;
|
|
65
61
|
var name = _a[0], content = _a[1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navigation.js","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAc;AACd,2CAA8B;AAC9B,2CAEyB;AACzB,gCAA8B;AAE9B,yCAAwC;AAEjC,IA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U,cA4CtB"}
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
import { ComponentVariants } from '@codeleap/common';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
3
|
import { StylesOf } from '../../types/utility';
|
|
4
|
-
import {
|
|
4
|
+
import { PagerStyles, PagerComposition } from './styles';
|
|
5
5
|
export * from './styles';
|
|
6
|
+
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
|
+
};
|
|
6
15
|
export declare type PagerProps = {
|
|
7
|
-
variants?: ComponentVariants<typeof
|
|
16
|
+
variants?: ComponentVariants<typeof PagerStyles>['variants'];
|
|
8
17
|
styles?: StylesOf<PagerComposition>;
|
|
18
|
+
children?: (((pageData: PageProps) => ReactNode) | ReactNode)[];
|
|
9
19
|
page?: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare type PagerRef = {
|
|
16
|
-
forward(by?: number): void;
|
|
17
|
-
back(by?: number): void;
|
|
18
|
-
to(index?: number): void;
|
|
20
|
+
style?: any;
|
|
21
|
+
setPage?: (page: number) => void;
|
|
22
|
+
returnEarly?: boolean;
|
|
23
|
+
renderPageWrapper?: React.FC<PageProps>;
|
|
24
|
+
pageWrapperProps?: any;
|
|
19
25
|
};
|
|
20
|
-
export declare const Pager: React.
|
|
26
|
+
export declare const Pager: React.FC<PagerProps>;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
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
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -10,159 +21,68 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
21
|
if (k2 === undefined) k2 = k;
|
|
11
22
|
o[k2] = m[k];
|
|
12
23
|
}));
|
|
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
24
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
25
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
26
|
};
|
|
27
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
29
|
+
};
|
|
28
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
31
|
exports.Pager = void 0;
|
|
30
32
|
var common_1 = require("@codeleap/common");
|
|
31
|
-
var react_1 =
|
|
33
|
+
var react_1 = __importDefault(require("react"));
|
|
32
34
|
var react_native_1 = require("react-native");
|
|
33
|
-
var Animated_1 = require("../Animated");
|
|
34
|
-
var Button_1 = require("../Button");
|
|
35
35
|
var View_1 = require("../View");
|
|
36
|
-
var Text_1 = require("../Text");
|
|
37
36
|
__exportStar(require("./styles"), exports);
|
|
38
|
-
|
|
39
|
-
var
|
|
40
|
-
var _a = (0, react_1.useState)(function () { return propPage !== null && propPage !== void 0 ? propPage : 0; }), page = _a[0], setPage = _a[1];
|
|
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;
|
|
41
39
|
var variantStyles = (0, common_1.useDefaultComponentStyle)('u:Pager', {
|
|
42
40
|
styles: styles,
|
|
43
41
|
transform: react_native_1.StyleSheet.flatten,
|
|
44
42
|
variants: variants,
|
|
45
43
|
});
|
|
46
|
-
var logger = (0, common_1.useCodeleapContext)().logger;
|
|
47
44
|
var nChildren = react_1.default.Children.count(children);
|
|
48
45
|
var lastPage = nChildren - 1;
|
|
49
|
-
var
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return nChildren - by;
|
|
70
|
-
}
|
|
71
|
-
return currentPage;
|
|
72
|
-
});
|
|
73
|
-
},
|
|
74
|
-
to: function (n) {
|
|
75
|
-
if (n >= 0 && n <= lastPage) {
|
|
76
|
-
setPage(n);
|
|
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;
|
|
77
66
|
}
|
|
78
67
|
else {
|
|
79
|
-
|
|
68
|
+
pos = 0;
|
|
80
69
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
previous: variantStyles['page:pose:previous'],
|
|
97
|
-
};
|
|
98
|
-
}, [variantStyles]);
|
|
99
|
-
return (<View_1.View style={variantStyles.wrapper}>
|
|
100
|
-
{react_1.default.Children.map(children, function (child, idx) { return (<Page {...pagerProps} idx={idx} lastPage={lastPage} pagePoses={pagePoses} style={[variantStyles.page]} page={page}>
|
|
101
|
-
{child}
|
|
102
|
-
</Page>); })}
|
|
103
|
-
|
|
104
|
-
{debug && (<View_1.View variants={['absolute']} style={{ bottom: 0, left: 0, right: 0 }}>
|
|
105
|
-
<Button_1.Button text='previous' debugName='Previous Pager' onPress={pagerRef.current.back}/>
|
|
106
|
-
<Text_1.Text text={page.toString()}/>
|
|
107
|
-
<Button_1.Button text='next' debugName='Next Pager' onPress={pagerRef.current.forward}/>
|
|
108
|
-
</View_1.View>)}
|
|
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
|
+
})}
|
|
109
85
|
</View_1.View>);
|
|
110
|
-
});
|
|
111
|
-
var Page = function (pageProps) {
|
|
112
|
-
var child = pageProps.children, idx = pageProps.idx, loop = pageProps.loop, lastPage = pageProps.lastPage, page = pageProps.page, style = pageProps.style, pagePoses = pageProps.pagePoses;
|
|
113
|
-
if (!react_1.default.isValidElement(child))
|
|
114
|
-
return null;
|
|
115
|
-
// const isLast = idx === lastPage
|
|
116
|
-
// const isFirst = idx === 0
|
|
117
|
-
// const isLoopNext = (loop && isFirst && page === lastPage)
|
|
118
|
-
// const isLoopPrevious = (loop && isLast && page === 0)
|
|
119
|
-
// const isCurrent = idx === page
|
|
120
|
-
// const isSequenceNext = idx === page + 1
|
|
121
|
-
// const isSequencePrevious = idx === page - 1
|
|
122
|
-
// const isNext = isSequenceNext || isLoopNext
|
|
123
|
-
// const isPrevious = isSequencePrevious || isLoopPrevious
|
|
124
|
-
// const isCurrentOrAdjacent = [
|
|
125
|
-
// isCurrent,
|
|
126
|
-
// isNext,
|
|
127
|
-
// isPrevious
|
|
128
|
-
// ].includes(true)
|
|
129
|
-
// if(isCurrentOrAdjacent){
|
|
130
|
-
// return <Animated
|
|
131
|
-
// key={idx}
|
|
132
|
-
// component='View'
|
|
133
|
-
// config={pagePoses}
|
|
134
|
-
// pose={isCurrent ? 'current' : (isNext ? 'next' : 'previous')}
|
|
135
|
-
// style={[{
|
|
136
|
-
// position: 'absolute',
|
|
137
|
-
// top: 0,
|
|
138
|
-
// },style]}
|
|
139
|
-
// >
|
|
140
|
-
// {child}
|
|
141
|
-
// </Animated>
|
|
142
|
-
// }
|
|
143
|
-
var isCurrent = idx === page;
|
|
144
|
-
var isNext = idx > page;
|
|
145
|
-
var _a = (0, react_1.useState)(isCurrent ? 1 : 0), _opacity = _a[0], setOpacity = _a[1];
|
|
146
|
-
var _b = (0, common_1.useDebounce)(_opacity, 800), opacity = _b[0], resetDebounceTimer = _b[1];
|
|
147
|
-
(0, common_1.onUpdate)(function () {
|
|
148
|
-
if (isCurrent) {
|
|
149
|
-
setOpacity(1);
|
|
150
|
-
}
|
|
151
|
-
else {
|
|
152
|
-
setOpacity(0);
|
|
153
|
-
}
|
|
154
|
-
return resetDebounceTimer;
|
|
155
|
-
}, [idx, page]);
|
|
156
|
-
return (<Animated_1.Animated key={idx} component='View' config={pagePoses} pose={isCurrent ? 'current' : isNext ? 'next' : 'previous'} style={[
|
|
157
|
-
{
|
|
158
|
-
position: 'absolute',
|
|
159
|
-
top: 0,
|
|
160
|
-
opacity: isCurrent ? _opacity : opacity,
|
|
161
|
-
},
|
|
162
|
-
style,
|
|
163
|
-
]}>
|
|
164
|
-
{child}
|
|
165
|
-
</Animated_1.Animated>);
|
|
166
|
-
// return <View style={{display:'none'}} key={idx}>{child}</View>
|
|
167
86
|
};
|
|
87
|
+
exports.Pager = Pager;
|
|
168
88
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Pager/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Pager/index.tsx"],"names":[],"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gBAAgB,CAAC,CACpB,CAAA;QAEH,CAAC,CAAC,CAEN;IAAA,EAAE,WAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA;AArFY,QAAA,KAAK,SAqFjB"}
|
|
@@ -1,19 +1,48 @@
|
|
|
1
|
-
export declare type PagerComposition = 'page' | 'page:transition' | 'page:
|
|
2
|
-
export declare const
|
|
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: {
|
|
3
35
|
default: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
4
|
-
|
|
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
|
+
inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
5
39
|
block: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
6
40
|
flex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
41
|
+
inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
7
42
|
absolute: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
8
43
|
relative: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
9
44
|
fixed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
10
45
|
sticky: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
11
|
-
row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
12
|
-
center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
13
|
-
column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
14
|
-
wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
15
|
-
inline: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
16
|
-
inlineFlex: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
17
46
|
hidden: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
18
47
|
full: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
19
48
|
noWrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
@@ -24,7 +53,10 @@ export declare const MobilePagerStyles: {
|
|
|
24
53
|
fullViewHeight: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
25
54
|
whole: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
26
55
|
centerRow: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
56
|
+
row: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
27
57
|
listStyles: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
58
|
+
column: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
59
|
+
center: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
28
60
|
alignStart: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
29
61
|
alignEnd: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
30
62
|
alignCenter: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
@@ -47,6 +79,7 @@ export declare const MobilePagerStyles: {
|
|
|
47
79
|
scrollX: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
48
80
|
scrollY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
49
81
|
scrollXY: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
82
|
+
wrap: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
50
83
|
debRed: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
51
84
|
debGreen: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
52
85
|
debBlue: (theme: import("@codeleap/common").ThemeColorScheme<import("@codeleap/common").AppTheme>, variant?: string) => Partial<Record<PagerComposition, any>>;
|
|
@@ -11,34 +11,60 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
14
|
+
exports.PagerStyles = exports.pagerAnimation = exports.defaultPagerTransition = void 0;
|
|
15
15
|
var common_1 = require("@codeleap/common");
|
|
16
|
+
var react_native_1 = require("react-native");
|
|
16
17
|
var createPagerStyle = (0, common_1.createDefaultVariantFactory)();
|
|
17
18
|
var presets = (0, common_1.includePresets)(function (style) { return createPagerStyle(function () { return ({ wrapper: style }); }); });
|
|
18
|
-
exports.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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) { return ({
|
|
52
|
+
page: {
|
|
53
|
+
width: '100%',
|
|
54
|
+
height: '100%',
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
left: 0,
|
|
57
|
+
right: 0,
|
|
58
|
+
bottom: 0,
|
|
59
|
+
top: 0,
|
|
60
|
+
},
|
|
61
|
+
}); }), horizontal: createPagerStyle(function (Theme) {
|
|
62
|
+
var width = Theme.values.width;
|
|
63
|
+
var height = Theme.values.height * 0.8;
|
|
64
|
+
return pagerAnimation(height, width, 'X');
|
|
65
|
+
}), vertical: createPagerStyle(function (Theme) {
|
|
66
|
+
var height = Theme.values.height * 0.8;
|
|
67
|
+
var width = Theme.values.width;
|
|
68
|
+
return pagerAnimation(height, width, 'Y');
|
|
69
|
+
}) });
|
|
44
70
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Pager/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAGyB;
|
|
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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;QAC/B,IAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,GAAG,CAAA;QACxC,IAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;QAChC,OAAO,cAAc,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;IAC3C,CAAC,CAAC,IACH"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { ReactNode, ComponentPropsWithoutRef } from 'react';
|
|
3
3
|
import { Touchable } from '../Touchable';
|
|
4
4
|
import { ComponentVariants, StylesOf } from '@codeleap/common';
|
|
5
|
-
import {
|
|
5
|
+
import { RadioInputComposition, RadioInputStyles } from './styles';
|
|
6
6
|
export * from './styles';
|
|
7
7
|
declare type RadioItem<T extends unknown = any> = {
|
|
8
8
|
value: T;
|
|
@@ -11,7 +11,7 @@ declare type RadioItem<T extends unknown = any> = {
|
|
|
11
11
|
export declare type RadioButtonProps = Omit<ComponentPropsWithoutRef<typeof Touchable>, 'style'> & {
|
|
12
12
|
item: RadioItem;
|
|
13
13
|
select: () => void;
|
|
14
|
-
style: StylesOf<
|
|
14
|
+
style: StylesOf<RadioInputComposition>;
|
|
15
15
|
checked: boolean;
|
|
16
16
|
defaultValue?: number;
|
|
17
17
|
};
|
|
@@ -20,7 +20,7 @@ export declare type RadioGroupProps<T> = {
|
|
|
20
20
|
value: T;
|
|
21
21
|
onValueChange(value: T): void;
|
|
22
22
|
label: ReactNode;
|
|
23
|
-
styles?: StylesOf<
|
|
24
|
-
} & ComponentVariants<typeof
|
|
23
|
+
styles?: StylesOf<RadioInputComposition>;
|
|
24
|
+
} & ComponentVariants<typeof RadioInputStyles>;
|
|
25
25
|
export declare const RadioButton: React.FC<RadioButtonProps>;
|
|
26
26
|
export declare const RadioGroup: <T extends unknown>(radioGroupProps: RadioGroupProps<T>) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioInput/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA8B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioInput/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA8B;AAG9B,gCAA8B;AAC9B,0CAAwC;AACxC,2CAIyB;AACzB,gCAA8B;AAG9B,2CAAwB;AAOxB,IAAM,aAAa,GAAG,UAAC,KAAK,IAAK,OAAA,IAAA,iCAAwB,EAAC,YAAY,EAAE,KAAK,CAAC,EAA7C,CAA6C,CAAA;AAqBvE,IAAM,WAAW,GAA+B,UAAC,EAMvD;IALC,IAAA,IAAI,UAAA,EACJ,MAAM,YAAA,EACN,KAAK,WAAA,EACL,OAAO,aAAA,EACJ,KAAK,cAL8C,sCAMvD,CADS;IAER,OAAO,CACL,CAAC,qBAAS,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,0BAA0B,CAAC,CAC1F;MAAA,CAAC,WAAI,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,OAAO,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAC9D;QAAA,CAAC,WAAI,CACH,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,EAAE,OAAO,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAEtE;MAAA,EAAE,WAAI,CACN;MAAA,CAAC,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,CAChC,CAAC,WAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAG,CAC9C,CAAC,CAAC,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