@tamagui/create-context 3.0.0-beta.669.1 → 3.0.0-beta.728.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.
@@ -1,4 +1,3 @@
1
-
2
1
  var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __create = Object.create;
5
4
  var __defProp = Object.defineProperty;
6
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __create = Object.create;
5
4
  var __defProp = Object.defineProperty;
6
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1 +1 @@
1
- {"version":3,"file":"create-context.native.js","names":[],"sources":["cjs/create-context.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar create_context_exports = {};\n__export(create_context_exports, {\n createContext: () => createContext,\n createContextScope: () => createContextScope\n});\nmodule.exports = __toCommonJS(create_context_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar React = __toESM(require(\"react\"), 1);\nfunction createContext(rootComponentName, defaultContext) {\n var Context = /* @__PURE__ */ React.createContext(defaultContext);\n function Provider(props) {\n var { children, ...context } = props;\n var value = React.useMemo(function() {\n return context;\n }, Object.values(context));\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, {\n value,\n children\n });\n }\n function useContext(consumerName) {\n var context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [\n Provider,\n useContext\n ];\n}\nfunction createContextScope(scopeName) {\n var createContextScopeDeps = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];\n var defaultContexts = [];\n function createContext2(rootComponentName, defaultContext) {\n var BaseContext = /* @__PURE__ */ React.createContext(defaultContext);\n var index = defaultContexts.length;\n defaultContexts = [\n ...defaultContexts,\n defaultContext\n ];\n function Provider(props) {\n var _scope_scopeName;\n var { scope, children, ...context } = props;\n var Context = (scope === null || scope === void 0 ? void 0 : (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext;\n var value = React.useMemo(function() {\n return context;\n }, Object.values(context));\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, {\n value,\n children\n });\n }\n function useContext(consumerName, scope, options) {\n var _scope_scopeName;\n var Context = (scope === null || scope === void 0 ? void 0 : (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext;\n var context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n var missingContextMessage = `\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``;\n if (options === null || options === void 0 ? void 0 : options.fallback) {\n if ((options === null || options === void 0 ? void 0 : options.warn) !== false) {\n console.warn(missingContextMessage);\n }\n return options.fallback;\n }\n throw new Error(missingContextMessage);\n }\n return [\n Provider,\n useContext\n ];\n }\n var createScope = function() {\n var scopeContexts = defaultContexts.map(function(defaultContext) {\n return /* @__PURE__ */ React.createContext(defaultContext);\n });\n return function useScope(scope) {\n var contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;\n return React.useMemo(function() {\n return {\n [`__scope${scopeName}`]: {\n ...scope,\n [scopeName]: contexts\n }\n };\n }, [\n scope,\n contexts\n ]);\n };\n };\n createScope.scopeName = scopeName;\n return [\n createContext2,\n composeContextScopes(createScope, ...createContextScopeDeps)\n ];\n}\nfunction composeContextScopes() {\n for (var _len = arguments.length, scopes = new Array(_len), _key = 0; _key < _len; _key++) {\n scopes[_key] = arguments[_key];\n }\n var baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n var createScope = function() {\n var scopeHooks = scopes.map(function(createScope2) {\n return {\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n };\n });\n return function useComposedScopes(overrideScopes) {\n var nextScopes = scopeHooks.reduce(function(nextScopes2, param) {\n var { useScope, scopeName } = param;\n var scopeProps = useScope(overrideScopes);\n var currentScope = scopeProps[`__scope${scopeName}`];\n return {\n ...nextScopes2,\n ...currentScope\n };\n }, {});\n return React.useMemo(function() {\n return {\n [`__scope${baseScope.scopeName}`]: nextScopes\n };\n }, [\n nextScopes\n ]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\n//# sourceMappingURL=create-context.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAA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AAS,cAAc;IACxC,IAAI,eAAe,WAAW,UAAU;IACxC,OAAO;KACL,GAAG;KACH,GAAG;IACL;GACF,GAAG,CAAC,CAAC;GACL,OAAO,MAAM,QAAQ,WAAW;IAC9B,OAAO,GACJ,UAAU,UAAU,cAAc,WACrC;GACF,GAAG,CACD,UACF,CAAC;EACH;CACF;CACA,YAAY,YAAY,UAAU;CAClC,OAAO;AACT"}
1
+ {"version":3,"file":"create-context.native.js","names":[],"sources":["cjs/create-context.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar create_context_exports = {};\n__export(create_context_exports, {\n createContext: () => createContext,\n createContextScope: () => createContextScope\n});\nmodule.exports = __toCommonJS(create_context_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar React = __toESM(require(\"react\"), 1);\nfunction createContext(rootComponentName, defaultContext) {\n var Context = /* @__PURE__ */ React.createContext(defaultContext);\n function Provider(props) {\n var { children, ...context } = props;\n var value = React.useMemo(function() {\n return context;\n }, Object.values(context));\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, {\n value,\n children\n });\n }\n function useContext(consumerName) {\n var context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [\n Provider,\n useContext\n ];\n}\nfunction createContextScope(scopeName) {\n var createContextScopeDeps = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];\n var defaultContexts = [];\n function createContext2(rootComponentName, defaultContext) {\n var BaseContext = /* @__PURE__ */ React.createContext(defaultContext);\n var index = defaultContexts.length;\n defaultContexts = [\n ...defaultContexts,\n defaultContext\n ];\n function Provider(props) {\n var _scope_scopeName;\n var { scope, children, ...context } = props;\n var Context = (scope === null || scope === void 0 ? void 0 : (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext;\n var value = React.useMemo(function() {\n return context;\n }, Object.values(context));\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, {\n value,\n children\n });\n }\n function useContext(consumerName, scope, options) {\n var _scope_scopeName;\n var Context = (scope === null || scope === void 0 ? void 0 : (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext;\n var context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n var missingContextMessage = `\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``;\n if (options === null || options === void 0 ? void 0 : options.fallback) {\n if ((options === null || options === void 0 ? void 0 : options.warn) !== false) {\n console.warn(missingContextMessage);\n }\n return options.fallback;\n }\n throw new Error(missingContextMessage);\n }\n return [\n Provider,\n useContext\n ];\n }\n var createScope = function() {\n var scopeContexts = defaultContexts.map(function(defaultContext) {\n return /* @__PURE__ */ React.createContext(defaultContext);\n });\n return function useScope(scope) {\n var contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;\n return React.useMemo(function() {\n return {\n [`__scope${scopeName}`]: {\n ...scope,\n [scopeName]: contexts\n }\n };\n }, [\n scope,\n contexts\n ]);\n };\n };\n createScope.scopeName = scopeName;\n return [\n createContext2,\n composeContextScopes(createScope, ...createContextScopeDeps)\n ];\n}\nfunction composeContextScopes() {\n for (var _len = arguments.length, scopes = new Array(_len), _key = 0; _key < _len; _key++) {\n scopes[_key] = arguments[_key];\n }\n var baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n var createScope = function() {\n var scopeHooks = scopes.map(function(createScope2) {\n return {\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n };\n });\n return function useComposedScopes(overrideScopes) {\n var nextScopes = scopeHooks.reduce(function(nextScopes2, param) {\n var { useScope, scopeName } = param;\n var scopeProps = useScope(overrideScopes);\n var currentScope = scopeProps[`__scope${scopeName}`];\n return {\n ...nextScopes2,\n ...currentScope\n };\n }, {});\n return React.useMemo(function() {\n return {\n [`__scope${baseScope.scopeName}`]: nextScopes\n };\n }, [\n nextScopes\n ]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\n//# sourceMappingURL=create-context.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,Y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AACT"}
@@ -1,4 +1,3 @@
1
-
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./create-context\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,4BAAkB,GAAG,OAAO,OAAO"}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./create-context\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,4BAAkB,GAAG,OAAO,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-context.js","names":[],"sources":["esm/create-context.js"],"sourcesContent":["import * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n function Provider(props) {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext2(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n function Provider(props) {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(\n () => context,\n Object.values(context)\n );\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext(consumerName, scope, options) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n const missingContextMessage = `\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``;\n if (options?.fallback) {\n if (options?.warn !== false) {\n console.warn(missingContextMessage);\n }\n return options.fallback;\n }\n throw new Error(missingContextMessage);\n }\n return [Provider, useContext];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [\n createContext2,\n composeContextScopes(createScope, ...createContextScopeDeps)\n ];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(\n () => ({ [`__scope${baseScope.scopeName}`]: nextScopes }),\n [nextScopes]\n );\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext,\n createContextScope\n};\n//# sourceMappingURL=create-context.js.map\n"],"mappings":";;;;AAEA,SAAS,cAAc,mBAAmB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A,MAAM,IAAI,MAAM,qBAAqB;EACvC;EACA,OAAO,CAAC,UAAU,UAAU;CAC9B;CACA,MAAM,oBAAoB;EACxB,MAAM,gBAAgB,gBAAgB,KAAK,mBAAmB;GAC5D,OAAO,MAAM,cAAc,cAAc;EAC3C,CAAC;EACD,OAAO,SAAS,SAAS,OAAO;GAC9B,MAAM,WAAW,QAAQ,cAAc;GACvC,OAAO,MAAM,eACJ,GAAG,UAAU,cAAc;IAAE,GAAG;KAAQ,YAAY;GAAS,EAAE,IACtE,CAAC,OAAO,QAAQ,CAClB;EACF;CACF;CACA,YAAY,YAAY;CACxB,OAAO,CACL,gBACA,qBAAqB,aAAa,GAAG,sBAAsB,CAC7D;AACF;AACA,SAAS,qBAAqB,GAAG,QAAQ;CACvC,MAAM,YAAY,OAAO;CACzB,IAAI,OAAO,WAAW,GAAG,OAAO;CAChC,MAAM,oBAAoB;EACxB,MAAM,aAAa,OAAO,KAAK,kBAAkB;GAC/C,UAAU,aAAa;GACvB,WAAW,aAAa;EAC1B,EAAE;EACF,OAAO,SAAS,kBAAkB,gBAAgB;GAChD,MAAM,aAAa,WAAW,QAAQ,aAAa,EAAE,UAAU,gBAAgB;IAC7E,MAAM,aAAa,SAAS,cAAc;IAC1C,MAAM,eAAe,WAAW,UAAU;IAC1C,OAAO;KAAE,GAAG;KAAa,GAAG;IAAa;GAC3C,GAAG,CAAC,CAAC;GACL,OAAO,MAAM,eACJ,GAAG,UAAU,UAAU,cAAc,WAAW,IACvD,CAAC,UAAU,CACb;EACF;CACF;CACA,YAAY,YAAY,UAAU;CAClC,OAAO;AACT"}
1
+ {"version":3,"file":"create-context.js","names":[],"sources":["esm/create-context.js"],"sourcesContent":["import * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n function Provider(props) {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext2(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n function Provider(props) {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(\n () => context,\n Object.values(context)\n );\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n }\n function useContext(consumerName, scope, options) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n const missingContextMessage = `\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``;\n if (options?.fallback) {\n if (options?.warn !== false) {\n console.warn(missingContextMessage);\n }\n return options.fallback;\n }\n throw new Error(missingContextMessage);\n }\n return [Provider, useContext];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [\n createContext2,\n composeContextScopes(createScope, ...createContextScopeDeps)\n ];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(\n () => ({ [`__scope${baseScope.scopeName}`]: nextScopes }),\n [nextScopes]\n );\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext,\n createContextScope\n};\n//# sourceMappingURL=create-context.js.map\n"],"mappings":";;;;AAEA,SAAS,cAAc,mBAAmB,gBAAgB;CACxD,MAAM,UAAU,MAAM,cAAc,cAAc;CAClD,SAAS,SAAS,OAAO;EACvB,MAAM,EAAE,UAAU,GAAG,YAAY;EACjC,MAAM,QAAQ,MAAM,cAAc,SAAS,OAAO,OAAO,OAAO,CAAC;EACjE,OAAuB,oBAAI,QAAQ,UAAU;GAAE;GAAO;EAAS,CAAC;CAClE;CACA,SAAS,WAAW,cAAc;EAChC,MAAM,UAAU,MAAM,WAAW,OAAO;EACxC,IAAI,SAAS,OAAO;EACpB,IAAI,mBAAmB,KAAK,GAAG,OAAO;EACtC,MAAM,IAAI,MAAM,KAAK,aAAa,2BAA2B,kBAAkB,GAAG;CACpF;CACA,OAAO,CAAC,UAAU,UAAU;AAC9B;AACA,SAAS,mBAAmB,WAAW,yBAAyB,CAAC,GAAG;CAClE,IAAI,kBAAkB,CAAC;CACvB,SAAS,eAAe,mBAAmB,gBAAgB;EACzD,MAAM,cAAc,MAAM,cAAc,cAAc;EACtD,MAAM,QAAQ,gBAAgB;EAC9B,kBAAkB,CAAC,GAAG,iBAAiB,cAAc;EACrD,SAAS,SAAS,OAAO;GACvB,MAAM,EAAE,OAAO,UAAU,GAAG,YAAY;GACxC,MAAM,UAAU,QAAQ,UAAU,GAAG,UAAU;GAC/C,MAAM,QAAQ,MAAM,cACZ,SACN,OAAO,OAAO,OAAO,CACvB;GACA,OAAuB,oBAAI,QAAQ,UAAU;IAAE;IAAO;GAAS,CAAC;EAClE;EACA,SAAS,WAAW,cAAc,OAAO,SAAS;GAChD,MAAM,UAAU,QAAQ,UAAU,GAAG,UAAU;GAC/C,MAAM,UAAU,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AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/create-context",
3
- "version": "3.0.0-beta.669.1",
3
+ "version": "3.0.0-beta.728.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "source": "src/index.ts",
6
6
  "files": [
@@ -35,8 +35,8 @@
35
35
  "clean:build": "tamagui-build clean:build"
36
36
  },
37
37
  "devDependencies": {
38
- "@tamagui/build": "3.0.0-beta.669.1",
39
- "react": ">=19"
38
+ "@tamagui/build": "3.0.0-beta.728.1",
39
+ "react": "19.2.3"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=19"