tamagui 1.0.0-alpha.13 → 1.0.0-alpha.17

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 (167) hide show
  1. package/dist/cjs/helpers/normalizeColor.d.ts +2 -0
  2. package/dist/cjs/helpers/normalizeColor.d.ts.map +1 -0
  3. package/dist/cjs/helpers/prevent.d.ts +2 -0
  4. package/dist/cjs/helpers/prevent.d.ts.map +1 -0
  5. package/dist/cjs/hooks/useControllableState.d.ts +10 -0
  6. package/dist/cjs/hooks/useControllableState.d.ts.map +1 -0
  7. package/dist/cjs/hooks/useDebounce.d.ts +12 -0
  8. package/dist/cjs/hooks/useDebounce.d.ts.map +1 -0
  9. package/dist/cjs/hooks/useKeyboardDismissable.d.ts +13 -0
  10. package/dist/cjs/hooks/useKeyboardDismissable.d.ts.map +1 -0
  11. package/dist/cjs/hooks/useLayout.d.ts +15 -0
  12. package/dist/cjs/hooks/useLayout.d.ts.map +1 -0
  13. package/dist/cjs/index.d.ts +38 -0
  14. package/dist/cjs/index.d.ts.map +1 -0
  15. package/dist/cjs/index.js +2 -2
  16. package/dist/cjs/index.js.map +2 -2
  17. package/dist/cjs/viewTypes.d.ts +43 -0
  18. package/dist/cjs/viewTypes.d.ts.map +1 -0
  19. package/dist/cjs/views/BlurView.d.ts +11 -0
  20. package/dist/cjs/views/BlurView.d.ts.map +1 -0
  21. package/dist/cjs/views/BlurView.native.d.ts +6 -0
  22. package/dist/cjs/views/BlurView.native.d.ts.map +1 -0
  23. package/dist/cjs/views/Box.d.ts +14 -0
  24. package/dist/cjs/views/Box.d.ts.map +1 -0
  25. package/dist/cjs/views/Box.js.map +2 -2
  26. package/dist/cjs/views/Button.d.ts +40 -0
  27. package/dist/cjs/views/Button.d.ts.map +1 -0
  28. package/dist/cjs/views/Circle.d.ts +8 -0
  29. package/dist/cjs/views/Circle.d.ts.map +1 -0
  30. package/dist/cjs/views/Circle.js.map +2 -2
  31. package/dist/cjs/views/EnsureFlexed.d.ts +6 -0
  32. package/dist/cjs/views/EnsureFlexed.d.ts.map +1 -0
  33. package/dist/cjs/views/ExitAnimationContext.d.ts +6 -0
  34. package/dist/cjs/views/ExitAnimationContext.d.ts.map +1 -0
  35. package/dist/cjs/views/Form.d.ts +16 -0
  36. package/dist/cjs/views/Form.d.ts.map +1 -0
  37. package/dist/cjs/views/Grid.d.ts +9 -0
  38. package/dist/cjs/views/Grid.d.ts.map +1 -0
  39. package/dist/cjs/views/Headings.d.ts +116 -0
  40. package/dist/cjs/views/Headings.d.ts.map +1 -0
  41. package/dist/cjs/views/Hoverable.d.ts +17 -0
  42. package/dist/cjs/views/Hoverable.d.ts.map +1 -0
  43. package/dist/cjs/views/HoverablePopover.d.ts +16 -0
  44. package/dist/cjs/views/HoverablePopover.d.ts.map +1 -0
  45. package/dist/cjs/views/InteractiveContainer.d.ts +6 -0
  46. package/dist/cjs/views/InteractiveContainer.d.ts.map +1 -0
  47. package/dist/cjs/views/InteractiveFrame.d.ts +26 -0
  48. package/dist/cjs/views/InteractiveFrame.d.ts.map +1 -0
  49. package/dist/cjs/views/Layouts.d.ts +36 -0
  50. package/dist/cjs/views/Layouts.d.ts.map +1 -0
  51. package/dist/cjs/views/LinearGradient.d.ts +4 -0
  52. package/dist/cjs/views/LinearGradient.d.ts.map +1 -0
  53. package/dist/cjs/views/LinearGradient.native.d.ts +5 -0
  54. package/dist/cjs/views/LinearGradient.native.d.ts.map +1 -0
  55. package/dist/cjs/views/LinearGradient.native.js.map +2 -2
  56. package/dist/cjs/views/Modal.d.ts +22 -0
  57. package/dist/cjs/views/Modal.d.ts.map +1 -0
  58. package/dist/cjs/views/NativeLinearGradientProps.d.ts +10 -0
  59. package/dist/cjs/views/NativeLinearGradientProps.d.ts.map +1 -0
  60. package/dist/cjs/views/Overlay.d.ts +11 -0
  61. package/dist/cjs/views/Overlay.d.ts.map +1 -0
  62. package/dist/cjs/views/Paragraph.d.ts +12 -0
  63. package/dist/cjs/views/Paragraph.d.ts.map +1 -0
  64. package/dist/cjs/views/Popover/Popover.d.ts +11 -0
  65. package/dist/cjs/views/Popover/Popover.d.ts.map +1 -0
  66. package/dist/cjs/views/Popover/PopoverArrow.d.ts +25 -0
  67. package/dist/cjs/views/Popover/PopoverArrow.d.ts.map +1 -0
  68. package/dist/cjs/views/Popover/PopoverContent.d.ts +25 -0
  69. package/dist/cjs/views/Popover/PopoverContent.d.ts.map +1 -0
  70. package/dist/cjs/views/Popover/PopoverContext.d.ts +14 -0
  71. package/dist/cjs/views/Popover/PopoverContext.d.ts.map +1 -0
  72. package/dist/cjs/views/Popover/PopoverProvider.d.ts +5 -0
  73. package/dist/cjs/views/Popover/PopoverProvider.d.ts.map +1 -0
  74. package/dist/cjs/views/Popover/types.d.ts +81 -0
  75. package/dist/cjs/views/Popover/types.d.ts.map +1 -0
  76. package/dist/cjs/views/Popper.d.ts +64 -0
  77. package/dist/cjs/views/Popper.d.ts.map +1 -0
  78. package/dist/cjs/views/SafeAreaProvider.d.ts +6 -0
  79. package/dist/cjs/views/SafeAreaProvider.d.ts.map +1 -0
  80. package/dist/cjs/views/Separator.d.ts +6 -0
  81. package/dist/cjs/views/Separator.d.ts.map +1 -0
  82. package/dist/cjs/views/SizableText.d.ts +8 -0
  83. package/dist/cjs/views/SizableText.d.ts.map +1 -0
  84. package/dist/cjs/views/Stacks.d.ts +30 -0
  85. package/dist/cjs/views/Stacks.d.ts.map +1 -0
  86. package/dist/cjs/views/Stacks.js +3 -4
  87. package/dist/cjs/views/Stacks.js.map +2 -2
  88. package/dist/cjs/views/Table.d.ts +33 -0
  89. package/dist/cjs/views/Table.d.ts.map +1 -0
  90. package/dist/cjs/views/Toast.d.ts +13 -0
  91. package/dist/cjs/views/Toast.d.ts.map +1 -0
  92. package/dist/cjs/views/Tooltip.d.ts +9 -0
  93. package/dist/cjs/views/Tooltip.d.ts.map +1 -0
  94. package/dist/cjs/views/TouchableOpacity.d.ts +4 -0
  95. package/dist/cjs/views/TouchableOpacity.d.ts.map +1 -0
  96. package/dist/cjs/views/Transitions/PresenceTransition.d.ts +4 -0
  97. package/dist/cjs/views/Transitions/PresenceTransition.d.ts.map +1 -0
  98. package/dist/cjs/views/Transitions/Transition.d.ts +4 -0
  99. package/dist/cjs/views/Transitions/Transition.d.ts.map +1 -0
  100. package/dist/cjs/views/Transitions/index.d.ts +3 -0
  101. package/dist/cjs/views/Transitions/index.d.ts.map +1 -0
  102. package/dist/cjs/views/Transitions/types.d.ts +80 -0
  103. package/dist/cjs/views/Transitions/types.d.ts.map +1 -0
  104. package/dist/cjs/views/VisuallyHidden.d.ts +6 -0
  105. package/dist/cjs/views/VisuallyHidden.d.ts.map +1 -0
  106. package/dist/esm/index.js +2 -2
  107. package/dist/esm/index.js.map +2 -2
  108. package/dist/esm/views/Box.js.map +1 -1
  109. package/dist/esm/views/Circle.js.map +1 -1
  110. package/dist/esm/views/LinearGradient.native.js.map +2 -2
  111. package/dist/esm/views/Stacks.js +1 -2
  112. package/dist/esm/views/Stacks.js.map +2 -2
  113. package/dist/jsx/index.js +2 -2
  114. package/dist/jsx/views/Stacks.js +1 -2
  115. package/dist/tsconfig.tsbuildinfo +1 -0
  116. package/package.json +11 -10
  117. package/src/index.ts +3 -2
  118. package/src/views/Box.tsx +3 -1
  119. package/src/views/Circle.tsx +3 -1
  120. package/src/views/LinearGradient.native.tsx +1 -2
  121. package/src/views/Stacks.tsx +1 -2
  122. package/types/index.d.ts +2 -2
  123. package/types/index.d.ts.map +1 -1
  124. package/types/views/BlurView.native.d.ts +5 -1
  125. package/types/views/BlurView.native.d.ts.map +1 -1
  126. package/types/views/Box.d.ts +13 -1
  127. package/types/views/Box.d.ts.map +1 -1
  128. package/types/views/Button.d.ts +30 -2
  129. package/types/views/Button.d.ts.map +1 -1
  130. package/types/views/Circle.d.ts +7 -1
  131. package/types/views/Circle.d.ts.map +1 -1
  132. package/types/views/EnsureFlexed.d.ts +5 -1
  133. package/types/views/EnsureFlexed.d.ts.map +1 -1
  134. package/types/views/Form.d.ts +15 -3
  135. package/types/views/Form.d.ts.map +1 -1
  136. package/types/views/Headings.d.ts +115 -7
  137. package/types/views/Headings.d.ts.map +1 -1
  138. package/types/views/InteractiveContainer.d.ts +5 -1
  139. package/types/views/InteractiveContainer.d.ts.map +1 -1
  140. package/types/views/InteractiveFrame.d.ts +23 -1
  141. package/types/views/InteractiveFrame.d.ts.map +1 -1
  142. package/types/views/Layouts.d.ts +35 -7
  143. package/types/views/Layouts.d.ts.map +1 -1
  144. package/types/views/LinearGradient.d.ts +3 -1
  145. package/types/views/LinearGradient.d.ts.map +1 -1
  146. package/types/views/LinearGradient.native.d.ts +4 -1
  147. package/types/views/LinearGradient.native.d.ts.map +1 -1
  148. package/types/views/Modal.d.ts +11 -1
  149. package/types/views/Modal.d.ts.map +1 -1
  150. package/types/views/Paragraph.d.ts +9 -1
  151. package/types/views/Paragraph.d.ts.map +1 -1
  152. package/types/views/Popover/PopoverArrow.d.ts +23 -1
  153. package/types/views/Popover/PopoverArrow.d.ts.map +1 -1
  154. package/types/views/Popover/PopoverContent.d.ts +23 -1
  155. package/types/views/Popover/PopoverContent.d.ts.map +1 -1
  156. package/types/views/Popper.d.ts +24 -1
  157. package/types/views/Popper.d.ts.map +1 -1
  158. package/types/views/Separator.d.ts +5 -1
  159. package/types/views/Separator.d.ts.map +1 -1
  160. package/types/views/SizableText.d.ts +5 -1
  161. package/types/views/SizableText.d.ts.map +1 -1
  162. package/types/views/Stacks.d.ts +29 -3
  163. package/types/views/Stacks.d.ts.map +1 -1
  164. package/types/views/Table.d.ts +30 -6
  165. package/types/views/Table.d.ts.map +1 -1
  166. package/types/views/VisuallyHidden.d.ts +5 -1
  167. package/types/views/VisuallyHidden.d.ts.map +1 -1
