@tamagui/core 1.74.21 → 1.75.1

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 (37) hide show
  1. package/dist/cjs/createOptimizedView.js +26 -0
  2. package/dist/cjs/createOptimizedView.js.map +6 -0
  3. package/dist/cjs/createOptimizedView.native.js +228 -0
  4. package/dist/cjs/createOptimizedView.native.js.map +6 -0
  5. package/dist/cjs/getBaseViews.native.js +5 -2
  6. package/dist/cjs/getBaseViews.native.js.map +1 -1
  7. package/dist/cjs/index.js +2 -17
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/index.native.js +10 -17
  10. package/dist/cjs/index.native.js.map +1 -1
  11. package/dist/esm/createOptimizedView.js +6 -0
  12. package/dist/esm/createOptimizedView.js.map +6 -0
  13. package/dist/esm/createOptimizedView.native.js +206 -0
  14. package/dist/esm/createOptimizedView.native.js.map +6 -0
  15. package/dist/esm/getBaseViews.native.js +5 -2
  16. package/dist/esm/getBaseViews.native.js.map +1 -1
  17. package/dist/esm/index.js +3 -16
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/index.native.js +11 -16
  20. package/dist/esm/index.native.js.map +1 -1
  21. package/dist/native.js +317 -119
  22. package/dist/native.js.map +3 -3
  23. package/dist/test.native.js +297 -101
  24. package/dist/test.native.js.map +3 -3
  25. package/package.json +6 -6
  26. package/src/createOptimizedView.native.tsx +268 -0
  27. package/src/createOptimizedView.tsx +5 -0
  28. package/src/getBaseViews.native.ts +15 -1
  29. package/src/index.tsx +25 -16
  30. package/types/createOptimizedView.d.ts +2 -0
  31. package/types/createOptimizedView.d.ts.map +1 -0
  32. package/types/createOptimizedView.native.d.ts +17 -0
  33. package/types/createOptimizedView.native.d.ts.map +1 -0
  34. package/types/getBaseViews.native.d.ts +2 -0
  35. package/types/getBaseViews.native.d.ts.map +1 -1
  36. package/types/index.d.ts +4 -4
  37. package/types/index.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "1.74.21",
3
+ "version": "1.75.1",
4
4
  "source": "src/index.tsx",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -35,16 +35,16 @@
35
35
  "native-test.d.ts"
36
36
  ],
37
37
  "dependencies": {
38
- "@tamagui/react-native-use-pressable": "1.74.21",
39
- "@tamagui/react-native-use-responder-events": "1.74.21",
40
- "@tamagui/use-event": "1.74.21",
41
- "@tamagui/web": "1.74.21"
38
+ "@tamagui/react-native-use-pressable": "1.75.1",
39
+ "@tamagui/react-native-use-responder-events": "1.75.1",
40
+ "@tamagui/use-event": "1.75.1",
41
+ "@tamagui/web": "1.75.1"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": "*"
45
45
  },
