@tamagui/focus-scope 1.108.0 → 1.108.2

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.
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
8
  for (var name in all)
8
9
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -12,13 +13,20 @@ var __export = (target, all) => {
12
13
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
14
  return to;
14
15
  };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
24
  var FocusScope_native_exports = {};
17
25
  __export(FocusScope_native_exports, {
18
26
  FocusScope: () => FocusScope
19
27
  });
20
28
  module.exports = __toCommonJS(FocusScope_native_exports);
21
- var import_react = require("react"), FocusScope = /* @__PURE__ */ (0, import_react.forwardRef)(function(props, _ref) {
29
+ var import_react = __toESM(require("react")), FocusScope = /* @__PURE__ */ import_react.default.forwardRef(function(props, _ref) {
22
30
  return props.children;
23
31
  });
24
32
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/ui/focus-scope/src/FocusScope.native.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;mBAA2B,kBAIdA,aAAaC,6CAAW,SAACC,OAAwBC,MAAAA;AAC5D,SAAOD,MAAME;AACf,CAAA;",
5
- "names": ["FocusScope", "forwardRef", "props", "_ref", "children"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;mBAAkB,2BAILA,aAAaC,6BAAAA,QAAMC,WAAW,SAACC,OAAwBC,MAAAA;AAClE,SAAOD,MAAME;AACf,CAAA;",
5
+ "names": ["FocusScope", "React", "forwardRef", "props", "_ref", "children"]
6
6
  }
@@ -1,5 +1,5 @@
1
- import { forwardRef } from "react";
2
- var FocusScope = /* @__PURE__ */ forwardRef(function(props, _ref) {
1
+ import React from "react";
2
+ var FocusScope = /* @__PURE__ */ React.forwardRef(function(props, _ref) {
3
3
  return props.children;
4
4
  });
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/ui/focus-scope/src/FocusScope.native.tsx"],
4
- "mappings": "AAAA,SAASA,kBAAkB;AAIpB,IAAMC,aAAaD,2BAAW,SAACE,OAAwBC,MAAAA;AAC5D,SAAOD,MAAME;AACf,CAAA;",
5
- "names": ["forwardRef", "FocusScope", "props", "_ref", "children"]
4
+ "mappings": "AAAA,OAAOA,WAAW;AAIX,IAAMC,aAAaD,sBAAME,WAAW,SAACC,OAAwBC,MAAAA;AAClE,SAAOD,MAAME;AACf,CAAA;",
5
+ "names": ["React", "FocusScope", "forwardRef", "props", "_ref", "children"]
6
6
  }
@@ -1,5 +1,5 @@
1
- import { forwardRef } from "react";
2
- var FocusScope = /* @__PURE__ */ forwardRef(function(props, _ref) {
1
+ import React from "react";
2
+ var FocusScope = /* @__PURE__ */ React.forwardRef(function(props, _ref) {
3
3
  return props.children;
4
4
  });
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/ui/focus-scope/src/FocusScope.native.tsx"],
4
- "mappings": "AAAA,SAASA,kBAAkB;AAIpB,IAAMC,aAAaD,2BAAW,SAACE,OAAwBC,MAAAA;AAC5D,SAAOD,MAAME;AACf,CAAA;",
5
- "names": ["forwardRef", "FocusScope", "props", "_ref", "children"]
4
+ "mappings": "AAAA,OAAOA,WAAW;AAIX,IAAMC,aAAaD,sBAAME,WAAW,SAACC,OAAwBC,MAAAA;AAClE,SAAOD,MAAME;AACf,CAAA;",
5
+ "names": ["React", "FocusScope", "forwardRef", "props", "_ref", "children"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/focus-scope",
3
- "version": "1.108.0",
3
+ "version": "1.108.2",
4
4
  "sideEffects": true,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -30,11 +30,11 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@tamagui/compose-refs": "1.108.0",
34
- "@tamagui/use-event": "1.108.0"
33
+ "@tamagui/compose-refs": "1.108.2",
34
+ "@tamagui/use-event": "1.108.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@tamagui/build": "1.108.0",
37
+ "@tamagui/build": "1.108.2",
38
38
  "react": "^18.2.0 || ^19.0.0"
39
39
  },
40
40
  "publishConfig": {
@@ -1,7 +1,7 @@
1
- import { forwardRef } from 'react'
1
+ import React from 'react'
2
2
 
3
3
  import type { FocusScopeProps } from './FocusScopeProps'
4
4
 
5
- export const FocusScope = forwardRef((props: FocusScopeProps, _ref) => {
5
+ export const FocusScope = React.forwardRef((props: FocusScopeProps, _ref) => {
6
6
  return props.children as any
7
7
  })
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { FocusScopeProps } from './FocusScopeProps';
2
- export declare const FocusScope: import("react").ForwardRefExoticComponent<FocusScopeProps & import("react").RefAttributes<unknown>>;
3
+ export declare const FocusScope: React.ForwardRefExoticComponent<FocusScopeProps & React.RefAttributes<unknown>>;
3
4
  //# sourceMappingURL=FocusScope.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FocusScope.native.d.ts","sourceRoot":"","sources":["../src/FocusScope.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,UAAU,qGAErB,CAAA"}
1
+ {"version":3,"file":"FocusScope.native.d.ts","sourceRoot":"","sources":["../src/FocusScope.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,UAAU,iFAErB,CAAA"}