@draftbit/core 50.2.3-6a2ab1.2 → 50.2.3-ad4d9d.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.
Files changed (61) hide show
  1. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  2. package/lib/typescript/src/components/AccordionGroup.d.ts +1 -1
  3. package/lib/typescript/src/components/ActivityIndicator.d.ts +1 -1
  4. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +2 -2
  5. package/lib/typescript/src/components/BottomSheet/BottomSheet.js +1 -2
  6. package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +1 -1
  7. package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -1
  8. package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +1 -1
  9. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +2 -2
  10. package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts +1 -1
  11. package/lib/typescript/src/components/Divider.d.ts +1 -1
  12. package/lib/typescript/src/components/Elevation.d.ts +1 -1
  13. package/lib/typescript/src/components/IconButton.d.ts +1 -1
  14. package/lib/typescript/src/components/Picker/NativePicker.d.ts +1 -1
  15. package/lib/typescript/src/components/Picker/dropdown/DropDownModalPicker.d.ts +1 -1
  16. package/lib/typescript/src/components/Picker/dropdown/DropDownPicker.d.ts +1 -1
  17. package/lib/typescript/src/components/Picker/dropdown/MultiSelectPicker.d.ts +1 -1
  18. package/lib/typescript/src/components/Picker/index.d.ts +1 -1
  19. package/lib/typescript/src/components/PinInput/PinInput.d.ts +1 -1
  20. package/lib/typescript/src/components/PinInput/PinInputText.d.ts +1 -1
  21. package/lib/typescript/src/components/Progress/CircularProgress/index.d.ts +1 -1
  22. package/lib/typescript/src/components/Progress/LinearProgress/index.d.ts +1 -1
  23. package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -1
  24. package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -1
  25. package/lib/typescript/src/components/Row.d.ts +1 -1
  26. package/lib/typescript/src/components/ScreenContainer.d.ts +1 -1
  27. package/lib/typescript/src/components/SectionList/SectionHeader.d.ts +1 -1
  28. package/lib/typescript/src/components/Slider.d.ts +1 -1
  29. package/lib/typescript/src/components/StarRating.d.ts +1 -1
  30. package/lib/typescript/src/components/Stepper.d.ts +1 -1
  31. package/lib/typescript/src/components/Surface.d.ts +1 -1
  32. package/lib/typescript/src/components/SwipeableItem/SwipeableItem.d.ts +1 -1
  33. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -1
  34. package/lib/typescript/src/components/Switch.d.ts +3 -3
  35. package/lib/typescript/src/components/TabView/TabView.d.ts +1 -1
  36. package/lib/typescript/src/components/Table/Table.d.ts +1 -1
  37. package/lib/typescript/src/components/Table/TableRow.d.ts +1 -1
  38. package/lib/typescript/src/components/Text.d.ts +1 -1
  39. package/lib/typescript/src/components/TextField.d.ts +1 -1
  40. package/lib/typescript/src/components/Typography.d.ts +3 -3
  41. package/lib/typescript/src/deprecated-components/AccordionItem.d.ts +1 -1
  42. package/lib/typescript/src/deprecated-components/AvatarEdit.d.ts +1 -1
  43. package/lib/typescript/src/deprecated-components/Banner.d.ts +1 -1
  44. package/lib/typescript/src/deprecated-components/Card.d.ts +3 -3
  45. package/lib/typescript/src/deprecated-components/Container.d.ts +1 -1
  46. package/lib/typescript/src/deprecated-components/DeprecatedButton.d.ts +1 -1
  47. package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.d.ts +1 -1
  48. package/lib/typescript/src/deprecated-components/DeprecatedFAB.d.ts +1 -1
  49. package/lib/typescript/src/deprecated-components/FAB.d.ts +1 -1
  50. package/lib/typescript/src/deprecated-components/FieldSearchBarFull.d.ts +1 -1
  51. package/lib/typescript/src/deprecated-components/ProgressCircle.d.ts +1 -1
  52. package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.d.ts +1 -1
  53. package/lib/typescript/src/deprecated-components/RowBodyIcon.d.ts +1 -1
  54. package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.d.ts +1 -1
  55. package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.d.ts +1 -1
  56. package/lib/typescript/src/deprecated-components/ToggleButton.d.ts +1 -1
  57. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +3 -3
  59. package/src/components/BottomSheet/BottomSheet.js +1 -2
  60. package/src/components/BottomSheet/BottomSheet.js.map +1 -1
  61. package/src/components/BottomSheet/BottomSheet.tsx +1 -2
