@xaui/native 0.9.1-alpha.16 → 0.9.1-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 (39) hide show
  1. package/dist/{chunk-PUER6Y4M.cjs → chunk-2UICXD3Q.cjs} +75 -381
  2. package/dist/chunk-4K3LZS7M.js +448 -0
  3. package/dist/chunk-5SU7FXWH.cjs +448 -0
  4. package/dist/chunk-6PZF4PI7.js +100 -0
  5. package/dist/chunk-6VTBGBPP.cjs +100 -0
  6. package/dist/{chunk-E3756MJC.js → chunk-ASXK7XU4.js} +16 -15
  7. package/dist/{chunk-KCUT47FY.cjs → chunk-BHAHJHAI.cjs} +5 -1
  8. package/dist/{chunk-64L44HEI.js → chunk-F432IDIW.js} +89 -389
  9. package/dist/{chunk-NLFE3CRM.cjs → chunk-IZYRU7S2.cjs} +24 -23
  10. package/dist/{chunk-UOJBK5Z4.js → chunk-L3AQNVRN.js} +1 -1
  11. package/dist/{chunk-BAACHVM4.cjs → chunk-M2VYRHVS.cjs} +2 -2
  12. package/dist/{chunk-EHHSY2KB.js → chunk-XQE5PXOD.js} +5 -1
  13. package/dist/components/button/index.cjs +4 -3
  14. package/dist/components/button/index.d.cts +179 -178
  15. package/dist/components/button/index.d.ts +179 -178
  16. package/dist/components/button/index.js +3 -2
  17. package/dist/components/typography/index.cjs +12 -0
  18. package/dist/components/typography/index.d.cts +115 -0
  19. package/dist/components/typography/index.d.ts +115 -0
  20. package/dist/components/typography/index.js +12 -0
  21. package/dist/create-recipe-3_ElpCYt.d.cts +117 -0
  22. package/dist/create-recipe-DImq1AZA.d.ts +117 -0
  23. package/dist/index.cjs +17 -7
  24. package/dist/index.d.cts +4 -2
  25. package/dist/index.d.ts +4 -2
  26. package/dist/index.js +21 -11
  27. package/dist/{create-recipe-DD9W6m9b.d.ts → pressable-feedback.type-C9kjAuVQ.d.cts} +3 -116
  28. package/dist/{create-recipe-BcUu9b2I.d.cts → pressable-feedback.type-KcPvFf6f.d.ts} +3 -116
  29. package/dist/system/index.cjs +5 -3
  30. package/dist/system/index.d.cts +6 -4
  31. package/dist/system/index.d.ts +6 -4
  32. package/dist/system/index.js +11 -9
  33. package/dist/theme/index.cjs +2 -2
  34. package/dist/theme/index.d.cts +2 -2
  35. package/dist/theme/index.d.ts +2 -2
  36. package/dist/theme/index.js +1 -1
  37. package/dist/{theme.type-C9bFJKFm.d.cts → theme.type-C2gNHpEx.d.cts} +1 -1
  38. package/dist/{theme.type-C9bFJKFm.d.ts → theme.type-C2gNHpEx.d.ts} +1 -1
  39. package/package.json +11 -1
@@ -36,11 +36,12 @@ function _optionalChain(ops) {
36
36
  }
37
37
  return value;
38
38
  }
39
- var _chunkPUER6Y4Mcjs = require('./chunk-PUER6Y4M.cjs');
39
+ var _chunk2UICXD3Qcjs = require('./chunk-2UICXD3Q.cjs');
40
+ var _chunk5SU7FXWHcjs = require('./chunk-5SU7FXWH.cjs');
40
41
  var _chunk6N5JXRUZcjs = require('./chunk-6N5JXRUZ.cjs');
41
42
 
42
43
  // src/components/button/button.context.ts
43
- var [ButtonProvider, useButton] = _chunkPUER6Y4Mcjs.createSlotContext.call(void 0, "Button");
44
+ var [ButtonProvider, useButton] = _chunk5SU7FXWHcjs.createSlotContext.call(void 0, "Button");
44
45
 
45
46
  // src/components/button/button-icon.tsx
46
47
  var _jsxruntime = require('react/jsx-runtime');
