@codeleap/mobile 5.8.21 → 6.1.2
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/Registry.js.map +1 -1
- package/dist/components/ActionIcon/index.d.ts +2 -3
- package/dist/components/ActionIcon/index.js +5 -11
- package/dist/components/ActionIcon/index.js.map +1 -1
- package/dist/components/ActivityIndicator/index.d.ts +2 -2
- package/dist/components/ActivityIndicator/index.js +2 -2
- package/dist/components/ActivityIndicator/index.js.map +1 -1
- package/dist/components/ActivityIndicator/types.d.ts +0 -1
- package/dist/components/Autocomplete/index.d.ts +2 -3
- package/dist/components/Autocomplete/index.js +15 -18
- package/dist/components/Autocomplete/index.js.map +1 -1
- package/dist/components/Autocomplete/types.d.ts +1 -2
- package/dist/components/Avatar/components/Badge.d.ts +1 -2
- package/dist/components/Avatar/components/Badge.js +2 -2
- package/dist/components/Avatar/components/Badge.js.map +1 -1
- package/dist/components/Avatar/components/Content.d.ts +1 -1
- package/dist/components/Avatar/components/Content.js +3 -7
- package/dist/components/Avatar/components/Content.js.map +1 -1
- package/dist/components/Avatar/components/Illustration.d.ts +1 -2
- package/dist/components/Avatar/components/Illustration.js +2 -5
- package/dist/components/Avatar/components/Illustration.js.map +1 -1
- package/dist/components/Avatar/components/OverlayIcon.d.ts +1 -2
- package/dist/components/Avatar/components/OverlayIcon.js +2 -3
- package/dist/components/Avatar/components/OverlayIcon.js.map +1 -1
- package/dist/components/Avatar/components/Text.d.ts +1 -2
- package/dist/components/Avatar/components/Text.js +2 -1
- package/dist/components/Avatar/components/Text.js.map +1 -1
- package/dist/components/Avatar/components/Wrapper.d.ts +1 -2
- package/dist/components/Avatar/components/Wrapper.js +3 -6
- package/dist/components/Avatar/components/Wrapper.js.map +1 -1
- package/dist/components/Avatar/context.d.ts +108 -111
- package/dist/components/Avatar/context.js.map +1 -1
- package/dist/components/Avatar/index.d.ts +6 -7
- package/dist/components/Avatar/index.js +2 -6
- package/dist/components/Avatar/index.js.map +1 -1
- package/dist/components/AvatarGroup/index.d.ts +2 -3
- package/dist/components/AvatarGroup/index.js +2 -4
- package/dist/components/AvatarGroup/index.js.map +1 -1
- package/dist/components/Backdrop/index.d.ts +2 -3
- package/dist/components/Backdrop/index.js +4 -8
- package/dist/components/Backdrop/index.js.map +1 -1
- package/dist/components/Badge/index.d.ts +2 -3
- package/dist/components/Badge/index.js +5 -9
- package/dist/components/Badge/index.js.map +1 -1
- package/dist/components/Badge/types.d.ts +1 -2
- package/dist/components/Button/index.js +3 -9
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Calendar/index.d.ts +2 -3
- package/dist/components/Calendar/index.js +5 -4
- package/dist/components/Calendar/index.js.map +1 -1
- package/dist/components/CalendarInput/index.d.ts +2 -3
- package/dist/components/CalendarInput/index.js +11 -12
- package/dist/components/CalendarInput/index.js.map +1 -1
- package/dist/components/Checkbox/index.d.ts +2 -3
- package/dist/components/Checkbox/index.js +9 -15
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Collapse/index.d.ts +6 -0
- package/dist/components/Collapse/index.js +42 -0
- package/dist/components/Collapse/index.js.map +1 -0
- package/dist/components/Collapse/types.d.ts +14 -0
- package/dist/components/Collapse/types.js.map +1 -0
- package/dist/components/DatePickerModal/index.d.ts +2 -3
- package/dist/components/DatePickerModal/index.js +13 -21
- package/dist/components/DatePickerModal/index.js.map +1 -1
- package/dist/components/EmptyPlaceholder/components/Button.d.ts +1 -2
- package/dist/components/EmptyPlaceholder/components/Button.js +2 -2
- package/dist/components/EmptyPlaceholder/components/Button.js.map +1 -1
- package/dist/components/EmptyPlaceholder/components/Content.d.ts +1 -1
- package/dist/components/EmptyPlaceholder/components/Content.js +6 -8
- package/dist/components/EmptyPlaceholder/components/Content.js.map +1 -1
- package/dist/components/EmptyPlaceholder/components/Illustration.d.ts +1 -2
- package/dist/components/EmptyPlaceholder/components/Illustration.js +2 -5
- package/dist/components/EmptyPlaceholder/components/Illustration.js.map +1 -1
- package/dist/components/EmptyPlaceholder/components/Info.d.ts +1 -2
- package/dist/components/EmptyPlaceholder/components/Info.js +2 -5
- package/dist/components/EmptyPlaceholder/components/Info.js.map +1 -1
- package/dist/components/EmptyPlaceholder/components/Loading.d.ts +1 -2
- package/dist/components/EmptyPlaceholder/components/Loading.js +3 -4
- package/dist/components/EmptyPlaceholder/components/Loading.js.map +1 -1
- package/dist/components/EmptyPlaceholder/context.d.ts +4 -5
- package/dist/components/EmptyPlaceholder/context.js.map +1 -1
- package/dist/components/EmptyPlaceholder/index.d.ts +5 -6
- package/dist/components/EmptyPlaceholder/index.js +2 -6
- package/dist/components/EmptyPlaceholder/index.js.map +1 -1
- package/dist/components/FileInput/index.d.ts +1 -1
- package/dist/components/FileInput/index.js +1 -1
- package/dist/components/FileInput/index.js.map +1 -1
- package/dist/components/Grid/index.js +11 -10
- package/dist/components/Grid/index.js.map +1 -1
- package/dist/components/Grid/types.d.ts +0 -1
- package/dist/components/Icon/index.d.ts +1 -2
- package/dist/components/Icon/index.js +3 -5
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Image/index.js +9 -15
- package/dist/components/Image/index.js.map +1 -1
- package/dist/components/Image/types.d.ts +1 -2
- package/dist/components/ImageView/Spotlight.d.ts +4 -4
- package/dist/components/ImageView/Spotlight.js +4 -5
- package/dist/components/ImageView/Spotlight.js.map +1 -1
- package/dist/components/ImageView/component.d.ts +1 -2
- package/dist/components/ImageView/component.js +4 -2
- package/dist/components/ImageView/component.js.map +1 -1
- package/dist/components/InputBase/index.js +3 -16
- package/dist/components/InputBase/index.js.map +1 -1
- package/dist/components/InputBase/types.d.ts +3 -4
- package/dist/components/InputBase/useInputBase.d.ts +2 -3
- package/dist/components/InputBase/useInputBase.js +1 -1
- package/dist/components/InputBase/useInputBase.js.map +1 -1
- package/dist/components/InputBase/useInputBasePartialStyles.js.map +1 -1
- package/dist/components/InputOverlay/index.d.ts +3 -4
- package/dist/components/InputOverlay/index.js +6 -21
- package/dist/components/InputOverlay/index.js.map +1 -1
- package/dist/components/InputOverlay/store.js.map +1 -1
- package/dist/components/List/index.js +5 -4
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/List/types.d.ts +0 -1
- package/dist/components/LoadingOverlay/index.d.ts +2 -3
- package/dist/components/LoadingOverlay/index.js +5 -7
- package/dist/components/LoadingOverlay/index.js.map +1 -1
- package/dist/components/Modal/index.d.ts +2 -3
- package/dist/components/Modal/index.js +13 -39
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/types.d.ts +0 -1
- package/dist/components/NumberIncrement/index.js +5 -7
- package/dist/components/NumberIncrement/index.js.map +1 -1
- package/dist/components/NumberIncrement/useNumberIncrement.d.ts +3 -4
- package/dist/components/NumberIncrement/useNumberIncrement.js.map +1 -1
- package/dist/components/Pager/PagerDots.d.ts +1 -2
- package/dist/components/Pager/PagerDots.js +3 -6
- package/dist/components/Pager/PagerDots.js.map +1 -1
- package/dist/components/Pager/PagerItem.d.ts +1 -2
- package/dist/components/Pager/PagerItem.js +3 -2
- package/dist/components/Pager/PagerItem.js.map +1 -1
- package/dist/components/Pager/index.d.ts +2 -3
- package/dist/components/Pager/index.js +9 -16
- package/dist/components/Pager/index.js.map +1 -1
- package/dist/components/Pager/types.d.ts +2 -2
- package/dist/components/PaginationIndicator/index.d.ts +2 -3
- package/dist/components/PaginationIndicator/index.js +3 -3
- package/dist/components/PaginationIndicator/index.js.map +1 -1
- package/dist/components/PaginationIndicator/types.d.ts +2 -3
- package/dist/components/PlacesAutocomplete/index.d.ts +6 -7
- package/dist/components/PlacesAutocomplete/index.js +11 -17
- package/dist/components/PlacesAutocomplete/index.js.map +1 -1
- package/dist/components/PlacesAutocomplete/types.d.ts +3 -4
- package/dist/components/RadioInput/index.d.ts +2 -3
- package/dist/components/RadioInput/index.js +4 -22
- package/dist/components/RadioInput/index.js.map +1 -1
- package/dist/components/RefreshControl/index.d.ts +2 -3
- package/dist/components/RefreshControl/index.js +2 -2
- package/dist/components/RefreshControl/index.js.map +1 -1
- package/dist/components/Scroll/index.d.ts +2 -3
- package/dist/components/Scroll/index.js +9 -12
- package/dist/components/Scroll/index.js.map +1 -1
- package/dist/components/SearchInput/index.d.ts +7 -4
- package/dist/components/SearchInput/index.js +4 -3
- package/dist/components/SearchInput/index.js.map +1 -1
- package/dist/components/SectionFilters/context.d.ts +3 -24
- package/dist/components/SectionFilters/index.d.ts +1 -2
- package/dist/components/SectionFilters/index.js +5 -7
- package/dist/components/SectionFilters/index.js.map +1 -1
- package/dist/components/SectionFilters/useSectionFilters.js.map +1 -1
- package/dist/components/Sections/index.d.ts +2 -3
- package/dist/components/Sections/index.js +5 -4
- package/dist/components/Sections/index.js.map +1 -1
- package/dist/components/Sections/types.d.ts +0 -1
- package/dist/components/SegmentedControl/Option.d.ts +1 -1
- package/dist/components/SegmentedControl/Option.js +7 -13
- package/dist/components/SegmentedControl/Option.js.map +1 -1
- package/dist/components/SegmentedControl/index.js +16 -26
- package/dist/components/SegmentedControl/index.js.map +1 -1
- package/dist/components/SegmentedControl/types.d.ts +2 -3
- package/dist/components/Select/index.d.ts +2 -3
- package/dist/components/Select/index.js +20 -25
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/Select/types.d.ts +2 -3
- package/dist/components/Slider/index.d.ts +2 -3
- package/dist/components/Slider/index.js +23 -38
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Slider/types.d.ts +0 -1
- package/dist/components/SortablePhotos/index.d.ts +2 -3
- package/dist/components/SortablePhotos/index.js +7 -18
- package/dist/components/SortablePhotos/index.js.map +1 -1
- package/dist/components/SortablePhotos/useSortablePhotos.d.ts +0 -2
- package/dist/components/SortablePhotos/useSortablePhotos.js.map +1 -1
- package/dist/components/Switch/index.d.ts +2 -3
- package/dist/components/Switch/index.js +9 -13
- package/dist/components/Switch/index.js.map +1 -1
- package/dist/components/Tabs/Context.d.ts +2 -3
- package/dist/components/Tabs/Context.js +2 -1
- package/dist/components/Tabs/Context.js.map +1 -1
- package/dist/components/Tabs/Panel.d.ts +1 -1
- package/dist/components/Tabs/Panel.js +3 -5
- package/dist/components/Tabs/Panel.js.map +1 -1
- package/dist/components/Tabs/Tab.d.ts +1 -2
- package/dist/components/Tabs/Tab.js +12 -16
- package/dist/components/Tabs/Tab.js.map +1 -1
- package/dist/components/Tabs/TabList.d.ts +1 -2
- package/dist/components/Tabs/TabList.js +2 -1
- package/dist/components/Tabs/TabList.js.map +1 -1
- package/dist/components/Tabs/index.d.ts +197 -192
- package/dist/components/Tabs/index.js +2 -6
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Text/index.js +5 -7
- package/dist/components/Text/index.js.map +1 -1
- package/dist/components/Text/types.d.ts +2 -2
- package/dist/components/TextInput/index.js +13 -14
- package/dist/components/TextInput/index.js.map +1 -1
- package/dist/components/TextInput/types.d.ts +0 -1
- package/dist/components/TextInput/useTextInput.d.ts +2 -3
- package/dist/components/TimeInput/index.d.ts +2 -3
- package/dist/components/TimeInput/index.js +8 -12
- package/dist/components/TimeInput/index.js.map +1 -1
- package/dist/components/Touchable/index.js +5 -10
- package/dist/components/Touchable/index.js.map +1 -1
- package/dist/components/Touchable/types.d.ts +0 -1
- package/dist/components/View/index.d.ts +4 -6
- package/dist/components/View/index.js +4 -3
- package/dist/components/View/index.js.map +1 -1
- package/dist/components/View/types.d.ts +2 -3
- package/dist/components/components.d.ts +1 -0
- package/dist/components/components.js +1 -0
- package/dist/components/components.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/modules/PressableRipple/ripple.d.ts +2 -2
- package/dist/modules/PressableRipple/ripple.js +4 -11
- package/dist/modules/PressableRipple/ripple.js.map +1 -1
- package/dist/modules/PressableRipple/styles.d.ts +5 -5
- package/dist/modules/backgroundTimer.js.map +1 -1
- package/dist/modules/reactNavigation.js.map +1 -1
- package/dist/modules/scroll.d.ts +3 -3
- package/dist/modules/scroll.js +3 -4
- package/dist/modules/scroll.js.map +1 -1
- package/dist/modules/textInputMask.d.ts +1 -2
- package/dist/types/index.d.ts +2 -3
- package/dist/types/utility.d.ts +2 -2
- package/dist/utils/NotificationManager/index.js.map +1 -1
- package/dist/utils/OSAlert.js.map +1 -1
- package/dist/utils/StorageManager.js.map +1 -1
- package/dist/utils/Subscription.js.map +1 -1
- package/dist/utils/hooks.d.ts +3 -3
- package/dist/utils/hooks.js.map +1 -1
- package/dist/utils/input.d.ts +1 -1
- package/dist/utils/input.js.map +1 -1
- package/dist/utils/misc.d.ts +0 -1
- package/dist/utils/misc.js.map +1 -1
- package/dist/utils/useQueryListRefresh.js.map +1 -1
- package/package.json +30 -32
- package/package.json.bak +14 -16
- package/src/components/Autocomplete/types.ts +1 -1
- package/src/components/Badge/types.ts +1 -1
- package/src/components/Collapse/index.tsx +70 -0
- package/src/components/Collapse/types.ts +16 -0
- package/src/components/FileInput/index.tsx +2 -2
- package/src/components/Image/types.ts +1 -1
- package/src/components/ImageView/Spotlight.tsx +2 -2
- package/src/components/ImageView/component.tsx +1 -0
- package/src/components/InputBase/types.ts +3 -3
- package/src/components/InputBase/useInputBase.ts +1 -1
- package/src/components/Pager/PagerItem.tsx +1 -1
- package/src/components/Pager/index.tsx +1 -0
- package/src/components/Pager/types.ts +1 -1
- package/src/components/PaginationIndicator/types.ts +2 -2
- package/src/components/PlacesAutocomplete/types.ts +3 -3
- package/src/components/Scroll/index.tsx +1 -1
- package/src/components/SearchInput/index.tsx +7 -3
- package/src/components/SectionFilters/index.tsx +1 -1
- package/src/components/SegmentedControl/types.ts +2 -2
- package/src/components/Select/types.ts +2 -2
- package/src/components/Slider/index.tsx +1 -0
- package/src/components/Text/types.ts +2 -2
- package/src/components/View/index.tsx +1 -1
- package/src/components/View/types.ts +2 -2
- package/src/components/components.ts +2 -1
- package/src/index.ts +0 -1
- package/src/modules/scroll.tsx +1 -1
- package/src/types/index.ts +2 -2
- package/src/types/utility.ts +2 -2
- package/src/utils/hooks.ts +3 -3
- package/dist/deprecated/index.d.ts +0 -2
- package/dist/deprecated/index.js +0 -5
- package/dist/deprecated/index.js.map +0 -1
- package/dist/deprecated/modals/Context.d.ts +0 -48
- package/dist/deprecated/modals/Context.js +0 -187
- package/dist/deprecated/modals/Context.js.map +0 -1
- package/dist/deprecated/modals/components.d.ts +0 -15
- package/dist/deprecated/modals/components.js +0 -53
- package/dist/deprecated/modals/components.js.map +0 -1
- package/dist/deprecated/modals/index.d.ts +0 -10
- package/dist/deprecated/modals/index.js +0 -9
- package/dist/deprecated/modals/index.js.map +0 -1
- package/dist/deprecated/permissions/Context.d.ts +0 -53
- package/dist/deprecated/permissions/Context.js +0 -208
- package/dist/deprecated/permissions/Context.js.map +0 -1
- package/dist/deprecated/permissions/index.d.ts +0 -5
- package/dist/deprecated/permissions/index.js +0 -4
- package/dist/deprecated/permissions/index.js.map +0 -1
- package/dist/deprecated/permissions/package/Manager.d.ts +0 -23
- package/dist/deprecated/permissions/package/Manager.js +0 -84
- package/dist/deprecated/permissions/package/Manager.js.map +0 -1
- package/dist/deprecated/permissions/package/Permission.d.ts +0 -19
- package/dist/deprecated/permissions/package/Permission.js +0 -65
- package/dist/deprecated/permissions/package/Permission.js.map +0 -1
- package/dist/deprecated/permissions/package/index.d.ts +0 -3
- package/dist/deprecated/permissions/package/index.js +0 -5
- package/dist/deprecated/permissions/package/index.js.map +0 -1
- package/dist/deprecated/permissions/package/types.d.ts +0 -31
- package/dist/deprecated/permissions/package/types.js +0 -2
- package/dist/deprecated/permissions/package/types.js.map +0 -1
- package/dist/deprecated/permissions/types.d.ts +0 -16
- package/dist/deprecated/permissions/types.js.map +0 -1
- package/mobile-packages.code-workspace +0 -27
- package/src/deprecated/index.ts +0 -2
- package/src/deprecated/modals/Context.tsx +0 -259
- package/src/deprecated/modals/components.tsx +0 -84
- package/src/deprecated/modals/index.ts +0 -13
- package/src/deprecated/permissions/Context.tsx +0 -316
- package/src/deprecated/permissions/index.ts +0 -16
- package/src/deprecated/permissions/package/Manager.ts +0 -123
- package/src/deprecated/permissions/package/Permission.ts +0 -79
- package/src/deprecated/permissions/package/index.ts +0 -3
- package/src/deprecated/permissions/package/types.ts +0 -43
- package/src/deprecated/permissions/types.ts +0 -27
- /package/dist/{deprecated/permissions → components/Collapse}/types.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Pager/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Pager/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,QAA+B,MAAM,kCAAkC,CAAA;AAE9E,OAAO,EAAE,UAAU,EAAqB,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAyC,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAE3B,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;AAEvC,MAAM,UAAU,KAAK,CAAI,KAAoB;IAC3C,MAAM,EACJ,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,EAA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CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { StyledProp } from '@codeleap/styles';
|
|
3
3
|
import { PagerComposition } from './styles';
|
|
4
4
|
import { TCarouselProps } from 'react-native-reanimated-carousel';
|
|
@@ -11,7 +11,7 @@ export type PageProps<T> = CarouselRenderItemInfo<T> & {
|
|
|
11
11
|
};
|
|
12
12
|
export type PagerProps<T> = Partial<Omit<TCarouselProps<T>, 'data' | 'renderItem'>> & {
|
|
13
13
|
pages: TCarouselProps<T>['data'];
|
|
14
|
-
renderItem?: (props: PageProps<T>) =>
|
|
14
|
+
renderItem?: (props: PageProps<T>) => React.ReactElement;
|
|
15
15
|
page?: number;
|
|
16
16
|
onChangePage?: (page: number) => void;
|
|
17
17
|
initialPage?: number;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyRecord, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
3
2
|
import { PaginationIndicatorProps } from './types';
|
|
4
3
|
export * from './styles';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export declare const PaginationIndicator: {
|
|
7
|
-
(props: PaginationIndicatorProps): JSX.Element;
|
|
6
|
+
(props: PaginationIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
styleRegistryName: string;
|
|
9
8
|
elements: string[];
|
|
10
9
|
rootElement: string;
|
|
11
|
-
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<PaginationIndicatorProps,
|
|
10
|
+
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<PaginationIndicatorProps, typeof styles>) => IJSX;
|
|
12
11
|
defaultProps: PaginationIndicatorProps;
|
|
13
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TypeGuards } from '@codeleap/types';
|
|
3
3
|
import { ActivityIndicator } from '../ActivityIndicator';
|
|
4
4
|
import { Text } from '../Text';
|
|
@@ -15,11 +15,11 @@ export const PaginationIndicator = (props) => {
|
|
|
15
15
|
const styles = useStylesFor(PaginationIndicator.styleRegistryName, style);
|
|
16
16
|
const loaderStyles = useNestedStylesByKey('loader', styles);
|
|
17
17
|
if (isFetching) {
|
|
18
|
-
return activityIndicator ||
|
|
18
|
+
return activityIndicator || _jsx(ActivityIndicator, { style: loaderStyles });
|
|
19
19
|
}
|
|
20
20
|
if (!hasMore) {
|
|
21
21
|
if (TypeGuards.isString(noMoreItemsText) || TypeGuards.isNumber(noMoreItemsText)) {
|
|
22
|
-
return
|
|
22
|
+
return _jsx(Text, { style: styles.text, text: noMoreItemsText.toString() });
|
|
23
23
|
}
|
|
24
24
|
return noMoreItemsText;
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/PaginationIndicator/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/PaginationIndicator/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAa,oBAAoB,EAA8B,MAAM,kBAAkB,CAAA;AAC9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAA+B,EAAE,EAAE;IACrE,MAAM,EACJ,OAAO,EACP,UAAU,EACV,eAAe,EACf,KAAK,EACL,iBAAiB,GAClB,GAAG;QACF,GAAG,mBAAmB,CAAC,YAAY;QACnC,GAAG,KAAK;KACT,CAAA;IAED,MAAM,MAAM,GAAG,YAAY,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAA;IAEzE,MAAM,YAAY,GAAG,oBAAoB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;IAE3D,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,iBAAiB,IAAI,KAAC,iBAAiB,IAAC,KAAK,EAAE,YAAY,GAAI,CAAA;IACxE,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,IAAI,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;YACjF,OAAO,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE,GAAI,CAAA;QACvE,CAAC;QAED,OAAO,eAAe,CAAA;IACxB,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,mBAAmB,CAAC,iBAAiB,GAAG,qBAAqB,CAAA;AAC7D,mBAAmB,CAAC,QAAQ,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;AACjD,mBAAmB,CAAC,WAAW,GAAG,MAAM,CAAA;AAExC,mBAAmB,CAAC,gBAAgB,GAAG,CAAsB,MAAS,EAAE,EAAE;IACxE,OAAO,mBAAqG,CAAA;AAC9G,CAAC,CAAA;AAED,mBAAmB,CAAC,YAAY,GAAG,EAA8B,CAAA;AAEjE,mBAAmB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { StyledProp } from '@codeleap/styles';
|
|
3
2
|
import { PaginationIndicatorComposition } from './styles';
|
|
4
3
|
export type PaginationIndicatorProps = {
|
|
5
4
|
isFetching?: boolean;
|
|
6
|
-
noMoreItemsText:
|
|
5
|
+
noMoreItemsText: React.ReactElement | string | number;
|
|
7
6
|
hasMore?: boolean;
|
|
8
|
-
activityIndicator?:
|
|
7
|
+
activityIndicator?: React.ReactElement;
|
|
9
8
|
style?: StyledProp<PaginationIndicatorComposition>;
|
|
10
9
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AnyRecord, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
1
|
+
import { AnyRecord, AppIcon, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
3
2
|
import { PlacesAutocompleteProps } from './types';
|
|
4
3
|
export * from './styles';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export declare const PlacesAutocomplete: {
|
|
7
|
-
(props: PlacesAutocompleteProps): JSX.Element;
|
|
6
|
+
(props: PlacesAutocompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
styleRegistryName: string;
|
|
9
8
|
elements: string[];
|
|
10
|
-
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<PlacesAutocompleteProps,
|
|
9
|
+
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<PlacesAutocompleteProps, typeof styles>) => IJSX;
|
|
11
10
|
defaultProps: {
|
|
12
11
|
showClearIcon: boolean;
|
|
13
12
|
showEmptyPlaceholder: boolean;
|
|
14
|
-
clearIcon:
|
|
15
|
-
placeRowComponent: (props: import("./types").PlaceRowProps) => React.ReactElement
|
|
16
|
-
renderPlaceRow: (props: import("./types").PlaceRowProps) => React.ReactElement
|
|
13
|
+
clearIcon: AppIcon;
|
|
14
|
+
placeRowComponent: (props: import("./types").PlaceRowProps) => React.ReactElement;
|
|
15
|
+
renderPlaceRow: (props: import("./types").PlaceRowProps) => React.ReactElement;
|
|
17
16
|
debounce: number;
|
|
18
17
|
};
|
|
19
18
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import React, { useCallback } from 'react';
|
|
2
3
|
import { useCompositionStyles } from '@codeleap/styles';
|
|
3
4
|
import { useStylesFor } from '../../hooks';
|
|
@@ -19,9 +20,7 @@ const DefaultPlaceRow = (props) => {
|
|
|
19
20
|
}
|
|
20
21
|
const isLatLng = !!item?.formatted_address;
|
|
21
22
|
const mainTitle = isLatLng ? item?.formatted_address : item?.description;
|
|
22
|
-
return (
|
|
23
|
-
<Text text={`${mainTitle}`} style={styles.placeRowText}/>
|
|
24
|
-
</Touchable>);
|
|
23
|
+
return (_jsx(Touchable, { onPress: () => onPress(mainTitle, item), debugName: `PlaceRow ${item?.place_id}`, style: styles.placeRowWrapper, children: _jsx(Text, { text: `${mainTitle}`, style: styles.placeRowText }) }));
|
|
25
24
|
};
|
|
26
25
|
export const PlacesAutocomplete = (props) => {
|
|
27
26
|
const { style, itemRow, data = [], customData = [], onPress, onValueChange, showClearIcon, showEmptyPlaceholder, clearIcon, textInputProps, listProps, emptyPlaceholderProps, placeRow = null, renderPlaceRow: PlaceRow, activityIndicatorProps, debounce, isLoading, persistResultsOnBlur, ...rest } = props;
|
|
@@ -43,21 +42,16 @@ export const PlacesAutocomplete = (props) => {
|
|
|
43
42
|
} : textInputProps?.rightIcon;
|
|
44
43
|
const _data = customData?.length > 0 && address ? [...customData, ...data] : data;
|
|
45
44
|
const renderItem = useCallback((props) => {
|
|
46
|
-
return (placeRow ? placeRow :
|
|
45
|
+
return (placeRow ? placeRow : _jsx(PlaceRow, { onPress: handlePressAddress, styles: styles, ...props }));
|
|
47
46
|
}, [placeRow]);
|
|
48
|
-
return (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}} rightIcon={rightIcon}/>
|
|
57
|
-
{isTyping ? (<View style={styles.loadingWrapper}>
|
|
58
|
-
<ActivityIndicator style={compositionStyles.loader} {...activityIndicatorProps}/>
|
|
59
|
-
</View>) : (showResults ? (<List data={_data} renderItem={renderItem} ListEmptyComponent={_showEmptyPlaceholder ? <EmptyPlaceholder {...emptyPlaceholderProps}/> : null} style={compositionStyles.list} separators {...listProps}/>) : null)}
|
|
60
|
-
</View>);
|
|
47
|
+
return (_jsxs(View, { style: styles.wrapper, ...rest, children: [_jsx(TextInput, { style: compositionStyles.input, onBlur: () => {
|
|
48
|
+
setIsFocused(false);
|
|
49
|
+
}, onFocus: () => {
|
|
50
|
+
setIsFocused(true);
|
|
51
|
+
}, ...textInputProps, value: hasCustomValue ? textInputProps?.value : address, onValueChange: (value) => {
|
|
52
|
+
setIsTyping(true);
|
|
53
|
+
handleChangeAddress(value);
|
|
54
|
+
}, rightIcon: rightIcon }), isTyping ? (_jsx(View, { style: styles.loadingWrapper, children: _jsx(ActivityIndicator, { style: compositionStyles.loader, ...activityIndicatorProps }) })) : (showResults ? (_jsx(List, { data: _data, renderItem: renderItem, ListEmptyComponent: _showEmptyPlaceholder ? _jsx(EmptyPlaceholder, { ...emptyPlaceholderProps }) : null, style: compositionStyles.list, separators: true, ...listProps })) : null)] }));
|
|
61
55
|
};
|
|
62
56
|
PlacesAutocomplete.styleRegistryName = 'PlacesAutocomplete';
|
|
63
57
|
PlacesAutocomplete.elements = ['wrapper', 'input', 'list', 'loader', 'placeRow', 'loadingWrapper'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/PlacesAutocomplete/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAkD,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AACvG,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,E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B,CAAC,QAAQ,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAA;AAClG,kBAAkB,CAAC,gBAAgB,GAAG,CAAsB,MAAS,EAAE,EAAE;IACvE,OAAO,kBAAmG,CAAA;AAC5G,CAAC,CAAA;AAED,kBAAkB,CAAC,YAAY,GAAG;IAChC,aAAa,EAAE,KAAK;IACpB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,GAAc;IACzB,iBAAiB,EAAE,eAAe;IAClC,cAAc,EAAE,eAAe;IAC/B,QAAQ,EAAE,GAAG;CACd,CAAA;AAED,mBAAmB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AppIcon, ICSS, StyledProp } from '@codeleap/styles';
|
|
3
2
|
import { PlacesAutocompleteComposition } from './styles';
|
|
4
3
|
import { TextInputProps } from '../TextInput';
|
|
@@ -8,10 +7,10 @@ import { ActivityIndicatorProps } from '../ActivityIndicator';
|
|
|
8
7
|
import { PlaceAddress, PlaceLatLng } from '@codeleap/types';
|
|
9
8
|
export type CustomData = {
|
|
10
9
|
item?: Partial<PlaceAddress> & Partial<PlaceLatLng>;
|
|
11
|
-
content?:
|
|
10
|
+
content?: React.ReactElement;
|
|
12
11
|
};
|
|
13
12
|
export type PlaceItem = PlaceAddress & PlaceLatLng & {
|
|
14
|
-
content?:
|
|
13
|
+
content?: React.ReactElement;
|
|
15
14
|
};
|
|
16
15
|
export type PlaceRowProps = {
|
|
17
16
|
item?: PlaceItem;
|
|
@@ -20,7 +19,7 @@ export type PlaceRowProps = {
|
|
|
20
19
|
};
|
|
21
20
|
export type PlacesAutocompleteProps = {
|
|
22
21
|
style?: StyledProp<PlacesAutocompleteComposition>;
|
|
23
|
-
itemRow?: (props: any) =>
|
|
22
|
+
itemRow?: (props: any) => React.ReactElement;
|
|
24
23
|
textInputProps?: TextInputProps;
|
|
25
24
|
emptyPlaceholderProps?: EmptyPlaceholderProps;
|
|
26
25
|
listProps?: FlatListProps;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { RadioGroupProps } from './types';
|
|
3
2
|
import { AnyRecord, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
4
3
|
export * from './styles';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export declare const RadioGroup: {
|
|
7
|
-
<T extends string | number>(props: RadioGroupProps<T>): JSX.Element;
|
|
6
|
+
<T extends string | number>(props: RadioGroupProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
styleRegistryName: string;
|
|
9
8
|
elements: string[];
|
|
10
9
|
rootElement: string;
|
|
11
|
-
withVariantTypes<S extends AnyRecord>(styles: S): <
|
|
10
|
+
withVariantTypes<S extends AnyRecord>(styles: S): (<T extends string | number>(props: StyledComponentProps<RadioGroupProps<T>, typeof styles>) => IJSX);
|
|
12
11
|
defaultProps: Partial<RadioGroupProps<string>>;
|
|
13
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Text } from '../Text';
|
|
3
3
|
import { Touchable } from '../Touchable';
|
|
4
4
|
import { TypeGuards } from '@codeleap/types';
|
|
@@ -19,24 +19,8 @@ const Option = (props) => {
|
|
|
19
19
|
disabled: isDisabled,
|
|
20
20
|
selected,
|
|
21
21
|
});
|
|
22
|
-
const label = TypeGuards.isString(item.label) ?
|
|
23
|
-
return
|
|
24
|
-
<Touchable debugName={`${debugName} option ${item.value}`} style={partialStyles.optionWrapper} rippleDisabled onPress={onSelect} disabled={isDisabled}>
|
|
25
|
-
{reverseOrder ? (<>
|
|
26
|
-
{label}
|
|
27
|
-
<View style={partialStyles.optionIndicator}>
|
|
28
|
-
<View style={partialStyles.optionIndicatorInner}/>
|
|
29
|
-
</View>
|
|
30
|
-
</>) : (<>
|
|
31
|
-
<View style={partialStyles.optionIndicator}>
|
|
32
|
-
<View style={partialStyles.optionIndicatorInner}/>
|
|
33
|
-
</View>
|
|
34
|
-
{label}
|
|
35
|
-
</>)}
|
|
36
|
-
</Touchable>
|
|
37
|
-
|
|
38
|
-
{separator ? <View style={styles.optionSeparator}/> : null}
|
|
39
|
-
</>;
|
|
22
|
+
const label = TypeGuards.isString(item.label) ? _jsx(Text, { style: partialStyles.optionLabel, text: item.label }) : item.label;
|
|
23
|
+
return _jsxs(_Fragment, { children: [_jsx(Touchable, { debugName: `${debugName} option ${item.value}`, style: partialStyles.optionWrapper, rippleDisabled: true, onPress: onSelect, disabled: isDisabled, children: reverseOrder ? (_jsxs(_Fragment, { children: [label, _jsx(View, { style: partialStyles.optionIndicator, children: _jsx(View, { style: partialStyles.optionIndicatorInner }) })] })) : (_jsxs(_Fragment, { children: [_jsx(View, { style: partialStyles.optionIndicator, children: _jsx(View, { style: partialStyles.optionIndicatorInner }) }), label] })) }), separator ? _jsx(View, { style: styles.optionSeparator }) : null] });
|
|
40
24
|
};
|
|
41
25
|
export const RadioGroup = (props) => {
|
|
42
26
|
const { inputBaseProps, others, } = selectInputBaseProps({
|
|
@@ -49,9 +33,7 @@ export const RadioGroup = (props) => {
|
|
|
49
33
|
// @ts-expect-error icss type
|
|
50
34
|
const _radioOnRight = radioOnRight ?? styles?.__props?.radioOnRight;
|
|
51
35
|
const hasValue = !TypeGuards.isNil(inputValue);
|
|
52
|
-
return
|
|
53
|
-
{options?.map((item, idx) => (<Option debugName={debugName} item={item} key={idx} disabled={disabled} styles={styles} selected={inputValue === item.value} onSelect={() => onInputValueChange(item.value)} separator={idx < options?.length - 1} reverseOrder={_radioOnRight}/>))}
|
|
54
|
-
</InputBase>;
|
|
36
|
+
return _jsx(InputBase, { ...inputBaseProps, ref: wrapperRef, disabled: disabled, style: styles, debugName: debugName, hasValue: hasValue, children: options?.map((item, idx) => (_jsx(Option, { debugName: debugName, item: item, disabled: disabled, styles: styles, selected: inputValue === item.value, onSelect: () => onInputValueChange(item.value), separator: idx < options?.length - 1, reverseOrder: _radioOnRight }, idx))) });
|
|
55
37
|
};
|
|
56
38
|
RadioGroup.styleRegistryName = 'RadioGroup';
|
|
57
39
|
RadioGroup.elements = [...InputBase.elements, 'option', '__props'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioInput/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RadioInput/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAG9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAmB,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAExD,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AAEvB,MAAM,MAAM,GAAG,CAA4B,KAA0B,EAAE,EAAE;IACvE,MAAM,EACJ,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,SAAS,GAAG,KAAK,EACjB,YAAY,GACb,GAAG,KAAK,CAAA;IAET,MAAM,UAAU,GAAG,QAAQ,IAAI,IAAI,CAAC,Q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C,iBAAiB,GAAG,YAAY,CAAA;AAC3C,UAAU,CAAC,QAAQ,GAAG,CAAC,GAAG,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAA;AAClE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAA;AAElC,UAAU,CAAC,gBAAgB,GAAG,CAAsB,MAAS,EAAE,EAAE;IAC/D,OAAO,UAAmH,CAAA;AAC5H,CAAC,CAAA;AAED,UAAU,CAAC,YAAY,GAAG,EAAsC,CAAA;AAEhE,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyRecord, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
3
2
|
import { RefreshControlProps } from './types';
|
|
4
3
|
export * from './styles';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export declare const RefreshControl: {
|
|
7
|
-
(props: RefreshControlProps): JSX.Element;
|
|
6
|
+
(props: RefreshControlProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
styleRegistryName: string;
|
|
9
8
|
elements: string[];
|
|
10
9
|
rootElement: string;
|
|
11
|
-
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<RefreshControlProps,
|
|
10
|
+
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<RefreshControlProps, typeof styles>) => IJSX;
|
|
12
11
|
defaultProps: Partial<RefreshControlProps>;
|
|
13
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { RefreshControl as RNRefreshControl } from 'react-native';
|
|
3
3
|
import { MobileStyleRegistry } from '../../Registry';
|
|
4
4
|
import { useStylesFor } from '../../hooks';
|
|
@@ -13,7 +13,7 @@ export const RefreshControl = (props) => {
|
|
|
13
13
|
const color = styles?.loadingAnimation?.color;
|
|
14
14
|
const titleColor = styles?.titleColor?.color;
|
|
15
15
|
const progressBackgroundColor = styles?.progressBackgroundColor?.color;
|
|
16
|
-
return (
|
|
16
|
+
return (_jsx(RNRefreshControl, { colors: [color], tintColor: color, progressBackgroundColor: progressBackgroundColor, titleColor: titleColor, ...rest }));
|
|
17
17
|
};
|
|
18
18
|
RefreshControl.styleRegistryName = 'RefreshControl';
|
|
19
19
|
RefreshControl.elements = ['loadingAnimation', 'progressBackgroundColor', 'titleColor'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RefreshControl/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RefreshControl/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG1C,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IAC3D,MAAM,EACJ,KAAK,EACL,GAAG,IAAI,EACR,GAAG;QACF,GAAG,cAAc,CAAC,YAAY;QAC9B,GAAG,KAAK;KACT,CAAA;IAED,MAAM,MAAM,GAAG,YAAY,CAAC,cAAc,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAA;IAEpE,MAAM,KAAK,GAAgB,MAAM,EAAE,gBAA8B,EAAE,KAAK,CAAA;IACxE,MAAM,UAAU,GAAgB,MAAM,EAAE,UAAwB,EAAE,KAAK,CAAA;IACvE,MAAM,uBAAuB,GAAgB,MAAM,EAAE,uBAAqC,EAAE,KAAK,CAAA;IAEjG,OAAO,CACL,KAAC,gBAAgB,IACf,MAAM,EAAE,CAAC,KAAK,CAAC,EACf,SAAS,EAAE,KAAK,EAChB,uBAAuB,EAAE,uBAAuB,EAChD,UAAU,EAAE,UAAU,KAClB,IAAI,GACR,CACH,CAAA;AACH,CAAC,CAAA;AAED,cAAc,CAAC,iBAAiB,GAAG,gBAAgB,CAAA;AACnD,cAAc,CAAC,QAAQ,GAAG,CAAC,kBAAkB,EAAE,yBAAyB,EAAE,YAAY,CAAC,CAAA;AACvF,cAAc,CAAC,WAAW,GAAG,SAAS,CAAA;AAEtC,cAAc,CAAC,gBAAgB,GAAG,CAAsB,MAAS,EAAE,EAAE;IACnE,OAAO,cAA2F,CAAA;AACpG,CAAC,CAAA;AAED,cAAc,CAAC,YAAY,GAAG,EAAkC,CAAA;AAEhE,mBAAmB,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ScrollProps } from './types';
|
|
3
2
|
import { AnyRecord, IJSX, StyledComponentProps } from '@codeleap/styles';
|
|
4
3
|
export * from './styles';
|
|
5
4
|
export * from './types';
|
|
6
5
|
export declare const Scroll: {
|
|
7
|
-
(scrollProps: ScrollProps): JSX.Element;
|
|
6
|
+
(scrollProps: ScrollProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
styleRegistryName: string;
|
|
9
8
|
elements: string[];
|
|
10
9
|
rootElement: string;
|
|
11
|
-
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<ScrollProps,
|
|
10
|
+
withVariantTypes<S extends AnyRecord>(styles: S): (props: StyledComponentProps<ScrollProps, typeof styles>) => IJSX;
|
|
12
11
|
defaultProps: Partial<ScrollProps>;
|
|
13
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useRef } from 'react';
|
|
2
3
|
import { ScrollView } from 'react-native';
|
|
3
4
|
import { MobileStyleRegistry } from '../../Registry';
|
|
4
5
|
import { useStylesFor } from '../../hooks';
|
|
@@ -13,19 +14,15 @@ export const Scroll = (scrollProps) => {
|
|
|
13
14
|
};
|
|
14
15
|
const styles = useStylesFor(Scroll.styleRegistryName, style);
|
|
15
16
|
const Component = keyboardAware ? KeyboardAwareScrollView : ScrollView;
|
|
16
|
-
const _scrollRef = useRef();
|
|
17
|
+
const _scrollRef = useRef(null);
|
|
17
18
|
// @ts-ignore
|
|
18
19
|
const { ref: scrollRef, emit } = useScrollPubSub(_scrollRef);
|
|
19
|
-
return (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}}>
|
|
26
|
-
{children}
|
|
27
|
-
</Component>
|
|
28
|
-
</ScrollProvider>);
|
|
20
|
+
return (_jsx(ScrollProvider, { ref: scrollRef, children: _jsx(Component, { showsVerticalScrollIndicator: false,
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
ref: _scrollRef, bottomOffset: 30, ...props, style: styles?.wrapper, contentContainerStyle: [styles?.content, contentContainerStyle], onMomentumScrollEnd: (e) => {
|
|
23
|
+
emit('onMomentumScrollEnd', e);
|
|
24
|
+
props?.onMomentumScrollEnd?.(e);
|
|
25
|
+
}, children: children }) }));
|
|
29
26
|
};
|
|
30
27
|
Scroll.styleRegistryName = 'Scroll';
|
|
31
28
|
Scroll.elements = ['wrapper', 'content'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Scroll/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Scroll/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAA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,iBAAiB,GAAG,QAAQ,CAAA;AACnC,MAAM,CAAC,QAAQ,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;AACxC,MAAM,CAAC,WAAW,GAAG,SAAS,CAAA;AAE9B,MAAM,CAAC,gBAAgB,GAAG,CAAsB,MAAS,EAAE,EAAE;IAC3D,OAAO,MAA2E,CAAA;AACpF,CAAC,CAAA;AAED,MAAM,CAAC,YAAY,GAAG;IACpB,yBAAyB,EAAE,SAAS;IACpC,cAAc,EAAE,IAAI;IACpB,aAAa,EAAE,IAAI;CACI,CAAA;AAEzB,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AppIcon } from '@codeleap/styles';
|
|
2
|
-
import { ForwardRefComponentWithDefaultProps } from '../../types';
|
|
3
3
|
import { TextInputProps } from '../TextInput';
|
|
4
|
-
import { TextInput as RNTextInput } from 'react-native';
|
|
5
4
|
export type SearchInputProps = {
|
|
6
|
-
onTypingChange
|
|
5
|
+
onTypingChange?: (isTyping: boolean) => void;
|
|
7
6
|
onSearchChange: (search: string) => void;
|
|
8
7
|
onValueChange?: (search: string) => void;
|
|
9
8
|
onClear?: () => void;
|
|
@@ -14,4 +13,8 @@ export type SearchInputProps = {
|
|
|
14
13
|
searchIcon?: AppIcon;
|
|
15
14
|
placeholder?: string;
|
|
16
15
|
} & Partial<TextInputProps>;
|
|
17
|
-
|
|
16
|
+
type Component = React.ForwardRefExoticComponent<SearchInputProps> & {
|
|
17
|
+
defaultProps?: Partial<SearchInputProps>;
|
|
18
|
+
};
|
|
19
|
+
export declare const SearchInput: Component;
|
|
20
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import React, { forwardRef, useCallback, useState } from 'react';
|
|
2
3
|
import { TextInput } from '../TextInput';
|
|
3
4
|
import { TypeGuards } from '@codeleap/types';
|
|
@@ -30,12 +31,12 @@ export const SearchInput = forwardRef((props, ref) => {
|
|
|
30
31
|
onSearchChange?.('');
|
|
31
32
|
onClear?.();
|
|
32
33
|
}, []);
|
|
33
|
-
return (
|
|
34
|
+
return (_jsx(TextInput, { value: search, onValueChange: handleChangeSearch, placeholder: placeholder, debugName: `Search ${debugName}`, rightIcon: (showClear?.(search) ?? true) && {
|
|
34
35
|
name: clearIcon,
|
|
35
36
|
onPress: handleClear,
|
|
36
|
-
}
|
|
37
|
+
}, leftIcon: {
|
|
37
38
|
name: searchIcon,
|
|
38
|
-
}
|
|
39
|
+
}, ref: ref, ...others }));
|
|
39
40
|
});
|
|
40
41
|
SearchInput.defaultProps = {
|
|
41
42
|
debounce: 500,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SearchInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGhE,OAAO,EAAkB,SAAS,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SearchInput/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGhE,OAAO,EAAkB,SAAS,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAoB5C,MAAM,CAAC,MAAM,WAAW,GAAc,UAAU,CAAC,CAAC,KAAuB,EAAE,GAAG,EAAE,EAAE;IAChF,MAAM,EACJ,SAAS,EACT,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,QAAQ,EACR,WAAW,EACX,KAAK,EACL,a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C,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,CACL,KAAC,SAAS,IACR,KAAK,EAAE,MAAM,EACb,aAAa,EAAE,kBAAkB,EACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,UAAU,SAAS,EAAE,EAChC,SAAS,EAAE,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI;YAC1C,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,WAAW;SACrB,EACD,QAAQ,EAAE;YACR,IAAI,EAAE,UAAU;SACjB,EACD,GAAG,EAAE,GAAU,KACX,MAAM,GACV,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,WAAW,CAAC,YAAY,GAAG;IACzB,QAAQ,EAAE,GAAG;IACb,SAAS,EAAE,GAAc;IACzB,UAAU,EAAE,QAAmB;IAC/B,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE;CACH,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SectionFiltersProps } from './types';
|
|
3
2
|
import { TSectionFilterItem, useSectionFilters } from './useSectionFilters';
|
|
4
3
|
export type SectionFiltersContextProps<T = TSectionFilterItem> = React.PropsWithChildren<SectionFiltersProps<T> & {
|
|
5
4
|
handle?: ReturnType<typeof useSectionFilters<T>>;
|
|
6
5
|
}>;
|
|
6
|
+
type TSectionFiltersContext<T = TSectionFilterItem> = ReturnType<typeof useSectionFilters<T>>;
|
|
7
7
|
export declare const SectionsFilterContext: import("react").Context<{
|
|
8
8
|
isSelected: (item: TSectionFilterItem) => boolean;
|
|
9
9
|
toggleItem: (item: TSectionFilterItem) => void;
|
|
@@ -27,26 +27,5 @@ export declare const SectionsFilterContext: import("react").Context<{
|
|
|
27
27
|
areItemsEqual: any;
|
|
28
28
|
getAllItems: () => TSectionFilterItem[];
|
|
29
29
|
}>;
|
|
30
|
-
export declare function useSectionFiltersContext<T = TSectionFilterItem>():
|
|
31
|
-
|
|
32
|
-
toggleItem: (item: T) => void;
|
|
33
|
-
findItemSection: (item: T) => {
|
|
34
|
-
sectionIndex: number;
|
|
35
|
-
section: {
|
|
36
|
-
data: T[];
|
|
37
|
-
title: string;
|
|
38
|
-
selectionLimit?: number;
|
|
39
|
-
disableItemsOnLimitReached?: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
selectedItems: {
|
|
43
|
-
[X: number]: T[];
|
|
44
|
-
};
|
|
45
|
-
sectionLimitReached: (sectionIndex: number) => boolean;
|
|
46
|
-
limitReached: () => boolean;
|
|
47
|
-
disableItemsOnLimitReached: boolean;
|
|
48
|
-
clearSelectedItemsWithSection: (sectionIndex: number) => void;
|
|
49
|
-
changed: () => boolean;
|
|
50
|
-
areItemsEqual: any;
|
|
51
|
-
getAllItems: () => T[];
|
|
52
|
-
};
|
|
30
|
+
export declare function useSectionFiltersContext<T = TSectionFilterItem>(): TSectionFiltersContext<T>;
|
|
31
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SectionFiltersProps } from './types';
|
|
3
2
|
import { TSectionFilterItem } from './useSectionFilters';
|
|
4
3
|
export * from './types';
|
|
5
4
|
export * from './context';
|
|
6
5
|
export * from './useSectionFilters';
|
|
7
|
-
export declare function SectionFilters<T extends TSectionFilterItem = TSectionFilterItem>(props: SectionFiltersProps<T>): JSX.Element;
|
|
6
|
+
export declare function SectionFilters<T extends TSectionFilterItem = TSectionFilterItem>(props: SectionFiltersProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export declare namespace SectionFilters {
|
|
9
8
|
var defaultProps: Partial<SectionFiltersProps>;
|
|
10
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import { TypeGuards } from '@codeleap/types';
|
|
2
3
|
import { memoBy } from '@codeleap/utils';
|
|
3
4
|
import { Button } from '../Button';
|
|
@@ -13,7 +14,7 @@ const SectionComponent = memoBy((props) => {
|
|
|
13
14
|
const handle = useSectionFiltersContext();
|
|
14
15
|
if (!Component)
|
|
15
16
|
return null;
|
|
16
|
-
return (
|
|
17
|
+
return (_jsx(Component, { ...props, selectedItems: handle.selectedItems[index] ?? [], clearSelectedItems: () => handle.clearSelectedItemsWithSection(index) }));
|
|
17
18
|
}, ['renderWith']);
|
|
18
19
|
export function SectionFilters(props) {
|
|
19
20
|
const { sections, renderItem: RenderItem, renderSectionHeader, renderSectionFooter, children, ...rest } = {
|
|
@@ -29,15 +30,12 @@ export function SectionFilters(props) {
|
|
|
29
30
|
const disableNonSelectedItems = (limitReached || sectionLimitReached) && disableOnReachLimit;
|
|
30
31
|
const isSelected = handle.isSelected(section?.item);
|
|
31
32
|
const isDisabled = disableNonSelectedItems && !isSelected;
|
|
32
|
-
return (
|
|
33
|
+
return (_jsx(RenderItem, { ...section, onPress: () => handle.toggleItem(section?.item), selected: isSelected, disabled: isDisabled, text: section?.item?.label }));
|
|
33
34
|
};
|
|
34
|
-
return (
|
|
35
|
-
<Sections {...rest} sections={sections} renderItem={renderItem} renderSectionHeader={(props) => <SectionComponent {...props} renderWith={renderSectionHeader}/>} renderSectionFooter={(props) => <SectionComponent {...props} renderWith={renderSectionFooter}/>}/>
|
|
36
|
-
{children}
|
|
37
|
-
</SectionsFilterContext.Provider>);
|
|
35
|
+
return (_jsxs(SectionsFilterContext.Provider, { value: handle, children: [_jsx(Sections, { ...rest, sections: sections, renderItem: renderItem, renderSectionHeader: (props) => _jsx(SectionComponent, { ...props, renderWith: renderSectionHeader }), renderSectionFooter: (props) => _jsx(SectionComponent, { ...props, renderWith: renderSectionFooter }) }), children] }));
|
|
38
36
|
}
|
|
39
37
|
SectionFilters.defaultProps = {
|
|
40
38
|
renderItem: Button,
|
|
41
|
-
renderSectionHeader: ({ title }) =>
|
|
39
|
+
renderSectionHeader: ({ title }) => _jsx(Text, { text: title })
|
|
42
40
|
};
|
|
43
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SectionFilters/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAyD,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAE3E,OAAO,EAAsB,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE3E,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AAEnC,MAAM,gBAAgB,GAAG,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/SectionFilters/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAyD,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAE3E,OAAO,EAAsB,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE3E,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AAEnC,MAAM,gBAAgB,GAAG,M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