@tamagui/helpers 1.0.0-beta.202 → 1.0.0-beta.203
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/dist/cjs/concatClassName.js +4 -0
- package/dist/cjs/log.js +4 -0
- package/dist/cjs/simpleHash.js +4 -0
- package/dist/cjs/validStyleProps.js +13 -0
- package/package.json +3 -3
- package/dist/cjs/allRules.js +0 -31
- package/dist/cjs/allRules.js.map +0 -7
- package/dist/esm/allRules.js +0 -13
- package/dist/esm/allRules.js.map +0 -7
- package/dist/jsx/allRules.js +0 -12
package/dist/cjs/log.js
CHANGED
package/dist/cjs/simpleHash.js
CHANGED
|
@@ -30,4 +30,8 @@ const simpleHash = /* @__PURE__ */ __name((str) => {
|
|
|
30
30
|
}
|
|
31
31
|
return new Uint32Array([hash])[0].toString(36);
|
|
32
32
|
}, "simpleHash");
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
simpleHash
|
|
36
|
+
});
|
|
33
37
|
//# sourceMappingURL=simpleHash.js.map
|
|
@@ -196,4 +196,17 @@ const mergeTransform = /* @__PURE__ */ __name((obj, key, val) => {
|
|
|
196
196
|
obj.transform || (obj.transform = []);
|
|
197
197
|
obj.transform.push({ [mapTransformKeys[key] || key]: val });
|
|
198
198
|
}, "mergeTransform");
|
|
199
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
200
|
+
0 && (module.exports = {
|
|
201
|
+
invertMapTransformKeys,
|
|
202
|
+
mapTransformKeys,
|
|
203
|
+
mergeTransform,
|
|
204
|
+
stylePropsAll,
|
|
205
|
+
stylePropsText,
|
|
206
|
+
stylePropsTextOnly,
|
|
207
|
+
stylePropsTransform,
|
|
208
|
+
stylePropsView,
|
|
209
|
+
validPseudoKeys,
|
|
210
|
+
validStyles
|
|
211
|
+
});
|
|
199
212
|
//# sourceMappingURL=validStyleProps.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/helpers",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.203+bdbb1f11",
|
|
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.
|
|
20
|
+
"@tamagui/build": "^1.0.0-beta.203+bdbb1f11",
|
|
21
21
|
"react-native": "*"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "bdbb1f11fae44e3a78133373ef108adccaa68924"
|
|
30
30
|
}
|
package/dist/cjs/allRules.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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
|
package/dist/cjs/allRules.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/esm/allRules.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
package/dist/esm/allRules.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/jsx/allRules.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|