@@ -0,0 +1,2 @@
1
+ export declare const normalizeColor: (color?: string | number | undefined, opacity?: number) => void | string;
2
+ //# sourceMappingURL=normalizeColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeColor.d.ts","sourceRoot":"","sources":["../../../src/helpers/normalizeColor.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,6DAA2C,IAAI,GAAG,MAc5E,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const prevent: (e: any) => any[];
2
+ //# sourceMappingURL=prevent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prevent.d.ts","sourceRoot":"","sources":["../../../src/helpers/prevent.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,mBAAmD,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export declare function useControllableProp<T>(prop: T | undefined, state: T): readonly [boolean, T];
3
+ export interface UseControllableStateProps<T> {
4
+ value?: T;
5
+ defaultValue?: T | (() => T);
6
+ onChange?: (value: T) => void;
7
+ name?: string;
8
+ }
9
+ export declare function useControllableState<T>(props: UseControllableStateProps<T>): [T, React.Dispatch<React.SetStateAction<T>>];
10
+ //# sourceMappingURL=useControllableState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useControllableState.d.ts","sourceRoot":"","sources":["../../../src/hooks/useControllableState.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,SAAS,EAAE,KAAK,EAAE,CAAC,yBAInE;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC;IAI1C,KAAK,CAAC,EAAE,CAAC,CAAA;IAIT,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;IAI5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;IAI7B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAMD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,EAAE,yBAAyB,CAAC,CAAC,CAAC,gDAoB1E"}
@@ -0,0 +1,12 @@
1
+ declare type DebounceSettings = {
2
+ leading?: boolean;
3
+ };
4
+ export declare function debounce<A extends Function>(func: A, wait?: number, leading?: boolean): A & {
5
+ cancel: Function;
6
+ };
7
+ export declare function useDebounce<A extends (...args: any) => any | undefined | null, DebouncedFn extends A & {
8
+ cancel: () => void;
9
+ }>(fn: A, wait: number, options?: DebounceSettings, mountArgs?: any[]): DebouncedFn;
10
+ export declare function useDebounceValue<A>(val: A, amt?: number): A;
11
+ export {};
12
+ //# sourceMappingURL=useDebounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebounce.ts"],"names":[],"mappings":"AAEA,aAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,QAAQ,CAAC,CAAC,SAAS,QAAQ,EACzC,IAAI,EAAE,CAAC,EACP,IAAI,CAAC,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,OAAO,GAChB,CAAC,GAAG;IACL,MAAM,EAAE,QAAQ,CAAA;CACjB,CAwBA;AAID,wBAAgB,WAAW,CACzB,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,GAAG,SAAS,GAAG,IAAI,EAClD,WAAW,SAAS,CAAC,GAAG;IACtB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,EACD,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,gBAA8B,EAAE,SAAS,GAAE,GAAG,EAAO,GAAG,WAAW,CAalG;AAMD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,SAAI,GAAG,CAAC,CAiBtD"}
@@ -0,0 +1,13 @@
1
+ declare type IParams = {
2
+ enabled?: boolean;
3
+ callback: () => any;
4
+ };
5
+ export declare const keyboardDismissHandlerManager: {
6
+ push: (handler: () => any) => () => void;
7
+ length: () => number;
8
+ pop: () => (() => any) | undefined;
9
+ };
10
+ export declare const useKeyboardDismissable: ({ enabled, callback }: IParams) => void;
11
+ export declare function useBackHandler({ enabled, callback }: IParams): void;
12
+ export {};
13
+ //# sourceMappingURL=useKeyboardDismissable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKeyboardDismissable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useKeyboardDismissable.tsx"],"names":[],"mappings":"AA0BA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,GAAG,CAAA;CACpB,CAAA;AAGD,eAAO,MAAM,6BAA6B;oBACxB,MAAM,GAAG;;sBAFc,GAAG;CAY3C,CAAA;AAED,eAAO,MAAM,sBAAsB,0BAA2B,OAAO,SAcpE,CAAA;AAeD,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,OAAO,QAsB5D"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { LayoutChangeEvent, LayoutRectangle } from 'react-native';
3
+ export declare const useLayout: (props?: {
4
+ stateless?: boolean | undefined;
5
+ onLayout?: ((rect: LayoutChangeEvent) => void) | undefined;
6
+ }) => {
7
+ layout: LayoutRectangle | null;
8
+ onLayout: ((rect: LayoutChangeEvent) => void) | undefined;
9
+ ref?: undefined;
10
+ } | {
11
+ layout: LayoutRectangle | null;
12
+ ref: import("react").MutableRefObject<any>;
13
+ onLayout?: undefined;
14
+ };
15
+ //# sourceMappingURL=useLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLayout.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLayout.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEjE,eAAO,MAAM,SAAS;;6CAA0E,IAAI;;;4CAAJ,IAAI;;;;;;CAyDnG,CAAA"}
@@ -0,0 +1,38 @@
1
+ export { useSafeAreaInsets } from 'react-native-safe-area-context';
2
+ export * from './viewTypes';
3
+ export * from '@tamagui/use-debounce';
4
+ export * from '@tamagui/use-force-update';
5
+ export * from './hooks/useLayout';
6
+ export * from './hooks/useKeyboardDismissable';
7
+ export * from './views/BlurView';
8
+ export * from './views/Box';
9
+ export * from './views/Button';
10
+ export * from './views/Circle';
11
+ export * from './views/EnsureFlexed';
12
+ export * from './views/Form';
13
+ export * from './views/Grid';
14
+ export * from './views/Headings';
15
+ export * from './views/Hoverable';
16
+ export * from './views/HoverablePopover';
17
+ export * from './views/InteractiveContainer';
18
+ export * from './views/Layouts';
19
+ export * from './views/LinearGradient';
20
+ export * from './views/Modal';
21
+ export * from './views/Overlay';
22
+ export * from './views/Paragraph';
23
+ export * from './views/Popover/Popover';
24
+ export * from './views/Popover/PopoverProvider';
25
+ export * from './views/SafeAreaProvider';
26
+ export * from './views/Separator';
27
+ export * from './views/SizableText';
28
+ export * from './views/Stacks';
29
+ export * from './views/Table';
30
+ export * from './views/Toast';
31
+ export * from './views/Tooltip';
32
+ export * from './views/TouchableOpacity';
33
+ export * from './views/Transitions';
34
+ export * from './views/VisuallyHidden';
35
+ export * from './helpers/prevent';
36
+ export * from '@tamagui/helpers';
37
+ export * from '@tamagui/core';
38
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAElE,cAAc,aAAa,CAAA;AAE3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AAEzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gCAAgC,CAAA;AAE9C,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AAEtC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -25,8 +25,6 @@ __export(exports, {
25
25
  useSafeAreaInsets: () => import_react_native_safe_area_context.useSafeAreaInsets
26
26
  });
