@draftbit/core 48.6.2 → 49.0.0

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 (62) hide show
  1. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  2. package/lib/commonjs/components/Config.js +1 -1
  3. package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
  4. package/lib/commonjs/components/Progress/CircularProgress/CircularProgress.js +1 -1
  5. package/lib/commonjs/components/Progress/IndeterminateProgress.js +1 -1
  6. package/lib/commonjs/components/Progress/LinearProgress/LinearProgress.js +1 -1
  7. package/lib/commonjs/components/SectionList/SectionList.js +1 -1
  8. package/lib/commonjs/components/StepIndicator.js +1 -1
  9. package/lib/commonjs/utilities.js +1 -1
  10. package/lib/typescript/src/Provider.d.ts +1 -1
  11. package/lib/typescript/src/components/AccordionGroup.d.ts +1 -1
  12. package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -1
  13. package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +5 -3
  14. package/lib/typescript/src/components/BottomSheet/BottomSheet.js +56 -47
  15. package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +1 -1
  16. package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +2574 -2223
  17. package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts +1 -1
  18. package/lib/typescript/src/components/FormRow.d.ts +1 -1
  19. package/lib/typescript/src/components/Image.js +1 -1
  20. package/lib/typescript/src/components/Image.js.map +1 -1
  21. package/lib/typescript/src/components/Portal/Portal.d.ts +1 -1
  22. package/lib/typescript/src/components/Portal/PortalHost.d.ts +1 -1
  23. package/lib/typescript/src/components/Portal/PortalManager.d.ts +1 -1
  24. package/lib/typescript/src/components/Pressable.d.ts +2 -2
  25. package/lib/typescript/src/components/ScreenContainer.d.ts +1 -1
  26. package/lib/typescript/src/components/SectionList/SectionHeader.d.ts +1 -1
  27. package/lib/typescript/src/components/SectionList/SectionList.d.ts +2 -2
  28. package/lib/typescript/src/components/Slider.d.ts +1 -1
  29. package/lib/typescript/src/components/StepIndicator.d.ts +7 -7
  30. package/lib/typescript/src/components/SwipeableItem/SwipeableList.d.ts +1 -1
  31. package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -1
  32. package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -1
  33. package/lib/typescript/src/components/Switch.d.ts +2 -2
  34. package/lib/typescript/src/components/Table/Table.d.ts +1 -1
  35. package/lib/typescript/src/components/Text.d.ts +1 -1
  36. package/lib/typescript/src/components/TextField.d.ts +1 -1
  37. package/lib/typescript/src/components/Touchable.d.ts +2 -2
  38. package/lib/typescript/src/components/Typography.d.ts +3 -3
  39. package/lib/typescript/src/deprecated-components/AccordionItem.d.ts +1 -1
  40. package/lib/typescript/src/deprecated-components/Card.d.ts +1 -1
  41. package/lib/typescript/src/deprecated-components/CircularProgress.d.ts +1 -1
  42. package/lib/typescript/src/deprecated-components/Layout.d.ts +6 -6
  43. package/lib/typescript/src/deprecated-components/ProgressBar.d.ts +1 -1
  44. package/lib/typescript/src/deprecated-components/ProgressBar.js.map +1 -1
  45. package/lib/typescript/src/styles/DefaultTheme.d.ts +858 -741
  46. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +11 -10
  48. package/src/components/BottomSheet/BottomSheet.js +56 -47
  49. package/src/components/BottomSheet/BottomSheet.js.map +1 -1
  50. package/src/components/BottomSheet/BottomSheet.tsx +82 -73
  51. package/src/components/Image.js +1 -1
  52. package/src/components/Image.js.map +1 -1
  53. package/src/components/Image.tsx +10 -1
  54. package/src/deprecated-components/ProgressBar.js.map +1 -1
  55. package/src/deprecated-components/ProgressBar.tsx +1 -1
  56. package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +0 -1
  57. package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.d.ts +0 -169
  58. package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.js +0 -438
  59. package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.js.map +0 -1
  60. package/src/components/BottomSheet/BottomSheetComponent.js +0 -438
  61. package/src/components/BottomSheet/BottomSheetComponent.js.map +0 -1
  62. package/src/components/BottomSheet/BottomSheetComponent.tsx +0 -895
