@kbach/react 0.5.36 → 0.5.38
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-AZJVYYAX.mjs → chunk-EJFQKJPT.mjs} +2 -2
- package/dist/{chunk-QTZGBGGJ.mjs → chunk-NWVL4BES.mjs} +27 -0
- package/dist/{chunk-D2LLZADB.mjs → chunk-W7UBSRE5.mjs} +1 -1
- package/dist/index.js +27 -0
- package/dist/index.mjs +2 -2
- package/dist/jsx-dev-runtime.js +27 -0
- package/dist/jsx-dev-runtime.mjs +3 -3
- package/dist/jsx-runtime.js +27 -0
- package/dist/jsx-runtime.mjs +3 -3
- package/dist/vite-plugin.mjs +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
InteractiveWrapper,
|
|
4
4
|
useConditionalWidth,
|
|
5
5
|
useGlobalDarkMode
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W7UBSRE5.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-NWVL4BES.mjs";
|
|
16
16
|
|
|
17
17
|
// src/jsx-runtime.tsx
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -3356,6 +3356,33 @@ 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
|
+
const v0 = r.paddingHorizontal;
|
|
3362
|
+
if (v0 !== void 0) {
|
|
3363
|
+
r.paddingLeft = v0;
|
|
3364
|
+
r.paddingRight = v0;
|
|
3365
|
+
delete r.paddingHorizontal;
|
|
3366
|
+
}
|
|
3367
|
+
const v1 = r.paddingVertical;
|
|
3368
|
+
if (v1 !== void 0) {
|
|
3369
|
+
r.paddingTop = v1;
|
|
3370
|
+
r.paddingBottom = v1;
|
|
3371
|
+
delete r.paddingVertical;
|
|
3372
|
+
}
|
|
3373
|
+
const v2 = r.marginHorizontal;
|
|
3374
|
+
if (v2 !== void 0) {
|
|
3375
|
+
r.marginLeft = v2;
|
|
3376
|
+
r.marginRight = v2;
|
|
3377
|
+
delete r.marginHorizontal;
|
|
3378
|
+
}
|
|
3379
|
+
const v3 = r.marginVertical;
|
|
3380
|
+
if (v3 !== void 0) {
|
|
3381
|
+
r.marginTop = v3;
|
|
3382
|
+
r.marginBottom = v3;
|
|
3383
|
+
delete r.marginVertical;
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3359
3386
|
return result;
|
|
3360
3387
|
}
|
|
3361
3388
|
function matchesMods(mods, isDark, state, breakpoints) {
|
package/dist/index.js
CHANGED
|
@@ -3475,6 +3475,33 @@ 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
|
+
const v0 = r.paddingHorizontal;
|
|
3481
|
+
if (v0 !== void 0) {
|
|
3482
|
+
r.paddingLeft = v0;
|
|
3483
|
+
r.paddingRight = v0;
|
|
3484
|
+
delete r.paddingHorizontal;
|
|
3485
|
+
}
|
|
3486
|
+
const v1 = r.paddingVertical;
|
|
3487
|
+
if (v1 !== void 0) {
|
|
3488
|
+
r.paddingTop = v1;
|
|
3489
|
+
r.paddingBottom = v1;
|
|
3490
|
+
delete r.paddingVertical;
|
|
3491
|
+
}
|
|
3492
|
+
const v2 = r.marginHorizontal;
|
|
3493
|
+
if (v2 !== void 0) {
|
|
3494
|
+
r.marginLeft = v2;
|
|
3495
|
+
r.marginRight = v2;
|
|
3496
|
+
delete r.marginHorizontal;
|
|
3497
|
+
}
|
|
3498
|
+
const v3 = r.marginVertical;
|
|
3499
|
+
if (v3 !== void 0) {
|
|
3500
|
+
r.marginTop = v3;
|
|
3501
|
+
r.marginBottom = v3;
|
|
3502
|
+
delete r.marginVertical;
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3478
3505
|
return result;
|
|
3479
3506
|
}
|
|
3480
3507
|
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-W7UBSRE5.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-NWVL4BES.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,33 @@ 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
|
+
const v0 = r.paddingHorizontal;
|
|
3371
|
+
if (v0 !== void 0) {
|
|
3372
|
+
r.paddingLeft = v0;
|
|
3373
|
+
r.paddingRight = v0;
|
|
3374
|
+
delete r.paddingHorizontal;
|
|
3375
|
+
}
|
|
3376
|
+
const v1 = r.paddingVertical;
|
|
3377
|
+
if (v1 !== void 0) {
|
|
3378
|
+
r.paddingTop = v1;
|
|
3379
|
+
r.paddingBottom = v1;
|
|
3380
|
+
delete r.paddingVertical;
|
|
3381
|
+
}
|
|
3382
|
+
const v2 = r.marginHorizontal;
|
|
3383
|
+
if (v2 !== void 0) {
|
|
3384
|
+
r.marginLeft = v2;
|
|
3385
|
+
r.marginRight = v2;
|
|
3386
|
+
delete r.marginHorizontal;
|
|
3387
|
+
}
|
|
3388
|
+
const v3 = r.marginVertical;
|
|
3389
|
+
if (v3 !== void 0) {
|
|
3390
|
+
r.marginTop = v3;
|
|
3391
|
+
r.marginBottom = v3;
|
|
3392
|
+
delete r.marginVertical;
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3368
3395
|
return result;
|
|
3369
3396
|
}
|
|
3370
3397
|
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-EJFQKJPT.mjs";
|
|
6
|
+
import "./chunk-W7UBSRE5.mjs";
|
|
7
|
+
import "./chunk-NWVL4BES.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,33 @@ 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
|
+
const v0 = r.paddingHorizontal;
|
|
3370
|
+
if (v0 !== void 0) {
|
|
3371
|
+
r.paddingLeft = v0;
|
|
3372
|
+
r.paddingRight = v0;
|
|
3373
|
+
delete r.paddingHorizontal;
|
|
3374
|
+
}
|
|
3375
|
+
const v1 = r.paddingVertical;
|
|
3376
|
+
if (v1 !== void 0) {
|
|
3377
|
+
r.paddingTop = v1;
|
|
3378
|
+
r.paddingBottom = v1;
|
|
3379
|
+
delete r.paddingVertical;
|
|
3380
|
+
}
|
|
3381
|
+
const v2 = r.marginHorizontal;
|
|
3382
|
+
if (v2 !== void 0) {
|
|
3383
|
+
r.marginLeft = v2;
|
|
3384
|
+
r.marginRight = v2;
|
|
3385
|
+
delete r.marginHorizontal;
|
|
3386
|
+
}
|
|
3387
|
+
const v3 = r.marginVertical;
|
|
3388
|
+
if (v3 !== void 0) {
|
|
3389
|
+
r.marginTop = v3;
|
|
3390
|
+
r.marginBottom = v3;
|
|
3391
|
+
delete r.marginVertical;
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3367
3394
|
return result;
|
|
3368
3395
|
}
|
|
3369
3396
|
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-EJFQKJPT.mjs";
|
|
6
|
+
import "./chunk-W7UBSRE5.mjs";
|
|
7
|
+
import "./chunk-NWVL4BES.mjs";
|
|
8
8
|
export {
|
|
9
9
|
Fragment,
|
|
10
10
|
jsx,
|
package/dist/vite-plugin.mjs
CHANGED
package/package.json
CHANGED