@kbach/react-native 1.0.0-beta.12 → 1.0.0-beta.13
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/android/src/main/jniLibs/arm64-v8a/libkbach_core_engine.so +0 -0
- package/android/src/main/jniLibs/x86_64/libkbach_core_engine.so +0 -0
- package/dist/{chunk-OJIFXMLD.mjs → chunk-6QFPLRSP.mjs} +1 -1
- package/dist/{chunk-7AIH5MXY.mjs → chunk-GU6DH6UE.mjs} +1 -1
- package/dist/{chunk-MGXMALPC.mjs → chunk-JMNJCPGK.mjs} +10 -10
- package/dist/chunk-ZB2UU6EO.mjs +192 -0
- package/dist/index.js +10 -10
- package/dist/index.mjs +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.mjs +1 -1
- package/dist/jsx-dev-runtime.js +10 -10
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/jsx-dev-runtime.web.js +1 -1
- package/dist/jsx-dev-runtime.web.mjs +2 -2
- package/dist/jsx-runtime.js +10 -10
- package/dist/jsx-runtime.mjs +2 -2
- package/dist/jsx-runtime.web.js +1 -1
- package/dist/jsx-runtime.web.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3LNPXJEW.mjs +0 -192
package/dist/index.web.mjs
CHANGED
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -1201,8 +1201,8 @@ function borderValue(theme, parsed) {
|
|
|
1201
1201
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1202
1202
|
return [decl("border-style", value)];
|
|
1203
1203
|
}
|
|
1204
|
-
const
|
|
1205
|
-
return
|
|
1204
|
+
const color = colorValue(theme, parsed);
|
|
1205
|
+
return color === null ? null : [decl("border-color", color)];
|
|
1206
1206
|
}
|
|
1207
1207
|
function borderSideValue(theme, parsed, sideProperty) {
|
|
1208
1208
|
const value = parsed.value;
|
|
@@ -1215,8 +1215,8 @@ function borderSideValue(theme, parsed, sideProperty) {
|
|
|
1215
1215
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1216
1216
|
return [decl(`${sideProperty}-style`, value)];
|
|
1217
1217
|
}
|
|
1218
|
-
const
|
|
1219
|
-
return
|
|
1218
|
+
const color = colorValue(theme, parsed);
|
|
1219
|
+
return color === null ? null : [decl(`${sideProperty}-color`, color)];
|
|
1220
1220
|
}
|
|
1221
1221
|
function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
1222
1222
|
const value = parsed.value;
|
|
@@ -1229,8 +1229,8 @@ function borderAxisValue(theme, parsed, sideA, sideB) {
|
|
|
1229
1229
|
if (value === "solid" || value === "dashed" || value === "dotted" || value === "double" || value === "hidden" || value === "none") {
|
|
1230
1230
|
return [decl(`${sideA}-style`, value), decl(`${sideB}-style`, value)];
|
|
1231
1231
|
}
|
|
1232
|
-
const
|
|
1233
|
-
return
|
|
1232
|
+
const color = colorValue(theme, parsed);
|
|
1233
|
+
return color === null ? null : [decl(`${sideA}-color`, color), decl(`${sideB}-color`, color)];
|
|
1234
1234
|
}
|
|
1235
1235
|
function radiusProperties(side) {
|
|
1236
1236
|
switch (side) {
|
|
@@ -1292,8 +1292,8 @@ function outlineValue(theme, parsed) {
|
|
|
1292
1292
|
const w = outlineWidthValue(value);
|
|
1293
1293
|
if (w !== null) return [decl("outline-width", w)];
|
|
1294
1294
|
if (OUTLINE_STYLES.includes(value)) return [decl("outline-style", value)];
|
|
1295
|
-
const
|
|
1296
|
-
return
|
|
1295
|
+
const color = colorValue(theme, parsed);
|
|
1296
|
+
return color === null ? null : [decl("outline-color", color)];
|
|
1297
1297
|
}
|
|
1298
1298
|
function outlineOffsetValue(parsed) {
|
|
1299
1299
|
const value = parsed.value;
|
|
@@ -1329,7 +1329,7 @@ function ringValue(theme, parsed) {
|
|
|
1329
1329
|
const w = ringWidth(value);
|
|
1330
1330
|
if (w !== null) return [decl("--kb-ring-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1331
1331
|
}
|
|
1332
|
-
const color =
|
|
1332
|
+
const color = colorValue(theme, parsed);
|
|
1333
1333
|
if (color === null) return null;
|
|
1334
1334
|
return [decl("--kb-ring-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1335
1335
|
}
|
|
@@ -1340,7 +1340,7 @@ function ringOffsetValue(theme, parsed) {
|
|
|
1340
1340
|
const w = ringWidth(value);
|
|
1341
1341
|
if (w !== null) return [decl("--kb-ring-offset-width", w), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1342
1342
|
}
|
|
1343
|
-
const color =
|
|
1343
|
+
const color = colorValue(theme, parsed);
|
|
1344
1344
|
if (color === null) return null;
|
|
1345
1345
|
return [decl("--kb-ring-offset-color", color), decl("box-shadow", RING_BOX_SHADOW)];
|
|
1346
1346
|
}
|