@@ -52,7 +53,7 @@ function ButtonIcon({
52
53
  const {
53
54
  icon
54
55
  } = useButton();
55
- return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkPUER6Y4Mcjs.Icon, {
56
+ return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk2UICXD3Qcjs.Icon, {
56
57
  size: _nullishCoalesce(size, () => icon.size),
57
58
  color: _nullishCoalesce(color, () => icon.color),
58
59
  ...rest
@@ -72,7 +73,7 @@ var ButtonLabel = _react.forwardRef.call(void 0, function ButtonLabel2({
72
73
  const {
73
74
  labelStyle
74
75
  } = useButton();
75
- const [styleProps, rest] = _chunkPUER6Y4Mcjs.useStyleProps.call(void 0, props);
76
+ const [styleProps, rest] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
76
77
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
77
78
  ref,
78
79
  numberOfLines,
@@ -96,7 +97,7 @@ function ButtonSpinner({
96
97
  const {
97
98
  spinnerStyle
98
99
  } = useButton();
99
- const [styleProps] = _chunkPUER6Y4Mcjs.useStyleProps.call(void 0, props);
100
+ const [styleProps] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
100
101
  const ringStyle = [spinnerStyle, styleProps, style];
101
102
  if (!animation) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
102
103
  style: ringStyle
@@ -106,10 +107,10 @@ function ButtonSpinner({
106
107
  });
107
108
  }
108
109
  ButtonSpinner.displayName = "XAUI.Button.Spinner";
109
- const _worklet_3169119127402_init_data = {
110
- code: "function chunkNLFE3CRMCjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
111
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-NLFE3CRM.cjs",
112
- sourceMap: "{\"version\":3,\"names\":[\"chunkNLFE3CRMCjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-NLFE3CRM.cjs\"],\"mappings\":\"AA0E6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE/E,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
110
+ const _worklet_11467162648159_init_data = {
111
+ code: "function chunkIZYRU7S2Cjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
112
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IZYRU7S2.cjs",
113
+ sourceMap: "{\"version\":3,\"names\":[\"chunkIZYRU7S2Cjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IZYRU7S2.cjs\"],\"mappings\":\"AA4E6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE/E,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
113
114
  };
114
115
  function SpinningRing({
115
116
  style
@@ -122,28 +123,28 @@ function SpinningRing({
122
123
  }), -1, false);
123
124
  return () => _reactnativereanimated.cancelAnimation.call(void 0, angle);
124
125
  }, [angle]);
125
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkNLFE3CRMCjs1Factory({
126
- _worklet_3169119127402_init_data,
126
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkIZYRU7S2Cjs1Factory({
127
+ _worklet_11467162648159_init_data,
127
128
  angle
128
129
  }) {
129
130
  const _e = [new global.Error(), -2, -27];
130
- const chunkNLFE3CRMCjs1 = function () {
131
+ const chunkIZYRU7S2Cjs1 = function () {
131
132
  return {
132
133
  transform: [{
133
134
  rotate: `${angle.value}deg`
134
135
  }]
135
136
  };
136
137
  };
137
- chunkNLFE3CRMCjs1.__closure = {
138
+ chunkIZYRU7S2Cjs1.__closure = {
138
139
  angle
139
140
  };
140
- chunkNLFE3CRMCjs1.__workletHash = 3169119127402;
141
- chunkNLFE3CRMCjs1.__pluginVersion = "0.7.4";
142
- chunkNLFE3CRMCjs1.__initData = _worklet_3169119127402_init_data;
143
- chunkNLFE3CRMCjs1.__stackDetails = _e;
144
- return chunkNLFE3CRMCjs1;
141
+ chunkIZYRU7S2Cjs1.__workletHash = 11467162648159;
142
+ chunkIZYRU7S2Cjs1.__pluginVersion = "0.7.4";
143
+ chunkIZYRU7S2Cjs1.__initData = _worklet_11467162648159_init_data;
144
+ chunkIZYRU7S2Cjs1.__stackDetails = _e;
145
+ return chunkIZYRU7S2Cjs1;
145
146
  }({
146
- _worklet_3169119127402_init_data,
147
+ _worklet_11467162648159_init_data,
147
148
  angle
148
149
  }), [angle]);
149
150
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
@@ -254,7 +255,7 @@ function sizeAxis(step) {
254
255
  spinner: ring(theme, theme.fontSizes[glyph])
255
256
  });
256
257
  }
257
- var buttonRecipe = _chunkPUER6Y4Mcjs.createRecipe.call(void 0, {
258
+ var buttonRecipe = _chunk5SU7FXWHcjs.createRecipe.call(void 0, {
258
259
  slots: SLOTS,
259
260
  base: theme => ({
260
261
  root: {
@@ -443,7 +444,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
443
444
  ...props
444
445
  }, ref) {
445
446
  const theme = _chunk6N5JXRUZcjs.useXAUITheme.call(void 0);
446
- const [styleProps, rest] = _chunkPUER6Y4Mcjs.useStyleProps.call(void 0, props);
447
+ const [styleProps, rest] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
447
448
  const [isPressed, press] = usePressState({
448
449
  onPressIn,
449
450
  onPressOut
@@ -487,14 +488,14 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
487
488
  const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _8 => _8.root]), styleProps, typeof style === "function" ? style({
488
489
  pressed: isPressed
489
490
  }) : style];
490
- const text = _chunkPUER6Y4Mcjs.childrenToString.call(void 0, children);
491
+ const text = _chunk5SU7FXWHcjs.childrenToString.call(void 0, children);
491
492
  const showSpinner = isLoading && !containsElementOfType(children, ButtonSpinner);
492
493
  if (isIconOnly && !rest.accessibilityLabel && !rest["aria-label"]) {
493
494
  warnDev("Button: an icon-only button needs an `accessibilityLabel` \u2014 there is no text for a screen reader to read, so it announces as an unlabelled button.");
494
495
  }
495
496
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, ButtonProvider, {
496
497
  value: context,
497
- children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkPUER6Y4Mcjs.PressableFeedback, {
498
+ children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk2UICXD3Qcjs.PressableFeedback, {
498
499
  ref,
499
500
  isPressed,
500
501
  isDisabled: isDisabled || isLoading,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useStyleProps
3
- } from "./chunk-64L44HEI.js";
3
+ } from "./chunk-4K3LZS7M.js";
4
4
 
5
5
  // src/system/portal/portal.tsx
6
6
  import { useContext, useId, useLayoutEffect } from "react";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkPUER6Y4Mcjs = require('./chunk-PUER6Y4M.cjs');
3
+ var _chunk5SU7FXWHcjs = require('./chunk-5SU7FXWH.cjs');
4
4
 
5
5
  // src/system/portal/portal.tsx
6
6
  var _react = require('react');
@@ -31,7 +31,7 @@ var styles = _reactnative.StyleSheet.create({
31
31
  container: { flex: 1 }
32
32
  });
33
33
  function PortalHost({ children, ...props }) {
34
- const [styleProps] = _chunkPUER6Y4Mcjs.useStyleProps.call(void 0, props);
34
+ const [styleProps] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
35
35
  const [portals, setPortals] = _react.useState.call(void 0, /* @__PURE__ */ new Map());
36
36
  const addPortal = _react.useCallback.call(void 0, (key, element) => {
37
37
  setPortals((current) => new Map(current).set(key, element));
@@ -47,6 +47,7 @@ function deriveColors(s) {
47
47
  }
48
48
 
49
49
  // src/theme/scales.ts
50
+ import { Platform } from "react-native";
50
51
  var SPACING_UNIT = 4;
51
52
  var RADIUS_BASE = 12;
52
53
  function buildRadius(base) {
@@ -98,7 +99,10 @@ var fontWeights = {
98
99
  var fontFamilies = {
99
100
  body: "System",
100
101
  heading: "System",
101
- mono: "monospace"
102
+ // `'monospace'` is an Android family name, not a generic one: iOS does not resolve it and
103
+ // silently falls back to the system face, so code set with it is not monospaced there.
104
+ // Menlo is the face iOS ships, and it is what HeroUI Native selects for the same reason.
105
+ mono: Platform.OS === "ios" ? "Menlo" : "monospace"
102
106
  };
103
107
  var borderWidth = { default: 1, field: 1 };
104
108
  var opacity = { disabled: 0.5 };
@@ -2,11 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNLFE3CRMcjs = require('../../chunk-NLFE3CRM.cjs');
6
- require('../../chunk-PUER6Y4M.cjs');
5
+ var _chunkIZYRU7S2cjs = require('../../chunk-IZYRU7S2.cjs');
6
+ require('../../chunk-2UICXD3Q.cjs');
7
+ require('../../chunk-5SU7FXWH.cjs');
7
8
  require('../../chunk-6N5JXRUZ.cjs');
8
9
 
9
10
 
10
11
 
11
12
 
12
- exports.Button = _chunkNLFE3CRMcjs.Button; exports.buttonRecipe = _chunkNLFE3CRMcjs.buttonRecipe; exports.useButton = _chunkNLFE3CRMcjs.useButton;
13
+ exports.Button = _chunkIZYRU7S2cjs.Button; exports.buttonRecipe = _chunkIZYRU7S2cjs.buttonRecipe; exports.useButton = _chunkIZYRU7S2cjs.useButton;
@@ -2,8 +2,9 @@ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import * as react_native from 'react-native';
4
4
  import { StyleProp, TextStyle, ViewStyle, TextProps, PressableStateCallbackType } from 'react-native';
5
- import { a as IconContextValue, b as IconProps, w as TextStyleProps, P as PressableFeedbackProps, x as ViewStyleProps, g as Recipe, o as SlotStyles, c as AnimationProp } from '../../create-recipe-BcUu9b2I.cjs';
6
- import { S as Size, R as RadiusKey, g as XAUITheme } from '../../theme.type-C9bFJKFm.cjs';
5
+ import { o as TextStyleProps, V as ViewStyleProps, R as Recipe, g as SlotStyles } from '../../create-recipe-3_ElpCYt.cjs';
6
+ import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
7
+ import { a as IconContextValue, b as IconProps, P as PressableFeedbackProps, c as AnimationProp } from '../../pressable-feedback.type-C9kjAuVQ.cjs';
7
8
  import 'react-native-reanimated';
8
9
 
9
10
  type ButtonSlot = 'root' | 'label' | 'icon' | 'spinner';
@@ -216,194 +217,29 @@ declare const Button: react.ForwardRefExoticComponent<{
216
217
  style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
217
218
  children?: react.ReactNode;
218
219
  } & {
219
- hitSlop?: number | react_native.Insets | null | undefined;
220
- id?: string | undefined | undefined;
221
- needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
222
- onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
223
- pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
224
- removeClippedSubviews?: boolean | undefined | undefined;
225
- testID?: string | undefined | undefined;
226
- nativeID?: string | undefined | undefined;
227
- collapsable?: boolean | undefined | undefined;
228
- collapsableChildren?: boolean | undefined | undefined;
229
- onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
230
- onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
231
- renderToHardwareTextureAndroid?: boolean | undefined | undefined;
232
- focusable?: boolean | undefined | undefined;
233
- tabIndex?: 0 | -1 | undefined | undefined;
234
- shouldRasterizeIOS?: boolean | undefined | undefined;
235
- isTVSelectable?: boolean | undefined | undefined;
236
- hasTVPreferredFocus?: boolean | undefined | undefined;
237
- tvParallaxShiftDistanceX?: number | undefined | undefined;
238
- tvParallaxShiftDistanceY?: number | undefined | undefined;
239
- tvParallaxTiltAngle?: number | undefined | undefined;
240
- tvParallaxMagnification?: number | undefined | undefined;
241
- onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
242
- onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
243
- onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
244
- onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
245
- onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
246
- onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
247
- onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
248
- onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
249
- onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
250
- onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
251
- onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
252
- onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
253
- onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
254
- onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
255
- onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
256
- onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
257
- onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
258
- onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
259
- onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
260
- onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
261
- onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
262
- onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
263
- onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
264
- onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
265
- onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
266
- onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
267
- onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
268
- onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
269
- onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
270
- accessible?: boolean | undefined | undefined;
271
- accessibilityActions?: readonly Readonly<{
272
- name: react_native.AccessibilityActionName | string;
273
- label?: string | undefined;
274
- }>[] | undefined;
275
- accessibilityLabel?: string | undefined | undefined;
276
- 'aria-label'?: string | undefined | undefined;
277
- accessibilityRole?: react_native.AccessibilityRole | undefined;
278
- accessibilityState?: react_native.AccessibilityState | undefined;
279
- 'aria-busy'?: boolean | undefined | undefined;
280
- 'aria-checked'?: boolean | "mixed" | undefined | undefined;
281
- 'aria-disabled'?: boolean | undefined | undefined;
282
- 'aria-expanded'?: boolean | undefined | undefined;
283
- 'aria-selected'?: boolean | undefined | undefined;
284
- accessibilityHint?: string | undefined | undefined;
285
- accessibilityValue?: react_native.AccessibilityValue | undefined;
286
- 'aria-valuemax'?: number | undefined;
287
- 'aria-valuemin'?: number | undefined;
288
- 'aria-valuenow'?: number | undefined;
289
- 'aria-valuetext'?: string | undefined;
290
- onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
291
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
292
- 'aria-hidden'?: boolean | undefined | undefined;
293
- 'aria-modal'?: boolean | undefined | undefined;
294
- role?: react_native.Role | undefined;
295
- accessibilityLabelledBy?: string | string[] | undefined | undefined;
296
- 'aria-labelledby'?: string | undefined | undefined;
297
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
298
- 'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
299
- screenReaderFocusable?: boolean | undefined | undefined;
300
- accessibilityElementsHidden?: boolean | undefined | undefined;
301
- accessibilityViewIsModal?: boolean | undefined | undefined;
302
- onAccessibilityEscape?: (() => void) | undefined | undefined;
303
- onAccessibilityTap?: (() => void) | undefined | undefined;
304
- onMagicTap?: (() => void) | undefined | undefined;
305
- accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
306
- accessibilityLanguage?: string | undefined | undefined;
307
- accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
308
- accessibilityLargeContentTitle?: string | undefined | undefined;
309
- accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
310
- onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
311
- onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
312
- onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
313
- onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
314
- onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
315
- onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
316
- cancelable?: null | boolean | undefined | undefined;
317
- delayHoverIn?: number | null | undefined | undefined;
318
- delayHoverOut?: number | null | undefined | undefined;
319
- delayLongPress?: null | number | undefined | undefined;
320
- pressRetentionOffset?: number | react_native.Insets | null | undefined;
321
- android_disableSound?: null | boolean | undefined | undefined;
322
- android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
323
- testOnly_pressed?: null | boolean | undefined | undefined;
324
- unstable_pressDelay?: number | undefined | undefined;
325
- backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
326
- backgroundColor?: react_native.ColorValue | undefined;
327
- borderBlockColor?: react_native.ColorValue | undefined;
328
- borderBlockEndColor?: react_native.ColorValue | undefined;
329
- borderBlockStartColor?: react_native.ColorValue | undefined;
330
- borderBottomColor?: react_native.ColorValue | undefined;
331
- borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
332
- borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
333
- borderColor?: react_native.ColorValue | undefined;
334
- borderCurve?: "circular" | "continuous" | undefined | undefined;
335
- borderEndColor?: react_native.ColorValue | undefined;
336
- borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
337
- borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
338
- borderRadius?: string | react_native.AnimatableNumericValue | undefined;
339
- borderStartColor?: react_native.ColorValue | undefined;
340
- borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
341
- borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
342
- borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
343
- borderTopColor?: react_native.ColorValue | undefined;
344
- borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
345
- borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
346
- outlineColor?: react_native.ColorValue | undefined;
347
- outlineOffset?: react_native.AnimatableNumericValue | undefined;
348
- outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
349
- outlineWidth?: react_native.AnimatableNumericValue | undefined;
220
+ borderWidth?: number | undefined | undefined;
350
221
  opacity?: react_native.AnimatableNumericValue | undefined;
351
- elevation?: number | undefined | undefined;
352
- isolation?: "auto" | "isolate" | undefined | undefined;
353
- cursor?: react_native.CursorValue | undefined;
354
- boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
355
222
  filter?: string | readonly react_native.FilterFunction[] | undefined;
356
- mixBlendMode?: react_native.BlendMode | undefined;
357
- experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
358
223
  alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
359
224
  alignItems?: react_native.FlexAlignType | undefined;
360
225
  alignSelf?: "auto" | react_native.FlexAlignType | undefined;
361
226
  aspectRatio?: number | string | undefined | undefined;
362
- borderBottomWidth?: number | undefined | undefined;
363
- borderEndWidth?: number | undefined | undefined;
364
- borderStartWidth?: number | undefined | undefined;
365
- borderTopWidth?: number | undefined | undefined;
366
- borderWidth?: number | undefined | undefined;
367
- bottom?: react_native.DimensionValue | undefined;
368
227
  boxSizing?: "border-box" | "content-box" | undefined | undefined;
228
+ columnGap?: number | string | undefined | undefined;
229
+ direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
369
230
  display?: "none" | "flex" | "contents" | undefined | undefined;
370
- end?: react_native.DimensionValue | undefined;
371
231
  flex?: number | undefined | undefined;
372
232
  flexBasis?: react_native.DimensionValue | undefined;
373
233
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined | undefined;
374
- rowGap?: number | string | undefined | undefined;
375
- gap?: number | string | undefined | undefined;
376
- columnGap?: number | string | undefined | undefined;
377
234
  flexGrow?: number | undefined | undefined;
378
235
  flexShrink?: number | undefined | undefined;
379
236
  flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined | undefined;
380
- height?: react_native.DimensionValue | undefined;
237
+ gap?: number | string | undefined | undefined;
381
238
  justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined | undefined;
382
- margin?: react_native.DimensionValue | undefined;
383
- marginBottom?: react_native.DimensionValue | undefined;
384
- marginEnd?: react_native.DimensionValue | undefined;
385
- marginHorizontal?: react_native.DimensionValue | undefined;
386
- marginStart?: react_native.DimensionValue | undefined;
387
- marginTop?: react_native.DimensionValue | undefined;
388
- marginVertical?: react_native.DimensionValue | undefined;
389
- maxHeight?: react_native.DimensionValue | undefined;
390
- maxWidth?: react_native.DimensionValue | undefined;
391
- minHeight?: react_native.DimensionValue | undefined;
392
- minWidth?: react_native.DimensionValue | undefined;
393
239
  overflow?: "visible" | "hidden" | "scroll" | undefined | undefined;
394
- padding?: react_native.DimensionValue | undefined;
395
- paddingBottom?: react_native.DimensionValue | undefined;
396
- paddingEnd?: react_native.DimensionValue | undefined;
397
- paddingHorizontal?: react_native.DimensionValue | undefined;
398
- paddingStart?: react_native.DimensionValue | undefined;
399
- paddingTop?: react_native.DimensionValue | undefined;
400
- paddingVertical?: react_native.DimensionValue | undefined;
401
- position?: "absolute" | "relative" | "static" | undefined | undefined;
402
- start?: react_native.DimensionValue | undefined;
403
- top?: react_native.DimensionValue | undefined;
404
- width?: react_native.DimensionValue | undefined;
405
- zIndex?: number | undefined | undefined;
406
- direction?: "inherit" | "ltr" | "rtl" | undefined | undefined;
240
+ rowGap?: number | string | undefined | undefined;
241
+ bottom?: react_native.DimensionValue | undefined;
242
+ end?: react_native.DimensionValue | undefined;
407
243
  inset?: react_native.DimensionValue | undefined;
408
244
  insetBlock?: react_native.DimensionValue | undefined;
409
245
  insetBlockEnd?: react_native.DimensionValue | undefined;
@@ -411,18 +247,77 @@ declare const Button: react.ForwardRefExoticComponent<{
411
247
  insetInline?: react_native.DimensionValue | undefined;
412
248
  insetInlineEnd?: react_native.DimensionValue | undefined;
413
249
  insetInlineStart?: react_native.DimensionValue | undefined;
250
+ position?: "absolute" | "relative" | "static" | undefined | undefined;
251
+ start?: react_native.DimensionValue | undefined;
252
+ top?: react_native.DimensionValue | undefined;
253
+ zIndex?: number | undefined | undefined;
254
+ margin?: react_native.DimensionValue | undefined;
414
255
  marginBlock?: react_native.DimensionValue | undefined;
415
256
  marginBlockEnd?: react_native.DimensionValue | undefined;
416
257
  marginBlockStart?: react_native.DimensionValue | undefined;
258
+ marginBottom?: react_native.DimensionValue | undefined;
259
+ marginEnd?: react_native.DimensionValue | undefined;
260
+ marginHorizontal?: react_native.DimensionValue | undefined;
417
261
  marginInline?: react_native.DimensionValue | undefined;
418
262
  marginInlineEnd?: react_native.DimensionValue | undefined;
419
263
  marginInlineStart?: react_native.DimensionValue | undefined;
264
+ marginStart?: react_native.DimensionValue | undefined;
265
+ marginTop?: react_native.DimensionValue | undefined;
266
+ marginVertical?: react_native.DimensionValue | undefined;
267
+ padding?: react_native.DimensionValue | undefined;
420
268
  paddingBlock?: react_native.DimensionValue | undefined;
421
269
  paddingBlockEnd?: react_native.DimensionValue | undefined;
422
270
  paddingBlockStart?: react_native.DimensionValue | undefined;
271
+ paddingBottom?: react_native.DimensionValue | undefined;
272
+ paddingEnd?: react_native.DimensionValue | undefined;
273
+ paddingHorizontal?: react_native.DimensionValue | undefined;
423
274
  paddingInline?: react_native.DimensionValue | undefined;
424
275
  paddingInlineEnd?: react_native.DimensionValue | undefined;
425
276
  paddingInlineStart?: react_native.DimensionValue | undefined;
277
+ paddingStart?: react_native.DimensionValue | undefined;
278
+ paddingTop?: react_native.DimensionValue | undefined;
279
+ paddingVertical?: react_native.DimensionValue | undefined;
280
+ height?: react_native.DimensionValue | undefined;
281
+ maxHeight?: react_native.DimensionValue | undefined;
282
+ maxWidth?: react_native.DimensionValue | undefined;
283
+ minHeight?: react_native.DimensionValue | undefined;
284
+ minWidth?: react_native.DimensionValue | undefined;
285
+ width?: react_native.DimensionValue | undefined;
286
+ borderBlockColor?: react_native.ColorValue | undefined;
287
+ borderBlockEndColor?: react_native.ColorValue | undefined;
288
+ borderBlockStartColor?: react_native.ColorValue | undefined;
289
+ borderBottomColor?: react_native.ColorValue | undefined;
290
+ borderBottomEndRadius?: string | react_native.AnimatableNumericValue | undefined;
291
+ borderBottomStartRadius?: string | react_native.AnimatableNumericValue | undefined;
292
+ borderBottomWidth?: number | undefined | undefined;
293
+ borderColor?: react_native.ColorValue | undefined;
294
+ borderCurve?: "circular" | "continuous" | undefined | undefined;
295
+ borderEndColor?: react_native.ColorValue | undefined;
296
+ borderEndEndRadius?: string | react_native.AnimatableNumericValue | undefined;
297
+ borderEndStartRadius?: string | react_native.AnimatableNumericValue | undefined;
298
+ borderEndWidth?: number | undefined | undefined;
299
+ borderRadius?: string | react_native.AnimatableNumericValue | undefined;
300
+ borderStartColor?: react_native.ColorValue | undefined;
301
+ borderStartEndRadius?: string | react_native.AnimatableNumericValue | undefined;
302
+ borderStartStartRadius?: string | react_native.AnimatableNumericValue | undefined;
303
+ borderStartWidth?: number | undefined | undefined;
304
+ borderStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
305
+ borderTopColor?: react_native.ColorValue | undefined;
306
+ borderTopEndRadius?: string | react_native.AnimatableNumericValue | undefined;
307
+ borderTopStartRadius?: string | react_native.AnimatableNumericValue | undefined;
308
+ borderTopWidth?: number | undefined | undefined;
309
+ backfaceVisibility?: "visible" | "hidden" | undefined | undefined;
310
+ backgroundColor?: react_native.ColorValue | undefined;
311
+ boxShadow?: string | readonly react_native.BoxShadowValue[] | undefined;
312
+ cursor?: react_native.CursorValue | undefined;
313
+ elevation?: number | undefined | undefined;
314
+ experimental_backgroundImage?: string | readonly react_native.GradientValue[] | undefined;
315
+ isolation?: "auto" | "isolate" | undefined | undefined;
316
+ mixBlendMode?: react_native.BlendMode | undefined;
317
+ outlineColor?: react_native.ColorValue | undefined;
318
+ outlineOffset?: react_native.AnimatableNumericValue | undefined;
319
+ outlineStyle?: "solid" | "dotted" | "dashed" | undefined | undefined;
320
+ outlineWidth?: react_native.AnimatableNumericValue | undefined;
426
321
  shadowColor?: react_native.ColorValue | undefined;
427
322
  shadowOffset?: Readonly<{
428
323
  width: number;
@@ -430,6 +325,9 @@ declare const Button: react.ForwardRefExoticComponent<{
430
325
  }> | undefined;
431
326
  shadowOpacity?: react_native.AnimatableNumericValue | undefined;
432
327
  shadowRadius?: number | undefined | undefined;
328
+ rotation?: react_native.AnimatableNumericValue | undefined;
329
+ scaleX?: react_native.AnimatableNumericValue | undefined;
330
+ scaleY?: react_native.AnimatableNumericValue | undefined;
433
331
  transform?: string | readonly (({
434
332
  scaleX: react_native.AnimatableNumericValue;
435
333
  } & {
@@ -626,13 +524,116 @@ declare const Button: react.ForwardRefExoticComponent<{
626
524
  skewX?: undefined;
627
525
  skewY?: undefined;
628
526
  }))[] | undefined;
629
- transformOrigin?: string | (string | number)[] | undefined;
630
527
  transformMatrix?: number[] | undefined;
631
- rotation?: react_native.AnimatableNumericValue | undefined;
632
- scaleX?: react_native.AnimatableNumericValue | undefined;
633
- scaleY?: react_native.AnimatableNumericValue | undefined;
528
+ transformOrigin?: string | (string | number)[] | undefined;
634
529
  translateX?: react_native.AnimatableNumericValue | undefined;
635
530
  translateY?: react_native.AnimatableNumericValue | undefined;
531
+ pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined | undefined;
532
+ id?: string | undefined | undefined;
533
+ onLayout?: ((event: react_native.LayoutChangeEvent) => void) | undefined | undefined;
534
+ testID?: string | undefined | undefined;
535
+ nativeID?: string | undefined | undefined;
536
+ accessible?: boolean | undefined | undefined;
537
+ accessibilityActions?: readonly Readonly<{
538
+ name: react_native.AccessibilityActionName | string;
539
+ label?: string | undefined;
540
+ }>[] | undefined;
541
+ accessibilityLabel?: string | undefined | undefined;
542
+ 'aria-label'?: string | undefined | undefined;
543
+ accessibilityRole?: react_native.AccessibilityRole | undefined;
544
+ accessibilityState?: react_native.AccessibilityState | undefined;
545
+ 'aria-busy'?: boolean | undefined | undefined;
546
+ 'aria-checked'?: boolean | "mixed" | undefined | undefined;
547
+ 'aria-disabled'?: boolean | undefined | undefined;
548
+ 'aria-expanded'?: boolean | undefined | undefined;
549
+ 'aria-selected'?: boolean | undefined | undefined;
550
+ accessibilityHint?: string | undefined | undefined;
551
+ accessibilityValue?: react_native.AccessibilityValue | undefined;
552
+ 'aria-valuemax'?: number | undefined;
553
+ 'aria-valuemin'?: number | undefined;
554
+ 'aria-valuenow'?: number | undefined;
555
+ 'aria-valuetext'?: string | undefined;
556
+ onAccessibilityAction?: ((event: react_native.AccessibilityActionEvent) => void) | undefined | undefined;
557
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined | undefined;
558
+ 'aria-hidden'?: boolean | undefined | undefined;
559
+ 'aria-modal'?: boolean | undefined | undefined;
560
+ role?: react_native.Role | undefined;
561
+ accessibilityLabelledBy?: string | string[] | undefined | undefined;
562
+ 'aria-labelledby'?: string | undefined | undefined;
563
+ accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
564
+ 'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
565
+ screenReaderFocusable?: boolean | undefined | undefined;
566
+ accessibilityElementsHidden?: boolean | undefined | undefined;
567
+ accessibilityViewIsModal?: boolean | undefined | undefined;
568
+ onAccessibilityEscape?: (() => void) | undefined | undefined;
569
+ onAccessibilityTap?: (() => void) | undefined | undefined;
570
+ onMagicTap?: (() => void) | undefined | undefined;
571
+ accessibilityIgnoresInvertColors?: boolean | undefined | undefined;
572
+ accessibilityLanguage?: string | undefined | undefined;
573
+ accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
574
+ accessibilityLargeContentTitle?: string | undefined | undefined;
575
+ accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
576
+ hitSlop?: number | react_native.Insets | null | undefined;
577
+ needsOffscreenAlphaCompositing?: boolean | undefined | undefined;
578
+ removeClippedSubviews?: boolean | undefined | undefined;
579
+ collapsable?: boolean | undefined | undefined;
580
+ collapsableChildren?: boolean | undefined | undefined;
581
+ onBlur?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
582
+ onFocus?: null | ((event: react_native.NativeSyntheticEvent<react_native.TargetedEvent>) => void) | undefined | undefined;
583
+ renderToHardwareTextureAndroid?: boolean | undefined | undefined;
584
+ focusable?: boolean | undefined | undefined;
585
+ tabIndex?: 0 | -1 | undefined | undefined;
586
+ shouldRasterizeIOS?: boolean | undefined | undefined;
587
+ isTVSelectable?: boolean | undefined | undefined;
588
+ hasTVPreferredFocus?: boolean | undefined | undefined;
589
+ tvParallaxShiftDistanceX?: number | undefined | undefined;
590
+ tvParallaxShiftDistanceY?: number | undefined | undefined;
591
+ tvParallaxTiltAngle?: number | undefined | undefined;
592
+ tvParallaxMagnification?: number | undefined | undefined;
593
+ onStartShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
594
+ onMoveShouldSetResponder?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
595
+ onResponderEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
596
+ onResponderGrant?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
597
+ onResponderReject?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
598
+ onResponderMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
599
+ onResponderRelease?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
600
+ onResponderStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
601
+ onResponderTerminationRequest?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
602
+ onResponderTerminate?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
603
+ onStartShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
604
+ onMoveShouldSetResponderCapture?: ((event: react_native.GestureResponderEvent) => boolean) | undefined | undefined;
605
+ onTouchStart?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
606
+ onTouchMove?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
607
+ onTouchEnd?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
608
+ onTouchCancel?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
609
+ onTouchEndCapture?: ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
610
+ onPointerEnter?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
611
+ onPointerEnterCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
612
+ onPointerLeave?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
613
+ onPointerLeaveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
614
+ onPointerMove?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
615
+ onPointerMoveCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
616
+ onPointerCancel?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
617
+ onPointerCancelCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
618
+ onPointerDown?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
619
+ onPointerDownCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
620
+ onPointerUp?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
621
+ onPointerUpCapture?: ((event: react_native.PointerEvent) => void) | undefined | undefined;
622
+ onHoverIn?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
623
+ onHoverOut?: null | ((event: react_native.MouseEvent) => void) | undefined | undefined;
624
+ onPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
625
+ onPressIn?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
626
+ onPressOut?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
627
+ onLongPress?: null | ((event: react_native.GestureResponderEvent) => void) | undefined | undefined;
628
+ cancelable?: null | boolean | undefined | undefined;
629
+ delayHoverIn?: number | null | undefined | undefined;
630
+ delayHoverOut?: number | null | undefined | undefined;
631
+ delayLongPress?: null | number | undefined | undefined;
632
+ pressRetentionOffset?: number | react_native.Insets | null | undefined;
633
+ android_disableSound?: null | boolean | undefined | undefined;
634
+ android_ripple?: react_native.PressableAndroidRippleConfig | null | undefined;
635
+ testOnly_pressed?: null | boolean | undefined | undefined;
636
+ unstable_pressDelay?: number | undefined | undefined;
636
637
  asChild?: boolean | undefined;
637
638
  animation?: AnimationProp | undefined;
638
639
  } & Omit<ViewStyleProps, keyof {