@@ -23,5 +23,5 @@ export interface DeckSwiperProps<T> {
23
23
  }) => JSX.Element;
24
24
  style?: StyleProp<ViewStyle>;
25
25
  }
26
- declare const DeckSwiper: <T extends object>({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex, infiniteSwiping, verticalEnabled, horizontalEnabled, visibleCardCount, data, keyExtractor, renderItem, style, children, }: React.PropsWithChildren<DeckSwiperProps<T>>) => JSX.Element;
26
+ declare const DeckSwiper: <T extends object>({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex, infiniteSwiping, verticalEnabled, horizontalEnabled, visibleCardCount, data, keyExtractor, renderItem, style, children, }: React.PropsWithChildren<DeckSwiperProps<T>>) => React.JSX.Element;
27
27
  export default DeckSwiper;
@@ -9,5 +9,5 @@ declare type Props = {
9
9
  style?: StyleProp<ViewStyle>;
10
10
  onPress: () => void;
11
11
  };
12
- export default function FormRow({ disabled, direction, children, label, style, onPress, ...rest }: Props): JSX.Element;
12
+ export default function FormRow({ disabled, direction, children, label, style, onPress, ...rest }: Props): React.JSX.Element;
13
13
  export {};
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { Image as NativeImage, StyleSheet, } from "react-native";
4
4
  import Config from "./Config";
5
5
  import AspectRatio from "./AspectRatio";
