@tamagui/core 1.0.22 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/types.d.ts CHANGED
@@ -373,7 +373,7 @@ type WithThemeShorthandsPseudosMediaAnimation<A extends object> = WithThemeShort
373
373
  /**
374
374
  * Base style-only props (no media, pseudo):
375
375
  */
376
- type StylePropsWebOnly = {
376
+ type PropsWebOnly = {
377
377
  pointerEvents?: ViewProps['pointerEvents'];
378
378
  cursor?: Properties['cursor'];
379
379
  contain?: Properties['contain'];
@@ -383,11 +383,12 @@ type StylePropsWebOnly = {
383
383
  outlineStyle?: Properties['outlineStyle'];
384
384
  outlineOffset?: Properties['outlineOffset'];
385
385
  outlineWidth?: Properties['outlineWidth'];
386
+ tabIndex?: string | number;
387
+ role?: string;
386
388
  };
387
- export type StackStylePropsBase = Omit<ViewStyle, 'display' | 'backfaceVisibility' | 'elevation'> & TransformStyleProps & StylePropsWebOnly;
388
- export type TextStylePropsBase = Omit<TextStyle, 'display' | 'backfaceVisibility'> & TransformStyleProps & StylePropsWebOnly & {
389
+ export type StackStylePropsBase = Omit<ViewStyle, 'display' | 'backfaceVisibility' | 'elevation'> & TransformStyleProps & PropsWebOnly;
390
+ export type TextStylePropsBase = Omit<TextStyle, 'display' | 'backfaceVisibility'> & TransformStyleProps & PropsWebOnly & {
389
391
  ellipse?: boolean;
390
- selectable?: boolean;
391
392
  textDecorationDistance?: number;
392
393
  textOverflow?: Properties['textOverflow'];
393
394
  whiteSpace?: Properties['whiteSpace'];