@kbach/react 0.5.37 → 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-VZHNEDUW.mjs → chunk-EJFQKJPT.mjs} +2 -2
- package/dist/{chunk-J2I5YSC5.mjs → chunk-NWVL4BES.mjs} +23 -7
- package/dist/{chunk-36QDTNAQ.mjs → chunk-W7UBSRE5.mjs} +1 -1
- package/dist/index.js +23 -7
- package/dist/index.mjs +2 -2
- package/dist/jsx-dev-runtime.js +23 -7
- package/dist/jsx-dev-runtime.mjs +3 -3
- package/dist/jsx-runtime.js +23 -7
- package/dist/jsx-runtime.mjs +3 -3
- package/dist/vite-plugin.mjs +1 -1
- package/package.json +1 -1
|
@@ -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";
|
|
@@ -3358,13 +3358,29 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3358
3358
|
}
|
|
3359
3359
|
if (isWeb) {
|
|
3360
3360
|
const r = result;
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
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;
|
|
3368
3384
|
}
|
|
3369
3385
|
}
|
|
3370
3386
|
return result;
|
package/dist/index.js
CHANGED
|
@@ -3477,13 +3477,29 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3477
3477
|
}
|
|
3478
3478
|
if (isWeb) {
|
|
3479
3479
|
const r = result;
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
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;
|
|
3487
3503
|
}
|
|
3488
3504
|
}
|
|
3489
3505
|
return result;
|
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
|
@@ -3367,13 +3367,29 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3367
3367
|
}
|
|
3368
3368
|
if (isWeb) {
|
|
3369
3369
|
const r = result;
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
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;
|
|
3377
3393
|
}
|
|
3378
3394
|
}
|
|
3379
3395
|
return result;
|
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
|
@@ -3366,13 +3366,29 @@ function flatten(resolved, isDark, state = {}, breakpoints = /* @__PURE__ */ new
|
|
|
3366
3366
|
}
|
|
3367
3367
|
if (isWeb) {
|
|
3368
3368
|
const r = result;
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
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;
|
|
3376
3392
|
}
|
|
3377
3393
|
}
|
|
3378
3394
|
return result;
|
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