6
- const generateDimensions = ({ aspectRatio, width, height }) => {
6
+ const generateDimensions = ({ aspectRatio, width, height, }) => {
7
7
  if (aspectRatio && !width && !height) {
8
8
  return {
9
9
  aspectRatio,
@@ -1 +1 @@
1
- {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../../src/components/Image.tsx"],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K,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;YACzD,oBAAC,WAAW,OACN,KAAK,EACT,MAAM,EAAE,WAAkC,EAC1C,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE;oBACL,KAAK;oBACL;wBACE,MAAM,EAAE,MAAM;wBACd,KAAK,EAAE,MAAM;qBACd;iBACF,GACD,CACU,CACf,CAAC;KACH;IAED,OAAO,CACL,oBAAC,WAAW,OACN,KAAK,EACT,MAAM,EAAE,MAA6B,EACrC,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../../src/components/Image.tsx"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,KAAK,IAAI,WAAW,EAEpB,UAAU,GAGX,MAAM,cAAc,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,WAAW,MAAM,eAAe,CAAC;AAQxC,MAAM,kBAAkB,GAAG,CAAC,EAC1B,WAAW,EACX,KAAK,EACL,MAAM,GACS,EAIf,EAAE;IACF,IAAI,WAAW,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,EAAE;QACpC,OAAO;YACL,WAAW;YACX,KAAK,EAAE,MAAM;SACd,CAAC;KACH;IAED,IAAI,WAAW,IAAI,MAAM,EAAE;QACzB,OAAO;YACL,WAAW;YACX,MAAM;YACN,KAAK,EAAE,WAAW,GAAG,MAAM;SAC5B,CAAC;KACH;IAED,IAAI,WAAW,IAAI,KAAK,EAAE;QACxB,OAAO;YACL,WAAW;YACX,KAAK;YACL,MAAM,EAAE,KAAK,GAAG,WAAW;SAC5B,CAAC;KACH;IAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,KAAK,GAAyB,CAAC,EACnC,MAAM,EACN,UAAU,GAAG,OAAO,EACpB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,WAAW,GACb,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS;QACrC,CAAC,CAAC,MAAM,CAAC,mBAAmB;QAC5B,CAAC,CAAC,MAAM,CAAC;IAEb,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC/C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,kBAAkB,CACvD,MAAwB,CACzB,CAAC;IAEF,IAAI,WAAW,EAAE;QACf,OAAO,CACL,oBAAC,WAAW,IAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;YACzD,oBAAC,WAAW,OACN,KAAK,EACT,MAAM,EAAE,WAAkC,EAC1C,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE;oBACL,KAAK;oBACL;wBACE,MAAM,EAAE,MAAM;wBACd,KAAK,EAAE,MAAM;qBACd;iBACF,GACD,CACU,CACf,CAAC;KACH;IAED,OAAO,CACL,oBAAC,WAAW,OACN,KAAK,EACT,MAAM,EAAE,MAA6B,EACrC,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -34,7 +34,7 @@ declare type Props = {
34
34
  */
35
35
  declare class Portal extends React.Component<Props> {
36
36
  static Host: typeof PortalHost;
37
- render(): JSX.Element;
37
+ render(): React.JSX.Element;
38
38
  }
39
39
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
40
40
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
@@ -42,6 +42,6 @@ export default class PortalHost extends React.Component<Props> {
42
42
  private nextKey;
43
43
  private queue;
44
44
  private manager;
45
- render(): JSX.Element;
45
+ render(): React.JSX.Element;
46
46
  }
47
47
  export {};
@@ -13,6 +13,6 @@ export default class PortalManager extends React.PureComponent<{}, State> {
13
13
  mount: (key: number, children: React.ReactNode) => void;
14
14
  update: (key: number, children: React.ReactNode) => void;
15
15
  unmount: (key: number) => void;
16
- render(): JSX.Element[];
16
+ render(): React.JSX.Element[];
17
17
  }
18
18
  export {};
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { PressableProps, ViewStyle } from "react-native";
3
3
  declare type Props = {
4
4
  style?: ViewStyle;
5
5
  activeOpacity?: number;
6
6
  disabledOpacity?: number;
7
7
  } & PressableProps;
8
- export default function Pressable({ children, disabled, onPress, activeOpacity, disabledOpacity, delayLongPress, hitSlop, style, ...props }: Props): JSX.Element;
8
+ export default function Pressable({ children, disabled, onPress, activeOpacity, disabledOpacity, delayLongPress, hitSlop, style, ...props }: Props): React.JSX.Element;
9
9
  export {};
@@ -10,7 +10,7 @@ declare type ScreenContainerProps = {
10
10
  style?: StyleProp<ViewStyle>;
11
11
  children?: React.ReactNode;
12
12
  };
13
- declare function ScreenContainer({ scrollable, hasSafeArea, hasBottomSafeArea, hasTopSafeArea, theme, style, children, ...rest }: ScreenContainerProps): JSX.Element;
13
+ declare function ScreenContainer({ scrollable, hasSafeArea, hasBottomSafeArea, hasTopSafeArea, theme, style, children, ...rest }: ScreenContainerProps): React.JSX.Element;
14
14
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<ScreenContainerProps, "theme"> & {
15
15
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
16
16
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<ScreenContainerProps> & typeof ScreenContainer, {}>;
@@ -11,5 +11,5 @@ interface DefaultSectionHeaderProps {
11
11
  }
12
12
  export declare const DefaultSectionHeader: React.ComponentType<import("@draftbit/react-theme-provider").$Without<DefaultSectionHeaderProps, "theme"> & {
13
13
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
14
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<DefaultSectionHeaderProps> & (({ title, theme }: DefaultSectionHeaderProps) => JSX.Element), {}>;
14
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<DefaultSectionHeaderProps> & (({ title, theme }: DefaultSectionHeaderProps) => React.JSX.Element), {}>;
15
15
  export default SectionHeader;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { FlashListProps } from "@shopify/flash-list";
3
3
  import { FlatListProps } from "react-native";
4
4
  declare type ListComponentType = "FlatList" | "FlashList";
@@ -18,5 +18,5 @@ declare type FlashListSectionListProps<T> = Omit<FlashListProps<T>, "renderItem"
18
18
  export declare const DEFAULT_SECTION = "Uncategorized";
19
19
  declare const SectionList: <T extends {
20
20
  [key: string]: any;
21
- }>({ sectionKey, stickyHeader, listComponent, data: dataProp, renderItem: renderItemProp, keyExtractor: keyExtractorProp, ...rest }: FlatListSectionListProps<T> | FlashListSectionListProps<T>) => JSX.Element;
21
+ }>({ sectionKey, stickyHeader, listComponent, data: dataProp, renderItem: renderItemProp, keyExtractor: keyExtractorProp, ...rest }: FlatListSectionListProps<T> | FlashListSectionListProps<T>) => React.JSX.Element;
22
22
  export default SectionList;
@@ -20,7 +20,7 @@ export declare type Props = {
20
20
  onValueChange?: (value: number) => void;
21
21
  theme: Theme;
22
22
  } & IconSlot;
23
- declare function Slider({ Icon, leftIcon, rightIcon, leftIconColor, rightIconColor, value, defaultValue, minimumTrackTintColor, maximumTrackTintColor, thumbTintColor, minimumValue, maximumValue, tapToSeek, step, onValueChange, style, theme, ...rest }: Props): JSX.Element;
23
+ declare function Slider({ Icon, leftIcon, rightIcon, leftIconColor, rightIconColor, value, defaultValue, minimumTrackTintColor, maximumTrackTintColor, thumbTintColor, minimumValue, maximumValue, tapToSeek, step, onValueChange, style, theme, ...rest }: Props): React.JSX.Element;
24
24
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
25
25
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
26
26
  }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & typeof Slider, {}>;
@@ -1,4 +1,4 @@
1
- import { Component } from "react";
1
+ import React, { Component } from "react";
2
2
  interface CustomStyles {
3
3
  stepIndicatorSize?: number;
4
4
  currentStepIndicatorSize?: number;
@@ -40,13 +40,13 @@ declare type State = {
40
40
  export default class StepIndicator extends Component<Props, State> {
41
41
  constructor(props: Props);
42
42
  stepPressed(position: any): void;
43
- render(): JSX.Element;
43
+ render(): React.JSX.Element;
44
44
  componentDidUpdate(prevProps: any): void;
45
- renderProgressBarBackground: () => JSX.Element;
46
- renderProgressBar: () => JSX.Element;
47
- renderStepIndicator: () => JSX.Element;
48
- renderStepLabels: () => JSX.Element;
49
- renderStep: (position: any) => JSX.Element;
45
+ renderProgressBarBackground: () => React.JSX.Element;
46
+ renderProgressBar: () => React.JSX.Element;
47
+ renderStepIndicator: () => React.JSX.Element;
48
+ renderStepLabels: () => React.JSX.Element;
49
+ renderStep: (position: any) => React.JSX.Element;
50
50
  getStepStatus: (stepPosition: any) => string;
51
51
  onCurrentPositionChanged: (position: any) => void;
52
52
  }
@@ -13,5 +13,5 @@ declare type SwipeableListContextType = {
13
13
  onStopSwiping: () => void;
14
14
  };
15
15
  export declare const SwipeableListContext: React.Context<SwipeableListContextType>;
16
- declare const SwipeableList: <T extends object>({ disableScrollWhenSwiping, listComponent, ...rest }: FlashListSwipeableListProps<T> | FlatListSwipeableListProps<T>) => JSX.Element;
16
+ declare const SwipeableList: <T extends object>({ disableScrollWhenSwiping, listComponent, ...rest }: FlashListSwipeableListProps<T> | FlatListSwipeableListProps<T>) => React.JSX.Element;
17
17
  export default SwipeableList;
@@ -25,5 +25,5 @@ export interface SwiperProps<T> {
25
25
  style?: StyleProp<ViewStyle>;
26
26
  onIndexChanged?: (index: number) => void;
27
27
  }
28
- declare const Swiper: ({ vertical, loop, timeout, from, prevTitle, nextTitle, prevTitleColor, nextTitleColor, dotsTouchable, dotColor, dotActiveColor, data, keyExtractor, renderItem, children: childrenProp, onIndexChanged: onIndexChangedProp, onSwipe, onSwipedNext, onSwipedPrevious, style, }: SwiperProps<any>) => JSX.Element;
28
+ declare const Swiper: ({ vertical, loop, timeout, from, prevTitle, nextTitle, prevTitleColor, nextTitleColor, dotsTouchable, dotColor, dotActiveColor, data, keyExtractor, renderItem, children: childrenProp, onIndexChanged: onIndexChangedProp, onSwipe, onSwipedNext, onSwipedPrevious, style, }: SwiperProps<any>) => React.JSX.Element;
29
29
  export default Swiper;
@@ -4,5 +4,5 @@ export interface SwiperProps {
4
4
  children: React.ReactNode;
5
5
  style?: StyleProp<ViewStyle>;
6
6
  }
7
- declare const SwiperItem: ({ children, style }: SwiperProps) => JSX.Element;
7
+ declare const SwiperItem: ({ children, style }: SwiperProps) => React.JSX.Element;
8
8
  export default SwiperItem;
@@ -13,13 +13,13 @@ declare type Props = {
13
13
  activeThumbColor: string;
14
14
  inactiveThumbColor: string;
15
15
  } & SwitchProps;
16
- declare function Switch({ value, defaultValue, disabled, onValueChange, activeTrackColor, inactiveTrackColor, activeThumbColor, inactiveThumbColor, theme, style, ...rest }: Props): JSX.Element;
16
+ declare function Switch({ value, defaultValue, disabled, onValueChange, activeTrackColor, inactiveTrackColor, activeThumbColor, inactiveThumbColor, theme, style, ...rest }: Props): React.JSX.Element;
17
17
  declare type RowProps = {
18
18
  label: string;
19
19
  direction: RowDirection;
20
20
  style?: StyleProp<ViewStyle>;
21
21
  };
22
- declare function Row({ label, direction, style, value, defaultValue, disabled, onValueChange, activeTrackColor, inactiveTrackColor, activeThumbColor, inactiveThumbColor, theme, ...rest }: Props & RowProps): JSX.Element;
22
+ declare function Row({ label, direction, style, value, defaultValue, disabled, onValueChange, activeTrackColor, inactiveTrackColor, activeThumbColor, inactiveThumbColor, theme, ...rest }: Props & RowProps): React.JSX.Element;
23
23
  declare const SwitchRow: React.ComponentType<import("@draftbit/react-theme-provider").$Without<{
24
24
  value?: boolean | undefined;
25
25
  disabled?: boolean | undefined;
@@ -14,5 +14,5 @@ export interface Props<T> extends TableProps, ScrollViewProps {
14
14
  }
15
15
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props<object>>, "theme"> & {
16
16
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
17
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props<object>>> & (<T extends object>({ theme, borderWidth, borderColor, borderStyle, drawTopBorder, drawBottomBorder, drawStartBorder, drawEndBorder, cellVerticalPadding, cellHorizontalPadding, data, keyExtractor, renderItem, children: childrenProp, style, ...rest }: React.PropsWithChildren<Props<T>>) => JSX.Element), {}>;
17
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props<object>>> & (<T extends object>({ theme, borderWidth, borderColor, borderStyle, drawTopBorder, drawBottomBorder, drawStartBorder, drawEndBorder, cellVerticalPadding, cellHorizontalPadding, data, keyExtractor, renderItem, children: childrenProp, style, ...rest }: React.PropsWithChildren<Props<T>>) => React.JSX.Element), {}>;
18
18
  export default _default;
@@ -6,7 +6,7 @@ declare type Props = {
6
6
  } & TextProps;
7
7
  declare class Text extends React.Component<Props> {
8
8
  _root: any;
9
- render(): JSX.Element;
9
+ render(): React.JSX.Element;
10
10
  }
11
11
  export declare const BaseLink: ({ style, theme, title, ...props }: any) => JSX.Element;
12
12
  declare const Link: any;
@@ -59,7 +59,7 @@ declare class TextField extends React.Component<Props, State> {
59
59
  clear(): void | undefined;
60
60
  focus(): void | undefined;
61
61
  blur(): void | undefined;
62
- render(): JSX.Element;
62
+ render(): React.JSX.Element;
63
63
  }
64
64
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
65
65
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { PressableProps, ViewStyle } from "react-native";
3
3
  declare type Props = {
4
4
  style?: ViewStyle;
5
5
  activeOpacity?: number;
6
6
  disabledOpacity?: number;
7
7
  } & PressableProps;
8
- export default function Touchable({ children, disabled, onPress, activeOpacity, disabledOpacity, delayLongPress, hitSlop, style, ...props }: Props): JSX.Element;
8
+ export default function Touchable({ children, disabled, onPress, activeOpacity, disabledOpacity, delayLongPress, hitSlop, style, ...props }: Props): React.JSX.Element;
9
9
  export {};
@@ -11,11 +11,11 @@ declare type Props = {
11
11
  };
12
12
  export declare const Title: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
13
13
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
14
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => JSX.Element), {}>;
14
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => React.JSX.Element), {}>;
15
15
  export declare const Subtitle: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
16
16
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
17
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => JSX.Element), {}>;
17
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => React.JSX.Element), {}>;
18
18
  export declare const Caption: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
19
19
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
20
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => JSX.Element), {}>;
20
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ text, theme, style }: Props) => React.JSX.Element), {}>;
21
21
  export {};
@@ -11,5 +11,5 @@ declare type Props = {
11
11
  } & IconSlot;
12
12
  declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<Props, "theme"> & {
13
13
  theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
14
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ Icon, icon, label, style, iconColor, theme, ...rest }: Props) => JSX.Element), {}>;
14
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ Icon, icon, label, style, iconColor, theme, ...rest }: Props) => React.JSX.Element), {}>;
15
15
  export default _default;
