@draftbit/core 50.2.3-6a2ab1.2 → 50.2.3-9ed7ea.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/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/typescript/src/components/AccordionGroup.d.ts +1 -1
- package/lib/typescript/src/components/ActivityIndicator.d.ts +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +2 -4
- package/lib/typescript/src/components/BottomSheet/BottomSheet.js +6 -5
- package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -1
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +1 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +2 -2
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts +1 -1
- package/lib/typescript/src/components/Divider.d.ts +1 -1
- package/lib/typescript/src/components/Elevation.d.ts +1 -1
- package/lib/typescript/src/components/IconButton.d.ts +1 -1
- package/lib/typescript/src/components/Picker/NativePicker.d.ts +1 -1
- package/lib/typescript/src/components/Picker/dropdown/DropDownModalPicker.d.ts +1 -1
- package/lib/typescript/src/components/Picker/dropdown/DropDownPicker.d.ts +1 -1
- package/lib/typescript/src/components/Picker/dropdown/MultiSelectPicker.d.ts +1 -1
- package/lib/typescript/src/components/Picker/index.d.ts +1 -1
- package/lib/typescript/src/components/PinInput/PinInput.d.ts +1 -1
- package/lib/typescript/src/components/PinInput/PinInputText.d.ts +1 -1
- package/lib/typescript/src/components/Progress/CircularProgress/index.d.ts +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/index.d.ts +1 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -1
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -1
- package/lib/typescript/src/components/Row.d.ts +1 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts +1 -1
- package/lib/typescript/src/components/SectionList/SectionHeader.d.ts +1 -1
- package/lib/typescript/src/components/Slider.d.ts +1 -1
- package/lib/typescript/src/components/StarRating.d.ts +1 -1
- package/lib/typescript/src/components/Stepper.d.ts +1 -1
- package/lib/typescript/src/components/Surface.d.ts +1 -1
- package/lib/typescript/src/components/SwipeableItem/SwipeableItem.d.ts +1 -1
- package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -1
- package/lib/typescript/src/components/Switch.d.ts +3 -3
- package/lib/typescript/src/components/TabView/TabView.d.ts +1 -1
- package/lib/typescript/src/components/Table/Table.d.ts +1 -1
- package/lib/typescript/src/components/Table/TableRow.d.ts +1 -1
- package/lib/typescript/src/components/Text.d.ts +1 -1
- package/lib/typescript/src/components/TextField.d.ts +1 -1
- package/lib/typescript/src/components/Typography.d.ts +3 -3
- package/lib/typescript/src/deprecated-components/AccordionItem.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/AvatarEdit.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/Banner.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/Card.d.ts +3 -3
- package/lib/typescript/src/deprecated-components/Container.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedButton.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedFAB.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/FAB.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/FieldSearchBarFull.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/ProgressCircle.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/RowBodyIcon.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.d.ts +1 -1
- package/lib/typescript/src/deprecated-components/ToggleButton.d.ts +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/BottomSheet/BottomSheet.js +6 -5
- package/src/components/BottomSheet/BottomSheet.js.map +1 -1
- package/src/components/BottomSheet/BottomSheet.tsx +7 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
import _toConsumableArray from"@babel/runtime/helpers/toConsumableArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["
|
|
1
|
+
import _toConsumableArray from"@babel/runtime/helpers/toConsumableArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["snapPoints","topSnapPosition","middleSnapPosition","bottomSnapPosition","initialSnapIndex","initialSnapPosition","showHandle","handleColor","topBorderRadius","borderWidth","borderColor","onSettle","style","children"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/BottomSheet/BottomSheet.tsx";import React from"react";import{StyleSheet,Dimensions}from"react-native";import BottomSheetComponent,{BottomSheetScrollView}from"@gorhom/bottom-sheet";import{useTheme}from"@draftbit/theme";import{useDeepCompareMemo}from"../../utilities";import{jsx as _jsx}from"react/jsx-runtime";var windowHeight=Dimensions.get("window").height;var BottomSheet=React.forwardRef(function(_ref,ref){var snapPointsProp=_ref.snapPoints,_ref$topSnapPosition=_ref.topSnapPosition,topSnapPosition=_ref$topSnapPosition===void 0?"10%":_ref$topSnapPosition,_ref$middleSnapPositi=_ref.middleSnapPosition,middleSnapPosition=_ref$middleSnapPositi===void 0?"50%":_ref$middleSnapPositi,_ref$bottomSnapPositi=_ref.bottomSnapPosition,bottomSnapPosition=_ref$bottomSnapPositi===void 0?"80%":_ref$bottomSnapPositi,initialSnapIndex=_ref.initialSnapIndex,_ref$initialSnapPosit=_ref.initialSnapPosition,initialSnapPosition=_ref$initialSnapPosit===void 0?"bottom":_ref$initialSnapPosit,_ref$showHandle=_ref.showHandle,showHandle=_ref$showHandle===void 0?true:_ref$showHandle,handleColor=_ref.handleColor,_ref$topBorderRadius=_ref.topBorderRadius,topBorderRadius=_ref$topBorderRadius===void 0?20:_ref$topBorderRadius,_ref$borderWidth=_ref.borderWidth,borderWidth=_ref$borderWidth===void 0?1:_ref$borderWidth,borderColor=_ref.borderColor,onSettle=_ref.onSettle,style=_ref.style,children=_ref.children,rest=_objectWithoutProperties(_ref,_excluded);var theme=useTheme();var backgroundColor=(style==null?void 0:style.backgroundColor)||theme.colors.background.brand;var snapPoints=snapPointsProp!=null?snapPointsProp:[topSnapPosition,middleSnapPosition,bottomSnapPosition];var mappedSnapPoints=useDeepCompareMemo(function(){return convertSnapPointsForNewImplementation(snapPoints);},snapPoints);var getSnapIndexFromPosition=function getSnapIndexFromPosition(position){switch(position){case"bottom":return 0;case"middle":return 1;case"top":return 2;}};return _jsx(BottomSheetComponent,{ref:ref,snapPoints:mappedSnapPoints,index:initialSnapIndex!==undefined?mappedSnapPoints.length-initialSnapIndex-1:getSnapIndexFromPosition(initialSnapPosition),handleIndicatorStyle:[{backgroundColor:handleColor!=null?handleColor:theme.colors.border.brand},!showHandle?{display:"none"}:{}],backgroundStyle:{backgroundColor:backgroundColor,borderTopLeftRadius:topBorderRadius,borderTopRightRadius:topBorderRadius,borderWidth:borderWidth,borderColor:borderColor!=null?borderColor:theme.colors.border.brand},onChange:function onChange(index){return onSettle==null?void 0:onSettle(mappedSnapPoints.length-index-1);},children:_jsx(BottomSheetScrollView,Object.assign({contentContainerStyle:[styles.contentContainerStyle,style]},rest,{children:children}))});});function convertSnapPointsForNewImplementation(snapPoints){var reversedSnapPoints=_toConsumableArray(snapPoints).reverse();return reversedSnapPoints.map(function(point){if(typeof point==="string"){var percentNumber=extractPercentNumber(point);if(percentNumber!==undefined){return`${100-percentNumber}%`;}return point;}else if(typeof point==="number"){return windowHeight-point;}else{return point;}});}function extractPercentNumber(percentString){var percentRegex=/(\d+)?%/;var matches=percentString.match(percentRegex);if(matches!=null&&matches.length){var percentNumber=Number(matches[1]);if(!isNaN(percentNumber)){return percentNumber;}}return undefined;}var styles=StyleSheet.create({contentContainerStyle:{paddingHorizontal:16,paddingVertical:10}});export default BottomSheet;
|
|
@@ -15,5 +15,5 @@ declare type AccordionGroupProps = {
|
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
theme: ReadTheme;
|
|
17
17
|
} & IconSlot;
|
|
18
|
-
declare const _default: React.
|
|
18
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<AccordionGroupProps, "theme"> & React.RefAttributes<any>>;
|
|
19
19
|
export default _default;
|
|
@@ -23,5 +23,5 @@ declare type Props = {
|
|
|
23
23
|
type?: ActivityIndicatorType;
|
|
24
24
|
size?: number | "small" | "large";
|
|
25
25
|
};
|
|
26
|
-
declare const _default: React.
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
27
27
|
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleProp, ViewStyle, ScrollViewProps } from "react-native";
|
|
3
|
-
import type { ReadTheme } from "@draftbit/theme";
|
|
4
3
|
declare type SnapPosition = "top" | "middle" | "bottom";
|
|
5
4
|
export interface BottomSheetProps extends ScrollViewProps {
|
|
6
5
|
topSnapPosition?: string | number;
|
|
@@ -22,7 +21,6 @@ export interface BottomSheetProps extends ScrollViewProps {
|
|
|
22
21
|
borderColor?: string;
|
|
23
22
|
onSettle?: (index: number) => void;
|
|
24
23
|
style?: StyleProp<ViewStyle>;
|
|
25
|
-
theme: ReadTheme;
|
|
26
24
|
}
|
|
27
|
-
declare const
|
|
28
|
-
export default
|
|
25
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>>;
|
|
26
|
+
export default BottomSheet;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleSheet, Dimensions, } from "react-native";
|
|
3
3
|
import BottomSheetComponent, { BottomSheetScrollView, } from "@gorhom/bottom-sheet";
|
|
4
|
-
import {
|
|
4
|
+
import { useTheme } from "@draftbit/theme";
|
|
5
5
|
import { useDeepCompareMemo } from "../../utilities";
|
|
6
6
|
const windowHeight = Dimensions.get("window").height;
|
|
7
7
|
// Clarification:
|
|
8
8
|
// Input of snap points is sorted top -> bottom where each value represents distance from top
|
|
9
9
|
// Implementation using `@gorhom/bottom-sheet` is sorted bottom -> top where each value represents distance from bottom
|
|
10
|
-
const BottomSheet = React.forwardRef(({
|
|
10
|
+
const BottomSheet = React.forwardRef(({ snapPoints: snapPointsProp, topSnapPosition = "10%", middleSnapPosition = "50%", bottomSnapPosition = "80%", initialSnapIndex, initialSnapPosition = "bottom", showHandle = true, handleColor, topBorderRadius = 20, borderWidth = 1, borderColor, onSettle, style, children, ...rest }, ref) => {
|
|
11
|
+
const theme = useTheme();
|
|
11
12
|
const backgroundColor = (style === null || style === void 0 ? void 0 : style.backgroundColor) || theme.colors.background.brand;
|
|
12
13
|
const snapPoints = snapPointsProp !== null && snapPointsProp !== void 0 ? snapPointsProp : [
|
|
13
14
|
topSnapPosition,
|
|
@@ -28,14 +29,14 @@ const BottomSheet = React.forwardRef(({ theme, snapPoints: snapPointsProp, topSn
|
|
|
28
29
|
return (React.createElement(BottomSheetComponent, { ref: ref, snapPoints: mappedSnapPoints, index: initialSnapIndex !== undefined
|
|
29
30
|
? mappedSnapPoints.length - initialSnapIndex - 1
|
|
30
31
|
: getSnapIndexFromPosition(initialSnapPosition), handleIndicatorStyle: [
|
|
31
|
-
{ backgroundColor: handleColor },
|
|
32
|
+
{ backgroundColor: handleColor !== null && handleColor !== void 0 ? handleColor : theme.colors.border.brand },
|
|
32
33
|
!showHandle ? { display: "none" } : {},
|
|
33
34
|
], backgroundStyle: {
|
|
34
35
|
backgroundColor,
|
|
35
36
|
borderTopLeftRadius: topBorderRadius,
|
|
36
37
|
borderTopRightRadius: topBorderRadius,
|
|
37
38
|
borderWidth,
|
|
38
|
-
borderColor,
|
|
39
|
+
borderColor: borderColor !== null && borderColor !== void 0 ? borderColor : theme.colors.border.brand,
|
|
39
40
|
}, onChange: (index) => onSettle === null || onSettle === void 0 ? void 0 : onSettle(mappedSnapPoints.length - index - 1) },
|
|
40
41
|
React.createElement(BottomSheetScrollView, { contentContainerStyle: [styles.contentContainerStyle, style], ...rest }, children)));
|
|
41
42
|
});
|
|
@@ -77,5 +78,5 @@ const styles = StyleSheet.create({
|
|
|
77
78
|
paddingVertical: 10,
|
|
78
79
|
},
|
|
79
80
|
});
|
|
80
|
-
export default
|
|
81
|
+
export default BottomSheet;
|
|
81
82
|
//# sourceMappingURL=BottomSheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.js","sourceRoot":"","sources":["../../../../../src/components/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,UAAU,EAIV,UAAU,GACX,MAAM,cAAc,CAAC;AAEtB,OAAO,oBAAoB,EAAE,EAC3B,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"BottomSheet.js","sourceRoot":"","sources":["../../../../../src/components/BottomSheet/BottomSheet.tsx"],"names":[],"mappings":"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"}
|
|
@@ -15,5 +15,5 @@ export interface CheckboxRowProps extends CheckboxProps {
|
|
|
15
15
|
direction?: Direction;
|
|
16
16
|
theme: ReadTheme;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: React.
|
|
18
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<CheckboxRowProps & IconSlot, "theme"> & React.RefAttributes<any>>;
|
|
19
19
|
export default _default;
|
|
@@ -28,5 +28,5 @@ declare type Props = {
|
|
|
28
28
|
maximumDate?: Date | string;
|
|
29
29
|
hideLabel?: boolean;
|
|
30
30
|
} & IconSlot & TextInputProps;
|
|
31
|
-
declare const _default: React.
|
|
31
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
32
32
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DatePickerComponentProps as Props } from "./DatePickerComponentType";
|
|
3
3
|
import type { ReadTheme } from "@draftbit/theme";
|
|
4
|
-
declare const _default: React.
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props & {
|
|
5
5
|
theme: ReadTheme;
|
|
6
|
-
}, "theme">>;
|
|
6
|
+
}, "theme"> & React.RefAttributes<any>>;
|
|
7
7
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export interface DeckSwiperCardProps {
|
|
|
5
5
|
style?: StyleProp<ViewStyle>;
|
|
6
6
|
theme: ReadTheme;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: React.
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<DeckSwiperCardProps>, "theme"> & React.RefAttributes<any>>;
|
|
9
9
|
export default _default;
|
|
@@ -6,5 +6,5 @@ declare type Props = {
|
|
|
6
6
|
color?: string;
|
|
7
7
|
theme: ReadTheme;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: React.
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
10
10
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare type Props = {
|
|
|
5
5
|
style?: StyleProp<ViewStyle>;
|
|
6
6
|
theme: ReadTheme;
|
|
7
7
|
} & ViewProps;
|
|
8
|
-
declare const _default: React.
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
9
9
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare type Props = {
|
|
|
14
14
|
activeOpacity?: number;
|
|
15
15
|
disabledOpacity?: number;
|
|
16
16
|
} & PressableProps & IconSlot;
|
|
17
|
-
declare const _default: React.
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
18
18
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { CommonPickerProps, SinglePickerProps } from "./PickerCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<CommonPickerProps & SinglePickerProps, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { CommonDropDownPickerProps, DropDownModalPickerProps, SinglePickerProps } from "../PickerCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<CommonDropDownPickerProps & SinglePickerProps & DropDownModalPickerProps>, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { CommonDropDownPickerProps, MultiSelectPickerProps, SinglePickerProps } from "../PickerCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<CommonDropDownPickerProps & (SinglePickerProps | MultiSelectPickerProps)>, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { CommonDropDownPickerProps, MultiSelectPickerProps } from "../PickerCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<CommonDropDownPickerProps & MultiSelectPickerProps>, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -3,6 +3,6 @@ import { CommonDropDownPickerProps, DropDownModalPickerProps, SinglePickerProps
|
|
|
3
3
|
interface PickerProps extends CommonDropDownPickerProps, SinglePickerProps, DropDownModalPickerProps {
|
|
4
4
|
mode?: "native" | "dropdown" | "dropdown-modal";
|
|
5
5
|
}
|
|
6
|
-
export declare const Picker: React.
|
|
6
|
+
export declare const Picker: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<PickerProps>, "theme"> & React.RefAttributes<any>>;
|
|
7
7
|
export { default as MultiSelectPicker } from "./dropdown/MultiSelectPicker";
|
|
8
8
|
export { default as PickerItem } from "./dropdown/PickerItem";
|
|
@@ -20,5 +20,5 @@ interface PinInputProps extends TextInputProps {
|
|
|
20
20
|
style?: StyleProp<ViewStyle | TextStyle>;
|
|
21
21
|
theme: ReadTheme;
|
|
22
22
|
}
|
|
23
|
-
declare const _default: React.
|
|
23
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Omit<PinInputProps & React.RefAttributes<NativeTextInput>, "theme">, "ref"> & React.RefAttributes<any>>;
|
|
24
24
|
export default _default;
|
|
@@ -7,5 +7,5 @@ interface CustomPinInputTextProps extends TextProps {
|
|
|
7
7
|
isFocused?: boolean;
|
|
8
8
|
theme: ReadTheme;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: React.
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<CustomPinInputTextProps, "theme"> & React.RefAttributes<any>>;
|
|
11
11
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { CircularProgressProps, IndeterminateProgressProps, ValueProgressProps } from "../ProgressCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<ValueProgressProps & IndeterminateProgressProps & CircularProgressProps, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IndeterminateProgressProps, ValueProgressProps } from "../ProgressCommon";
|
|
3
|
-
declare const _default: React.
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<ValueProgressProps & IndeterminateProgressProps, "theme"> & React.RefAttributes<any>>;
|
|
4
4
|
export default _default;
|
|
@@ -16,5 +16,5 @@ declare type Props = {
|
|
|
16
16
|
finishedColor?: string;
|
|
17
17
|
theme: ReadTheme;
|
|
18
18
|
};
|
|
19
|
-
declare const _default: React.
|
|
19
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
20
20
|
export default _default;
|
|
@@ -19,5 +19,5 @@ export interface RadioButtonRowProps extends Omit<RadioButtonProps, "onPress"> {
|
|
|
19
19
|
direction?: Direction;
|
|
20
20
|
theme: ReadTheme;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: React.
|
|
22
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<RadioButtonRowProps & IconSlot, "theme"> & React.RefAttributes<any>>;
|
|
23
23
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare type Props = {
|
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
15
|
theme: ReadTheme;
|
|
16
16
|
};
|
|
17
|
-
declare const _default: React.
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
18
18
|
export default _default;
|
|
@@ -12,5 +12,5 @@ declare type ScreenContainerProps = {
|
|
|
12
12
|
style?: StyleProp<ViewStyle>;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
};
|
|
15
|
-
declare const _default: React.
|
|
15
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<ScreenContainerProps, "theme"> & React.RefAttributes<any>>;
|
|
16
16
|
export default _default;
|
|
@@ -9,5 +9,5 @@ interface DefaultSectionHeaderProps {
|
|
|
9
9
|
title: string;
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
}
|
|
12
|
-
export declare const DefaultSectionHeader: React.
|
|
12
|
+
export declare const DefaultSectionHeader: React.ForwardRefExoticComponent<Omit<DefaultSectionHeaderProps, "theme"> & React.RefAttributes<any>>;
|
|
13
13
|
export default SectionHeader;
|
|
@@ -20,5 +20,5 @@ export declare type Props = {
|
|
|
20
20
|
onValueChange?: (value: number) => void;
|
|
21
21
|
theme: ReadTheme;
|
|
22
22
|
} & IconSlot;
|
|
23
|
-
declare const _default: React.
|
|
23
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
24
24
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare type Props = {
|
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
15
|
onPress?: (newValue: number) => void;
|
|
16
16
|
} & IconSlot;
|
|
17
|
-
declare const _default: React.
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
18
18
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare type Props = {
|
|
|
13
13
|
onChange?: (value: number) => void;
|
|
14
14
|
theme: ReadTheme;
|
|
15
15
|
} & IconSlot;
|
|
16
|
-
declare const _default: React.
|
|
16
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
17
17
|
export default _default;
|
|
@@ -6,5 +6,5 @@ declare type Props = {
|
|
|
6
6
|
style?: StyleProp<ViewStyle>;
|
|
7
7
|
theme: ReadTheme;
|
|
8
8
|
} & ViewProps;
|
|
9
|
-
declare const _default: React.
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
10
10
|
export default _default;
|
|
@@ -37,5 +37,5 @@ export interface SwipeableItemProps extends IconSlot {
|
|
|
37
37
|
theme: ReadTheme;
|
|
38
38
|
}
|
|
39
39
|
declare type Props = SwipeableItemProps & RightSwipeProps & LeftSwipeProps;
|
|
40
|
-
declare const _default: React.
|
|
40
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
41
41
|
export default _default;
|
|
@@ -29,5 +29,5 @@ export interface SwiperProps<T> {
|
|
|
29
29
|
minDistanceToCapture?: number;
|
|
30
30
|
theme: ReadTheme;
|
|
31
31
|
}
|
|
32
|
-
declare const _default: React.
|
|
32
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<SwiperProps<any>, "theme"> & React.RefAttributes<any>>;
|
|
33
33
|
export default _default;
|
|
@@ -17,7 +17,7 @@ declare type RowProps = {
|
|
|
17
17
|
direction: "row" | "column";
|
|
18
18
|
style?: StyleProp<ViewStyle>;
|
|
19
19
|
};
|
|
20
|
-
declare const SwitchRow: React.
|
|
20
|
+
declare const SwitchRow: React.ForwardRefExoticComponent<Omit<{
|
|
21
21
|
value?: boolean | undefined;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
23
23
|
onValueChange?: ((value: boolean) => void) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const SwitchRow: React.ComponentType<Omit<{
|
|
|
27
27
|
inactiveTrackColor: string;
|
|
28
28
|
activeThumbColor: string;
|
|
29
29
|
inactiveThumbColor: string;
|
|
30
|
-
} & SwitchProps & RowProps, "theme">>;
|
|
30
|
+
} & SwitchProps & RowProps, "theme"> & React.RefAttributes<any>>;
|
|
31
31
|
export { SwitchRow };
|
|
32
|
-
declare const _default: React.
|
|
32
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
33
33
|
export default _default;
|
|
@@ -23,5 +23,5 @@ declare type TabViewProps = {
|
|
|
23
23
|
style?: StyleProp<ViewStyle | TextStyle>;
|
|
24
24
|
theme: ReadTheme;
|
|
25
25
|
} & IconSlot;
|
|
26
|
-
declare const _default: React.
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<TabViewProps>, "theme"> & React.RefAttributes<any>>;
|
|
27
27
|
export default _default;
|
|
@@ -12,5 +12,5 @@ export interface Props<T> extends TableProps, ScrollViewProps {
|
|
|
12
12
|
style?: StyleProp<ViewStyle>;
|
|
13
13
|
theme: ReadTheme;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: React.
|
|
15
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props<object>>, "theme"> & React.RefAttributes<any>>;
|
|
16
16
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export interface Props extends TableProps {
|
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
theme: ReadTheme;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: React.
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
12
12
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare type Props = {
|
|
|
7
7
|
export declare const BaseLink: ({ style, theme, title, ...props }: any) => JSX.Element;
|
|
8
8
|
declare const Link: any;
|
|
9
9
|
export { Link };
|
|
10
|
-
declare const _default: React.
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
11
11
|
export default _default;
|
|
@@ -26,5 +26,5 @@ export declare type Props = {
|
|
|
26
26
|
ref: (c: NativeTextInput) => void;
|
|
27
27
|
}) => React.ReactNode;
|
|
28
28
|
} & TextInputProps & IconSlot;
|
|
29
|
-
declare const _default: React.
|
|
29
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
30
30
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare type Props = {
|
|
|
9
9
|
*/
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
};
|
|
12
|
-
export declare const Title: React.
|
|
13
|
-
export declare const Subtitle: React.
|
|
14
|
-
export declare const Caption: React.
|
|
12
|
+
export declare const Title: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
13
|
+
export declare const Subtitle: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
14
|
+
export declare const Caption: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
15
15
|
export {};
|
|
@@ -9,5 +9,5 @@ declare type Props = {
|
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
} & IconSlot;
|
|
12
|
-
declare const _default: React.
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "theme"> & React.RefAttributes<any>>;
|
|
13
13
|
export default _default;
|
|
@@ -9,5 +9,5 @@ declare type Props = {
|
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
} & IconSlot;
|
|
12
|
-
declare const _default: React.
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
13
13
|
export default _default;
|
|
@@ -16,5 +16,5 @@ declare type Props = {
|
|
|
16
16
|
*/
|
|
17
17
|
theme: ReadTheme;
|
|
18
18
|
} & IconSlot;
|
|
19
|
-
declare const _default: React.
|
|
19
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Omit<React.PropsWithChildren<Props>, "theme">, "ref"> & React.RefAttributes<any>>;
|
|
20
20
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import React from "react";
|
|
|
2
2
|
import { ImageSourcePropType, StyleProp, ViewStyle, TextStyle } from "react-native";
|
|
3
3
|
import type { ReadTheme } from "@draftbit/theme";
|
|
4
4
|
import type { IconSlot } from "../interfaces/Icon";
|
|
5
|
-
export declare const TopRightCircleIcon: React.
|
|
5
|
+
export declare const TopRightCircleIcon: React.ForwardRefExoticComponent<Omit<{
|
|
6
6
|
icon: string;
|
|
7
7
|
theme: ReadTheme;
|
|
8
8
|
onPress?: (() => void) | undefined;
|
|
9
|
-
} & IconSlot, "theme">>;
|
|
9
|
+
} & IconSlot, "theme"> & React.RefAttributes<any>>;
|
|
10
10
|
declare type Props = {
|
|
11
11
|
image?: string | ImageSourcePropType;
|
|
12
12
|
title?: string;
|
|
@@ -26,5 +26,5 @@ declare type Props = {
|
|
|
26
26
|
onPressIcon?: () => void;
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
} & IconSlot;
|
|
29
|
-
declare const _default: React.
|
|
29
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
30
30
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare type Props = {
|
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
};
|
|
17
|
-
declare const _default: React.
|
|
17
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
18
18
|
export default _default;
|
|
@@ -47,5 +47,5 @@ declare type Props = {
|
|
|
47
47
|
style?: StyleProp<ViewStyle>;
|
|
48
48
|
theme: ReadTheme;
|
|
49
49
|
} & PressableProps & IconSlot;
|
|
50
|
-
declare const _default: React.
|
|
50
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
51
51
|
export default _default;
|
|
@@ -8,5 +8,5 @@ declare type Props = {
|
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
theme: ReadTheme;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: React.
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
12
12
|
export default _default;
|
|
@@ -49,5 +49,5 @@ declare type Props = {
|
|
|
49
49
|
theme: ReadTheme;
|
|
50
50
|
style?: StyleProp<ViewStyle>;
|
|
51
51
|
} & PressableProps & IconSlot;
|
|
52
|
-
declare const _default: React.
|
|
52
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
53
53
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare type Props = {
|
|
|
13
13
|
theme: ReadTheme;
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
15
|
} & PressableProps & IconSlot;
|
|
16
|
-
declare const _default: React.
|
|
16
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
17
17
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare type Props = {
|
|
|
13
13
|
value?: string;
|
|
14
14
|
defaultValue?: string;
|
|
15
15
|
} & IconSlot;
|
|
16
|
-
declare const _default: React.
|
|
16
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
17
17
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare type Props = {
|
|
|
13
13
|
thickness?: number;
|
|
14
14
|
theme: ReadTheme;
|
|
15
15
|
};
|
|
16
|
-
declare const _default: React.
|
|
16
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
17
17
|
export default _default;
|
|
@@ -6,5 +6,5 @@ interface Props extends RadioButtonGroupProps {
|
|
|
6
6
|
labelStyle?: StyleProp<TextStyle>;
|
|
7
7
|
style?: StyleProp<ViewStyle>;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: React.
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
10
10
|
export default _default;
|
|
@@ -9,5 +9,5 @@ declare type Props = {
|
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
} & IconSlot;
|
|
12
|
-
declare const _default: React.
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
13
13
|
export default _default;
|
|
@@ -9,5 +9,5 @@ declare type Props = {
|
|
|
9
9
|
style?: StyleProp<ViewStyle>;
|
|
10
10
|
theme: ReadTheme;
|
|
11
11
|
};
|
|
12
|
-
declare const _default: React.
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
13
13
|
export default _default;
|
|
@@ -11,5 +11,5 @@ declare type Props = {
|
|
|
11
11
|
style?: StyleProp<ViewStyle>;
|
|
12
12
|
theme: ReadTheme;
|
|
13
13
|
} & IconSlot;
|
|
14
|
-
declare const _default: React.
|
|
14
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
15
15
|
export default _default;
|
|
@@ -17,5 +17,5 @@ declare type Props = {
|
|
|
17
17
|
style?: StyleProp<ViewStyle>;
|
|
18
18
|
theme: ReadTheme;
|
|
19
19
|
} & IconSlot;
|
|
20
|
-
declare const _default: React.
|
|
20
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
|
|
21
21
|
export default _default;
|