@tamagui/helpers 1.0.0-beta.187 → 1.0.0-beta.202

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.
@@ -0,0 +1,31 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
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 allRules_exports = {};
20
+ __export(allRules_exports, {
21
+ AllRules: () => AllRules,
22
+ addRule: () => addRule,
23
+ getStyleRules: () => getStyleRules
24
+ });
25
+ module.exports = __toCommonJS(allRules_exports);
26
+ const AllRules = /* @__PURE__ */ new Set();
27
+ const addRule = /* @__PURE__ */ __name((rule) => {
28
+ AllRules.add(rule);
29
+ }, "addRule");
30
+ const getStyleRules = /* @__PURE__ */ __name(() => AllRules, "getStyleRules");
31
+ //# sourceMappingURL=allRules.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/allRules.ts"],
4
+ "sourcesContent": ["// ssr only\n\nexport const AllRules = new Set<string>()\n\nexport const addRule = (rule: string) => {\n AllRules.add(rule)\n}\n\nexport const getStyleRules = () => AllRules\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,WAAW,oBAAI,IAAY;AAEjC,MAAM,UAAU,wBAAC,SAAiB;AACvC,WAAS,IAAI,IAAI;AACnB,GAFuB;AAIhB,MAAM,gBAAgB,6BAAM,UAAN;",
6
+ "names": []
7
+ }
@@ -0,0 +1,13 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ const AllRules = /* @__PURE__ */ new Set();
4
+ const addRule = /* @__PURE__ */ __name((rule) => {
5
+ AllRules.add(rule);
6
+ }, "addRule");
7
+ const getStyleRules = /* @__PURE__ */ __name(() => AllRules, "getStyleRules");
8
+ export {
9
+ AllRules,
10
+ addRule,
11
+ getStyleRules
12
+ };
13
+ //# sourceMappingURL=allRules.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/allRules.ts"],
4
+ "sourcesContent": ["// ssr only\n\nexport const AllRules = new Set<string>()\n\nexport const addRule = (rule: string) => {\n AllRules.add(rule)\n}\n\nexport const getStyleRules = () => AllRules\n"],
5
+ "mappings": ";;AAEO,MAAM,WAAW,oBAAI,IAAY;AAEjC,MAAM,UAAU,wBAAC,SAAiB;AACvC,WAAS,IAAI,IAAI;AACnB,GAFuB;AAIhB,MAAM,gBAAgB,6BAAM,UAAN;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ const AllRules = /* @__PURE__ */ new Set();
4
+ const addRule = /* @__PURE__ */ __name((rule) => {
5
+ AllRules.add(rule);
6
+ }, "addRule");
7
+ const getStyleRules = /* @__PURE__ */ __name(() => AllRules, "getStyleRules");
8
+ export {
9
+ AllRules,
10
+ addRule,
11
+ getStyleRules
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/helpers",
3
- "version": "1.0.0-beta.187+b4ae9217",
3
+ "version": "1.0.0-beta.202+a1a54793",
4
4
  "source": "src/index.ts",
5
5
  "types": "types",
6
6
  "main": "dist/cjs",
@@ -17,7 +17,7 @@
17
17
  "clean:build": "tamagui-build clean:build"
18
18
  },
19
19
  "devDependencies": {
20
- "@tamagui/build": "^1.0.0-beta.187+b4ae9217",
20
+ "@tamagui/build": "^1.0.0-beta.202+a1a54793",
21
21
  "react-native": "*"
22
22
  },
23
23
  "peerDependencies": {
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "b4ae92179a688f73380c8f41296ecfc881b1cbc0"
29
+ "gitHead": "a1a54793ee1890507fc934f42f2eb3a4020b57c5"
30
30
  }