@@ -16,7 +16,7 @@ export declare const TopRightCircleIcon: React.ComponentType<import("@draftbit/r
16
16
  icon: string;
17
17
  theme: Theme;
18
18
  onPress?: (() => void) | undefined;
19
- } & IconSlot) => JSX.Element), {}>;
19
+ } & IconSlot) => React.JSX.Element), {}>;
20
20
  declare type Props = {
21
21
  image?: string | ImageSourcePropType;
22
22
  title?: string;
@@ -40,6 +40,6 @@ declare class CircularProgress extends React.Component<Props> {
40
40
  };
41
41
  circlePath: (x: number, y: number, radius: number, startAngle: number, endAngle: number) => string;
42
42
  clampFill: (fill: number) => number;
43
- render(): JSX.Element;
43
+ render(): React.JSX.Element;
44
44
  }
45
45
  export default CircularProgress;
@@ -10,7 +10,7 @@ export declare function Center({ width, height, children, bgColor, style, ...res
10
10
  bgColor: string;
11
11
  children: React.ReactNode;
12
12
  style?: StyleProp<ViewStyle>;
13
- }): JSX.Element;
13
+ }): React.JSX.Element;
14
14
  /**
15
15
  * @deprecated DEPRECATED
16
16
  */
@@ -19,7 +19,7 @@ export declare function Circle({ size, bgColor, children, style, ...rest }: {
19
19
  bgColor: string;
20
20
  children: React.ReactNode;
21
21
  style?: StyleProp<ViewStyle>;
22
- }): JSX.Element;
22
+ }): React.JSX.Element;
23
23
  /**
24
24
  * @deprecated DEPRECATED
25
25
  */
