@tamagui/web 1.89.20 → 1.89.21-1707774440646
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/_withStableStyle.js +25 -0
- package/dist/cjs/_withStableStyle.js.map +6 -0
- package/dist/cjs/_withStableStyle.native.js +30 -0
- package/dist/cjs/_withStableStyle.native.js.map +6 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +2 -2
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/_withStableStyle.js +10 -0
- package/dist/esm/_withStableStyle.js.map +6 -0
- package/dist/esm/_withStableStyle.mjs +14 -0
- package/dist/esm/_withStableStyle.native.js +10 -0
- package/dist/esm/_withStableStyle.native.js.map +6 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.native.js +1 -1
- package/package.json +11 -11
- package/src/{internalWithTheme.tsx → _withStableStyle.tsx} +1 -1
- package/src/index.ts +1 -1
- package/types/_withStableStyle.d.ts +4 -0
- package/types/_withStableStyle.d.ts.map +1 -0
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/internalWithTheme.d.ts +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var withStableStyle_exports = {};
|
|
16
|
+
__export(withStableStyle_exports, {
|
|
17
|
+
_withStableStyle: () => _withStableStyle
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(withStableStyle_exports);
|
|
20
|
+
var import_useTheme = require("./hooks/useTheme"), import_jsx_runtime = require("react/jsx-runtime");
|
|
21
|
+
const _withStableStyle = (Component, styleProvider) => (props) => {
|
|
22
|
+
const { _expressions = [], ...rest } = props, theme = (0, import_useTheme.useTheme)();
|
|
23
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { style: styleProvider(theme, _expressions), ...rest });
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=_withStableStyle.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/_withStableStyle.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB,6BASd;AALJ,MAAM,mBACX,CAAC,WAAgB,kBACjB,CAAC,UAAe;AACd,QAAM,EAAE,eAAe,CAAC,GAAG,GAAG,KAAK,IAAI,OACjC,YAAQ,0BAAS;AACvB,SAAO,4CAAC,aAAU,OAAO,cAAc,OAAO,YAAY,GAAI,GAAG,MAAM;AACzE;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var withStableStyle_exports = {};
|
|
17
|
+
__export(withStableStyle_exports, {
|
|
18
|
+
_withStableStyle: () => _withStableStyle
|
|
19
|
+
});
|
|
20
|
+
module.exports = __toCommonJS(withStableStyle_exports);
|
|
21
|
+
var import_useTheme = require("./hooks/useTheme"), import_jsx_runtime = require("react/jsx-runtime");
|
|
22
|
+
const _withStableStyle = (Component, styleProvider) => (props) => {
|
|
23
|
+
const { _expressions = [], ...rest } = props, theme = (0, import_useTheme.useTheme)();
|
|
24
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { style: styleProvider(theme, _expressions), ...rest });
|
|
25
|
+
};
|
|
26
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
27
|
+
0 && (module.exports = {
|
|
28
|
+
_withStableStyle
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=_withStableStyle.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/_withStableStyle.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB,6BASd;AALJ,MAAM,mBACX,CAAC,WAAgB,kBACjB,CAAC,UAAe;AACd,QAAM,EAAE,eAAe,CAAC,GAAG,GAAG,KAAK,IAAI,OACjC,YAAQ,0BAAS;AACvB,SAAO,4CAAC,aAAU,OAAO,cAAc,OAAO,YAAY,GAAI,GAAG,MAAM;AACzE;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -68,7 +68,7 @@ __reExport(src_exports, require("./helpers/pseudoDescriptors"), module.exports);
|
|
|
68
68
|
__reExport(src_exports, require("./helpers/themeable"), module.exports);
|
|
69
69
|
__reExport(src_exports, require("./helpers/themes"), module.exports);
|
|
70
70
|
__reExport(src_exports, require("./helpers/transformsToString"), module.exports);
|
|
71
|
-
__reExport(src_exports, require("./
|
|
71
|
+
__reExport(src_exports, require("./_withStableStyle"), module.exports);
|
|
72
72
|
var import_useMedia = require("./hooks/useMedia");
|
|
73
73
|
__reExport(src_exports, require("./hooks/useTheme"), module.exports);
|
|
74
74
|
__reExport(src_exports, require("./hooks/useThemeName"), module.exports);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,sBAAd;AACA,wBAAc,8BADd;AAEA,wBAAc,+BAFd;AAGA,wBAAc,0BAHd;AAIA,wBAAc,4BAJd;AAKA,wBAAc,yBALd;AAMA,wBAAc,2BANd;AAOA,wBAAc,6BAPd;AAQA,wBAAc,8BARd;AASA,wBAAc,yBATd;AAUA,wBAAc,qBAVd;AAWA,wBAAc,+BAXd;AAiBA,wBAAc,gCAjBd;AAmBA,oBAQO;AAEP,wBAAc,kCA7Bd;AA+BA,wBAAc,wCA/Bd;AAiCA,wBAAc,uCAjCd;AAkCA,wBAAc,4CAlCd;AAmCA,wBAAc,0CAnCd;AAoCA,wBAAc,mC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BAAc,qCA/Cd;AAgDA,wBAAc,iCAhDd;AAiDA,wBAAc,0CAjDd;AAkDA,wBAAc,0CAlDd;AAmDA,wBAAc,wCAnDd;AAoDA,wBAAc,gCApDd;AAqDA,wBAAc,6BArDd;AAsDA,wBAAc,yCAtDd;AAuDA,wBAAc,+BAvDd;AAyDA,sBAQO;AACP,wBAAc,6BAlEd;AAmEA,wBAAc,iCAnEd;AAoEA,wBAAc,qCApEd;AAqEA,wBAAc,qCArEd;AAsEA,wBAAc,6BAtEd;AAuEA,wBAAc,qCAvEd;AAyEA,wBAAc,yBAzEd;AA0EA,wBAAc,0BA1Ed;AA2EA,wBAAc,yBA3Ed;AA4EA,wBAAc,yBA5Ed;AA6EA,wBAAc,0BA7Ed;AA8EA,wBAAc,kCA9Ed;AA+EA,wBAAc,iCA/Ed;AAgFA,wBAAc,oCAhFd;AAiFA,wBAAc,kCAjFd;AAmFA,wBAAc,wCAnFd;AAoFA,wBAAc,+BApFd;AAqFA,wBAAc,kCArFd;AAsFA,wBAAc,6BAtFd;AAuFA,wBAAc,+BAvFd;AAyFA,wBAAc,yBAzFd;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -69,7 +69,7 @@ __reExport(src_exports, require("./helpers/pseudoDescriptors"), module.exports);
|
|
|
69
69
|
__reExport(src_exports, require("./helpers/themeable"), module.exports);
|
|
70
70
|
__reExport(src_exports, require("./helpers/themes"), module.exports);
|
|
71
71
|
__reExport(src_exports, require("./helpers/transformsToString"), module.exports);
|
|
72
|
-
__reExport(src_exports, require("./
|
|
72
|
+
__reExport(src_exports, require("./_withStableStyle"), module.exports);
|
|
73
73
|
var import_useMedia = require("./hooks/useMedia");
|
|
74
74
|
__reExport(src_exports, require("./hooks/useTheme"), module.exports);
|
|
75
75
|
__reExport(src_exports, require("./hooks/useThemeName"), module.exports);
|
|
@@ -145,7 +145,7 @@ __reExport(src_exports, require("./setupHooks"), module.exports);
|
|
|
145
145
|
...require("./helpers/themeable"),
|
|
146
146
|
...require("./helpers/themes"),
|
|
147
147
|
...require("./helpers/transformsToString"),
|
|
148
|
-
...require("./
|
|
148
|
+
...require("./_withStableStyle"),
|
|
149
149
|
...require("./hooks/useTheme"),
|
|
150
150
|
...require("./hooks/useThemeName"),
|
|
151
151
|
...require("./hooks/useConfiguration"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,sBAAd;AACA,wBAAc,8BADd;AAEA,wBAAc,+BAFd;AAGA,wBAAc,0BAHd;AAIA,wBAAc,4BAJd;AAKA,wBAAc,yBALd;AAMA,wBAAc,2BANd;AAOA,wBAAc,6BAPd;AAQA,wBAAc,8BARd;AASA,wBAAc,yBATd;AAUA,wBAAc,qBAVd;AAWA,wBAAc,+BAXd;AAiBA,wBAAc,gCAjBd;AAmBA,oBAQO;AAEP,wBAAc,kCA7Bd;AA+BA,wBAAc,wCA/Bd;AAiCA,wBAAc,uCAjCd;AAkCA,wBAAc,4CAlCd;AAmCA,wBAAc,0CAnCd;AAoCA,wBAAc,mCApCd;AAqCA,wBAAc,4CArCd;AAsCA,wBAAc,qCAtCd;AAuCA,wBAAc,sCAvCd;AAwCA,wBAAc,uCAxCd;AAyCA,wBAAc,uCAzCd;AA0CA,wBAAc,yCA1Cd;AA2CA,wBAAc,uCA3Cd;AA4CA,wBAAc,iCA5Cd;AA6CA,wBAAc,iCA7Cd;AA8CA,wBAAc,qCA9Cd;AA+CA,wBAAc,qCA/Cd;AAgDA,wBAAc,iCAhDd;AAiDA,wBAAc,0CAjDd;AAkDA,wBAAc,0CAlDd;AAmDA,wBAAc,wCAnDd;AAoDA,wBAAc,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A0EA,wBAAc,0BA1Ed;AA2EA,wBAAc,yBA3Ed;AA4EA,wBAAc,yBA5Ed;AA6EA,wBAAc,0BA7Ed;AA8EA,wBAAc,kCA9Ed;AA+EA,wBAAc,iCA/Ed;AAgFA,wBAAc,oCAhFd;AAiFA,wBAAc,kCAjFd;AAmFA,wBAAc,wCAnFd;AAoFA,wBAAc,+BApFd;AAqFA,wBAAc,kCArFd;AAsFA,wBAAc,6BAtFd;AAuFA,wBAAc,+BAvFd;AAyFA,wBAAc,yBAzFd;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useTheme } from "./hooks/useTheme";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
const _withStableStyle = (Component, styleProvider) => (props) => {
|
|
4
|
+
const { _expressions = [], ...rest } = props, theme = useTheme();
|
|
5
|
+
return /* @__PURE__ */ jsx(Component, { style: styleProvider(theme, _expressions), ...rest });
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
_withStableStyle
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=_withStableStyle.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/_withStableStyle.tsx"],
|
|
4
|
+
"mappings": "AAAA,SAAS,gBAAgB;AASd;AALJ,MAAM,mBACX,CAAC,WAAgB,kBACjB,CAAC,UAAe;AACd,QAAM,EAAE,eAAe,CAAC,GAAG,GAAG,KAAK,IAAI,OACjC,QAAQ,SAAS;AACvB,SAAO,oBAAC,aAAU,OAAO,cAAc,OAAO,YAAY,GAAI,GAAG,MAAM;AACzE;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useTheme } from "./hooks/useTheme.mjs";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
const _withStableStyle = (Component, styleProvider) => props => {
|
|
4
|
+
const {
|
|
5
|
+
_expressions = [],
|
|
6
|
+
...rest
|
|
7
|
+
} = props,
|
|
8
|
+
theme = useTheme();
|
|
9
|
+
return /* @__PURE__ */jsx(Component, {
|
|
10
|
+
style: styleProvider(theme, _expressions),
|
|
11
|
+
...rest
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
export { _withStableStyle };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useTheme } from "./hooks/useTheme";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
const _withStableStyle = (Component, styleProvider) => (props) => {
|
|
4
|
+
const { _expressions = [], ...rest } = props, theme = useTheme();
|
|
5
|
+
return /* @__PURE__ */ jsx(Component, { style: styleProvider(theme, _expressions), ...rest });
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
_withStableStyle
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=_withStableStyle.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/_withStableStyle.tsx"],
|
|
4
|
+
"mappings": "AAAA,SAAS,gBAAgB;AASd;AALJ,MAAM,mBACX,CAAC,WAAgB,kBACjB,CAAC,UAAe;AACd,QAAM,EAAE,eAAe,CAAC,GAAG,GAAG,KAAK,IAAI,OACjC,QAAQ,SAAS;AACvB,SAAO,oBAAC,aAAU,OAAO,cAAc,OAAO,YAAY,GAAI,GAAG,MAAM;AACzE;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/dist/esm/index.js
CHANGED
|
@@ -44,7 +44,7 @@ export * from "./helpers/pseudoDescriptors";
|
|
|
44
44
|
export * from "./helpers/themeable";
|
|
45
45
|
export * from "./helpers/themes";
|
|
46
46
|
export * from "./helpers/transformsToString";
|
|
47
|
-
export * from "./
|
|
47
|
+
export * from "./_withStableStyle";
|
|
48
48
|
import {
|
|
49
49
|
configureMedia,
|
|
50
50
|
mediaState,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ export * from "./helpers/pseudoDescriptors.mjs";
|
|
|
36
36
|
export * from "./helpers/themeable.mjs";
|
|
37
37
|
export * from "./helpers/themes.mjs";
|
|
38
38
|
export * from "./helpers/transformsToString.mjs";
|
|
39
|
-
export * from "./
|
|
39
|
+
export * from "./_withStableStyle.mjs";
|
|
40
40
|
import { configureMedia, mediaState, mediaKeyMatch, useMedia, getMedia, mediaObjectToString, mediaQueryConfig } from "./hooks/useMedia.mjs";
|
|
41
41
|
export * from "./hooks/useTheme.mjs";
|
|
42
42
|
export * from "./hooks/useThemeName.mjs";
|
package/dist/esm/index.native.js
CHANGED
|
@@ -44,7 +44,7 @@ export * from "./helpers/pseudoDescriptors";
|
|
|
44
44
|
export * from "./helpers/themeable";
|
|
45
45
|
export * from "./helpers/themes";
|
|
46
46
|
export * from "./helpers/transformsToString";
|
|
47
|
-
export * from "./
|
|
47
|
+
export * from "./_withStableStyle";
|
|
48
48
|
import {
|
|
49
49
|
configureMedia,
|
|
50
50
|
mediaState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/web",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.21-1707774440646",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
"reset.css"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@tamagui/compose-refs": "1.89.
|
|
31
|
-
"@tamagui/constants": "1.89.
|
|
32
|
-
"@tamagui/helpers": "1.89.
|
|
33
|
-
"@tamagui/normalize-css-color": "1.89.
|
|
34
|
-
"@tamagui/timer": "1.89.
|
|
35
|
-
"@tamagui/types": "1.89.
|
|
36
|
-
"@tamagui/use-did-finish-ssr": "1.89.
|
|
37
|
-
"@tamagui/use-event": "1.89.
|
|
38
|
-
"@tamagui/use-force-update": "1.89.
|
|
30
|
+
"@tamagui/compose-refs": "1.89.21-1707774440646",
|
|
31
|
+
"@tamagui/constants": "1.89.21-1707774440646",
|
|
32
|
+
"@tamagui/helpers": "1.89.21-1707774440646",
|
|
33
|
+
"@tamagui/normalize-css-color": "1.89.21-1707774440646",
|
|
34
|
+
"@tamagui/timer": "1.89.21-1707774440646",
|
|
35
|
+
"@tamagui/types": "1.89.21-1707774440646",
|
|
36
|
+
"@tamagui/use-did-finish-ssr": "1.89.21-1707774440646",
|
|
37
|
+
"@tamagui/use-event": "1.89.21-1707774440646",
|
|
38
|
+
"@tamagui/use-force-update": "1.89.21-1707774440646",
|
|
39
39
|
"react": "^18.2.0",
|
|
40
40
|
"react-dom": "^18.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@tamagui/build": "1.89.
|
|
43
|
+
"@tamagui/build": "1.89.21-1707774440646",
|
|
44
44
|
"@testing-library/react": "^14.0.0",
|
|
45
45
|
"csstype": "^3.0.10",
|
|
46
46
|
"typescript": "^5.3.3",
|
|
@@ -2,7 +2,7 @@ import { useTheme } from './hooks/useTheme'
|
|
|
2
2
|
|
|
3
3
|
/** internal: this is for tamagui babel plugin usage only */
|
|
4
4
|
|
|
5
|
-
export const
|
|
5
|
+
export const _withStableStyle =
|
|
6
6
|
(Component: any, styleProvider: (theme: any, expressions: any[]) => Object) =>
|
|
7
7
|
(props: any) => {
|
|
8
8
|
const { _expressions = [], ...rest } = props
|
package/src/index.ts
CHANGED
|
@@ -53,7 +53,7 @@ export * from './helpers/pseudoDescriptors'
|
|
|
53
53
|
export * from './helpers/themeable'
|
|
54
54
|
export * from './helpers/themes'
|
|
55
55
|
export * from './helpers/transformsToString'
|
|
56
|
-
export * from './
|
|
56
|
+
export * from './_withStableStyle'
|
|
57
57
|
|
|
58
58
|
export {
|
|
59
59
|
configureMedia,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/** internal: this is for tamagui babel plugin usage only */
|
|
3
|
+
export declare const _withStableStyle: (Component: any, styleProvider: (theme: any, expressions: any[]) => Object) => (props: any) => JSX.Element;
|
|
4
|
+
//# sourceMappingURL=_withStableStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_withStableStyle.d.ts","sourceRoot":"","sources":["../src/_withStableStyle.tsx"],"names":[],"mappings":";AAEA,4DAA4D;AAE5D,eAAO,MAAM,gBAAgB,cACf,GAAG,yBAAyB,GAAG,eAAe,GAAG,EAAE,KAAK,MAAM,aAClE,GAAG,gBAIV,CAAA"}
|
package/types/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export * from './helpers/pseudoDescriptors';
|
|
|
39
39
|
export * from './helpers/themeable';
|
|
40
40
|
export * from './helpers/themes';
|
|
41
41
|
export * from './helpers/transformsToString';
|
|
42
|
-
export * from './
|
|
42
|
+
export * from './_withStableStyle';
|
|
43
43
|
export { configureMedia, mediaState, mediaKeyMatch, useMedia, getMedia, mediaObjectToString, mediaQueryConfig, } from './hooks/useMedia';
|
|
44
44
|
export * from './hooks/useTheme';
|
|
45
45
|
export * from './hooks/useThemeName';
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAElC,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,C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AAExC,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AAErC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAElC,cAAc,cAAc,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/** internal: this is for tamagui babel plugin usage only */
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const _withStableStyle: (Component: any, styleProvider: (theme: any, expressions: any[]) => Object) => (props: any) => JSX.Element;
|
|
4
4
|
//# sourceMappingURL=internalWithTheme.d.ts.map
|