27
27
  var import_react_native_safe_area_context = __toModule(require("react-native-safe-area-context"));
28
- __reExport(exports, __toModule(require("@tamagui/helpers")));
29
- __reExport(exports, __toModule(require("@tamagui/core")));
30
28
  __reExport(exports, __toModule(require("./viewTypes")));
31
29
  __reExport(exports, __toModule(require("@tamagui/use-debounce")));
32
30
  __reExport(exports, __toModule(require("@tamagui/use-force-update")));
@@ -61,4 +59,6 @@ __reExport(exports, __toModule(require("./views/TouchableOpacity")));
61
59
  __reExport(exports, __toModule(require("./views/Transitions")));
62
60
  __reExport(exports, __toModule(require("./views/VisuallyHidden")));
63
61
  __reExport(exports, __toModule(require("./helpers/prevent")));
62
+ __reExport(exports, __toModule(require("@tamagui/helpers")));
63
+ __reExport(exports, __toModule(require("@tamagui/core")));
64
64
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,4CAAkC;AAClC,oBAAc;AACd,oBAAc;AAEd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AAEd,oBAAc;",
4
+ "sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,4CAAkC;AAElC,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AAEd,oBAAc;AACd,oBAAc;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,43 @@
1
+ import { TextStyle, ViewStyle } from 'react-native';
2
+ export declare type ShorthandViewStyleProps = {
3
+ w?: ViewStyle['width'];
4
+ h?: ViewStyle['height'];
5
+ p?: ViewStyle['padding'];
6
+ pt?: ViewStyle['paddingTop'];
7
+ pb?: ViewStyle['paddingBottom'];
8
+ pl?: ViewStyle['paddingLeft'];
9
+ pr?: ViewStyle['paddingRight'];
10
+ px?: ViewStyle['paddingHorizontal'];
11
+ py?: ViewStyle['paddingVertical'];
12
+ m?: ViewStyle['margin'];
13
+ mt?: ViewStyle['marginTop'];
14
+ mb?: ViewStyle['marginBottom'];
15
+ ml?: ViewStyle['marginLeft'];
16
+ mr?: ViewStyle['marginRight'];
17
+ mx?: ViewStyle['marginHorizontal'];
18
+ my?: ViewStyle['marginVertical'];
19
+ f?: ViewStyle['flex'];
20
+ fd?: ViewStyle['flexDirection'];
21
+ fw?: ViewStyle['flexWrap'];
22
+ fg?: ViewStyle['flexGrow'];
23
+ fs?: ViewStyle['flexShrink'];
24
+ fb?: ViewStyle['flexBasis'];
25
+ ai?: ViewStyle['alignItems'];
26
+ ac?: ViewStyle['alignContent'];
27
+ jc?: ViewStyle['justifyContent'];
28
+ als?: ViewStyle['alignSelf'];
29
+ bc?: ViewStyle['backgroundColor'];
30
+ br?: ViewStyle['borderRadius'];
31
+ btrr?: ViewStyle['borderTopRightRadius'];
32
+ bbrr?: ViewStyle['borderBottomRightRadius'];
33
+ bblr?: ViewStyle['borderBottomLeftRadius'];
34
+ btlr?: ViewStyle['borderTopLeftRadius'];
35
+ pe?: 'box-none' | 'none' | 'box-only' | 'auto';
36
+ zi?: ViewStyle['zIndex'];
37
+ };
38
+ export declare type ShorthandTextStyleProps = ShorthandViewStyleProps & {
39
+ ta?: TextStyle['textAlign'];
40
+ fs?: TextStyle['fontSize'];
41
+ lh?: TextStyle['lineHeight'];
42
+ };
43
+ //# sourceMappingURL=viewTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewTypes.d.ts","sourceRoot":"","sources":["../../src/viewTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEnD,oBAAY,uBAAuB,GAAG;IACpC,CAAC,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACtB,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IAEvB,CAAC,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACxB,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;IAC5B,EAAE,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAA;IAC/B,EAAE,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IAC7B,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC9B,EAAE,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAA;IACnC,EAAE,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAA;IACjC,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IACvB,EAAE,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IAC3B,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC9B,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;IAC5B,EAAE,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IAC7B,EAAE,CAAC,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAA;IAClC,EAAE,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAA;IAEhC,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;IACrB,EAAE,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAA;IAC/B,EAAE,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;IAC1B,EAAE,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;IAC1B,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;IAC5B,EAAE,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IAE3B,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;IAC5B,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC9B,EAAE,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAA;IAChC,GAAG,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IAE5B,EAAE,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAA;IAEjC,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAA;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC,yBAAyB,CAAC,CAAA;IAC3C,IAAI,CAAC,EAAE,SAAS,CAAC,wBAAwB,CAAC,CAAA;IAC1C,IAAI,CAAC,EAAE,SAAS,CAAC,qBAAqB,CAAC,CAAA;IAEvC,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAA;IAC9C,EAAE,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;CACzB,CAAA;AAED,oBAAY,uBAAuB,GAAG,uBAAuB,GAAG;IAC9D,EAAE,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IAC3B,EAAE,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;IAC1B,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;CAC7B,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { StackProps } from '@tamagui/core';
3
+ export declare type BlurViewProps = StackProps & {
4
+ blurAmount?: number;
5
+ blurRadius?: number;
6
+ fallbackBackgroundColor?: string;
7
+ blurType?: 'xlight' | 'light' | 'dark' | 'chromeMaterial' | 'material' | 'thickMaterial' | 'thinMaterial' | 'ultraThinMaterial' | 'chromeMaterialDark' | 'materialDark' | 'thickMaterialDark' | 'thinMaterialDark' | 'ultraThinMaterialDark' | 'chromeMaterialLight' | 'materialLight' | 'thickMaterialLight' | 'thinMaterialLight' | 'ultraThinMaterialLight' | 'regular' | 'prominent' | 'extraDark';
8
+ downsampleFactor?: number;
9
+ };
10
+ export declare function BlurView({ children, borderRadius, fallbackBackgroundColor, blurRadius, blurType, downsampleFactor, ...props }: BlurViewProps): JSX.Element;
11
+ //# sourceMappingURL=BlurView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlurView.d.ts","sourceRoot":"","sources":["../../../src/views/BlurView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAK1C,oBAAY,aAAa,GAAG,UAAU,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,EACL,QAAQ,GACR,OAAO,GACP,MAAM,GAEN,gBAAgB,GAChB,UAAU,GACV,eAAe,GACf,cAAc,GACd,mBAAmB,GACnB,oBAAoB,GACpB,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,uBAAuB,GACvB,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,mBAAmB,GACnB,wBAAwB,GAExB,SAAS,GACT,WAAW,GAEX,WAAW,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,YAAY,EACZ,uBAAuB,EACvB,UAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,GAAG,KAAK,EACT,EAAE,aAAa,eAqBf"}
@@ -0,0 +1,6 @@
1
+ export declare const BlurView: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
2
+ [x: string]: string | number | undefined;
3
+ }) & import("@tamagui/core").MediaProps<{} | {
4
+ [x: string]: string | number | undefined;
5
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
6
+ //# sourceMappingURL=BlurView.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlurView.native.d.ts","sourceRoot":"","sources":["../../../src/views/BlurView.native.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,QAAQ;;;;yDASnB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { GetProps } from '@tamagui/core';
2
+ export declare const Box: import("@tamagui/core").StaticComponent<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
3
+ fullscreen?: boolean | undefined;
4
+ elevation?: `$${string}` | `$${number}` | undefined;
5
+ } & import("@tamagui/core").MediaProps<{
6
+ fullscreen?: boolean | undefined;
7
+ elevation?: `$${string}` | `$${number}` | undefined;
8
+ }>, never> & ({} | {
9
+ [x: string]: string | number | undefined;
10
+ }) & import("@tamagui/core").MediaProps<{} | {
11
+ [x: string]: string | number | undefined;
12
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
13
+ export declare type BoxProps = GetProps<typeof Box>;
14
+ //# sourceMappingURL=Box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/views/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,eAAe,CAAA;AAIhD,eAAO,MAAM,GAAG;;;;;;;;;;yDAGd,CAAA;AAEF,oBAAY,QAAQ,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Box.tsx"],
4
- "sourcesContent": ["import { styled } from '@tamagui/core'\n\nimport { YStack } from './Stacks'\n\nexport const Box = styled(YStack, {\n backgroundColor: '$bg2',\n elevation: '$1',\n})\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAAuB;AAEvB,oBAAuB;AAEhB,MAAM,MAAM,wBAAO,sBAAQ;AAAA,EAChC,iBAAiB;AAAA,EACjB,WAAW;AAAA;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\n\nimport { YStack } from './Stacks'\n\nexport const Box = styled(YStack, {\n backgroundColor: '$bg2',\n elevation: '$1',\n})\n\nexport type BoxProps = GetProps<typeof Box>\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAAiC;AAEjC,oBAAuB;AAEhB,MAAM,MAAM,wBAAO,sBAAQ;AAAA,EAChC,iBAAiB;AAAA,EACjB,WAAW;AAAA;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,40 @@
1
+ import { TextProps, ThemeableProps } from '@tamagui/core';
2
+ import React from 'react';
3
+ import { InteractiveFrameProps } from './InteractiveFrame';
4
+ export declare type ButtonProps = InteractiveFrameProps & ThemeableProps & {
5
+ textProps?: Omit<TextProps, 'children'>;
6
+ noTextWrap?: boolean;
7
+ icon?: JSX.Element | null;
8
+ iconAfter?: JSX.Element | null;
9
+ themeIcon?: boolean;
10
+ };
11
+ export declare const Button: (props: Pick<Omit<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
12
+ fullscreen?: boolean | undefined;
13
+ elevation?: `$${string}` | `$${number}` | undefined;
14
+ } & import("@tamagui/core").MediaProps<{
15
+ fullscreen?: boolean | undefined;
16
+ elevation?: `$${string}` | `$${number}` | undefined;
17
+ }>, never> & ({} | {
18
+ [x: string]: string | number | undefined;
19
+ }) & import("@tamagui/core").MediaProps<{} | {
20
+ [x: string]: string | number | undefined;
21
+ }>, "size" | "transparent" | "disabled" | "active" | "chromeless"> & {
22
+ size?: `$${string}` | `$${number}` | undefined;
23
+ disabled?: boolean | undefined;
24
+ active?: boolean | undefined;
25
+ transparent?: boolean | undefined;
26
+ chromeless?: boolean | undefined;
27
+ } & import("@tamagui/core").MediaProps<{
28
+ size?: `$${string}` | `$${number}` | undefined;
29
+ disabled?: boolean | undefined;
30
+ active?: boolean | undefined;
31
+ transparent?: boolean | undefined;
32
+ chromeless?: boolean | undefined;
33
+ }> & ThemeableProps & {
34
+ textProps?: Omit<TextProps, "children"> | undefined;
35
+ noTextWrap?: boolean | undefined;
36
+ icon?: JSX.Element | null | undefined;
37
+ iconAfter?: JSX.Element | null | undefined;
38
+ themeIcon?: boolean | undefined;
39
+ }, "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "zIndex" | "left" | "right" | "onLayout" | "children" | "accessibilityState" | "accessibilityValue" | "focusable" | "nativeID" | "onBlur" | "onClick" | "onClickCapture" | "onContextMenu" | "onFocus" | "onKeyDown" | "onKeyUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "pointerEvents" | "testID" | "dataSet" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onScroll" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onWheel" | "href" | "hrefAttrs" | "display" | "hitSlop" | "removeClippedSubviews" | "style" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityHint" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | `$${string}` | "elevation" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "cursor" | "contain" | "fullscreen" | "hoverStyle" | "pressStyle" | "className" | "tag" | "animated" | "onHoverIn" | "onHoverOut" | "onPress" | "onPressIn" | "onPressOut" | "space" | "size" | "transparent" | "disabled" | "active" | "chromeless" | (`$${string}` & string) | "icon" | "iconAfter" | "textProps" | "noTextWrap" | "themeIcon" | keyof ThemeableProps> & React.RefAttributes<unknown>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
40
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/views/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAkC,MAAM,eAAe,CAAA;AACzF,OAAO,KAAqC,MAAM,OAAO,CAAA;AAEzD,OAAO,EAAoB,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAM5E,oBAAY,WAAW,GAAG,qBAAqB,GAC7C,cAAc,GAAG;IACf,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IAG9B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qnHA4ElB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { GetProps } from '@tamagui/core';
2
+ export declare const Circle: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, "size"> & {
3
+ size?: `$${string}` | `$${number}` | undefined;
4
+ } & import("@tamagui/core").MediaProps<{
5
+ size?: `$${string}` | `$${number}` | undefined;
6
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
7
+ export declare type CircleProps = GetProps<typeof Circle>;
8
+ //# sourceMappingURL=Circle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../../src/views/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,eAAe,CAAA;AAEvD,eAAO,MAAM,MAAM;;;;yDAgBjB,CAAA;AAEF,oBAAY,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Circle.tsx"],
4
- "sourcesContent": ["import { Stack, styled } from '@tamagui/core'\n\nexport const Circle = styled(Stack, {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 100_000_000,\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (size, { tokens }) => {\n return {\n width: tokens.size[size] ?? size,\n height: tokens.size[size] ?? size,\n }\n },\n },\n },\n})\n\n// test types\n// const a = <Circle size={100} />\n// const b = <Circle size=\"sm\" />\n// const c = <Circle size=\"nope\" />\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAA8B;AAEvB,MAAM,SAAS,wBAAO,mBAAO;AAAA,EAClC,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,MAAM,EAAE,aAAa;AAC/B,eAAO;AAAA,UACL,OAAO,OAAO,KAAK,SAAS;AAAA,UAC5B,QAAQ,OAAO,KAAK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;",
4
+ "sourcesContent": ["import { GetProps, Stack, styled } from '@tamagui/core'\n\nexport const Circle = styled(Stack, {\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 100_000_000,\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (size, { tokens }) => {\n return {\n width: tokens.size[size] ?? size,\n height: tokens.size[size] ?? size,\n }\n },\n },\n },\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n\n// test types\n// const a = <Circle size={100} />\n// const b = <Circle size=\"sm\" />\n// const c = <Circle size=\"nope\" />\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAAwC;AAEjC,MAAM,SAAS,wBAAO,mBAAO;AAAA,EAClC,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,MAAM,EAAE,aAAa;AAC/B,eAAO;AAAA,UACL,OAAO,OAAO,KAAK,SAAS;AAAA,UAC5B,QAAQ,OAAO,KAAK,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,6 @@
1
+ export declare const EnsureFlexed: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").TextProps, never> & ({} | {
2
+ [x: string]: string | number | undefined;
3
+ }) & import("@tamagui/core").MediaProps<{} | {
4
+ [x: string]: string | number | undefined;
5
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
6
+ //# sourceMappingURL=EnsureFlexed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;yDAQvB,CAAA"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const ExitAnimationContext: import("react").Context<{
3
+ exited: boolean;
4
+ setExited: (_exited: boolean) => void;
5
+ }>;
6
+ //# sourceMappingURL=ExitAnimationContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExitAnimationContext.d.ts","sourceRoot":"","sources":["../../../src/views/ExitAnimationContext.ts"],"names":[],"mappings":";AAwBA,eAAO,MAAM,oBAAoB;;yBAEV,OAAO;EAC5B,CAAA"}
@@ -0,0 +1,16 @@
1
+ export declare const Form: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
2
+ [x: string]: string | number | undefined;
3
+ }) & import("@tamagui/core").MediaProps<{} | {
4
+ [x: string]: string | number | undefined;
5
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
6
+ export declare const Input: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
7
+ [x: string]: string | number | undefined;
8
+ }) & import("@tamagui/core").MediaProps<{} | {
9
+ [x: string]: string | number | undefined;
10
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
11
+ export declare const TextArea: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
12
+ [x: string]: string | number | undefined;
13
+ }) & import("@tamagui/core").MediaProps<{} | {
14
+ [x: string]: string | number | undefined;
15
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
16
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/views/Form.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;yDAEf,CAAA;AAIF,eAAO,MAAM,KAAK;;;;yDAIhB,CAAA;AAIF,eAAO,MAAM,QAAQ;;;;yDAOnB,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare type GridProps = {
3
+ children?: any;
4
+ itemMinWidth?: number;
5
+ gap?: any;
6
+ columns?: number;
7
+ };
8
+ export declare function Grid({ children, columns, itemMinWidth, gap }: GridProps): JSX.Element;
9
+ //# sourceMappingURL=Grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/views/Grid.tsx"],"names":[],"mappings":";AAKA,oBAAY,SAAS,GAAG;IACtB,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,GAAG,CAAC,EAAE,GAAG,CAAA;IACT,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAkB,EAAE,GAAG,EAAE,EAAE,SAAS,eAoC7E"}
@@ -0,0 +1,116 @@
1
+ export declare const Title: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
2
+ size?: `$${string}` | `$${number}` | undefined;
3
+ } & import("@tamagui/core").MediaProps<{
4
+ size?: `$${string}` | `$${number}` | undefined;
5
+ }>, never> & ({} | {
6
+ [x: string]: string | number | undefined;
7
+ }) & import("@tamagui/core").MediaProps<{} | {
8
+ [x: string]: string | number | undefined;
9
+ }>, never> & ({} | {
10
+ [x: string]: string | number | undefined;
11
+ }) & import("@tamagui/core").MediaProps<{} | {
12
+ [x: string]: string | number | undefined;
13
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
14
+ export declare const H1: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
15
+ size?: `$${string}` | `$${number}` | undefined;
16
+ } & import("@tamagui/core").MediaProps<{
17
+ size?: `$${string}` | `$${number}` | undefined;
18
+ }>, never> & ({} | {
19
+ [x: string]: string | number | undefined;
20
+ }) & import("@tamagui/core").MediaProps<{} | {
21
+ [x: string]: string | number | undefined;
22
+ }>, never> & ({} | {
23
+ [x: string]: string | number | undefined;
24
+ }) & import("@tamagui/core").MediaProps<{} | {
25
+ [x: string]: string | number | undefined;
26
+ }>, never> & ({} | {
27
+ [x: string]: string | number | undefined;
28
+ }) & import("@tamagui/core").MediaProps<{} | {
29
+ [x: string]: string | number | undefined;
30
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
31
+ export declare const H2: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
32
+ size?: `$${string}` | `$${number}` | undefined;
33
+ } & import("@tamagui/core").MediaProps<{
34
+ size?: `$${string}` | `$${number}` | undefined;
35
+ }>, never> & ({} | {
36
+ [x: string]: string | number | undefined;
37
+ }) & import("@tamagui/core").MediaProps<{} | {
38
+ [x: string]: string | number | undefined;
39
+ }>, never> & ({} | {
40
+ [x: string]: string | number | undefined;
41
+ }) & import("@tamagui/core").MediaProps<{} | {
42
+ [x: string]: string | number | undefined;
43
+ }>, never> & ({} | {
44
+ [x: string]: string | number | undefined;
45
+ }) & import("@tamagui/core").MediaProps<{} | {
46
+ [x: string]: string | number | undefined;
47
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
48
+ export declare const H3: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
49
+ size?: `$${string}` | `$${number}` | undefined;
50
+ } & import("@tamagui/core").MediaProps<{
51
+ size?: `$${string}` | `$${number}` | undefined;
52
+ }>, never> & ({} | {
53
+ [x: string]: string | number | undefined;
54
+ }) & import("@tamagui/core").MediaProps<{} | {
55
+ [x: string]: string | number | undefined;
56
+ }>, never> & ({} | {
57
+ [x: string]: string | number | undefined;
58
+ }) & import("@tamagui/core").MediaProps<{} | {
59
+ [x: string]: string | number | undefined;
60
+ }>, never> & ({} | {
61
+ [x: string]: string | number | undefined;
62
+ }) & import("@tamagui/core").MediaProps<{} | {
63
+ [x: string]: string | number | undefined;
64
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
65
+ export declare const H4: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
66
+ size?: `$${string}` | `$${number}` | undefined;
67
+ } & import("@tamagui/core").MediaProps<{
68
+ size?: `$${string}` | `$${number}` | undefined;
69
+ }>, never> & ({} | {
70
+ [x: string]: string | number | undefined;
71
+ }) & import("@tamagui/core").MediaProps<{} | {
72
+ [x: string]: string | number | undefined;
73
+ }>, never> & ({} | {
74
+ [x: string]: string | number | undefined;
75
+ }) & import("@tamagui/core").MediaProps<{} | {
76
+ [x: string]: string | number | undefined;
77
+ }>, never> & ({} | {
78
+ [x: string]: string | number | undefined;
79
+ }) & import("@tamagui/core").MediaProps<{} | {
80
+ [x: string]: string | number | undefined;
81
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
82
+ export declare const H5: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
83
+ size?: `$${string}` | `$${number}` | undefined;
84
+ } & import("@tamagui/core").MediaProps<{
85
+ size?: `$${string}` | `$${number}` | undefined;
86
+ }>, never> & ({} | {
87
+ [x: string]: string | number | undefined;
88
+ }) & import("@tamagui/core").MediaProps<{} | {
89
+ [x: string]: string | number | undefined;
90
+ }>, never> & ({} | {
91
+ [x: string]: string | number | undefined;
92
+ }) & import("@tamagui/core").MediaProps<{} | {
93
+ [x: string]: string | number | undefined;
94
+ }>, never> & ({} | {
95
+ [x: string]: string | number | undefined;
96
+ }) & import("@tamagui/core").MediaProps<{} | {
97
+ [x: string]: string | number | undefined;
98
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
99
+ export declare const H6: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
100
+ size?: `$${string}` | `$${number}` | undefined;
101
+ } & import("@tamagui/core").MediaProps<{
102
+ size?: `$${string}` | `$${number}` | undefined;
103
+ }>, never> & ({} | {
104
+ [x: string]: string | number | undefined;
105
+ }) & import("@tamagui/core").MediaProps<{} | {
106
+ [x: string]: string | number | undefined;
107
+ }>, never> & ({} | {
108
+ [x: string]: string | number | undefined;
109
+ }) & import("@tamagui/core").MediaProps<{} | {
110
+ [x: string]: string | number | undefined;
111
+ }>, never> & ({} | {
112
+ [x: string]: string | number | undefined;
113
+ }) & import("@tamagui/core").MediaProps<{} | {
114
+ [x: string]: string | number | undefined;
115
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
116
+ //# sourceMappingURL=Headings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Headings.d.ts","sourceRoot":"","sources":["../../../src/views/Headings.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;yDAIhB,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAKb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAMb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAMb,CAAA"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ declare type SpanProps = React.DOMAttributes<HTMLSpanElement>;
3
+ export declare type HoverableProps = {
4
+ children?: any;
5
+ disableUntilSettled?: boolean;
6
+ hoverDelay?: number;
7
+ onHoverIn?: () => void;
8
+ onHoverOut?: () => void;
9
+ onPressIn?: SpanProps['onMouseDown'];
10
+ onPressOut?: SpanProps['onClick'];
11
+ };
12
+ export declare type HoverableHandle = {
13
+ close: () => void;
14
+ };
15
+ export declare const Hoverable: React.ForwardRefExoticComponent<HoverableProps & React.RefAttributes<HoverableHandle>>;
16
+ export {};
17
+ //# sourceMappingURL=Hoverable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hoverable.d.ts","sourceRoot":"","sources":["../../../src/views/Hoverable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+D,MAAM,OAAO,CAAA;AAKnF,aAAK,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;AAErD,oBAAY,cAAc,GAAG;IAC3B,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACpC,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAClC,CAAA;AAED,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,SAAS,wFAgErB,CAAA"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IPopoverProps } from './Popover/types';
3
+ export declare type HoverablePopoverHandle = {
4
+ close: () => void;
5
+ };
6
+ export declare type HoverablePopoverProps = IPopoverProps & {
7
+ delay?: number;
8
+ allowHoverOnContent?: boolean;
9
+ disableUntilSettled?: boolean;
10
+ };
11
+ export declare const HoverablePopover: React.ForwardRefExoticComponent<IPopoverProps & {
12
+ delay?: number | undefined;
13
+ allowHoverOnContent?: boolean | undefined;
14
+ disableUntilSettled?: boolean | undefined;
15
+ } & React.RefAttributes<HoverablePopoverHandle>>;
16
+ //# sourceMappingURL=HoverablePopover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HoverablePopover.d.ts","sourceRoot":"","sources":["../../../src/views/HoverablePopover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAIhF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAO/C,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAED,oBAAY,qBAAqB,GAAG,aAAa,GAAG;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;gDAuE5B,CAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const InteractiveContainer: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
2
+ [x: string]: string | number | undefined;
3
+ }) & import("@tamagui/core").MediaProps<{} | {
4
+ [x: string]: string | number | undefined;
5
+ }>, any, import("@tamagui/core").StaticConfigParsed, any>;
6
+ //# sourceMappingURL=InteractiveContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InteractiveContainer.d.ts","sourceRoot":"","sources":["../../../src/views/InteractiveContainer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;yDAS/B,CAAA"}