@@ -28,7 +28,7 @@ export declare function Square({ size, bgColor, children, style, ...rest }: {
28
28
  bgColor: string;
29
29
  children: React.ReactNode;
30
30
  style?: StyleProp<ViewStyle>;
31
- }): JSX.Element;
31
+ }): React.JSX.Element;
32
32
  /**
33
33
  * @deprecated DEPRECATED
34
34
  */
@@ -37,7 +37,7 @@ export declare function Row({ justifyContent, alignItems, children, style, ...re
37
37
  justifyContent: ViewStyleProp.justifyContent;
38
38
  children: React.ReactNode;
39
39
  style?: StyleProp<ViewStyle>;
40
- }): JSX.Element;
40
+ }): React.JSX.Element;
41
41
  /**
42
42
  * @deprecated DEPRECATED
43
43
  */
@@ -48,7 +48,7 @@ export declare function Spacer({ top, right, bottom, left, children, style, ...r
48
48
  bottom?: number;
49
49
  children: React.ReactNode;
50
50
  style?: StyleProp<ViewStyle>;
51
- }): JSX.Element;
51
+ }): React.JSX.Element;
52
52
  /**
53
53
  * @deprecated DEPRECATED
54
54
  */
@@ -57,4 +57,4 @@ export declare function Stack({ children, justifyContent, alignItems, style, ...
57
57
  alignItems: ViewStyleProp.alignItems;
58
58
  children: React.ReactNode;
59
59
  style?: StyleProp<ViewStyle>;
60
- }): JSX.Element;
60
+ }): React.JSX.Element;
@@ -32,6 +32,6 @@ export default class ProgressBar extends Component<Props, State> {
32
32
  componentDidUpdate(prevProps: Props): void;
33
33
  handleLayout: (event: LayoutChangeEvent) => void;
34
34
  animate(): void;
35
- render(): JSX.Element;
35
+ render(): React.JSX.Element;
36
36
  }
37
37
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../../src/deprecated-components/ProgressBar.tsx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