@kbach/react 0.5.36 → 0.5.37
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/{chunk-D2LLZADB.mjs → chunk-36QDTNAQ.mjs} +1 -1
- package/dist/{chunk-QTZGBGGJ.mjs → chunk-J2I5YSC5.mjs} +11 -0
- package/dist/{chunk-AZJVYYAX.mjs → chunk-VZHNEDUW.mjs} +2 -2
- package/dist/index.js +11 -0
- package/dist/index.mjs +2 -2
- package/dist/jsx-dev-runtime.js +11 -0
- package/dist/jsx-dev-runtime.mjs +3 -3
- package/dist/jsx-runtime.js +11 -0
- package/dist/jsx-runtime.mjs +3 -3
- package/dist/vite-plugin.mjs +1 -1
- package/package.json +2 -2
|
@@ -3356,6 +3356,17 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3356
3356
|
if (_df && !("fontFamily" in result)) {
|
|
3357
3357
|
result.fontFamily = _df;
|
|
3358
3358
|
}
|
|
3359
|
+
if (isWeb) {
|
|
3360
|
+
const r = result;
|
|
3361
|
+
for (const [rnProp, [p1, p2]] of Object.entries(RN_SHORTHAND_EXPAND)) {
|
|
3362
|
+
const v = r[rnProp];
|
|
3363
|
+
if (v !== void 0) {
|
|
3364
|
+
r[p1] = v;
|
|
3365
|
+
r[p2] = v;
|
|
3366
|
+
delete r[rnProp];
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3359
3370
|
return result;
|
|
3360
3371
|
}
|
|
3361
3372
|
function matchesMods(mods, isDark, state, breakpoints) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
InteractiveWrapper,
|
|
4
4
|
useConditionalWidth,
|
|
5
5
|
useGlobalDarkMode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-36QDTNAQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
flatten,
|
|
9
9
|
getActiveBreakpoints,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isWeb,
|
|
13
13
|
normalizeClassString,
|
|
14
14
|
resolve
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-J2I5YSC5.mjs";
|
|
16
16
|
|
|
17
17
|
// src/jsx-runtime.tsx
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
package/dist/index.js
CHANGED
|
@@ -3475,6 +3475,17 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3475
3475
|
if (_df && !("fontFamily" in result)) {
|
|
3476
3476
|
result.fontFamily = _df;
|
|
3477
3477
|
}
|
|
3478
|
+
if (isWeb) {
|
|
3479
|
+
const r = result;
|
|
3480
|
+
for (const [rnProp, [p1, p2]] of Object.entries(RN_SHORTHAND_EXPAND)) {
|
|
3481
|
+
const v = r[rnProp];
|
|
3482
|
+
if (v !== void 0) {
|
|
3483
|
+
r[p1] = v;
|
|
3484
|
+
r[p2] = v;
|
|
3485
|
+
delete r[rnProp];
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3478
3489
|
return result;
|
|
3479
3490
|
}
|
|
3480
3491
|
function matchesMods(mods, isDark, state, breakpoints) {
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useConditionalWidth,
|
|
7
7
|
useGlobalDarkMode,
|
|
8
8
|
useGlobalWidth
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-36QDTNAQ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__require,
|
|
12
12
|
buildConfig,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
syncGlobalScreens,
|
|
28
28
|
syncGlobalWidth,
|
|
29
29
|
updateConfig
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J2I5YSC5.mjs";
|
|
31
31
|
|
|
32
32
|
// src/context.tsx
|
|
33
33
|
import { createContext, useContext } from "react";
|
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -3365,6 +3365,17 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3365
3365
|
if (_df && !("fontFamily" in result)) {
|
|
3366
3366
|
result.fontFamily = _df;
|
|
3367
3367
|
}
|
|
3368
|
+
if (isWeb) {
|
|
3369
|
+
const r = result;
|
|
3370
|
+
for (const [rnProp, [p1, p2]] of Object.entries(RN_SHORTHAND_EXPAND)) {
|
|
3371
|
+
const v = r[rnProp];
|
|
3372
|
+
if (v !== void 0) {
|
|
3373
|
+
r[p1] = v;
|
|
3374
|
+
r[p2] = v;
|
|
3375
|
+
delete r[rnProp];
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3368
3379
|
return result;
|
|
3369
3380
|
}
|
|
3370
3381
|
function matchesMods(mods, isDark, state, breakpoints) {
|
package/dist/jsx-dev-runtime.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
Fragment,
|
|
3
3
|
jsx,
|
|
4
4
|
jsxs
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VZHNEDUW.mjs";
|
|
6
|
+
import "./chunk-36QDTNAQ.mjs";
|
|
7
|
+
import "./chunk-J2I5YSC5.mjs";
|
|
8
8
|
|
|
9
9
|
// src/jsx-dev-runtime.tsx
|
|
10
10
|
function jsxDEV(type, props, key, isStaticChildren, _source, _self) {
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -3364,6 +3364,17 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3364
3364
|
if (_df && !("fontFamily" in result)) {
|
|
3365
3365
|
result.fontFamily = _df;
|
|
3366
3366
|
}
|
|
3367
|
+
if (isWeb) {
|
|
3368
|
+
const r = result;
|
|
3369
|
+
for (const [rnProp, [p1, p2]] of Object.entries(RN_SHORTHAND_EXPAND)) {
|
|
3370
|
+
const v = r[rnProp];
|
|
3371
|
+
if (v !== void 0) {
|
|
3372
|
+
r[p1] = v;
|
|
3373
|
+
r[p2] = v;
|
|
3374
|
+
delete r[rnProp];
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3367
3378
|
return result;
|
|
3368
3379
|
}
|
|
3369
3380
|
function matchesMods(mods, isDark, state, breakpoints) {
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
Fragment,
|
|
3
3
|
jsx,
|
|
4
4
|
jsxs
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VZHNEDUW.mjs";
|
|
6
|
+
import "./chunk-36QDTNAQ.mjs";
|
|
7
|
+
import "./chunk-J2I5YSC5.mjs";
|
|
8
8
|
export {
|
|
9
9
|
Fragment,
|
|
10
10
|
jsx,
|
package/dist/vite-plugin.mjs
CHANGED
package/package.json
CHANGED