46
46
  "devDependencies": {
47
- "@tamagui/build": "1.74.21",
47
+ "@tamagui/build": "1.75.1",
48
48
  "@testing-library/react": "^14.0.0",
49
49
  "csstype": "^3.0.10",
50
50
  "react": "^18.2.0",
@@ -0,0 +1,268 @@
1
+ // native only, taken from react-native
2
+
3
+ import { createElement, useContext } from 'react'
4
+
5
+ /**
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ *
11
+ * @flow strict-local
12
+ * @format
13
+ */
14
+
15
+ export function createOptimizedView(
16
+ children: any,
17
+ viewProps: Record<string, any>,
18
+ baseViews: any
19
+ ) {
20
+ const TextAncestor = baseViews.TextAncestor
21
+ const ViewNativeComponent = baseViews.View
22
+
23
+ // return createElement(ViewNativeComponent, viewProps, children)
24
+
25
+ const {
26
+ accessibilityElementsHidden,
27
+ accessibilityLabel,
28
+ accessibilityLabelledBy,
29
+ accessibilityLiveRegion,
30
+ accessibilityRole,
31
+ accessibilityState,
32
+ accessibilityValue,
33
+ 'aria-busy': ariaBusy,
34
+ 'aria-checked': ariaChecked,
35
+ 'aria-disabled': ariaDisabled,
36
+ 'aria-expanded': ariaExpanded,
37
+ 'aria-hidden': ariaHidden,
38
+ 'aria-label': ariaLabel,
39
+ 'aria-labelledby': ariaLabelledBy,
40
+ 'aria-live': ariaLive,
41
+ 'aria-selected': ariaSelected,
42
+ 'aria-valuemax': ariaValueMax,
43
+ 'aria-valuemin': ariaValueMin,
44
+ 'aria-valuenow': ariaValueNow,
45
+ 'aria-valuetext': ariaValueText,
46
+ focusable,
47
+ id,
48
+ importantForAccessibility,
49
+ nativeID,
50
+ pointerEvents,
51
+ role,
52
+ tabIndex,
53
+ // ...otherProps
54
+ } = viewProps
55
+
56
+ const _accessibilityLabelledBy =
57
+ ariaLabelledBy?.split(/\s*,\s*/g) ?? accessibilityLabelledBy
58
+
59
+ let _accessibilityState
60
+ if (
61
+ accessibilityState != null ||
62
+ ariaBusy != null ||
63
+ ariaChecked != null ||
64
+ ariaDisabled != null ||
65
+ ariaExpanded != null ||
66
+ ariaSelected != null
67
+ ) {
68
+ _accessibilityState = {
69
+ busy: ariaBusy ?? accessibilityState?.busy,
70
+ checked: ariaChecked ?? accessibilityState?.checked,
71
+ disabled: ariaDisabled ?? accessibilityState?.disabled,
72
+ expanded: ariaExpanded ?? accessibilityState?.expanded,
73
+ selected: ariaSelected ?? accessibilityState?.selected,
74
+ }
75
+ }
76
+ let _accessibilityValue
77
+ if (
78
+ accessibilityValue != null ||
79
+ ariaValueMax != null ||
80
+ ariaValueMin != null ||
81
+ ariaValueNow != null ||
82
+ ariaValueText != null
83
+ ) {
84
+ _accessibilityValue = {
85
+ max: ariaValueMax ?? accessibilityValue?.max,
86
+ min: ariaValueMin ?? accessibilityValue?.min,
87
+ now: ariaValueNow ?? accessibilityValue?.now,
88
+ text: ariaValueText ?? accessibilityValue?.text,
89
+ }
90
+ }
91
+
92
+ let style = Array.isArray(viewProps.style)
93
+ ? baseViews.StyleSheet.flatten(viewProps.style)
94
+ : viewProps.style
95
+ const newPointerEvents = style?.pointerEvents || pointerEvents
96
+
97
+ const finalProps = viewProps
98
+
99
+ const extras = {
100
+ accessibilityLiveRegion:
101
+ ariaLive === 'off' ? 'none' : ariaLive ?? accessibilityLiveRegion,
102
+ accessibilityLabel: ariaLabel ?? accessibilityLabel,
103
+ focusable: tabIndex !== undefined ? !tabIndex : focusable,
104
+ accessibilityState: _accessibilityState,
105
+ accessibilityRole: role ? getAccessibilityRoleFromRole(role) : accessibilityRole,
106
+ accessibilityElementsHidden: ariaHidden ?? accessibilityElementsHidden,
107
+ accessibilityLabelledBy: _accessibilityLabelledBy,
108
+ accessibilityValue: _accessibilityValue,
109
+ importantForAccessibility:
110
+ ariaHidden === true ? 'no-hide-descendants' : importantForAccessibility,
111
+ nativeID: id ?? nativeID,
112
+ style,
113
+ pointerEvents: newPointerEvents,
114
+ }
115
+ // avoid adding undefined props
116
+ for (const key in extras) {
117
+ if (extras[key] != null) {
118
+ finalProps[key] = extras[key]
119
+ }
120
+ }
121
+
122
+ // isInText is significantly faster than just providing it each time
123
+ const isInText = useContext(TextAncestor)
124
+ const finalElement = createElement(ViewNativeComponent, finalProps, children)
125
+
126
+ if (!isInText) {
127
+ return finalElement
128
+ }
129
+
130
+ return createElement(TextAncestor.Provider, { value: false }, finalElement)
131
+ }
132
+
133
+ export function getAccessibilityRoleFromRole(role) {
134
+ switch (role) {
135
+ case 'alert':
136
+ return 'alert'
137
+ case 'alertdialog':
138
+ return undefined
139
+ case 'application':
140
+ return undefined
141
+ case 'article':
142
+ return undefined
143
+ case 'banner':
144
+ return undefined
145
+ case 'button':
146
+ return 'button'
147
+ case 'cell':
148
+ return undefined
149
+ case 'checkbox':
150
+ return 'checkbox'
151
+ case 'columnheader':
152
+ return undefined
153
+ case 'combobox':
154
+ return 'combobox'
155
+ case 'complementary':
156
+ return undefined
157
+ case 'contentinfo':
158
+ return undefined
159
+ case 'definition':
160
+ return undefined
161
+ case 'dialog':
162
+ return undefined
163
+ case 'directory':
164
+ return undefined
165
+ case 'document':
166
+ return undefined
167
+ case 'feed':
168
+ return undefined
169
+ case 'figure':
170
+ return undefined
171
+ case 'form':
172
+ return undefined
173
+ case 'grid':
174
+ return 'grid'
175
+ case 'group':
176
+ return undefined
177
+ case 'heading':
178
+ return 'header'
179
+ case 'img':
180
+ return 'image'
181
+ case 'link':
182
+ return 'link'
183
+ case 'list':
184
+ return 'list'
185
+ case 'listitem':
186
+ return undefined
187
+ case 'log':
188
+ return undefined
189
+ case 'main':
190
+ return undefined
191
+ case 'marquee':
192
+ return undefined
193
+ case 'math':
194
+ return undefined
195
+ case 'menu':
196
+ return 'menu'
197
+ case 'menubar':
198
+ return 'menubar'
199
+ case 'menuitem':
200
+ return 'menuitem'
201
+ case 'meter':
202
+ return undefined
203
+ case 'navigation':
204
+ return undefined
205
+ case 'none':
206
+ return 'none'
207
+ case 'note':
208
+ return undefined
209
+ case 'option':
210
+ return undefined
211
+ case 'presentation':
212
+ return 'none'
213
+ case 'progressbar':
214
+ return 'progressbar'
215
+ case 'radio':
216
+ return 'radio'
217
+ case 'radiogroup':
218
+ return 'radiogroup'
219
+ case 'region':
220
+ return undefined
221
+ case 'row':
222
+ return undefined
223
+ case 'rowgroup':
224
+ return undefined
225
+ case 'rowheader':
226
+ return undefined
227
+ case 'scrollbar':
228
+ return 'scrollbar'
229
+ case 'searchbox':
230
+ return 'search'
231
+ case 'separator':
232
+ return undefined
233
+ case 'slider':
234
+ return 'adjustable'
235
+ case 'spinbutton':
236
+ return 'spinbutton'
237
+ case 'status':
238
+ return undefined
239
+ case 'summary':
240
+ return 'summary'
241
+ case 'switch':
242
+ return 'switch'
243
+ case 'tab':
244
+ return 'tab'
245
+ case 'table':
246
+ return undefined
247
+ case 'tablist':
248
+ return 'tablist'
249
+ case 'tabpanel':
250
+ return undefined
251
+ case 'term':
252
+ return undefined
253
+ case 'timer':
254
+ return 'timer'
255
+ case 'toolbar':
256
+ return 'toolbar'
257
+ case 'tooltip':
258
+ return undefined
259
+ case 'tree':
260
+ return undefined
261
+ case 'treegrid':
262
+ return undefined
263
+ case 'treeitem':
264
+ return undefined
265
+ }
266
+
267
+ return undefined
268
+ }
@@ -0,0 +1,5 @@
1
+ export function createOptimizedView(
2
+ children: any,
3
+ viewProps: Record<string, any>,
4
+ baseViews: any
5
+ ) {}
@@ -1,9 +1,23 @@
1
1
  export function getBaseViews() {
2
2
  const native = require('react-native')
3
3
 
4
+ let View
5
+ let TextAncestor
6
+
7
+ if (process.env.NODE_ENV !== 'test') {
8
+ View = require('react-native/Libraries/Components/View/ViewNativeComponent').default
9
+ TextAncestor = require('react-native/Libraries/Text/TextAncestor')
10
+ }
11
+
12
+ if (!View) {
13
+ View = native.View || native.default.View
14
+ }
15
+
4
16
  return {
5
- View: native.View || native.default.View,
17
+ View,
6
18
  Text: native.Text || native.default.Text,
19
+ StyleSheet: native.StyleSheet || native.default.StyleSheet,
20
+ TextAncestor,
7
21
  Pressable: native.Pressable || native.default.Pressable,
8
22
  }
9
23
  }
package/src/index.tsx CHANGED
@@ -1,6 +1,5 @@
1
1
  import { useResponderEvents } from '@tamagui/react-native-use-responder-events'
2
2
  import type {
3
- GetProps,
4
3
  StackProps,
5
4
  StackPropsBase,
6
5
  TamaguiComponent,
@@ -15,8 +14,9 @@ import {
15
14
  composeEventHandlers,
16
15
  setupHooks,
17
16
  } from '@tamagui/web'
18
- import type { RefObject } from 'react'
17
+ import { RefObject, createElement } from 'react'
19
18
 
19
+ import { createOptimizedView } from './createOptimizedView'
20
20
  import { getBaseViews } from './getBaseViews'
21
21
  import { useElementLayout } from './hooks/useElementLayout'
22
22
  import { usePlatformMethods } from './hooks/usePlatformMethods'
@@ -49,6 +49,8 @@ export const Text = WebText as any as TamaguiComponent<
49
49
  void
50
50
  >
51
51
 
52
+ const baseViews = getBaseViews()
53
+
52
54
  // setup internal hooks:
53
55
 
54
56
  setupHooks({
@@ -176,20 +178,27 @@ setupHooks({
176
178
  },
177
179
 
178
180
  // attempt at properly fixing RN input, but <Pressable><TextInput /> just doesnt work on RN
179
- // useChildren(children, viewProps, events, staticConfig) {
180
- // if (process.env.TAMAGUI_TARGET === 'native') {
181
- // if (staticConfig.isInput && !staticConfig.isHOC) {
182
- // const Pressable = getBaseViews().Pressable
183
- // console.log(
184
- // 'wrapping in pressable',
185
- // events?.['onPressIn']?.toString(),
186
- // viewProps['onPressIn']
187
- // )
188
- // // we need to wrap it in a view?
189
- // return <Pressable {...events}>{children}</Pressable>
190
- // }
191
- // }
192
- // },
181
+ ...(process.env.TAMAGUI_TARGET === 'native' && {
182
+ useChildren(elementType, children, viewProps, events, staticConfig) {
183
+ if (process.env.NODE_ENV === 'test') {
184
+ // test mode - just use regular views since optimizations cause weirdness
185
+ return
186
+ }
187
+
188
+ if (elementType === baseViews.View) {
189
+ // optimize view
190
+ return createOptimizedView(children, viewProps, baseViews)
191
+ }
192
+
193
+ if (process.env.TAMAGUI_OPTIMIZE_NATIVE_VIEWS) {
194
+ if (elementType === baseViews.Text) {
195
+ // further optimize by not even caling elementType.render
196
+ viewProps.children = children
197
+ return createElement('RCTText', viewProps)
198
+ }
199
+ }
200
+ },
201
+ }),
193
202
  })
194
203
 
195
204
  const dontComposePressabilityKeys = {
@@ -0,0 +1,2 @@
1
+ export declare function createOptimizedView(children: any, viewProps: Record<string, any>, baseViews: any): void;
2
+ //# sourceMappingURL=createOptimizedView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOptimizedView.d.ts","sourceRoot":"","sources":["../src/createOptimizedView.tsx"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,GAAG,EACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,SAAS,EAAE,GAAG,QACZ"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ *
8
+ * @flow strict-local
9
+ * @format
10
+ */
11
+ export declare function createOptimizedView(children: any, viewProps: Record<string, any>, baseViews: any): import("react").DetailedReactHTMLElement<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | import("react").CElement<{
12
+ value: boolean;
13
+ }, import("react").Component<{
14
+ value: boolean;
15
+ }, any, any>>;
16
+ export declare function getAccessibilityRoleFromRole(role: any): "none" | "alert" | "button" | "checkbox" | "combobox" | "grid" | "header" | "image" | "link" | "list" | "menu" | "menubar" | "menuitem" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "search" | "adjustable" | "spinbutton" | "summary" | "switch" | "tab" | "tablist" | "timer" | "toolbar" | undefined;
17
+ //# sourceMappingURL=createOptimizedView.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOptimizedView.native.d.ts","sourceRoot":"","sources":["../src/createOptimizedView.native.tsx"],"names":[],"mappings":";AAIA;;;;;;;;GAQG;AAEH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,GAAG,EACb,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,SAAS,EAAE,GAAG;;;;cAiHf;AAED,wBAAgB,4BAA4B,CAAC,IAAI,KAAA,wTAuIhD"}
@@ -1,6 +1,8 @@
1
1
  export declare function getBaseViews(): {
2
2
  View: any;
3
3
  Text: any;
4
+ StyleSheet: any;
5
+ TextAncestor: any;
4
6
  Pressable: any;
5
7
  };
6
8
  //# sourceMappingURL=getBaseViews.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBaseViews.native.d.ts","sourceRoot":"","sources":["../src/getBaseViews.native.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY;;;;EAQ3B"}
1
+ {"version":3,"file":"getBaseViews.native.d.ts","sourceRoot":"","sources":["../src/getBaseViews.native.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY;;;;;;EAsB3B"}
package/types/index.d.ts CHANGED
@@ -4,15 +4,15 @@ import { RNTextProps, RNViewProps } from './reactNativeTypes';
4
4
  export * from '@tamagui/web';
5
5
  export * from './reactNativeTypes';
6
6
  type RNExclusiveViewProps = Omit<RNViewProps, keyof StackProps>;
7
- export declare const Stack: TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
7
+ export declare const Stack: TamaguiComponent<Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
8
8
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
9
- } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>>> & RNExclusiveViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
9
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>>> & RNExclusiveViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
10
10
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
11
11
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & RNExclusiveViewProps, void>;
12
12
  type RNExclusiveTextProps = Omit<RNTextProps, keyof TextProps>;
13
- export declare const Text: TamaguiComponent<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
13
+ export declare const Text: TamaguiComponent<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
14
14
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
15
- } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>>> & RNExclusiveTextProps, TamaguiTextElement, Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
15
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>>> & RNExclusiveTextProps, TamaguiTextElement, Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
16
16
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
17
17
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & RNExclusiveTextProps, void>;
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAEV,UAAU,EAEV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,SAAS,EAEV,MAAM,cAAc,CAAA;AAYrB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAI7D,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,UAAU,CAAC,CAAA;AAE/D,eAAO,MAAM,KAAK;;;;gPAKjB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,IAAI;;;;8OAKhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,SAAS,EAEV,MAAM,cAAc,CAAA;AAarB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAI7D,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,UAAU,CAAC,CAAA;AAE/D,eAAO,MAAM,KAAK;;;;gPAKjB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,IAAI;;;;8OAKhB,CAAA"}