@tamagui/web 1.27.0 → 1.27.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/web",
3
- "version": "1.27.0",
3
+ "version": "1.27.2",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -27,19 +27,19 @@
27
27
  "reset.css"
28
28
  ],
29
29
  "dependencies": {
30
- "@tamagui/compose-refs": "1.27.0",
31
- "@tamagui/constants": "1.27.0",
32
- "@tamagui/helpers": "1.27.0",
33
- "@tamagui/normalize-css-color": "1.27.0",
34
- "@tamagui/use-did-finish-ssr": "1.27.0",
35
- "@tamagui/use-event": "1.27.0",
36
- "@tamagui/use-force-update": "1.27.0"
30
+ "@tamagui/compose-refs": "1.27.2",
31
+ "@tamagui/constants": "1.27.2",
32
+ "@tamagui/helpers": "1.27.2",
33
+ "@tamagui/normalize-css-color": "1.27.2",
34
+ "@tamagui/use-did-finish-ssr": "1.27.2",
35
+ "@tamagui/use-event": "1.27.2",
36
+ "@tamagui/use-force-update": "1.27.2"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.27.0",
42
+ "@tamagui/build": "1.27.2",
43
43
  "@testing-library/react": "^13.4.0",
44
44
  "csstype": "^3.0.10",
45
45
  "react": "^18.2.0",
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var createVariantContext_exports = {};
20
- __export(createVariantContext_exports, {
21
- createVariantContext: () => createVariantContext
22
- });
23
- module.exports = __toCommonJS(createVariantContext_exports);
24
- var import_jsx_runtime = require("react/jsx-runtime");
25
- var import_react = require("react");
26
- function createVariantContext() {
27
- const Context = (0, import_react.createContext)(null);
28
- const Provider = ({
29
- children,
30
- ...values
31
- }) => {
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value: (0, import_react.useMemo)(() => values, [JSON.stringify(values)]), children });
33
- };
34
- Provider.context = Context;
35
- return Provider;
36
- }
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- createVariantContext
40
- });
41
- //# sourceMappingURL=createVariantContext.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createVariantContext.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBM;AAjBN,mBAA8C;AAOvC,SAAS,uBAEmB;AACjC,QAAM,cAAU,4BAAmB,IAAI;AAEvC,QAAM,WAAmC,CAAC;AAAA,IACxC;AAAA,IACA,GAAG;AAAA,EACL,MAA8C;AAC5C,WACE,4CAAC,QAAQ,UAAR,EAAiB,WAAO,sBAAQ,MAAM,QAAQ,CAAC,KAAK,UAAU,MAAM,CAAC,CAAC,GACpE,UACH;AAAA,EAEJ;AAEA,WAAS,UAAU;AAEnB,SAAO;AACT;",
5
- "names": []
6
- }
@@ -1,17 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { createContext, useMemo } from "react";
3
- function createVariantContext() {
4
- const Context = createContext(null);
5
- const Provider = ({
6
- children,
7
- ...values
8
- }) => {
9
- return /* @__PURE__ */ jsx(Context.Provider, { value: useMemo(() => values, [JSON.stringify(values)]), children });
10
- };
11
- Provider.context = Context;
12
- return Provider;
13
- }
14
- export {
15
- createVariantContext
16
- };
17
- //# sourceMappingURL=createVariantContext.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createVariantContext.tsx"],
4
- "mappings": "AAiBM;AAjBN,SAAgB,eAAe,eAAe;AAOvC,SAAS,uBAEmB;AACjC,QAAM,UAAU,cAAmB,IAAI;AAEvC,QAAM,WAAmC,CAAC;AAAA,IACxC;AAAA,IACA,GAAG;AAAA,EACL,MAA8C;AAC5C,WACE,oBAAC,QAAQ,UAAR,EAAiB,OAAO,QAAQ,MAAM,QAAQ,CAAC,KAAK,UAAU,MAAM,CAAC,CAAC,GACpE,UACH;AAAA,EAEJ;AAEA,WAAS,UAAU;AAEnB,SAAO;AACT;",
5
- "names": []
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"createVariantContext.d.ts","sourceRoot":"","sources":["../../src/helpers/createVariantContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAErD,MAAM,MAAM,sBAAsB,CAAC,KAAK,SAAS,MAAM,GAAG,GAAG,IAC3D,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,GAAG;IAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;CAC5B,CAAA;AAEH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAC9B,sBAAsB,CAAC,KAAK,CAAC,CAiBjC"}