@@ -1 +1 @@
1
- import _toConsumableArray from"@babel/runtime/helpers/toConsumableArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["theme","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{withTheme}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 theme=_ref.theme,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,_ref$handleColor=_ref.handleColor,handleColor=_ref$handleColor===void 0?theme.colors.border.brand:_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,_ref$borderColor=_ref.borderColor,borderColor=_ref$borderColor===void 0?theme.colors.border.brand:_ref$borderColor,onSettle=_ref.onSettle,style=_ref.style,children=_ref.children,rest=_objectWithoutProperties(_ref,_excluded);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},!showHandle?{display:"none"}:{}],backgroundStyle:{backgroundColor:backgroundColor,borderTopLeftRadius:topBorderRadius,borderTopRightRadius:topBorderRadius,borderWidth:borderWidth,borderColor:borderColor},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 withTheme(BottomSheet);
1
+ import _toConsumableArray from"@babel/runtime/helpers/toConsumableArray";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["theme","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{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 theme=_ref.theme,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,_ref$handleColor=_ref.handleColor,handleColor=_ref$handleColor===void 0?theme.colors.border.brand:_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,_ref$borderColor=_ref.borderColor,borderColor=_ref$borderColor===void 0?theme.colors.border.brand:_ref$borderColor,onSettle=_ref.onSettle,style=_ref.style,children=_ref.children,rest=_objectWithoutProperties(_ref,_excluded);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},!showHandle?{display:"none"}:{}],backgroundStyle:{backgroundColor:backgroundColor,borderTopLeftRadius:topBorderRadius,borderTopRightRadius:topBorderRadius,borderWidth:borderWidth,borderColor:borderColor},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.ComponentType<Omit<AccordionGroupProps, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
26
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
27
27
  export default _default;
@@ -24,5 +24,5 @@ export interface BottomSheetProps extends ScrollViewProps {
24
24
  style?: StyleProp<ViewStyle>;
25
25
  theme: ReadTheme;
26
26
  }
27
- declare const _default: React.ComponentType<Omit<BottomSheetProps & React.RefAttributes<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>, "theme">>;
28
- export default _default;
27
+ declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<import("@gorhom/bottom-sheet/lib/typescript/types").BottomSheetMethods>>;
28
+ export default BottomSheet;
@@ -1,7 +1,6 @@
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 { withTheme } from "@draftbit/theme";
5
4
  import { useDeepCompareMemo } from "../../utilities";
6
5
  const windowHeight = Dimensions.get("window").height;
7
6
  // Clarification:
@@ -77,5 +76,5 @@ const styles = StyleSheet.create({
77
76
  paddingVertical: 10,
78
77
  },
79
78
  });
80
- export default withTheme(BottomSheet);
79
+ export default BottomSheet;
81
80
  //# sourceMappingURL=BottomSheet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.js","sourceRoot":"","s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CAAC;aAClC;YACD,OAAO,KAAK,CAAC;SACd;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YACpC,OAAO,YAAY,GAAG,KAAK,CAAC;SAC7B;aAAM;YACL,OAAO,KAAK,CAAC;SACd;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,oBAAoB,CAAC,aAAqB;IACjD,MAAM,YAAY,GAAG,SAAS,CAAC;IAC/B,MAAM,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAClD,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE;QACnB,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QACzC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE;YACzB,OAAO,aAAa,CAAC;SACtB;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,qBAAqB,EAAE;QACrB,iBAAiB,EAAE,EAAE;QACrB,eAAe,EAAE,EAAE;KACpB;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -15,5 +15,5 @@ export interface CheckboxRowProps extends CheckboxProps {
15
15
  direction?: Direction;
16
16
  theme: ReadTheme;
17
17
  }
18
- declare const _default: React.ComponentType<Omit<CheckboxRowProps & IconSlot, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<Props & {
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.ComponentType<Omit<React.PropsWithChildren<DeckSwiperCardProps>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<CommonPickerProps & SinglePickerProps, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<CommonDropDownPickerProps & SinglePickerProps & DropDownModalPickerProps>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<CommonDropDownPickerProps & (SinglePickerProps | MultiSelectPickerProps)>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<CommonDropDownPickerProps & MultiSelectPickerProps>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<PickerProps>, "theme">>;
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.ComponentType<Omit<PinInputProps & React.RefAttributes<NativeTextInput>, "theme">>;
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.ComponentType<Omit<CustomPinInputTextProps, "theme">>;
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.ComponentType<Omit<ValueProgressProps & IndeterminateProgressProps & CircularProgressProps, "theme">>;
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.ComponentType<Omit<ValueProgressProps & IndeterminateProgressProps, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<RadioButtonRowProps & IconSlot, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<ScreenContainerProps, "theme">>;
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.ComponentType<Omit<DefaultSectionHeaderProps, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<SwiperProps<any>, "theme">>;
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.ComponentType<Omit<{
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<TabViewProps>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props<object>>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
13
- export declare const Subtitle: React.ComponentType<Omit<Props, "theme">>;
14
- export declare const Caption: React.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<Props, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<{
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
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.ComponentType<Omit<React.PropsWithChildren<Props>, "theme">>;
20
+ declare const _default: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<Props>, "theme"> & React.RefAttributes<any>>;
21
21
  export default _default;